gaia

package module
v1.103.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 24 Imported by: 35

README

Gaia

Gaia is the shared model of the Segment platform.

Most of the code is autogenerated. You should never edit any model files manually.

To generate code after editing the .spec files, run:

make codegen

Documentation:

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIAuthorizationPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"AllSubjectTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allsubjecttags",
		ConvertedName:  "AllSubjectTags",
		Description:    `This is a set of all subject tags for matching in the DB.`,
		Name:           "allSubjectTags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AuthorizedIdentities": {
		AllowedChoices: []string{},
		BSONFieldName:  "authorizedidentities",
		ConvertedName:  "AuthorizedIdentities",
		Description:    `A list of roles assigned to the user.`,
		Exposed:        true,
		Name:           "authorizedIdentities",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AuthorizedNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "authorizednamespace",
		ConvertedName:  "AuthorizedNamespace",
		Description:    `Defines the namespace the user is authorized to access.`,
		Exposed:        true,
		Name:           "authorizedNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"AuthorizedSubnets": {
		AllowedChoices: []string{},
		BSONFieldName:  "authorizedsubnets",
		ConvertedName:  "AuthorizedSubnets",
		Description: `If set, the API authorization will only be valid if the request comes from one
the declared subnets.`,
		Exposed: true,
		Name:    "authorizedSubnets",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set, the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the api authorization to all of its children.`,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"PropagationHidden": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagationhidden",
		ConvertedName:  "PropagationHidden",
		Description: `If set to ` + "`" + `true` + "`" + ` while the policy is propagating, it won't be visible to
children
namespace, but still used for policy resolution.`,
		Exposed:   true,
		Getter:    true,
		Name:      "propagationHidden",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description:    `A tag or tag expression that identifies the authorized user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

APIAuthorizationPolicyAttributesMap represents the map of attribute for APIAuthorizationPolicy.

View Source
var APIAuthorizationPolicyIdentity = elemental.Identity{
	Name:     "apiauthorizationpolicy",
	Category: "apiauthorizationpolicies",
	Package:  "squall",
	Private:  false,
}

APIAuthorizationPolicyIdentity represents the Identity of the object.

View Source
var APIAuthorizationPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"allsubjecttags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allsubjecttags",
		ConvertedName:  "AllSubjectTags",
		Description:    `This is a set of all subject tags for matching in the DB.`,
		Name:           "allSubjectTags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"authorizedidentities": {
		AllowedChoices: []string{},
		BSONFieldName:  "authorizedidentities",
		ConvertedName:  "AuthorizedIdentities",
		Description:    `A list of roles assigned to the user.`,
		Exposed:        true,
		Name:           "authorizedIdentities",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"authorizednamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "authorizednamespace",
		ConvertedName:  "AuthorizedNamespace",
		Description:    `Defines the namespace the user is authorized to access.`,
		Exposed:        true,
		Name:           "authorizedNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"authorizedsubnets": {
		AllowedChoices: []string{},
		BSONFieldName:  "authorizedsubnets",
		ConvertedName:  "AuthorizedSubnets",
		Description: `If set, the API authorization will only be valid if the request comes from one
the declared subnets.`,
		Exposed: true,
		Name:    "authorizedSubnets",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set, the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the api authorization to all of its children.`,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"propagationhidden": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagationhidden",
		ConvertedName:  "PropagationHidden",
		Description: `If set to ` + "`" + `true` + "`" + ` while the policy is propagating, it won't be visible to
children
namespace, but still used for policy resolution.`,
		Exposed:   true,
		Getter:    true,
		Name:      "propagationHidden",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description:    `A tag or tag expression that identifies the authorized user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

APIAuthorizationPolicyLowerCaseAttributesMap represents the map of attribute for APIAuthorizationPolicy.

View Source
var APICheckAttributesMap = map[string]elemental.AttributeSpecification{
	"Authorized": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Authorized",
		Description:    `Contains the results of the check.`,
		Exposed:        true,
		Name:           "authorized",
		ReadOnly:       true,
		SubType:        "map[string]bool",
		Type:           "external",
	},
	"Namespace": {
		AllowedChars:   `^/[a-zA-Z0-9-_/]*$`,
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `The namespace to use to check the API authorization.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"Operation": {
		AllowedChoices: []string{"Create", "Delete", "Info", "Patch", "Retrieve", "RetrieveMany", "Update"},
		BSONFieldName:  "operation",
		ConvertedName:  "Operation",
		Description:    `The operation you want to check.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operation",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"TargetIdentities": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetIdentities",
		Description: `Contains the list of identities you want to check the
authorization of.`,
		Exposed:  true,
		Name:     "targetIdentities",
		Required: true,
		SubType:  "string",
		Type:     "list",
	},
}

APICheckAttributesMap represents the map of attribute for APICheck.

View Source
var APICheckIdentity = elemental.Identity{
	Name:     "apicheck",
	Category: "apichecks",
	Package:  "cid",
	Private:  false,
}

APICheckIdentity represents the Identity of the object.

View Source
var APICheckLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"authorized": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Authorized",
		Description:    `Contains the results of the check.`,
		Exposed:        true,
		Name:           "authorized",
		ReadOnly:       true,
		SubType:        "map[string]bool",
		Type:           "external",
	},
	"namespace": {
		AllowedChars:   `^/[a-zA-Z0-9-_/]*$`,
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `The namespace to use to check the API authorization.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"operation": {
		AllowedChoices: []string{"Create", "Delete", "Info", "Patch", "Retrieve", "RetrieveMany", "Update"},
		BSONFieldName:  "operation",
		ConvertedName:  "Operation",
		Description:    `The operation you want to check.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operation",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"targetidentities": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetIdentities",
		Description: `Contains the list of identities you want to check the
authorization of.`,
		Exposed:  true,
		Name:     "targetIdentities",
		Required: true,
		SubType:  "string",
		Type:     "list",
	},
}

APICheckLowerCaseAttributesMap represents the map of attribute for APICheck.

View Source
var AccessReportAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Accept", "Reject"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action applied to the access.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"ClaimHash": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "ClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "claimHash",
		Stored:         true,
		Type:           "string",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"ProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitName": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "ProcessingUnitName",
		Description:    `Name of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitName",
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Stored:         true,
		Type:           "string",
	},
	"Reason": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "Reason",
		Description: `This field is only set if ` + "`" + `action` + "`" + ` is set to ` + "`" + `Reject` + "`" + `. It specifies the reason
for the rejection.`,
		Exposed: true,
		Name:    "reason",
		Stored:  true,
		Type:    "string",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Type": {
		AllowedChoices: []string{"SSHLogin", "SSHLogout", "SudoEnter", "SudoExit"},
		BSONFieldName:  "j",
		ConvertedName:  "Type",
		Description:    `Type of the report.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AccessReportAttributesMap represents the map of attribute for AccessReport.

View Source
var AccessReportIdentity = elemental.Identity{
	Name:     "accessreport",
	Category: "accessreports",
	Package:  "zack",
	Private:  false,
}

AccessReportIdentity represents the Identity of the object.

View Source
var AccessReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Accept", "Reject"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action applied to the access.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"claimhash": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "ClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "claimHash",
		Stored:         true,
		Type:           "string",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"processingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Stored:         true,
		Type:           "string",
	},
	"processingunitname": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "ProcessingUnitName",
		Description:    `Name of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitName",
		Stored:         true,
		Type:           "string",
	},
	"processingunitnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Stored:         true,
		Type:           "string",
	},
	"reason": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "Reason",
		Description: `This field is only set if ` + "`" + `action` + "`" + ` is set to ` + "`" + `Reject` + "`" + `. It specifies the reason
for the rejection.`,
		Exposed: true,
		Name:    "reason",
		Stored:  true,
		Type:    "string",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"type": {
		AllowedChoices: []string{"SSHLogin", "SSHLogout", "SudoEnter", "SudoExit"},
		BSONFieldName:  "j",
		ConvertedName:  "Type",
		Description:    `Type of the report.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AccessReportLowerCaseAttributesMap represents the map of attribute for AccessReport.

View Source
var AccessibleNamespaceAttributesMap = map[string]elemental.AttributeSpecification{
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the namespace that is accessible.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
}

AccessibleNamespaceAttributesMap represents the map of attribute for AccessibleNamespace.

View Source
var AccessibleNamespaceIdentity = elemental.Identity{
	Name:     "accessiblenamespace",
	Category: "accessiblenamespaces",
	Package:  "squall",
	Private:  false,
}

AccessibleNamespaceIdentity represents the Identity of the object.

View Source
var AccessibleNamespaceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the namespace that is accessible.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
}

AccessibleNamespaceLowerCaseAttributesMap represents the map of attribute for AccessibleNamespace.

View Source
var AccountAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"OTPEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "otpenabled",
		ConvertedName:  "OTPEnabled",
		Description:    `Enable or disable two-factor authentication.`,
		Exposed:        true,
		Name:           "OTPEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"OTPQRCode": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "OTPQRCode",
		Description:    `Returns the base64-encoded QR code for setting up two-factor authentication.`,
		Exposed:        true,
		Name:           "OTPQRCode",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"OTPSecret": {
		AllowedChoices: []string{},
		BSONFieldName:  "otpsecret",
		ConvertedName:  "OTPSecret",
		Description:    `Stores the two-factor authentication secret.`,
		Name:           "OTPSecret",
		Stored:         true,
		Type:           "string",
	},
	"SSHCA": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCA",
		Description:    `Holds the SSH certificate authority used by the account namespace.`,
		Exposed:        true,
		Name:           "SSHCA",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"SSHCARenew": {
		AllowedChoices: []string{},
		ConvertedName:  "SSHCARenew",
		Description:    `Set to ` + "`" + `true` + "`" + ` to renew the SSH certificate authority of the account namespace.`,
		Exposed:        true,
		Name:           "SSHCARenew",
		Type:           "boolean",
	},
	"AccessEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "accessenabled",
		ConvertedName:  "AccessEnabled",
		Description:    `Defines if the account holder should have access to the system.`,
		Exposed:        true,
		Name:           "accessEnabled",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"ActivationExpiration": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "activationexpiration",
		ConvertedName:  "ActivationExpiration",
		Description:    `Contains the expiration date of the activation token.`,
		Name:           "activationExpiration",
		Stored:         true,
		Type:           "time",
	},
	"ActivationToken": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "activationtoken",
		ConvertedName:  "ActivationToken",
		Description:    `Contains the activation token.`,
		Exposed:        true,
		Name:           "activationToken",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedAPIAuthPolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedapiauthpolicyid",
		ConvertedName:  "AssociatedAPIAuthPolicyID",
		Description:    `Holds the ID of the associated API authorization.`,
		Name:           "associatedAPIAuthPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedAWSPolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedawspolicies",
		ConvertedName:  "AssociatedAWSPolicies",
		Description:    `Contains a map of associated AWS enforcer policies.`,
		Name:           "associatedAWSPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"AssociatedNamespaceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatednamespaceid",
		ConvertedName:  "AssociatedNamespaceID",
		Description:    `Contains the ID of the associated namespace.`,
		Name:           "associatedNamespaceID",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedPlanKey": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedplankey",
		ConvertedName:  "AssociatedPlanKey",
		CreationOnly:   true,
		Description:    `Contains the plan key associated with this account.`,
		Exposed:        true,
		Name:           "associatedPlanKey",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedQuotaPolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedquotapolicies",
		ConvertedName:  "AssociatedQuotaPolicies",
		Description:    `Contains a map of the associated quotas.`,
		Name:           "associatedQuotaPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Company": {
		AllowedChoices: []string{},
		BSONFieldName:  "company",
		ConvertedName:  "Company",
		Description:    `Company of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "company",
		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",
	},
	"Email": {
		AllowedChoices: []string{},
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `Email of the account holder.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "email",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"FailedAuth": {
		AllowedChoices: []string{},
		BSONFieldName:  "failedauth",
		ConvertedName:  "FailedAuth",
		Description:    `Internally keeps track of the number of failed attempt.`,
		Name:           "failedAuth",
		Stored:         true,
		Type:           "integer",
	},
	"FailedTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "failedtime",
		ConvertedName:  "FailedTime",
		Description:    `Internally keeps track of the time of the last failed attempt.`,
		Name:           "failedTime",
		Stored:         true,
		Type:           "time",
	},
	"FirstName": {
		AllowedChoices: []string{},
		BSONFieldName:  "firstname",
		ConvertedName:  "FirstName",
		Description:    `First name of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "firstName",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"LastName": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastname",
		ConvertedName:  "LastName",
		Description:    `Last name of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "lastName",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"LocalCA": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LocalCA",
		Description:    `The certificate authority used by this namespace.`,
		Exposed:        true,
		Name:           "localCA",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"LocalCARenew": {
		AllowedChoices: []string{},
		ConvertedName:  "LocalCARenew",
		Description:    `Set to ` + "`" + `true` + "`" + ` to renew the local certificate authority of the account namespace.`,
		Exposed:        true,
		Name:           "localCARenew",
		Type:           "boolean",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChars:   `^[^\*\=]*$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"NewPassword": {
		AllowedChoices: []string{},
		ConvertedName:  "NewPassword",
		Description: `New password for the account. If set the previous password must be given through
the property ` + "`" + `password` + "`" + `.`,
		Exposed: true,
		Name:    "newPassword",
		Type:    "string",
	},
	"Password": {
		AllowedChoices: []string{},
		BSONFieldName:  "password",
		ConvertedName:  "Password",
		Description:    `Password for the account.`,
		Exposed:        true,
		Name:           "password",
		Stored:         true,
		Type:           "string",
	},
	"ReCAPTCHAKey": {
		AllowedChoices: []string{},
		ConvertedName:  "ReCAPTCHAKey",
		CreationOnly:   true,
		Description: `Contains the completely automated public Turing test (CAPTCHA)
validation if reCAPTCHA is enabled.`,
		Exposed: true,
		Name:    "reCAPTCHAKey",
		Type:    "string",
	},
	"ResetPasswordExpiration": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "resetpasswordexpiration",
		ConvertedName:  "ResetPasswordExpiration",
		Description:    `Contains the expiration time for resetting the password.`,
		Name:           "resetPasswordExpiration",
		Stored:         true,
		Type:           "time",
	},
	"ResetPasswordToken": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "resetpasswordtoken",
		ConvertedName:  "ResetPasswordToken",
		Description:    `Contains the token to use for resetting password.`,
		Name:           "resetPasswordToken",
		Stored:         true,
		Type:           "string",
	},
	"Status": {
		AllowedChoices: []string{"Active", "Disabled", "Invited", "Pending"},
		Autogenerated:  true,
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		DefaultValue:   AccountStatusPending,
		Description:    `Status of the account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "status",
		Orderable:      true,
		ReadOnly:       true,
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AccountAttributesMap represents the map of attribute for Account.

View Source
var AccountCheckAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID of the account if validated.`,
		Exposed:        true,
		Name:           "ID",
		ReadOnly:       true,
		Type:           "string",
	},
	"OTP": {
		AllowedChoices: []string{},
		ConvertedName:  "OTP",
		Description:    `eventual otp.`,
		Exposed:        true,
		Name:           "OTP",
		Type:           "string",
	},
	"Email": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Email",
		Description:    `email of the account if validated.`,
		Exposed:        true,
		Name:           "email",
		ReadOnly:       true,
		Type:           "string",
	},
	"Handle": {
		AllowedChoices: []string{},
		ConvertedName:  "Handle",
		Description:    `Account name of email.`,
		Exposed:        true,
		Name:           "handle",
		Required:       true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `name of the account.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
	"Password": {
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `provided password.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
}

AccountCheckAttributesMap represents the map of attribute for AccountCheck.

View Source
var AccountCheckIdentity = elemental.Identity{
	Name:     "accountcheck",
	Category: "accountchecks",
	Package:  "vince",
	Private:  true,
}

AccountCheckIdentity represents the Identity of the object.

View Source
var AccountCheckLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID of the account if validated.`,
		Exposed:        true,
		Name:           "ID",
		ReadOnly:       true,
		Type:           "string",
	},
	"otp": {
		AllowedChoices: []string{},
		ConvertedName:  "OTP",
		Description:    `eventual otp.`,
		Exposed:        true,
		Name:           "OTP",
		Type:           "string",
	},
	"email": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Email",
		Description:    `email of the account if validated.`,
		Exposed:        true,
		Name:           "email",
		ReadOnly:       true,
		Type:           "string",
	},
	"handle": {
		AllowedChoices: []string{},
		ConvertedName:  "Handle",
		Description:    `Account name of email.`,
		Exposed:        true,
		Name:           "handle",
		Required:       true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `name of the account.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
	"password": {
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `provided password.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
}

AccountCheckLowerCaseAttributesMap represents the map of attribute for AccountCheck.

View Source
var AccountIdentity = elemental.Identity{
	Name:     "account",
	Category: "accounts",
	Package:  "vince",
	Private:  false,
}

AccountIdentity represents the Identity of the object.

View Source
var AccountLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"otpenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "otpenabled",
		ConvertedName:  "OTPEnabled",
		Description:    `Enable or disable two-factor authentication.`,
		Exposed:        true,
		Name:           "OTPEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"otpqrcode": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "OTPQRCode",
		Description:    `Returns the base64-encoded QR code for setting up two-factor authentication.`,
		Exposed:        true,
		Name:           "OTPQRCode",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"otpsecret": {
		AllowedChoices: []string{},
		BSONFieldName:  "otpsecret",
		ConvertedName:  "OTPSecret",
		Description:    `Stores the two-factor authentication secret.`,
		Name:           "OTPSecret",
		Stored:         true,
		Type:           "string",
	},
	"sshca": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCA",
		Description:    `Holds the SSH certificate authority used by the account namespace.`,
		Exposed:        true,
		Name:           "SSHCA",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"sshcarenew": {
		AllowedChoices: []string{},
		ConvertedName:  "SSHCARenew",
		Description:    `Set to ` + "`" + `true` + "`" + ` to renew the SSH certificate authority of the account namespace.`,
		Exposed:        true,
		Name:           "SSHCARenew",
		Type:           "boolean",
	},
	"accessenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "accessenabled",
		ConvertedName:  "AccessEnabled",
		Description:    `Defines if the account holder should have access to the system.`,
		Exposed:        true,
		Name:           "accessEnabled",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"activationexpiration": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "activationexpiration",
		ConvertedName:  "ActivationExpiration",
		Description:    `Contains the expiration date of the activation token.`,
		Name:           "activationExpiration",
		Stored:         true,
		Type:           "time",
	},
	"activationtoken": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "activationtoken",
		ConvertedName:  "ActivationToken",
		Description:    `Contains the activation token.`,
		Exposed:        true,
		Name:           "activationToken",
		Stored:         true,
		Type:           "string",
	},
	"associatedapiauthpolicyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedapiauthpolicyid",
		ConvertedName:  "AssociatedAPIAuthPolicyID",
		Description:    `Holds the ID of the associated API authorization.`,
		Name:           "associatedAPIAuthPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"associatedawspolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedawspolicies",
		ConvertedName:  "AssociatedAWSPolicies",
		Description:    `Contains a map of associated AWS enforcer policies.`,
		Name:           "associatedAWSPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"associatednamespaceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatednamespaceid",
		ConvertedName:  "AssociatedNamespaceID",
		Description:    `Contains the ID of the associated namespace.`,
		Name:           "associatedNamespaceID",
		Stored:         true,
		Type:           "string",
	},
	"associatedplankey": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedplankey",
		ConvertedName:  "AssociatedPlanKey",
		CreationOnly:   true,
		Description:    `Contains the plan key associated with this account.`,
		Exposed:        true,
		Name:           "associatedPlanKey",
		Stored:         true,
		Type:           "string",
	},
	"associatedquotapolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedquotapolicies",
		ConvertedName:  "AssociatedQuotaPolicies",
		Description:    `Contains a map of the associated quotas.`,
		Name:           "associatedQuotaPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"company": {
		AllowedChoices: []string{},
		BSONFieldName:  "company",
		ConvertedName:  "Company",
		Description:    `Company of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "company",
		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",
	},
	"email": {
		AllowedChoices: []string{},
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `Email of the account holder.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "email",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"failedauth": {
		AllowedChoices: []string{},
		BSONFieldName:  "failedauth",
		ConvertedName:  "FailedAuth",
		Description:    `Internally keeps track of the number of failed attempt.`,
		Name:           "failedAuth",
		Stored:         true,
		Type:           "integer",
	},
	"failedtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "failedtime",
		ConvertedName:  "FailedTime",
		Description:    `Internally keeps track of the time of the last failed attempt.`,
		Name:           "failedTime",
		Stored:         true,
		Type:           "time",
	},
	"firstname": {
		AllowedChoices: []string{},
		BSONFieldName:  "firstname",
		ConvertedName:  "FirstName",
		Description:    `First name of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "firstName",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"lastname": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastname",
		ConvertedName:  "LastName",
		Description:    `Last name of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "lastName",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"localca": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LocalCA",
		Description:    `The certificate authority used by this namespace.`,
		Exposed:        true,
		Name:           "localCA",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"localcarenew": {
		AllowedChoices: []string{},
		ConvertedName:  "LocalCARenew",
		Description:    `Set to ` + "`" + `true` + "`" + ` to renew the local certificate authority of the account namespace.`,
		Exposed:        true,
		Name:           "localCARenew",
		Type:           "boolean",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChars:   `^[^\*\=]*$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"newpassword": {
		AllowedChoices: []string{},
		ConvertedName:  "NewPassword",
		Description: `New password for the account. If set the previous password must be given through
the property ` + "`" + `password` + "`" + `.`,
		Exposed: true,
		Name:    "newPassword",
		Type:    "string",
	},
	"password": {
		AllowedChoices: []string{},
		BSONFieldName:  "password",
		ConvertedName:  "Password",
		Description:    `Password for the account.`,
		Exposed:        true,
		Name:           "password",
		Stored:         true,
		Type:           "string",
	},
	"recaptchakey": {
		AllowedChoices: []string{},
		ConvertedName:  "ReCAPTCHAKey",
		CreationOnly:   true,
		Description: `Contains the completely automated public Turing test (CAPTCHA)
validation if reCAPTCHA is enabled.`,
		Exposed: true,
		Name:    "reCAPTCHAKey",
		Type:    "string",
	},
	"resetpasswordexpiration": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "resetpasswordexpiration",
		ConvertedName:  "ResetPasswordExpiration",
		Description:    `Contains the expiration time for resetting the password.`,
		Name:           "resetPasswordExpiration",
		Stored:         true,
		Type:           "time",
	},
	"resetpasswordtoken": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "resetpasswordtoken",
		ConvertedName:  "ResetPasswordToken",
		Description:    `Contains the token to use for resetting password.`,
		Name:           "resetPasswordToken",
		Stored:         true,
		Type:           "string",
	},
	"status": {
		AllowedChoices: []string{"Active", "Disabled", "Invited", "Pending"},
		Autogenerated:  true,
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		DefaultValue:   AccountStatusPending,
		Description:    `Status of the account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "status",
		Orderable:      true,
		ReadOnly:       true,
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AccountLowerCaseAttributesMap represents the map of attribute for Account.

View Source
var ActivateAttributesMap = map[string]elemental.AttributeSpecification{
	"Token": {
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		CreationOnly:   true,
		Description:    `Contains the activation token.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
}

ActivateAttributesMap represents the map of attribute for Activate.

View Source
var ActivateIdentity = elemental.Identity{
	Name:     "activate",
	Category: "activate",
	Package:  "vince",
	Private:  false,
}

ActivateIdentity represents the Identity of the object.

View Source
var ActivateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"token": {
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		CreationOnly:   true,
		Description:    `Contains the activation token.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
}

ActivateLowerCaseAttributesMap represents the map of attribute for Activate.

View Source
var ActivityAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `Claims of the user who performed the operation.`,
		Exposed:        true,
		Name:           "claims",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"Data": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Deprecated:     true,
		Description:    `This is deprecated in favor of ` + "`" + `diff` + "`" + `.`,
		Exposed:        true,
		Name:           "data",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"Date": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "date",
		ConvertedName:  "Date",
		Description:    `Time-date stamp of the notification.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"Diff": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "diff",
		ConvertedName:  "Diff",
		Description:    `Contains the diff of the change.`,
		Exposed:        true,
		Name:           "diff",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Error": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "error",
		ConvertedName:  "Error",
		Description:    `Contains the error.`,
		Exposed:        true,
		Name:           "error",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"Message": {
		AllowedChoices: []string{},
		BSONFieldName:  "message",
		ConvertedName:  "Message",
		Description:    `Message of the notification.`,
		Exposed:        true,
		Name:           "message",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Operation": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "operation",
		ConvertedName:  "Operation",
		Description:    `Describes what kind of operation the notification represents.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operation",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"OriginalData": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "originaldata",
		ConvertedName:  "OriginalData",
		Deprecated:     true,
		Description:    `This is deprecated in favor of ` + "`" + `diff` + "`" + `.`,
		Exposed:        true,
		Name:           "originalData",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"Source": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "source",
		ConvertedName:  "Source",
		Description:    `Contains meta information about the source.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "source",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"TargetIdentity": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "targetidentity",
		ConvertedName:  "TargetIdentity",
		Description:    `The identity of the related object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "targetIdentity",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ActivityAttributesMap represents the map of attribute for Activity.

View Source
var ActivityIdentity = elemental.Identity{
	Name:     "activity",
	Category: "activities",
	Package:  "hojo",
	Private:  false,
}

ActivityIdentity represents the Identity of the object.

View Source
var ActivityLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `Claims of the user who performed the operation.`,
		Exposed:        true,
		Name:           "claims",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"data": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Deprecated:     true,
		Description:    `This is deprecated in favor of ` + "`" + `diff` + "`" + `.`,
		Exposed:        true,
		Name:           "data",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"date": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "date",
		ConvertedName:  "Date",
		Description:    `Time-date stamp of the notification.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"diff": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "diff",
		ConvertedName:  "Diff",
		Description:    `Contains the diff of the change.`,
		Exposed:        true,
		Name:           "diff",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"error": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "error",
		ConvertedName:  "Error",
		Description:    `Contains the error.`,
		Exposed:        true,
		Name:           "error",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"message": {
		AllowedChoices: []string{},
		BSONFieldName:  "message",
		ConvertedName:  "Message",
		Description:    `Message of the notification.`,
		Exposed:        true,
		Name:           "message",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"operation": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "operation",
		ConvertedName:  "Operation",
		Description:    `Describes what kind of operation the notification represents.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operation",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"originaldata": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "originaldata",
		ConvertedName:  "OriginalData",
		Deprecated:     true,
		Description:    `This is deprecated in favor of ` + "`" + `diff` + "`" + `.`,
		Exposed:        true,
		Name:           "originalData",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"source": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "source",
		ConvertedName:  "Source",
		Description:    `Contains meta information about the source.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "source",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"targetidentity": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "targetidentity",
		ConvertedName:  "TargetIdentity",
		Description:    `The identity of the related object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "targetIdentity",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ActivityLowerCaseAttributesMap represents the map of attribute for Activity.

View Source
var AlarmAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Content": {
		AllowedChoices: []string{},
		BSONFieldName:  "content",
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the alarm.`,
		Exposed:        true,
		Name:           "content",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `Data represent user data related to the alarms.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Emails": {
		AllowedChoices: []string{},
		BSONFieldName:  "emails",
		ConvertedName:  "Emails",
		Description: `A list of recipients that should be emailed when this alarm is
created.`,
		Exposed: true,
		Name:    "emails",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Kind": {
		AllowedChoices: []string{},
		BSONFieldName:  "kind",
		ConvertedName:  "Kind",
		CreationOnly:   true,
		Description: `Identifies the kind of alarm. If two alarms are created with the same
identifier, then only the occurrence will be incremented.`,
		Exposed:   true,
		Name:      "kind",
		Orderable: true,
		Required:  true,
		Stored:    true,
		Type:      "string",
	},
	"LastLocalTimestamp": {
		AllowedChoices: []string{},
		ConvertedName:  "LastLocalTimestamp",
		Description:    `Time and date of the alarm set by the enforcer.`,
		Exposed:        true,
		Name:           "lastLocalTimestamp",
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Occurrences": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "occurrences",
		ConvertedName:  "Occurrences",
		CreationOnly:   true,
		Description:    `Number of times this alarm has been seen.`,
		Exposed:        true,
		Name:           "occurrences",
		Stored:         true,
		SubType:        "[]time.Time",
		Type:           "external",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Status": {
		AllowedChoices: []string{"Acknowledged", "Open", "Resolved"},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		DefaultValue:   AlarmStatusOpen,
		Description:    `Status of the alarm.`,
		Exposed:        true,
		Name:           "status",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AlarmAttributesMap represents the map of attribute for Alarm.

View Source
var AlarmIdentity = elemental.Identity{
	Name:     "alarm",
	Category: "alarms",
	Package:  "sephiroth",
	Private:  false,
}

AlarmIdentity represents the Identity of the object.

View Source
var AlarmLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"content": {
		AllowedChoices: []string{},
		BSONFieldName:  "content",
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the alarm.`,
		Exposed:        true,
		Name:           "content",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `Data represent user data related to the alarms.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"emails": {
		AllowedChoices: []string{},
		BSONFieldName:  "emails",
		ConvertedName:  "Emails",
		Description: `A list of recipients that should be emailed when this alarm is
created.`,
		Exposed: true,
		Name:    "emails",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"kind": {
		AllowedChoices: []string{},
		BSONFieldName:  "kind",
		ConvertedName:  "Kind",
		CreationOnly:   true,
		Description: `Identifies the kind of alarm. If two alarms are created with the same
identifier, then only the occurrence will be incremented.`,
		Exposed:   true,
		Name:      "kind",
		Orderable: true,
		Required:  true,
		Stored:    true,
		Type:      "string",
	},
	"lastlocaltimestamp": {
		AllowedChoices: []string{},
		ConvertedName:  "LastLocalTimestamp",
		Description:    `Time and date of the alarm set by the enforcer.`,
		Exposed:        true,
		Name:           "lastLocalTimestamp",
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"occurrences": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "occurrences",
		ConvertedName:  "Occurrences",
		CreationOnly:   true,
		Description:    `Number of times this alarm has been seen.`,
		Exposed:        true,
		Name:           "occurrences",
		Stored:         true,
		SubType:        "[]time.Time",
		Type:           "external",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"status": {
		AllowedChoices: []string{"Acknowledged", "Open", "Resolved"},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		DefaultValue:   AlarmStatusOpen,
		Description:    `Status of the alarm.`,
		Exposed:        true,
		Name:           "status",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AlarmLowerCaseAttributesMap represents the map of attribute for Alarm.

View Source
var AppAttributesMap = map[string]elemental.AttributeSpecification{
	"Beta": {
		AllowedChoices: []string{},
		ConvertedName:  "Beta",
		Description:    `Set to ` + "`" + `true` + "`" + ` to indicate that the app is in a beta version.`,
		Exposed:        true,
		Name:           "beta",
		ReadOnly:       true,
		Type:           "boolean",
	},
	"CategoryID": {
		AllowedChoices: []string{},
		ConvertedName:  "CategoryID",
		Description:    `Category ID of the app.`,
		Exposed:        true,
		Name:           "categoryID",
		ReadOnly:       true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Icon": {
		AllowedChoices: []string{},
		ConvertedName:  "Icon",
		Description:    `Contains a base64-encoded image for the app.`,
		Exposed:        true,
		Name:           "icon",
		ReadOnly:       true,
		Type:           "string",
	},
	"LatestVersion": {
		AllowedChoices: []string{},
		ConvertedName:  "LatestVersion",
		Description:    `Represents the latest version available of the app.`,
		Exposed:        true,
		Name:           "latestVersion",
		Type:           "string",
	},
	"LongDescription": {
		AllowedChoices: []string{},
		ConvertedName:  "LongDescription",
		Description:    `Contains a more detailed description of the app.`,
		Exposed:        true,
		Name:           "longDescription",
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Steps": {
		AllowedChoices: []string{},
		BSONFieldName:  "steps",
		ConvertedName:  "Steps",
		Description:    `List of steps that contain parameters.`,
		Exposed:        true,
		Name:           "steps",
		Stored:         true,
		SubType:        "uistep",
		Type:           "refList",
	},
	"Title": {
		AllowedChoices: []string{},
		ConvertedName:  "Title",
		Description:    `Represents the title of the app.`,
		Exposed:        true,
		Name:           "title",
		Type:           "string",
	},
}

AppAttributesMap represents the map of attribute for App.

View Source
var AppCredentialAttributesMap = map[string]elemental.AttributeSpecification{
	"CSR": {
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		Description: `Contains a PEM-encoded certificate signing request (CSR). It can
only be set during a renew.

- The CN **MUST** be ` + "`" + `app:credential:<appcred-id>:<appcred-name>` + "`" + `
- The O **MUST** be the namespace of the app credential

If you send anything else, the signing request will be rejected.`,
		Exposed: true,
		Name:    "CSR",
		Type:    "string",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AuthorizedSubnets": {
		AllowedChoices: []string{},
		BSONFieldName:  "authorizedsubnets",
		ConvertedName:  "AuthorizedSubnets",
		Description: `If set, the app credential will only be valid if the request comes from one
the declared subnets.`,
		Exposed: true,
		Name:    "authorizedSubnets",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Certificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificate",
		ConvertedName:  "Certificate",
		Description:    `The string representation of the certificate used by the app credential.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CertificateSN": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificatesn",
		ConvertedName:  "CertificateSN",
		Description:    `Link to the certificate created for this app credential.`,
		Name:           "certificateSN",
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Credentials": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Credentials",
		Description:    `The app credential data.`,
		Exposed:        true,
		Name:           "credentials",
		Orderable:      true,
		ReadOnly:       true,
		SubType:        "credential",
		Transient:      true,
		Type:           "ref",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Email": {
		AllowedChoices: []string{},
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `The email address that will receive a copy of the app credential.`,
		Exposed:        true,
		Name:           "email",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"MaxIssuedTokenValidity": {
		AllowedChoices: []string{},
		BSONFieldName:  "maxissuedtokenvalidity",
		ConvertedName:  "MaxIssuedTokenValidity",
		Description: `If set, this will limit the maximum validity of the token issued from this app
credential. This information will be embedded into the delivered certificate and
cannot be changed once set. In order to change it, you need to renew the
certificate.`,
		Exposed: true,
		Name:    "maxIssuedTokenValidity",
		Stored:  true,
		Type:    "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"ParentIDs": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "parentids",
		ConvertedName:  "ParentIDs",
		Description: `Contains the ID of the parent app credential if this is a derived app
credential.`,
		Exposed:  true,
		Name:     "parentIDs",
		ReadOnly: true,
		Stored:   true,
		SubType:  "string",
		Type:     "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Roles": {
		AllowedChoices: []string{},
		BSONFieldName:  "roles",
		ConvertedName:  "Roles",
		Description:    `List of roles to give the app credential.`,
		Exposed:        true,
		Name:           "roles",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AppCredentialAttributesMap represents the map of attribute for AppCredential.

View Source
var AppCredentialIdentity = elemental.Identity{
	Name:     "appcredential",
	Category: "appcredentials",
	Package:  "cactuar",
	Private:  false,
}

AppCredentialIdentity represents the Identity of the object.

View Source
var AppCredentialLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"csr": {
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		Description: `Contains a PEM-encoded certificate signing request (CSR). It can
only be set during a renew.

- The CN **MUST** be ` + "`" + `app:credential:<appcred-id>:<appcred-name>` + "`" + `
- The O **MUST** be the namespace of the app credential

If you send anything else, the signing request will be rejected.`,
		Exposed: true,
		Name:    "CSR",
		Type:    "string",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"authorizedsubnets": {
		AllowedChoices: []string{},
		BSONFieldName:  "authorizedsubnets",
		ConvertedName:  "AuthorizedSubnets",
		Description: `If set, the app credential will only be valid if the request comes from one
the declared subnets.`,
		Exposed: true,
		Name:    "authorizedSubnets",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"certificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificate",
		ConvertedName:  "Certificate",
		Description:    `The string representation of the certificate used by the app credential.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"certificatesn": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificatesn",
		ConvertedName:  "CertificateSN",
		Description:    `Link to the certificate created for this app credential.`,
		Name:           "certificateSN",
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"credentials": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Credentials",
		Description:    `The app credential data.`,
		Exposed:        true,
		Name:           "credentials",
		Orderable:      true,
		ReadOnly:       true,
		SubType:        "credential",
		Transient:      true,
		Type:           "ref",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"email": {
		AllowedChoices: []string{},
		BSONFieldName:  "email",
		ConvertedName:  "Email",
		Description:    `The email address that will receive a copy of the app credential.`,
		Exposed:        true,
		Name:           "email",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"maxissuedtokenvalidity": {
		AllowedChoices: []string{},
		BSONFieldName:  "maxissuedtokenvalidity",
		ConvertedName:  "MaxIssuedTokenValidity",
		Description: `If set, this will limit the maximum validity of the token issued from this app
credential. This information will be embedded into the delivered certificate and
cannot be changed once set. In order to change it, you need to renew the
certificate.`,
		Exposed: true,
		Name:    "maxIssuedTokenValidity",
		Stored:  true,
		Type:    "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parentids": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "parentids",
		ConvertedName:  "ParentIDs",
		Description: `Contains the ID of the parent app credential if this is a derived app
credential.`,
		Exposed:  true,
		Name:     "parentIDs",
		ReadOnly: true,
		Stored:   true,
		SubType:  "string",
		Type:     "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"roles": {
		AllowedChoices: []string{},
		BSONFieldName:  "roles",
		ConvertedName:  "Roles",
		Description:    `List of roles to give the app credential.`,
		Exposed:        true,
		Name:           "roles",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AppCredentialLowerCaseAttributesMap represents the map of attribute for AppCredential.

View Source
var AppIdentity = elemental.Identity{
	Name:     "app",
	Category: "apps",
	Package:  "highwind",
	Private:  false,
}

AppIdentity represents the Identity of the object.

View Source
var AppLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"beta": {
		AllowedChoices: []string{},
		ConvertedName:  "Beta",
		Description:    `Set to ` + "`" + `true` + "`" + ` to indicate that the app is in a beta version.`,
		Exposed:        true,
		Name:           "beta",
		ReadOnly:       true,
		Type:           "boolean",
	},
	"categoryid": {
		AllowedChoices: []string{},
		ConvertedName:  "CategoryID",
		Description:    `Category ID of the app.`,
		Exposed:        true,
		Name:           "categoryID",
		ReadOnly:       true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"icon": {
		AllowedChoices: []string{},
		ConvertedName:  "Icon",
		Description:    `Contains a base64-encoded image for the app.`,
		Exposed:        true,
		Name:           "icon",
		ReadOnly:       true,
		Type:           "string",
	},
	"latestversion": {
		AllowedChoices: []string{},
		ConvertedName:  "LatestVersion",
		Description:    `Represents the latest version available of the app.`,
		Exposed:        true,
		Name:           "latestVersion",
		Type:           "string",
	},
	"longdescription": {
		AllowedChoices: []string{},
		ConvertedName:  "LongDescription",
		Description:    `Contains a more detailed description of the app.`,
		Exposed:        true,
		Name:           "longDescription",
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"steps": {
		AllowedChoices: []string{},
		BSONFieldName:  "steps",
		ConvertedName:  "Steps",
		Description:    `List of steps that contain parameters.`,
		Exposed:        true,
		Name:           "steps",
		Stored:         true,
		SubType:        "uistep",
		Type:           "refList",
	},
	"title": {
		AllowedChoices: []string{},
		ConvertedName:  "Title",
		Description:    `Represents the title of the app.`,
		Exposed:        true,
		Name:           "title",
		Type:           "string",
	},
}

AppLowerCaseAttributesMap represents the map of attribute for App.

View Source
var AuditProfileAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Rules": {
		AllowedChoices: []string{},
		BSONFieldName:  "rules",
		ConvertedName:  "Rules",
		Description:    `List of audit rules associated with this profile.`,
		Exposed:        true,
		Name:           "rules",
		Stored:         true,
		SubType:        "_audit_profile_rule_list",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AuditProfileAttributesMap represents the map of attribute for AuditProfile.

View Source
var AuditProfileIdentity = elemental.Identity{
	Name:     "auditprofile",
	Category: "auditprofiles",
	Package:  "squall",
	Private:  false,
}

AuditProfileIdentity represents the Identity of the object.

View Source
var AuditProfileLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"rules": {
		AllowedChoices: []string{},
		BSONFieldName:  "rules",
		ConvertedName:  "Rules",
		Description:    `List of audit rules associated with this profile.`,
		Exposed:        true,
		Name:           "rules",
		Stored:         true,
		SubType:        "_audit_profile_rule_list",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AuditProfileLowerCaseAttributesMap represents the map of attribute for AuditProfile.

View Source
var AuditProfileMappingPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `The tag or tag expression that identifies the audit profile to be mapped.`,
		Exposed:        true,
		Name:           "object",
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `The tag or tag expression that identifies the enforcer(s) to implement the audit
profile.`,
		Exposed: true,
		Name:    "subject",
		SubType: "[][]string",
		Type:    "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

AuditProfileMappingPolicyAttributesMap represents the map of attribute for AuditProfileMappingPolicy.

View Source
var AuditProfileMappingPolicyIdentity = elemental.Identity{
	Name:     "auditprofilemappingpolicy",
	Category: "auditprofilemappingpolicies",
	Package:  "squall",
	Private:  false,
}

AuditProfileMappingPolicyIdentity represents the Identity of the object.

View Source
var AuditProfileMappingPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `The tag or tag expression that identifies the audit profile to be mapped.`,
		Exposed:        true,
		Name:           "object",
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `The tag or tag expression that identifies the enforcer(s) to implement the audit
profile.`,
		Exposed: true,
		Name:    "subject",
		SubType: "[][]string",
		Type:    "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

AuditProfileMappingPolicyLowerCaseAttributesMap represents the map of attribute for AuditProfileMappingPolicy.

View Source
var AuditReportAttributesMap = map[string]elemental.AttributeSpecification{
	"AUID": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "AUID",
		Description:    `The login ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "AUID",
		Stored:         true,
		Type:           "string",
	},
	"CWD": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "CWD",
		Description:    `Command working directory.`,
		Exposed:        true,
		Name:           "CWD",
		Stored:         true,
		Type:           "string",
	},
	"EGID": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "EGID",
		Description:    `Effective group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "EGID",
		Stored:         true,
		Type:           "integer",
	},
	"EUID": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "EUID",
		Description:    `Effective user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "EUID",
		Stored:         true,
		Type:           "integer",
	},
	"EXE": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "EXE",
		Description:    `Path to the executable.`,
		Exposed:        true,
		Name:           "EXE",
		Stored:         true,
		Type:           "string",
	},
	"FSGID": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "FSGID",
		Description:    `File system group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "FSGID",
		Stored:         true,
		Type:           "integer",
	},
	"FSUID": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "FSUID",
		Description:    `File system user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "FSUID",
		Stored:         true,
		Type:           "integer",
	},
	"FilePath": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "FilePath",
		Description:    `Full path of the file that was passed to the system call.`,
		Exposed:        true,
		Name:           "FilePath",
		Stored:         true,
		Type:           "string",
	},
	"GID": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "GID",
		Description:    `Group ID of the user who started the analyzed process.`,
		Exposed:        true,
		Name:           "GID",
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"PER": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "PER",
		Description:    `File or directory permissions.`,
		Exposed:        true,
		Name:           "PER",
		Stored:         true,
		Type:           "integer",
	},
	"PID": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "PID",
		Description:    `Process ID of the executable.`,
		Exposed:        true,
		Name:           "PID",
		Stored:         true,
		Type:           "integer",
	},
	"PPID": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "PPID",
		Description:    `Process ID of the parent executable.`,
		Exposed:        true,
		Name:           "PPID",
		Stored:         true,
		Type:           "integer",
	},
	"SGID": {
		AllowedChoices: []string{},
		BSONFieldName:  "m",
		ConvertedName:  "SGID",
		Description:    `Set group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "SGID",
		Stored:         true,
		Type:           "integer",
	},
	"SUID": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "SUID",
		Description:    `Set user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "SUID",
		Stored:         true,
		Type:           "integer",
	},
	"UID": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "UID",
		Description:    `User ID.`,
		Exposed:        true,
		Name:           "UID",
		Stored:         true,
		Type:           "integer",
	},
	"A0": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "A0",
		Description:    `First argument of the executed system call.`,
		Exposed:        true,
		Name:           "a0",
		Stored:         true,
		Type:           "string",
	},
	"A1": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "A1",
		Description:    `Second argument of the executed system call.`,
		Exposed:        true,
		Name:           "a1",
		Stored:         true,
		Type:           "string",
	},
	"A2": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "A2",
		Description:    `Third argument of the executed system call.`,
		Exposed:        true,
		Name:           "a2",
		Stored:         true,
		Type:           "string",
	},
	"A3": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "A3",
		Description:    `Fourth argument of the executed system call.`,
		Exposed:        true,
		Name:           "a3",
		Stored:         true,
		Type:           "string",
	},
	"Arch": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "Arch",
		Description:    `Architecture of the system of the monitored process.`,
		Exposed:        true,
		Name:           "arch",
		Stored:         true,
		Type:           "string",
	},
	"Arguments": {
		AllowedChoices: []string{},
		BSONFieldName:  "u",
		ConvertedName:  "Arguments",
		Description:    `Arguments passed to the command.`,
		Exposed:        true,
		Name:           "arguments",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AuditProfileID": {
		AllowedChoices: []string{},
		BSONFieldName:  "v",
		ConvertedName:  "AuditProfileID",
		Description:    `ID of the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"AuditProfileNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "w",
		ConvertedName:  "AuditProfileNamespace",
		Description:    `Namespace of the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Command": {
		AllowedChoices: []string{},
		BSONFieldName:  "x",
		ConvertedName:  "Command",
		Description:    `Command issued.`,
		Exposed:        true,
		Name:           "command",
		Stored:         true,
		Type:           "string",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "y",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer reporting.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "z",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer reporting.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Exit": {
		AllowedChoices: []string{},
		BSONFieldName:  "aa",
		ConvertedName:  "Exit",
		Description:    `Exit code of the executed system call.`,
		Exposed:        true,
		Name:           "exit",
		Stored:         true,
		Type:           "integer",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"ProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "ab",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit originating the report.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "ac",
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit originating the report.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"RecordType": {
		AllowedChoices: []string{},
		BSONFieldName:  "ad",
		ConvertedName:  "RecordType",
		Description:    `Type of audit record.`,
		Exposed:        true,
		Name:           "recordType",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Sequence": {
		AllowedChoices: []string{},
		BSONFieldName:  "ae",
		ConvertedName:  "Sequence",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "sequence",
		Stored:         true,
		Type:           "integer",
	},
	"Success": {
		AllowedChoices: []string{},
		BSONFieldName:  "af",
		ConvertedName:  "Success",
		Description:    `Tells if the operation has been a success or a failure.`,
		Exposed:        true,
		Name:           "success",
		Stored:         true,
		Type:           "boolean",
	},
	"Syscall": {
		AllowedChoices: []string{},
		BSONFieldName:  "ag",
		ConvertedName:  "Syscall",
		Description:    `System call executed.`,
		Exposed:        true,
		Name:           "syscall",
		Stored:         true,
		Type:           "string",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "ah",
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AuditReportAttributesMap represents the map of attribute for AuditReport.

View Source
var AuditReportIdentity = elemental.Identity{
	Name:     "auditreport",
	Category: "auditreports",
	Package:  "zack",
	Private:  false,
}

AuditReportIdentity represents the Identity of the object.

View Source
var AuditReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"auid": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "AUID",
		Description:    `The login ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "AUID",
		Stored:         true,
		Type:           "string",
	},
	"cwd": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "CWD",
		Description:    `Command working directory.`,
		Exposed:        true,
		Name:           "CWD",
		Stored:         true,
		Type:           "string",
	},
	"egid": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "EGID",
		Description:    `Effective group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "EGID",
		Stored:         true,
		Type:           "integer",
	},
	"euid": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "EUID",
		Description:    `Effective user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "EUID",
		Stored:         true,
		Type:           "integer",
	},
	"exe": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "EXE",
		Description:    `Path to the executable.`,
		Exposed:        true,
		Name:           "EXE",
		Stored:         true,
		Type:           "string",
	},
	"fsgid": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "FSGID",
		Description:    `File system group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "FSGID",
		Stored:         true,
		Type:           "integer",
	},
	"fsuid": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "FSUID",
		Description:    `File system user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "FSUID",
		Stored:         true,
		Type:           "integer",
	},
	"filepath": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "FilePath",
		Description:    `Full path of the file that was passed to the system call.`,
		Exposed:        true,
		Name:           "FilePath",
		Stored:         true,
		Type:           "string",
	},
	"gid": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "GID",
		Description:    `Group ID of the user who started the analyzed process.`,
		Exposed:        true,
		Name:           "GID",
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"per": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "PER",
		Description:    `File or directory permissions.`,
		Exposed:        true,
		Name:           "PER",
		Stored:         true,
		Type:           "integer",
	},
	"pid": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "PID",
		Description:    `Process ID of the executable.`,
		Exposed:        true,
		Name:           "PID",
		Stored:         true,
		Type:           "integer",
	},
	"ppid": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "PPID",
		Description:    `Process ID of the parent executable.`,
		Exposed:        true,
		Name:           "PPID",
		Stored:         true,
		Type:           "integer",
	},
	"sgid": {
		AllowedChoices: []string{},
		BSONFieldName:  "m",
		ConvertedName:  "SGID",
		Description:    `Set group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "SGID",
		Stored:         true,
		Type:           "integer",
	},
	"suid": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "SUID",
		Description:    `Set user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "SUID",
		Stored:         true,
		Type:           "integer",
	},
	"uid": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "UID",
		Description:    `User ID.`,
		Exposed:        true,
		Name:           "UID",
		Stored:         true,
		Type:           "integer",
	},
	"a0": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "A0",
		Description:    `First argument of the executed system call.`,
		Exposed:        true,
		Name:           "a0",
		Stored:         true,
		Type:           "string",
	},
	"a1": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "A1",
		Description:    `Second argument of the executed system call.`,
		Exposed:        true,
		Name:           "a1",
		Stored:         true,
		Type:           "string",
	},
	"a2": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "A2",
		Description:    `Third argument of the executed system call.`,
		Exposed:        true,
		Name:           "a2",
		Stored:         true,
		Type:           "string",
	},
	"a3": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "A3",
		Description:    `Fourth argument of the executed system call.`,
		Exposed:        true,
		Name:           "a3",
		Stored:         true,
		Type:           "string",
	},
	"arch": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "Arch",
		Description:    `Architecture of the system of the monitored process.`,
		Exposed:        true,
		Name:           "arch",
		Stored:         true,
		Type:           "string",
	},
	"arguments": {
		AllowedChoices: []string{},
		BSONFieldName:  "u",
		ConvertedName:  "Arguments",
		Description:    `Arguments passed to the command.`,
		Exposed:        true,
		Name:           "arguments",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"auditprofileid": {
		AllowedChoices: []string{},
		BSONFieldName:  "v",
		ConvertedName:  "AuditProfileID",
		Description:    `ID of the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"auditprofilenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "w",
		ConvertedName:  "AuditProfileNamespace",
		Description:    `Namespace of the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"command": {
		AllowedChoices: []string{},
		BSONFieldName:  "x",
		ConvertedName:  "Command",
		Description:    `Command issued.`,
		Exposed:        true,
		Name:           "command",
		Stored:         true,
		Type:           "string",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "y",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer reporting.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "z",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer reporting.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"exit": {
		AllowedChoices: []string{},
		BSONFieldName:  "aa",
		ConvertedName:  "Exit",
		Description:    `Exit code of the executed system call.`,
		Exposed:        true,
		Name:           "exit",
		Stored:         true,
		Type:           "integer",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"processingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "ab",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit originating the report.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"processingunitnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "ac",
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit originating the report.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"recordtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "ad",
		ConvertedName:  "RecordType",
		Description:    `Type of audit record.`,
		Exposed:        true,
		Name:           "recordType",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"sequence": {
		AllowedChoices: []string{},
		BSONFieldName:  "ae",
		ConvertedName:  "Sequence",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "sequence",
		Stored:         true,
		Type:           "integer",
	},
	"success": {
		AllowedChoices: []string{},
		BSONFieldName:  "af",
		ConvertedName:  "Success",
		Description:    `Tells if the operation has been a success or a failure.`,
		Exposed:        true,
		Name:           "success",
		Stored:         true,
		Type:           "boolean",
	},
	"syscall": {
		AllowedChoices: []string{},
		BSONFieldName:  "ag",
		ConvertedName:  "Syscall",
		Description:    `System call executed.`,
		Exposed:        true,
		Name:           "syscall",
		Stored:         true,
		Type:           "string",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "ah",
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AuditReportLowerCaseAttributesMap represents the map of attribute for AuditReport.

View Source
var AuthnAttributesMap = map[string]elemental.AttributeSpecification{
	"Claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `The claims in the token.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "_claims",
		Type:           "external",
	},
	"Token": {
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `The token to verify. This is only used if a POST request is used.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
}

AuthnAttributesMap represents the map of attribute for Authn.

View Source
var AuthnIdentity = elemental.Identity{
	Name:     "authn",
	Category: "authn",
	Package:  "midgard",
	Private:  false,
}

AuthnIdentity represents the Identity of the object.

View Source
var AuthnLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `The claims in the token.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "_claims",
		Type:           "external",
	},
	"token": {
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `The token to verify. This is only used if a POST request is used.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
}

AuthnLowerCaseAttributesMap represents the map of attribute for Authn.

View Source
var AuthorityAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Algorithm": {
		AllowedChoices: []string{"ECDSA", "RSA"},
		BSONFieldName:  "algorithm",
		ConvertedName:  "Algorithm",
		DefaultValue:   AuthorityAlgorithmECDSA,
		Description:    `Algorithm defines the signing algorithm to be used.`,
		Exposed:        true,
		Name:           "algorithm",
		Stored:         true,
		Type:           "enum",
	},
	"Certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "certificate",
		ConvertedName:  "Certificate",
		Description:    `PEM encoded certificate data.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CommonName": {
		AllowedChoices: []string{},
		BSONFieldName:  "commonname",
		ConvertedName:  "CommonName",
		CreationOnly:   true,
		Description:    `CommonName contains the common name of the certificate.`,
		Exposed:        true,
		Name:           "commonName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationDate": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationdate",
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description:    `Date of expiration of the issued certificate.`,
		Exposed:        true,
		Name:           "expirationDate",
		Stored:         true,
		Type:           "time",
	},
	"Key": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Encrypted private key of the Authority.`,
		Encrypted:      true,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Organization": {
		AllowedChoices: []string{},
		BSONFieldName:  "organization",
		ConvertedName:  "Organization",
		CreationOnly:   true,
		Description:    `Organization field of the CA.`,
		Exposed:        true,
		Name:           "organization",
		Stored:         true,
		Type:           "string",
	},
	"SerialNumber": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "serialnumber",
		ConvertedName:  "SerialNumber",
		Description:    `serialNumber of the certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{"CA", "TokenSigning"},
		Autogenerated:  true,
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   AuthorityTypeCA,
		Description:    `Type of signing authority can be a CA or a JWT signing certificate.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AuthorityAttributesMap represents the map of attribute for Authority.

View Source
var AuthorityIdentity = elemental.Identity{
	Name:     "authority",
	Category: "authorities",
	Package:  "barret",
	Private:  true,
}

AuthorityIdentity represents the Identity of the object.

View Source
var AuthorityLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"algorithm": {
		AllowedChoices: []string{"ECDSA", "RSA"},
		BSONFieldName:  "algorithm",
		ConvertedName:  "Algorithm",
		DefaultValue:   AuthorityAlgorithmECDSA,
		Description:    `Algorithm defines the signing algorithm to be used.`,
		Exposed:        true,
		Name:           "algorithm",
		Stored:         true,
		Type:           "enum",
	},
	"certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "certificate",
		ConvertedName:  "Certificate",
		Description:    `PEM encoded certificate data.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"commonname": {
		AllowedChoices: []string{},
		BSONFieldName:  "commonname",
		ConvertedName:  "CommonName",
		CreationOnly:   true,
		Description:    `CommonName contains the common name of the certificate.`,
		Exposed:        true,
		Name:           "commonName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationdate": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationdate",
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description:    `Date of expiration of the issued certificate.`,
		Exposed:        true,
		Name:           "expirationDate",
		Stored:         true,
		Type:           "time",
	},
	"key": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Encrypted private key of the Authority.`,
		Encrypted:      true,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"organization": {
		AllowedChoices: []string{},
		BSONFieldName:  "organization",
		ConvertedName:  "Organization",
		CreationOnly:   true,
		Description:    `Organization field of the CA.`,
		Exposed:        true,
		Name:           "organization",
		Stored:         true,
		Type:           "string",
	},
	"serialnumber": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "serialnumber",
		ConvertedName:  "SerialNumber",
		Description:    `serialNumber of the certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{"CA", "TokenSigning"},
		Autogenerated:  true,
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   AuthorityTypeCA,
		Description:    `Type of signing authority can be a CA or a JWT signing certificate.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AuthorityLowerCaseAttributesMap represents the map of attribute for Authority.

View Source
var AuthzAttributesMap = map[string]elemental.AttributeSpecification{
	"APIAuthorizationPolicies": {
		AllowedChoices: []string{},
		ConvertedName:  "APIAuthorizationPolicies",
		Description: `Contains the API Authorization policies if
the query parameter ` + "`" + `forwardpolicyrules=true` + "`" + ` is set.`,
		Exposed: true,
		Name:    "APIAuthorizationPolicies",
		SubType: "apiauthorizationpolicy",
		Type:    "refList",
	},
	"Claims": {
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `The list of verified claims.`,
		Exposed:        true,
		Name:           "claims",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"ClientIP": {
		AllowedChoices: []string{},
		ConvertedName:  "ClientIP",
		Description:    `IP of the client.`,
		Exposed:        true,
		Name:           "clientIP",
		Type:           "string",
	},
	"Error": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Return an eventual error.`,
		Exposed:        true,
		Name:           "error",
		ReadOnly:       true,
		Type:           "string",
	},
	"Permissions": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Permissions",
		Description: `If the parameter permissions=1 is set, targetIdentity and targetOperation are
ignored and this attribute will contain all the permission for the given claims.`,
		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",
	},
	"TargetID": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetID",
		Description:    `The ID of the object to check permission for.`,
		Exposed:        true,
		Name:           "targetID",
		Type:           "string",
	},
	"TargetNamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `The namespace where to check permission from.`,
		Exposed:        true,
		Name:           "targetNamespace",
		Required:       true,
		Type:           "string",
	},
}

AuthzAttributesMap represents the map of attribute for Authz.

View Source
var AuthzIdentity = elemental.Identity{
	Name:     "authz",
	Category: "authz",
	Package:  "cid",
	Private:  true,
}

AuthzIdentity represents the Identity of the object.

View Source
var AuthzLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiauthorizationpolicies": {
		AllowedChoices: []string{},
		ConvertedName:  "APIAuthorizationPolicies",
		Description: `Contains the API Authorization policies if
the query parameter ` + "`" + `forwardpolicyrules=true` + "`" + ` is set.`,
		Exposed: true,
		Name:    "APIAuthorizationPolicies",
		SubType: "apiauthorizationpolicy",
		Type:    "refList",
	},
	"claims": {
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `The list of verified claims.`,
		Exposed:        true,
		Name:           "claims",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"clientip": {
		AllowedChoices: []string{},
		ConvertedName:  "ClientIP",
		Description:    `IP of the client.`,
		Exposed:        true,
		Name:           "clientIP",
		Type:           "string",
	},
	"error": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Return an eventual error.`,
		Exposed:        true,
		Name:           "error",
		ReadOnly:       true,
		Type:           "string",
	},
	"permissions": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Permissions",
		Description: `If the parameter permissions=1 is set, targetIdentity and targetOperation are
ignored and this attribute will contain all the permission for the given claims.`,
		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",
	},
	"targetid": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetID",
		Description:    `The ID of the object to check permission for.`,
		Exposed:        true,
		Name:           "targetID",
		Type:           "string",
	},
	"targetnamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `The namespace where to check permission from.`,
		Exposed:        true,
		Name:           "targetNamespace",
		Required:       true,
		Type:           "string",
	},
}

AuthzLowerCaseAttributesMap represents the map of attribute for Authz.

View Source
var AutomationAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Actions": {
		AllowedChoices: []string{},
		BSONFieldName:  "actions",
		ConvertedName:  "Actions",
		Description:    `Contains the code that will be executed if the condition is met.`,
		Exposed:        true,
		Name:           "actions",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AporetoToken": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "aporetotoken",
		ConvertedName:  "AporetoToken",
		Description: `Contains the Microsegmentation token used by the automation's HTTP client. This
token is
derived from the automation's app credential attribute.`,
		Encrypted: true,
		Name:      "aporetoToken",
		Stored:    true,
		Type:      "string",
	},
	"AppCredential": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "appcredential",
		ConvertedName:  "AppCredential",
		Description: `Contains the app credential associated with the automation which has its roles
deduced from the automation's entitlements.`,
		Encrypted: true,
		Name:      "appCredential",
		Stored:    true,
		Type:      "string",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Condition": {
		AllowedChoices: []string{},
		BSONFieldName:  "condition",
		ConvertedName:  "Condition",
		Description: `Condition contains the code that will be executed to decide if any action(s)
should be executed. Providing a condition for an automation with a
"Webhook" trigger type will have no impact as the condition will not be
evaluated. If no condition is defined, then the automation action(s) will be
executed; this behaves akin to a condition that always succeeds.`,
		Exposed: true,
		Name:    "condition",
		Stored:  true,
		Type:    "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Entitlements": {
		AllowedChoices: []string{},
		BSONFieldName:  "entitlements",
		ConvertedName:  "Entitlements",
		Description:    `Declares which operations are allowed on which identities.`,
		Exposed:        true,
		Name:           "entitlements",
		Stored:         true,
		SubType:        "_automation_entitlements",
		Type:           "external",
	},
	"Errors": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "errors",
		ConvertedName:  "Errors",
		Description:    `Contains the error of the last run.`,
		Exposed:        true,
		Name:           "errors",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Events": {
		AllowedChoices: []string{},
		BSONFieldName:  "events",
		ConvertedName:  "Events",
		Description: `Contains the identity and operation an event must have to trigger the
automation.`,
		Exposed: true,
		Name:    "events",
		Stored:  true,
		SubType: "_automation_events",
		Type:    "external",
	},
	"ImmediateExecution": {
		AllowedChoices: []string{},
		BSONFieldName:  "immediateexecution",
		ConvertedName:  "ImmediateExecution",
		Description: `If set and the trigger is of type Time, the automation will be run at create or
update before being scheduled.`,
		Exposed: true,
		Name:    "immediateExecution",
		Stored:  true,
		Type:    "boolean",
	},
	"LastExecTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "lastexectime",
		ConvertedName:  "LastExecTime",
		Description:    `The last successful execution tine.`,
		Exposed:        true,
		Name:           "lastExecTime",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Schedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "schedule",
		ConvertedName:  "Schedule",
		Description: `Specifies when to run the automation. Must be in valid CRON format. This
only applies if the trigger is set to ` + "`" + `Time` + "`" + `.`,
		Exposed: true,
		Name:    "schedule",
		Stored:  true,
		Type:    "string",
	},
	"Signature": {
		AllowedChoices: []string{},
		BSONFieldName:  "signature",
		ConvertedName:  "Signature",
		Description:    `Signature to validate the authenticity of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "signature",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Stdout": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "stdout",
		ConvertedName:  "Stdout",
		Description:    `Contains the standard output of the last run.`,
		Exposed:        true,
		Name:           "stdout",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "token",
		ConvertedName:  "Token",
		Description: `Holds the unique access token used as a password to trigger the
authentication. It will be visible only after creation.`,
		Exposed:   true,
		Name:      "token",
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"TokenRenew": {
		AllowedChoices: []string{},
		ConvertedName:  "TokenRenew",
		Description:    `If set to ` + "`" + `true` + "`" + ` a new token will be issued and the previous one invalidated.`,
		Exposed:        true,
		Name:           "tokenRenew",
		Type:           "boolean",
	},
	"Trigger": {
		AllowedChoices: []string{"Event", "RemoteCall", "Webhook", "Time"},
		BSONFieldName:  "trigger",
		ConvertedName:  "Trigger",
		DefaultValue:   AutomationTriggerTime,
		Description:    `Controls when the automation should be triggered.`,
		Exposed:        true,
		Name:           "trigger",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AutomationAttributesMap represents the map of attribute for Automation.

View Source
var AutomationIdentity = elemental.Identity{
	Name:     "automation",
	Category: "automations",
	Package:  "sephiroth",
	Private:  false,
}

AutomationIdentity represents the Identity of the object.

View Source
var AutomationLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"actions": {
		AllowedChoices: []string{},
		BSONFieldName:  "actions",
		ConvertedName:  "Actions",
		Description:    `Contains the code that will be executed if the condition is met.`,
		Exposed:        true,
		Name:           "actions",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"aporetotoken": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "aporetotoken",
		ConvertedName:  "AporetoToken",
		Description: `Contains the Microsegmentation token used by the automation's HTTP client. This
token is
derived from the automation's app credential attribute.`,
		Encrypted: true,
		Name:      "aporetoToken",
		Stored:    true,
		Type:      "string",
	},
	"appcredential": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "appcredential",
		ConvertedName:  "AppCredential",
		Description: `Contains the app credential associated with the automation which has its roles
deduced from the automation's entitlements.`,
		Encrypted: true,
		Name:      "appCredential",
		Stored:    true,
		Type:      "string",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"condition": {
		AllowedChoices: []string{},
		BSONFieldName:  "condition",
		ConvertedName:  "Condition",
		Description: `Condition contains the code that will be executed to decide if any action(s)
should be executed. Providing a condition for an automation with a
"Webhook" trigger type will have no impact as the condition will not be
evaluated. If no condition is defined, then the automation action(s) will be
executed; this behaves akin to a condition that always succeeds.`,
		Exposed: true,
		Name:    "condition",
		Stored:  true,
		Type:    "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"entitlements": {
		AllowedChoices: []string{},
		BSONFieldName:  "entitlements",
		ConvertedName:  "Entitlements",
		Description:    `Declares which operations are allowed on which identities.`,
		Exposed:        true,
		Name:           "entitlements",
		Stored:         true,
		SubType:        "_automation_entitlements",
		Type:           "external",
	},
	"errors": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "errors",
		ConvertedName:  "Errors",
		Description:    `Contains the error of the last run.`,
		Exposed:        true,
		Name:           "errors",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"events": {
		AllowedChoices: []string{},
		BSONFieldName:  "events",
		ConvertedName:  "Events",
		Description: `Contains the identity and operation an event must have to trigger the
automation.`,
		Exposed: true,
		Name:    "events",
		Stored:  true,
		SubType: "_automation_events",
		Type:    "external",
	},
	"immediateexecution": {
		AllowedChoices: []string{},
		BSONFieldName:  "immediateexecution",
		ConvertedName:  "ImmediateExecution",
		Description: `If set and the trigger is of type Time, the automation will be run at create or
update before being scheduled.`,
		Exposed: true,
		Name:    "immediateExecution",
		Stored:  true,
		Type:    "boolean",
	},
	"lastexectime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "lastexectime",
		ConvertedName:  "LastExecTime",
		Description:    `The last successful execution tine.`,
		Exposed:        true,
		Name:           "lastExecTime",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"schedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "schedule",
		ConvertedName:  "Schedule",
		Description: `Specifies when to run the automation. Must be in valid CRON format. This
only applies if the trigger is set to ` + "`" + `Time` + "`" + `.`,
		Exposed: true,
		Name:    "schedule",
		Stored:  true,
		Type:    "string",
	},
	"signature": {
		AllowedChoices: []string{},
		BSONFieldName:  "signature",
		ConvertedName:  "Signature",
		Description:    `Signature to validate the authenticity of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "signature",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"stdout": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "stdout",
		ConvertedName:  "Stdout",
		Description:    `Contains the standard output of the last run.`,
		Exposed:        true,
		Name:           "stdout",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "token",
		ConvertedName:  "Token",
		Description: `Holds the unique access token used as a password to trigger the
authentication. It will be visible only after creation.`,
		Exposed:   true,
		Name:      "token",
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"tokenrenew": {
		AllowedChoices: []string{},
		ConvertedName:  "TokenRenew",
		Description:    `If set to ` + "`" + `true` + "`" + ` a new token will be issued and the previous one invalidated.`,
		Exposed:        true,
		Name:           "tokenRenew",
		Type:           "boolean",
	},
	"trigger": {
		AllowedChoices: []string{"Event", "RemoteCall", "Webhook", "Time"},
		BSONFieldName:  "trigger",
		ConvertedName:  "Trigger",
		DefaultValue:   AutomationTriggerTime,
		Description:    `Controls when the automation should be triggered.`,
		Exposed:        true,
		Name:           "trigger",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AutomationLowerCaseAttributesMap represents the map of attribute for Automation.

View Source
var AutomationTemplateAttributesMap = map[string]elemental.AttributeSpecification{
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Entitlements": {
		AllowedChoices: []string{},
		ConvertedName:  "Entitlements",
		Description:    `Contains the entitlements needed for executing the function.`,
		Exposed:        true,
		Name:           "entitlements",
		SubType:        "_automation_entitlements",
		Type:           "external",
	},
	"Function": {
		AllowedChoices: []string{},
		ConvertedName:  "Function",
		Description:    `Function contains the code.`,
		Exposed:        true,
		Name:           "function",
		Type:           "string",
	},
	"Key": {
		AllowedChoices: []string{},
		ConvertedName:  "Key",
		Description:    `Contains the unique identifier key for the template.`,
		Exposed:        true,
		Name:           "key",
		Type:           "string",
	},
	"Kind": {
		AllowedChoices: []string{"Action", "Condition"},
		ConvertedName:  "Kind",
		DefaultValue:   AutomationTemplateKindCondition,
		Description:    `Represents the kind of template.`,
		Exposed:        true,
		Name:           "kind",
		Type:           "enum",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Parameters": {
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Steps": {
		AllowedChoices: []string{},
		ConvertedName:  "Steps",
		Description:    `Contains all the steps with parameters.`,
		Exposed:        true,
		Name:           "steps",
		SubType:        "uistep",
		Type:           "refList",
	},
}

AutomationTemplateAttributesMap represents the map of attribute for AutomationTemplate.

View Source
var AutomationTemplateIdentity = elemental.Identity{
	Name:     "automationtemplate",
	Category: "automationtemplates",
	Package:  "sephiroth",
	Private:  false,
}

AutomationTemplateIdentity represents the Identity of the object.

View Source
var AutomationTemplateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"entitlements": {
		AllowedChoices: []string{},
		ConvertedName:  "Entitlements",
		Description:    `Contains the entitlements needed for executing the function.`,
		Exposed:        true,
		Name:           "entitlements",
		SubType:        "_automation_entitlements",
		Type:           "external",
	},
	"function": {
		AllowedChoices: []string{},
		ConvertedName:  "Function",
		Description:    `Function contains the code.`,
		Exposed:        true,
		Name:           "function",
		Type:           "string",
	},
	"key": {
		AllowedChoices: []string{},
		ConvertedName:  "Key",
		Description:    `Contains the unique identifier key for the template.`,
		Exposed:        true,
		Name:           "key",
		Type:           "string",
	},
	"kind": {
		AllowedChoices: []string{"Action", "Condition"},
		ConvertedName:  "Kind",
		DefaultValue:   AutomationTemplateKindCondition,
		Description:    `Represents the kind of template.`,
		Exposed:        true,
		Name:           "kind",
		Type:           "enum",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"parameters": {
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"steps": {
		AllowedChoices: []string{},
		ConvertedName:  "Steps",
		Description:    `Contains all the steps with parameters.`,
		Exposed:        true,
		Name:           "steps",
		SubType:        "uistep",
		Type:           "refList",
	},
}

AutomationTemplateLowerCaseAttributesMap represents the map of attribute for AutomationTemplate.

View Source
var CNSConfigAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"EnableNetEffectivePermissions": {
		AllowedChoices: []string{},
		BSONFieldName:  "enableneteffectivepermissions",
		ConvertedName:  "EnableNetEffectivePermissions",
		Description:    `If ` + "`" + `true` + "`" + ` net effective permissions feature is enabled.`,
		Exposed:        true,
		Name:           "enableNetEffectivePermissions",
		Stored:         true,
		Type:           "boolean",
	},
	"EnableNetworkSecurity": {
		AllowedChoices: []string{},
		BSONFieldName:  "enablenetworksecurity",
		ConvertedName:  "EnableNetworkSecurity",
		Description:    `If ` + "`" + `true` + "`" + ` network security feature is enabled.`,
		Exposed:        true,
		Name:           "enableNetworkSecurity",
		Stored:         true,
		Type:           "boolean",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"PrismaID": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismaid",
		ConvertedName:  "PrismaID",
		CreationOnly:   true,
		Description:    `Unique Prisma ID identifying the CNS configuration.`,
		Exposed:        true,
		Name:           "prismaID",
		Stored:         true,
		Type:           "string",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CNSConfigAttributesMap represents the map of attribute for CNSConfig.

View Source
var CNSConfigIdentity = elemental.Identity{
	Name:     "cnsconfig",
	Category: "cnsconfigs",
	Package:  "karl",
	Private:  false,
}

CNSConfigIdentity represents the Identity of the object.

View Source
var CNSConfigLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"enableneteffectivepermissions": {
		AllowedChoices: []string{},
		BSONFieldName:  "enableneteffectivepermissions",
		ConvertedName:  "EnableNetEffectivePermissions",
		Description:    `If ` + "`" + `true` + "`" + ` net effective permissions feature is enabled.`,
		Exposed:        true,
		Name:           "enableNetEffectivePermissions",
		Stored:         true,
		Type:           "boolean",
	},
	"enablenetworksecurity": {
		AllowedChoices: []string{},
		BSONFieldName:  "enablenetworksecurity",
		ConvertedName:  "EnableNetworkSecurity",
		Description:    `If ` + "`" + `true` + "`" + ` network security feature is enabled.`,
		Exposed:        true,
		Name:           "enableNetworkSecurity",
		Stored:         true,
		Type:           "boolean",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"prismaid": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismaid",
		ConvertedName:  "PrismaID",
		CreationOnly:   true,
		Description:    `Unique Prisma ID identifying the CNS configuration.`,
		Exposed:        true,
		Name:           "prismaID",
		Stored:         true,
		Type:           "string",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CNSConfigLowerCaseAttributesMap represents the map of attribute for CNSConfig.

View Source
var CNSRQLQueryAttributesMap = map[string]elemental.AttributeSpecification{
	"AlertID": {
		AllowedChoices: []string{},
		ConvertedName:  "AlertID",
		Description:    `ID of the query request.`,
		Exposed:        true,
		Name:           "alertID",
		Required:       true,
		Type:           "string",
	},
	"PolicyID": {
		AllowedChoices: []string{},
		ConvertedName:  "PolicyID",
		Description:    `The policy for which the alert was generated.`,
		Exposed:        true,
		Name:           "policyID",
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Query",
		Description:    `The RQL query for the alert.`,
		Exposed:        true,
		Name:           "query",
		ReadOnly:       true,
		Type:           "string",
	},
	"Valid": {
		AllowedChoices: []string{},
		ConvertedName:  "Valid",
		Description:    `Whether the response to request is valid.`,
		Exposed:        true,
		Name:           "valid",
		Type:           "boolean",
	},
}

CNSRQLQueryAttributesMap represents the map of attribute for CNSRQLQuery.

View Source
var CNSRQLQueryIdentity = elemental.Identity{
	Name:     "cnsrqlquery",
	Category: "cnsrqlquery",
	Package:  "vargid",
	Private:  false,
}

CNSRQLQueryIdentity represents the Identity of the object.

View Source
var CNSRQLQueryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"alertid": {
		AllowedChoices: []string{},
		ConvertedName:  "AlertID",
		Description:    `ID of the query request.`,
		Exposed:        true,
		Name:           "alertID",
		Required:       true,
		Type:           "string",
	},
	"policyid": {
		AllowedChoices: []string{},
		ConvertedName:  "PolicyID",
		Description:    `The policy for which the alert was generated.`,
		Exposed:        true,
		Name:           "policyID",
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Query",
		Description:    `The RQL query for the alert.`,
		Exposed:        true,
		Name:           "query",
		ReadOnly:       true,
		Type:           "string",
	},
	"valid": {
		AllowedChoices: []string{},
		ConvertedName:  "Valid",
		Description:    `Whether the response to request is valid.`,
		Exposed:        true,
		Name:           "valid",
		Type:           "boolean",
	},
}

CNSRQLQueryLowerCaseAttributesMap represents the map of attribute for CNSRQLQuery.

View Source
var CNSSearchAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID of the search request.`,
		Exposed:        true,
		Name:           "ID",
		Type:           "string",
	},
	"Data": {
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `The payload of the search results.`,
		Exposed:        true,
		Name:           "data",
		SubType:        "pcsearchresult",
		Type:           "ref",
	},
	"Description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the search.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"EndAbsolute": {
		AllowedChoices: []string{},
		ConvertedName:  "EndAbsolute",
		Description:    `Absolute end time of search, in UNIX time.`,
		Exposed:        true,
		Name:           "endAbsolute",
		Type:           "integer",
	},
	"Limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   100,
		Description:    `The number of items to fetch.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the RQL search request. Should set to be empty.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"PageToken": {
		AllowedChoices: []string{},
		ConvertedName:  "PageToken",
		Description:    `Represents the token to fetch next page.`,
		Exposed:        true,
		Name:           "pageToken",
		Type:           "string",
	},
	"ParsedQuery": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParsedQuery",
		Description:    `The cloud network query data that was created after the RQL was parsed.`,
		Exposed:        true,
		Name:           "parsedQuery",
		ReadOnly:       true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The RQL query.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Saved": {
		AllowedChoices: []string{},
		ConvertedName:  "Saved",
		Description:    `Indicates if the search has been saved.`,
		Exposed:        true,
		Name:           "saved",
		Type:           "boolean",
	},
	"SearchType": {
		AllowedChoices: []string{},
		ConvertedName:  "SearchType",
		Description:    `Type of search request. Should set to be network.`,
		Exposed:        true,
		Name:           "searchType",
		Type:           "string",
	},
	"StartAbsolute": {
		AllowedChoices: []string{},
		ConvertedName:  "StartAbsolute",
		Description:    `Absolute start time of search, in UNIX time.`,
		Exposed:        true,
		Name:           "startAbsolute",
		Type:           "integer",
	},
	"TimeRange": {
		AllowedChoices: []string{},
		ConvertedName:  "TimeRange",
		Description: `Time range used by PC APIs. Its type is dynamic. Aporeto needs to pass this data
to PC backend.`,
		Exposed: true,
		Name:    "timeRange",
		SubType: "pctimerange",
		Type:    "ref",
	},
}

CNSSearchAttributesMap represents the map of attribute for CNSSearch.

View Source
var CNSSearchIdentity = elemental.Identity{
	Name:     "cnssearch",
	Category: "cnssearches",
	Package:  "karl",
	Private:  false,
}

CNSSearchIdentity represents the Identity of the object.

View Source
var CNSSearchLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID of the search request.`,
		Exposed:        true,
		Name:           "ID",
		Type:           "string",
	},
	"data": {
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `The payload of the search results.`,
		Exposed:        true,
		Name:           "data",
		SubType:        "pcsearchresult",
		Type:           "ref",
	},
	"description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the search.`,
		Exposed:        true,
		Name:           "description",
		Type:           "string",
	},
	"endabsolute": {
		AllowedChoices: []string{},
		ConvertedName:  "EndAbsolute",
		Description:    `Absolute end time of search, in UNIX time.`,
		Exposed:        true,
		Name:           "endAbsolute",
		Type:           "integer",
	},
	"limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   100,
		Description:    `The number of items to fetch.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the RQL search request. Should set to be empty.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"pagetoken": {
		AllowedChoices: []string{},
		ConvertedName:  "PageToken",
		Description:    `Represents the token to fetch next page.`,
		Exposed:        true,
		Name:           "pageToken",
		Type:           "string",
	},
	"parsedquery": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParsedQuery",
		Description:    `The cloud network query data that was created after the RQL was parsed.`,
		Exposed:        true,
		Name:           "parsedQuery",
		ReadOnly:       true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The RQL query.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"saved": {
		AllowedChoices: []string{},
		ConvertedName:  "Saved",
		Description:    `Indicates if the search has been saved.`,
		Exposed:        true,
		Name:           "saved",
		Type:           "boolean",
	},
	"searchtype": {
		AllowedChoices: []string{},
		ConvertedName:  "SearchType",
		Description:    `Type of search request. Should set to be network.`,
		Exposed:        true,
		Name:           "searchType",
		Type:           "string",
	},
	"startabsolute": {
		AllowedChoices: []string{},
		ConvertedName:  "StartAbsolute",
		Description:    `Absolute start time of search, in UNIX time.`,
		Exposed:        true,
		Name:           "startAbsolute",
		Type:           "integer",
	},
	"timerange": {
		AllowedChoices: []string{},
		ConvertedName:  "TimeRange",
		Description: `Time range used by PC APIs. Its type is dynamic. Aporeto needs to pass this data
to PC backend.`,
		Exposed: true,
		Name:    "timeRange",
		SubType: "pctimerange",
		Type:    "ref",
	},
}

CNSSearchLowerCaseAttributesMap represents the map of attribute for CNSSearch.

View Source
var CNSSuggestionAttributesMap = map[string]elemental.AttributeSpecification{
	"NeedsOffsetUpdate": {
		AllowedChoices: []string{},
		ConvertedName:  "NeedsOffsetUpdate",
		DefaultValue:   true,
		Description:    `Required by Prisma Cloud. Always set to true.`,
		Exposed:        true,
		Name:           "needsOffsetUpdate",
		Type:           "boolean",
	},
	"Offset": {
		AllowedChoices: []string{},
		ConvertedName:  "Offset",
		Description:    `The length of the RQL query part that is valid.`,
		Exposed:        true,
		Name:           "offset",
		Type:           "integer",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `Prisma Cloud's RQL query.`,
		Exposed:        true,
		Name:           "query",
		ReadOnly:       true,
		Type:           "string",
	},
	"Suggestions": {
		AllowedChoices: []string{},
		ConvertedName:  "Suggestions",
		Description:    `List of query suggestions.`,
		Exposed:        true,
		Name:           "suggestions",
		SubType:        "string",
		Type:           "list",
	},
	"Translate": {
		AllowedChoices: []string{},
		ConvertedName:  "Translate",
		Description:    `Required by Prisma Cloud. Always set to false.`,
		Exposed:        true,
		Name:           "translate",
		Type:           "boolean",
	},
	"Valid": {
		AllowedChoices: []string{},
		ConvertedName:  "Valid",
		Description:    `The validity of the RQL query.`,
		Exposed:        true,
		Name:           "valid",
		Type:           "boolean",
	},
}

CNSSuggestionAttributesMap represents the map of attribute for CNSSuggestion.

View Source
var CNSSuggestionIdentity = elemental.Identity{
	Name:     "cnssuggestion",
	Category: "cnssuggestions",
	Package:  "karl",
	Private:  false,
}

CNSSuggestionIdentity represents the Identity of the object.

View Source
var CNSSuggestionLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"needsoffsetupdate": {
		AllowedChoices: []string{},
		ConvertedName:  "NeedsOffsetUpdate",
		DefaultValue:   true,
		Description:    `Required by Prisma Cloud. Always set to true.`,
		Exposed:        true,
		Name:           "needsOffsetUpdate",
		Type:           "boolean",
	},
	"offset": {
		AllowedChoices: []string{},
		ConvertedName:  "Offset",
		Description:    `The length of the RQL query part that is valid.`,
		Exposed:        true,
		Name:           "offset",
		Type:           "integer",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `Prisma Cloud's RQL query.`,
		Exposed:        true,
		Name:           "query",
		ReadOnly:       true,
		Type:           "string",
	},
	"suggestions": {
		AllowedChoices: []string{},
		ConvertedName:  "Suggestions",
		Description:    `List of query suggestions.`,
		Exposed:        true,
		Name:           "suggestions",
		SubType:        "string",
		Type:           "list",
	},
	"translate": {
		AllowedChoices: []string{},
		ConvertedName:  "Translate",
		Description:    `Required by Prisma Cloud. Always set to false.`,
		Exposed:        true,
		Name:           "translate",
		Type:           "boolean",
	},
	"valid": {
		AllowedChoices: []string{},
		ConvertedName:  "Valid",
		Description:    `The validity of the RQL query.`,
		Exposed:        true,
		Name:           "valid",
		Type:           "boolean",
	},
}

CNSSuggestionLowerCaseAttributesMap represents the map of attribute for CNSSuggestion.

View Source
var CachedFlowReportAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Accept", "Reject"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action applied to the flow.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"DestinationController": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "DestinationController",
		Description:    `Identifier of the destination controller.`,
		Exposed:        true,
		Name:           "destinationController",
		Stored:         true,
		Type:           "string",
	},
	"DestinationID": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination.`,
		Exposed:        true,
		Name:           "destinationID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"DestinationIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "DestinationIP",
		Description:    `Destination IP address.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"DestinationNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "DestinationNamespace",
		Deprecated:     true,
		Description: `Namespace of the destination. This is deprecated. Use ` + "`" + `remoteNamespace` + "`" + `. This
property does nothing.`,
		Exposed: true,
		Name:    "destinationNamespace",
		Stored:  true,
		Type:    "string",
	},
	"DestinationPlatform": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "DestinationPlatform",
		Description:    `Identifier of the destination platform.`,
		Exposed:        true,
		Name:           "destinationPlatform",
		Stored:         true,
		Type:           "string",
	},
	"DestinationPort": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "DestinationPort",
		Description:    `Port of the destination.`,
		Exposed:        true,
		Name:           "destinationPort",
		Stored:         true,
		Type:           "integer",
	},
	"DestinationType": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		BSONFieldName:  "h",
		ConvertedName:  "DestinationType",
		Description:    `Destination type.`,
		Exposed:        true,
		Name:           "destinationType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"DropReason": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "DropReason",
		Description: `This field is only set if ` + "`" + `action` + "`" + ` is set to ` + "`" + `Reject` + "`" + `. It specifies the reason
for the rejection.`,
		Exposed: true,
		Name:    "dropReason",
		Stored:  true,
		Type:    "string",
	},
	"Encrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Encrypted",
		Description:    `If ` + "`" + `true` + "`" + `, the flow was encrypted.`,
		Exposed:        true,
		Name:           "encrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "ak",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer where the report was collected.`,
		Exposed:        true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"IsLocalDestinationID": {
		AllowedChoices: []string{},
		BSONFieldName:  "ai",
		ConvertedName:  "IsLocalDestinationID",
		Description:    `Indicates if the destination endpoint is an enforcer-local processing unit.`,
		Exposed:        true,
		Name:           "isLocalDestinationID",
		Stored:         true,
		Type:           "boolean",
	},
	"IsLocalSourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "aj",
		ConvertedName:  "IsLocalSourceID",
		Description:    `Indicates if the source endpoint is an enforcer-local processing unit.`,
		Exposed:        true,
		Name:           "isLocalSourceID",
		Stored:         true,
		Type:           "boolean",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "Namespace",
		Deprecated:     true,
		Description:    `This is here for backward compatibility.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Observed": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "Observed",
		Description:    `If ` + "`" + `true` + "`" + `, design mode is on.`,
		Exposed:        true,
		Name:           "observed",
		Stored:         true,
		Type:           "boolean",
	},
	"ObservedAction": {
		AllowedChoices: []string{"Accept", "Reject", "NotApplicable"},
		BSONFieldName:  "m",
		ConvertedName:  "ObservedAction",
		DefaultValue:   CachedFlowReportObservedActionNotApplicable,
		Description:    `Action observed on the flow.`,
		Exposed:        true,
		Name:           "observedAction",
		Stored:         true,
		Type:           "enum",
	},
	"ObservedDropReason": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "ObservedDropReason",
		Description: `Specifies the reason for a rejection. Only set if ` + "`" + `observedAction` + "`" + ` is set
to ` + "`" + `Reject` + "`" + `.`,
		Exposed: true,
		Name:    "observedDropReason",
		Stored:  true,
		Type:    "string",
	},
	"ObservedEncrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "ObservedEncrypted",
		Description:    `Value of the encryption of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"ObservedPolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "ObservedPolicyID",
		Description:    `ID of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"ObservedPolicyNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "ObservedPolicyNamespace",
		Description:    `Namespace of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyNamespace",
		Stored:         true,
		Type:           "string",
	},
	"PolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "PolicyID",
		Description:    `ID of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"PolicyNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "PolicyNamespace",
		Description:    `Namespace of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		Name:           "protocol",
		Stored:         true,
		Type:           "integer",
	},
	"RemoteNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "u",
		ConvertedName:  "RemoteNamespace",
		Description:    `Namespace of the object at the other end of the flow.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		Stored:         true,
		Type:           "string",
	},
	"RemotePolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "al",
		ConvertedName:  "RemotePolicyID",
		Description:    `ID of the network policy that accepted the flow at the remote endpoint.`,
		Exposed:        true,
		Name:           "remotePolicyID",
		Stored:         true,
		Type:           "string",
	},
	"RuleName": {
		AllowedChoices: []string{},
		BSONFieldName:  "ba",
		ConvertedName:  "RuleName",
		Description: `Contains the eventual name assigned to the particular rule in the
NetworkRuleSetPolicy that acted on the flow.`,
		Exposed: true,
		Name:    "ruleName",
		Stored:  true,
		Type:    "string",
	},
	"ServiceClaimHash": {
		AllowedChoices: []string{},
		BSONFieldName:  "v",
		ConvertedName:  "ServiceClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "serviceClaimHash",
		Stored:         true,
		Type:           "string",
	},
	"ServiceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "w",
		ConvertedName:  "ServiceID",
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceID",
		Stored:         true,
		Type:           "string",
	},
	"ServiceNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "x",
		ConvertedName:  "ServiceNamespace",
		Description:    `Namespace of Service accessed.`,
		Exposed:        true,
		Name:           "serviceNamespace",
		Stored:         true,
		Type:           "string",
	},
	"ServiceType": {
		AllowedChoices: []string{"L3", "HTTP", "TCP", "NotApplicable"},
		BSONFieldName:  "y",
		ConvertedName:  "ServiceType",
		DefaultValue:   CachedFlowReportServiceTypeNotApplicable,
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		Stored:         true,
		Type:           "enum",
	},
	"ServiceURL": {
		AllowedChoices: []string{},
		BSONFieldName:  "z",
		ConvertedName:  "ServiceURL",
		Description:    `Service URL accessed.`,
		Exposed:        true,
		Name:           "serviceURL",
		Stored:         true,
		Type:           "string",
	},
	"SourceController": {
		AllowedChoices: []string{},
		BSONFieldName:  "aa",
		ConvertedName:  "SourceController",
		Description:    `Identifier of the source controller.`,
		Exposed:        true,
		Name:           "sourceController",
		Stored:         true,
		Type:           "string",
	},
	"SourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "ab",
		ConvertedName:  "SourceID",
		Description:    `ID of the source.`,
		Exposed:        true,
		Name:           "sourceID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"SourceIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "ac",
		ConvertedName:  "SourceIP",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"SourceNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "ad",
		ConvertedName:  "SourceNamespace",
		Deprecated:     true,
		Description: `Namespace of the source. This is deprecated. Use ` + "`" + `remoteNamespace` + "`" + `. This
property does nothing.`,
		Exposed: true,
		Name:    "sourceNamespace",
		Stored:  true,
		Type:    "string",
	},
	"SourcePlatform": {
		AllowedChoices: []string{},
		BSONFieldName:  "ae",
		ConvertedName:  "SourcePlatform",
		Description:    `Identifier of the source platform.`,
		Exposed:        true,
		Name:           "sourcePlatform",
		Stored:         true,
		Type:           "string",
	},
	"SourceType": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		BSONFieldName:  "af",
		ConvertedName:  "SourceType",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "ag",
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the log.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Value": {
		AllowedChoices: []string{},
		BSONFieldName:  "ah",
		ConvertedName:  "Value",
		Description:    `Number of flows in the log.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CachedFlowReportAttributesMap represents the map of attribute for CachedFlowReport.

View Source
var CachedFlowReportIdentity = elemental.Identity{
	Name:     "cachedflowreport",
	Category: "cachedflowreports",
	Package:  "angeal",
	Private:  false,
}

CachedFlowReportIdentity represents the Identity of the object.

View Source
var CachedFlowReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Accept", "Reject"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action applied to the flow.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"destinationcontroller": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "DestinationController",
		Description:    `Identifier of the destination controller.`,
		Exposed:        true,
		Name:           "destinationController",
		Stored:         true,
		Type:           "string",
	},
	"destinationid": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination.`,
		Exposed:        true,
		Name:           "destinationID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"destinationip": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "DestinationIP",
		Description:    `Destination IP address.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"destinationnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "DestinationNamespace",
		Deprecated:     true,
		Description: `Namespace of the destination. This is deprecated. Use ` + "`" + `remoteNamespace` + "`" + `. This
property does nothing.`,
		Exposed: true,
		Name:    "destinationNamespace",
		Stored:  true,
		Type:    "string",
	},
	"destinationplatform": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "DestinationPlatform",
		Description:    `Identifier of the destination platform.`,
		Exposed:        true,
		Name:           "destinationPlatform",
		Stored:         true,
		Type:           "string",
	},
	"destinationport": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "DestinationPort",
		Description:    `Port of the destination.`,
		Exposed:        true,
		Name:           "destinationPort",
		Stored:         true,
		Type:           "integer",
	},
	"destinationtype": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		BSONFieldName:  "h",
		ConvertedName:  "DestinationType",
		Description:    `Destination type.`,
		Exposed:        true,
		Name:           "destinationType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"dropreason": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "DropReason",
		Description: `This field is only set if ` + "`" + `action` + "`" + ` is set to ` + "`" + `Reject` + "`" + `. It specifies the reason
for the rejection.`,
		Exposed: true,
		Name:    "dropReason",
		Stored:  true,
		Type:    "string",
	},
	"encrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Encrypted",
		Description:    `If ` + "`" + `true` + "`" + `, the flow was encrypted.`,
		Exposed:        true,
		Name:           "encrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "ak",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer where the report was collected.`,
		Exposed:        true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"islocaldestinationid": {
		AllowedChoices: []string{},
		BSONFieldName:  "ai",
		ConvertedName:  "IsLocalDestinationID",
		Description:    `Indicates if the destination endpoint is an enforcer-local processing unit.`,
		Exposed:        true,
		Name:           "isLocalDestinationID",
		Stored:         true,
		Type:           "boolean",
	},
	"islocalsourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "aj",
		ConvertedName:  "IsLocalSourceID",
		Description:    `Indicates if the source endpoint is an enforcer-local processing unit.`,
		Exposed:        true,
		Name:           "isLocalSourceID",
		Stored:         true,
		Type:           "boolean",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "Namespace",
		Deprecated:     true,
		Description:    `This is here for backward compatibility.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"observed": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "Observed",
		Description:    `If ` + "`" + `true` + "`" + `, design mode is on.`,
		Exposed:        true,
		Name:           "observed",
		Stored:         true,
		Type:           "boolean",
	},
	"observedaction": {
		AllowedChoices: []string{"Accept", "Reject", "NotApplicable"},
		BSONFieldName:  "m",
		ConvertedName:  "ObservedAction",
		DefaultValue:   CachedFlowReportObservedActionNotApplicable,
		Description:    `Action observed on the flow.`,
		Exposed:        true,
		Name:           "observedAction",
		Stored:         true,
		Type:           "enum",
	},
	"observeddropreason": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "ObservedDropReason",
		Description: `Specifies the reason for a rejection. Only set if ` + "`" + `observedAction` + "`" + ` is set
to ` + "`" + `Reject` + "`" + `.`,
		Exposed: true,
		Name:    "observedDropReason",
		Stored:  true,
		Type:    "string",
	},
	"observedencrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "ObservedEncrypted",
		Description:    `Value of the encryption of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"observedpolicyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "ObservedPolicyID",
		Description:    `ID of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"observedpolicynamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "ObservedPolicyNamespace",
		Description:    `Namespace of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyNamespace",
		Stored:         true,
		Type:           "string",
	},
	"policyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "PolicyID",
		Description:    `ID of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"policynamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "PolicyNamespace",
		Description:    `Namespace of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		Name:           "protocol",
		Stored:         true,
		Type:           "integer",
	},
	"remotenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "u",
		ConvertedName:  "RemoteNamespace",
		Description:    `Namespace of the object at the other end of the flow.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		Stored:         true,
		Type:           "string",
	},
	"remotepolicyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "al",
		ConvertedName:  "RemotePolicyID",
		Description:    `ID of the network policy that accepted the flow at the remote endpoint.`,
		Exposed:        true,
		Name:           "remotePolicyID",
		Stored:         true,
		Type:           "string",
	},
	"rulename": {
		AllowedChoices: []string{},
		BSONFieldName:  "ba",
		ConvertedName:  "RuleName",
		Description: `Contains the eventual name assigned to the particular rule in the
NetworkRuleSetPolicy that acted on the flow.`,
		Exposed: true,
		Name:    "ruleName",
		Stored:  true,
		Type:    "string",
	},
	"serviceclaimhash": {
		AllowedChoices: []string{},
		BSONFieldName:  "v",
		ConvertedName:  "ServiceClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "serviceClaimHash",
		Stored:         true,
		Type:           "string",
	},
	"serviceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "w",
		ConvertedName:  "ServiceID",
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceID",
		Stored:         true,
		Type:           "string",
	},
	"servicenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "x",
		ConvertedName:  "ServiceNamespace",
		Description:    `Namespace of Service accessed.`,
		Exposed:        true,
		Name:           "serviceNamespace",
		Stored:         true,
		Type:           "string",
	},
	"servicetype": {
		AllowedChoices: []string{"L3", "HTTP", "TCP", "NotApplicable"},
		BSONFieldName:  "y",
		ConvertedName:  "ServiceType",
		DefaultValue:   CachedFlowReportServiceTypeNotApplicable,
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		Stored:         true,
		Type:           "enum",
	},
	"serviceurl": {
		AllowedChoices: []string{},
		BSONFieldName:  "z",
		ConvertedName:  "ServiceURL",
		Description:    `Service URL accessed.`,
		Exposed:        true,
		Name:           "serviceURL",
		Stored:         true,
		Type:           "string",
	},
	"sourcecontroller": {
		AllowedChoices: []string{},
		BSONFieldName:  "aa",
		ConvertedName:  "SourceController",
		Description:    `Identifier of the source controller.`,
		Exposed:        true,
		Name:           "sourceController",
		Stored:         true,
		Type:           "string",
	},
	"sourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "ab",
		ConvertedName:  "SourceID",
		Description:    `ID of the source.`,
		Exposed:        true,
		Name:           "sourceID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"sourceip": {
		AllowedChoices: []string{},
		BSONFieldName:  "ac",
		ConvertedName:  "SourceIP",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"sourcenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "ad",
		ConvertedName:  "SourceNamespace",
		Deprecated:     true,
		Description: `Namespace of the source. This is deprecated. Use ` + "`" + `remoteNamespace` + "`" + `. This
property does nothing.`,
		Exposed: true,
		Name:    "sourceNamespace",
		Stored:  true,
		Type:    "string",
	},
	"sourceplatform": {
		AllowedChoices: []string{},
		BSONFieldName:  "ae",
		ConvertedName:  "SourcePlatform",
		Description:    `Identifier of the source platform.`,
		Exposed:        true,
		Name:           "sourcePlatform",
		Stored:         true,
		Type:           "string",
	},
	"sourcetype": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		BSONFieldName:  "af",
		ConvertedName:  "SourceType",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "ag",
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the log.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"value": {
		AllowedChoices: []string{},
		BSONFieldName:  "ah",
		ConvertedName:  "Value",
		Description:    `Number of flows in the log.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CachedFlowReportLowerCaseAttributesMap represents the map of attribute for CachedFlowReport.

View Source
var CategoryAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

CategoryAttributesMap represents the map of attribute for Category.

View Source
var CategoryIdentity = elemental.Identity{
	Name:     "category",
	Category: "categories",
	Package:  "highwind",
	Private:  false,
}

CategoryIdentity represents the Identity of the object.

View Source
var CategoryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

CategoryLowerCaseAttributesMap represents the map of attribute for Category.

View Source
var ClaimsAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Content": {
		AllowedChoices: []string{},
		BSONFieldName:  "content",
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Contains the raw JSON web token (JWT) claims.`,
		Exposed:        true,
		Name:           "content",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"FirstSeen": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "firstseen",
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date of the first appearance of the claims.`,
		Name:           "firstSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"Hash": {
		AllowedChoices: []string{},
		BSONFieldName:  "hash",
		ConvertedName:  "Hash",
		Description: `XXH64 hash of the claims content. It will be used as ID. To compute a correct
hash,
you must first clob ` + "`" + `content` + "`" + ` as an string array in the form ` + "`" + `key=value` + "`" + `, sort
it
then apply the XXH64 function.`,
		Exposed:  true,
		Name:     "hash",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"LastSeen": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "lastseen",
		ConvertedName:  "LastSeen",
		Description:    `Contains the date of the last appearance of the claims.`,
		Name:           "lastSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ClaimsAttributesMap represents the map of attribute for Claims.

View Source
var ClaimsIdentity = elemental.Identity{
	Name:     "claims",
	Category: "claims",
	Package:  "guy",
	Private:  false,
}

ClaimsIdentity represents the Identity of the object.

View Source
var ClaimsLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"content": {
		AllowedChoices: []string{},
		BSONFieldName:  "content",
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Contains the raw JSON web token (JWT) claims.`,
		Exposed:        true,
		Name:           "content",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"firstseen": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "firstseen",
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date of the first appearance of the claims.`,
		Name:           "firstSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"hash": {
		AllowedChoices: []string{},
		BSONFieldName:  "hash",
		ConvertedName:  "Hash",
		Description: `XXH64 hash of the claims content. It will be used as ID. To compute a correct
hash,
you must first clob ` + "`" + `content` + "`" + ` as an string array in the form ` + "`" + `key=value` + "`" + `, sort
it
then apply the XXH64 function.`,
		Exposed:  true,
		Name:     "hash",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"lastseen": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "lastseen",
		ConvertedName:  "LastSeen",
		Description:    `Contains the date of the last appearance of the claims.`,
		Name:           "lastSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ClaimsLowerCaseAttributesMap represents the map of attribute for Claims.

View Source
var ClauseMatchAttributesMap = map[string]elemental.AttributeSpecification{
	"Clauses": {
		AllowedChoices: []string{},
		BSONFieldName:  "clauses",
		ConvertedName:  "Clauses",
		Description:    `The tag clause to resolve.`,
		Exposed:        true,
		Name:           "clauses",
		Required:       true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Match": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Match",
		Description:    `Contains the matched objects.`,
		Exposed:        true,
		Name:           "match",
		ReadOnly:       true,
		SubType:        "[]map[string]interface{}",
		Type:           "external",
	},
	"TargetIdentity": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetIdentity",
		Description:    `The identity to render the clauses from.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Type:           "string",
	},
}

ClauseMatchAttributesMap represents the map of attribute for ClauseMatch.

View Source
var ClauseMatchIdentity = elemental.Identity{
	Name:     "clausesmatch",
	Category: "clausesmatches",
	Package:  "squall",
	Private:  false,
}

ClauseMatchIdentity represents the Identity of the object.

View Source
var ClauseMatchLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"clauses": {
		AllowedChoices: []string{},
		BSONFieldName:  "clauses",
		ConvertedName:  "Clauses",
		Description:    `The tag clause to resolve.`,
		Exposed:        true,
		Name:           "clauses",
		Required:       true,
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"match": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Match",
		Description:    `Contains the matched objects.`,
		Exposed:        true,
		Name:           "match",
		ReadOnly:       true,
		SubType:        "[]map[string]interface{}",
		Type:           "external",
	},
	"targetidentity": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetIdentity",
		Description:    `The identity to render the clauses from.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Type:           "string",
	},
}

ClauseMatchLowerCaseAttributesMap represents the map of attribute for ClauseMatch.

View Source
var CloudAccountCleanerAttributesMap = map[string]elemental.AttributeSpecification{
	"Date": {
		AllowedChoices: []string{},
		ConvertedName:  "Date",
		Description:    `The date after which objects must be cleaned.`,
		Exposed:        true,
		Name:           "date",
		Required:       true,
		Type:           "time",
	},
}

CloudAccountCleanerAttributesMap represents the map of attribute for CloudAccountCleaner.

View Source
var CloudAccountCleanerIdentity = elemental.Identity{
	Name:     "cloudaccountcleaner",
	Category: "cloudaccountcleaner",
	Package:  "yeul",
	Private:  false,
}

CloudAccountCleanerIdentity represents the Identity of the object.

View Source
var CloudAccountCleanerLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"date": {
		AllowedChoices: []string{},
		ConvertedName:  "Date",
		Description:    `The date after which objects must be cleaned.`,
		Exposed:        true,
		Name:           "date",
		Required:       true,
		Type:           "time",
	},
}

CloudAccountCleanerLowerCaseAttributesMap represents the map of attribute for CloudAccountCleaner.

View Source
var CloudAlertAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Cloudpolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudpolicies",
		ConvertedName:  "Cloudpolicies",
		Description:    `The list of policies that apply to this alert.`,
		Exposed:        true,
		Name:           "cloudpolicies",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Notifications": {
		AllowedChoices: []string{},
		BSONFieldName:  "notifications",
		ConvertedName:  "Notifications",
		Description:    `Type of notifications.`,
		Exposed:        true,
		Name:           "notifications",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"TargetSelector": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetselector",
		ConvertedName:  "TargetSelector",
		Description: `Selector of namespaces where this alert rule must apply. If empty it applies to
current namespace.`,
		Exposed: true,
		Name:    "targetSelector",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudAlertAttributesMap represents the map of attribute for CloudAlert.

View Source
var CloudAlertIdentity = elemental.Identity{
	Name:     "cloudalert",
	Category: "cloudalerts",
	Package:  "yeul",
	Private:  false,
}

CloudAlertIdentity represents the Identity of the object.

View Source
var CloudAlertLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudpolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudpolicies",
		ConvertedName:  "Cloudpolicies",
		Description:    `The list of policies that apply to this alert.`,
		Exposed:        true,
		Name:           "cloudpolicies",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"notifications": {
		AllowedChoices: []string{},
		BSONFieldName:  "notifications",
		ConvertedName:  "Notifications",
		Description:    `Type of notifications.`,
		Exposed:        true,
		Name:           "notifications",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"targetselector": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetselector",
		ConvertedName:  "TargetSelector",
		Description: `Selector of namespaces where this alert rule must apply. If empty it applies to
current namespace.`,
		Exposed: true,
		Name:    "targetSelector",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudAlertLowerCaseAttributesMap represents the map of attribute for CloudAlert.

View Source
var CloudAlertRuleAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Enabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "enabled",
		ConvertedName:  "Enabled",
		Description:    `Defines whether the Alert rule is enabled.`,
		Exposed:        true,
		Name:           "enabled",
		Stored:         true,
		SubType:        "boolean",
		Type:           "boolean",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"PrismaCloudAlertRuleID": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudalertruleid",
		ConvertedName:  "PrismaCloudAlertRuleID",
		Description:    `Prisma Cloud Alert Rule id.`,
		Exposed:        true,
		Name:           "prismaCloudAlertRuleID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"PrismaCloudPolicyIDs": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudpolicyids",
		ConvertedName:  "PrismaCloudPolicyIDs",
		Description:    `List of Policy IDs associated to an Alert rule.`,
		Exposed:        true,
		Name:           "prismaCloudPolicyIDs",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Regions": {
		AllowedChoices: []string{},
		BSONFieldName:  "regions",
		ConvertedName:  "Regions",
		Description:    `List of regions where the Alert rule is enforced.`,
		Exposed:        true,
		Name:           "regions",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"TargetAccountIDs": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetaccountids",
		ConvertedName:  "TargetAccountIDs",
		Description:    `List of accounts associated to an Alert rule.`,
		Exposed:        true,
		Name:           "targetAccountIDs",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"TenantPrismaID": {
		AllowedChoices: []string{},
		BSONFieldName:  "tenantprismaid",
		ConvertedName:  "TenantPrismaID",
		Description:    `Prisma ID of the tenant in which the Alert Rule is created.`,
		Exposed:        true,
		Name:           "tenantPrismaID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudAlertRuleAttributesMap represents the map of attribute for CloudAlertRule.

View Source
var CloudAlertRuleIdentity = elemental.Identity{
	Name:     "cloudalertrule",
	Category: "cloudalertsrule",
	Package:  "vargid",
	Private:  false,
}

CloudAlertRuleIdentity represents the Identity of the object.

View Source
var CloudAlertRuleLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"enabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "enabled",
		ConvertedName:  "Enabled",
		Description:    `Defines whether the Alert rule is enabled.`,
		Exposed:        true,
		Name:           "enabled",
		Stored:         true,
		SubType:        "boolean",
		Type:           "boolean",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"prismacloudalertruleid": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudalertruleid",
		ConvertedName:  "PrismaCloudAlertRuleID",
		Description:    `Prisma Cloud Alert Rule id.`,
		Exposed:        true,
		Name:           "prismaCloudAlertRuleID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"prismacloudpolicyids": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudpolicyids",
		ConvertedName:  "PrismaCloudPolicyIDs",
		Description:    `List of Policy IDs associated to an Alert rule.`,
		Exposed:        true,
		Name:           "prismaCloudPolicyIDs",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regions": {
		AllowedChoices: []string{},
		BSONFieldName:  "regions",
		ConvertedName:  "Regions",
		Description:    `List of regions where the Alert rule is enforced.`,
		Exposed:        true,
		Name:           "regions",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"targetaccountids": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetaccountids",
		ConvertedName:  "TargetAccountIDs",
		Description:    `List of accounts associated to an Alert rule.`,
		Exposed:        true,
		Name:           "targetAccountIDs",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"tenantprismaid": {
		AllowedChoices: []string{},
		BSONFieldName:  "tenantprismaid",
		ConvertedName:  "TenantPrismaID",
		Description:    `Prisma ID of the tenant in which the Alert Rule is created.`,
		Exposed:        true,
		Name:           "tenantPrismaID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudAlertRuleLowerCaseAttributesMap represents the map of attribute for CloudAlertRule.

View Source
var CloudEndpointAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"VPCID": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"IngestionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Endpoint related parameters.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudendpointdata",
		Type:           "ref",
	},
	"PolicyReferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RegionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ResourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudEndpointAttributesMap represents the map of attribute for CloudEndpoint.

View Source
var CloudEndpointIdentity = elemental.Identity{
	Name:     "cloudendpoint",
	Category: "cloudendpoints",
	Package:  "yeul",
	Private:  false,
}

CloudEndpointIdentity represents the Identity of the object.

View Source
var CloudEndpointLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"vpcid": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ingestiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativeid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Endpoint related parameters.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudendpointdata",
		Type:           "ref",
	},
	"policyreferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"resourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudEndpointLowerCaseAttributesMap represents the map of attribute for CloudEndpoint.

View Source
var CloudGraphAttributesMap = map[string]elemental.AttributeSpecification{
	"InternalEdges": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "InternalEdges",
		Description:    `The edges of the map.`,
		Exposed:        true,
		Name:           "internalEdges",
		ReadOnly:       true,
		SubType:        "cloudgraphedge",
		Type:           "refMap",
	},
	"Nodes": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Nodes",
		Description:    `Refers to the nodes of the map.`,
		Exposed:        true,
		Name:           "nodes",
		ReadOnly:       true,
		SubType:        "cloudgraphnode",
		Type:           "refMap",
	},
	"Paths": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Paths",
		Description: `The set of paths from the given source to the given destination. Only provided
when the query type is NetworkPath.`,
		Exposed:  true,
		Name:     "paths",
		ReadOnly: true,
		SubType:  "[][]cloudpathelement",
		Type:     "external",
	},
	"PublicEdges": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PublicEdges",
		Description:    `The edges of the map.`,
		Exposed:        true,
		Name:           "publicEdges",
		ReadOnly:       true,
		SubType:        "cloudgraphedge",
		Type:           "refMap",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description: `The cloud network query that should be used. This requires a POST operation on
the object.`,
		Exposed: true,
		Name:    "query",
		SubType: "cloudnetworkquery",
		Type:    "ref",
	},
	"SourceDestinationMap": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SourceDestinationMap",
		Description: `The set of destinations that have been discovered based on the query and their
associated verdicts.`,
		Exposed:  true,
		Name:     "sourceDestinationMap",
		ReadOnly: true,
		SubType:  "map[string]map[string]cloudnetworkquerydestination",
		Type:     "external",
	},
}

CloudGraphAttributesMap represents the map of attribute for CloudGraph.

View Source
var CloudGraphIdentity = elemental.Identity{
	Name:     "cloudgraph",
	Category: "cloudgraphs",
	Package:  "yeul",
	Private:  false,
}

CloudGraphIdentity represents the Identity of the object.

View Source
var CloudGraphLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"internaledges": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "InternalEdges",
		Description:    `The edges of the map.`,
		Exposed:        true,
		Name:           "internalEdges",
		ReadOnly:       true,
		SubType:        "cloudgraphedge",
		Type:           "refMap",
	},
	"nodes": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Nodes",
		Description:    `Refers to the nodes of the map.`,
		Exposed:        true,
		Name:           "nodes",
		ReadOnly:       true,
		SubType:        "cloudgraphnode",
		Type:           "refMap",
	},
	"paths": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Paths",
		Description: `The set of paths from the given source to the given destination. Only provided
when the query type is NetworkPath.`,
		Exposed:  true,
		Name:     "paths",
		ReadOnly: true,
		SubType:  "[][]cloudpathelement",
		Type:     "external",
	},
	"publicedges": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PublicEdges",
		Description:    `The edges of the map.`,
		Exposed:        true,
		Name:           "publicEdges",
		ReadOnly:       true,
		SubType:        "cloudgraphedge",
		Type:           "refMap",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description: `The cloud network query that should be used. This requires a POST operation on
the object.`,
		Exposed: true,
		Name:    "query",
		SubType: "cloudnetworkquery",
		Type:    "ref",
	},
	"sourcedestinationmap": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SourceDestinationMap",
		Description: `The set of destinations that have been discovered based on the query and their
associated verdicts.`,
		Exposed:  true,
		Name:     "sourceDestinationMap",
		ReadOnly: true,
		SubType:  "map[string]map[string]cloudnetworkquerydestination",
		Type:     "external",
	},
}

CloudGraphLowerCaseAttributesMap represents the map of attribute for CloudGraph.

View Source
var CloudManagedNetworkAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"VPCID": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"Entries": {
		AllowedChoices: []string{},
		BSONFieldName:  "entries",
		ConvertedName:  "Entries",
		Description:    `List of CIDRs.`,
		Exposed:        true,
		Name:           "entries",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"IngestionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Internal unique key for a resource to guarantee no overlaps at write.`,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"PolicyReferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RegionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ResourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"StoredEntries": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "storedentries",
		ConvertedName:  "StoredEntries",
		Description: `Internal representation of entries to accelerate processing. Not visible to
users.`,
		Name:    "storedEntries",
		Stored:  true,
		SubType: "networklist",
		Type:    "external",
	},
	"Type": {
		AllowedChoices: []string{"Enterprise", "AWSPrefixLists", "AWSElasticIPs", "GCP", "Custom"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   CloudManagedNetworkTypeEnterprise,
		Description:    `The type of cloud managed network.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudManagedNetworkAttributesMap represents the map of attribute for CloudManagedNetwork.

View Source
var CloudManagedNetworkIdentity = elemental.Identity{
	Name:     "cloudmanagednetwork",
	Category: "cloudmanagednetworks",
	Package:  "yeul",
	Private:  false,
}

CloudManagedNetworkIdentity represents the Identity of the object.

View Source
var CloudManagedNetworkLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"vpcid": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"entries": {
		AllowedChoices: []string{},
		BSONFieldName:  "entries",
		ConvertedName:  "Entries",
		Description:    `List of CIDRs.`,
		Exposed:        true,
		Name:           "entries",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ingestiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Internal unique key for a resource to guarantee no overlaps at write.`,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativeid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"policyreferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"resourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"storedentries": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "storedentries",
		ConvertedName:  "StoredEntries",
		Description: `Internal representation of entries to accelerate processing. Not visible to
users.`,
		Name:    "storedEntries",
		Stored:  true,
		SubType: "networklist",
		Type:    "external",
	},
	"type": {
		AllowedChoices: []string{"Enterprise", "AWSPrefixLists", "AWSElasticIPs", "GCP", "Custom"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   CloudManagedNetworkTypeEnterprise,
		Description:    `The type of cloud managed network.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudManagedNetworkLowerCaseAttributesMap represents the map of attribute for CloudManagedNetwork.

View Source
var CloudNetworkInterfaceAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"VPCID": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"IngestionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Cloud network interface related parameters.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudinterfacedata",
		Type:           "ref",
	},
	"PolicyReferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RegionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ResourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudNetworkInterfaceAttributesMap represents the map of attribute for CloudNetworkInterface.

View Source
var CloudNetworkInterfaceIdentity = elemental.Identity{
	Name:     "cloudnetworkinterface",
	Category: "cloudnetworkinterfaces",
	Package:  "yeul",
	Private:  false,
}

CloudNetworkInterfaceIdentity represents the Identity of the object.

View Source
var CloudNetworkInterfaceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"vpcid": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ingestiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativeid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Cloud network interface related parameters.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudinterfacedata",
		Type:           "ref",
	},
	"policyreferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"resourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudNetworkInterfaceLowerCaseAttributesMap represents the map of attribute for CloudNetworkInterface.

View Source
var CloudNetworkQueryAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AlertOn": {
		AllowedChoices: []string{"SourceVPC", "SourceSubnet", "DestVPC", "DestSubnet", "None"},
		BSONFieldName:  "alerton",
		ConvertedName:  "AlertOn",
		DefaultValue:   CloudNetworkQueryAlertOnNone,
		Description: `Group the instances generated by the query into VPCs or subnets so that when
alerts can be raised against the grouped resource.`,
		Exposed: true,
		Name:    "alertOn",
		Stored:  true,
		Type:    "enum",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"DestinationIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "destinationip",
		ConvertedName:  "DestinationIP",
		Description:    `The destination IP of a trace route request. Might not always be an endpoint.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"DestinationSelector": {
		AllowedChoices: []string{},
		BSONFieldName:  "destinationselector",
		ConvertedName:  "DestinationSelector",
		Description:    `A filter for selecting destinations for the query.`,
		Exposed:        true,
		Name:           "destinationSelector",
		Stored:         true,
		SubType:        "cloudnetworkqueryfilter",
		Type:           "ref",
	},
	"EffectiveAction": {
		AllowedChoices: []string{"Allowed", "Denied", "Reachable"},
		BSONFieldName:  "effectiveaction",
		ConvertedName:  "EffectiveAction",
		DefaultValue:   CloudNetworkQueryEffectiveActionReachable,
		Description: `Filters the results based on the effective action. 'Allowed' means
that a destination is both reachable and allowed by security rules.
'Denied' means that the destination is reachable through routing,
but traffic is blocked through one or more security rules. 'Reachable'
returns all destinations that are reachable from the selected sources
irrespective of the security rules.`,
		Exposed: true,
		Name:    "effectiveAction",
		Stored:  true,
		Type:    "enum",
	},
	"ExcludeEnterpriseIPs": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludeenterpriseips",
		ConvertedName:  "ExcludeEnterpriseIPs",
		Description: `If set, the evaluation will exclude enterprise IPs from the effective
permissions.`,
		Exposed: true,
		Name:    "excludeEnterpriseIPs",
		Stored:  true,
		Type:    "boolean",
	},
	"ExcludedNetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludednetworks",
		ConvertedName:  "ExcludedNetworks",
		Description: `List of networks that should be a excluded from the calculation if the source or
destination is a network.`,
		Exposed: true,
		Name:    "excludedNetworks",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ProtocolPorts": {
		AllowedChoices: []string{},
		BSONFieldName:  "protocolports",
		ConvertedName:  "ProtocolPorts",
		Description: `Represents the ports and protocols this policy applies to. Protocol/ports are
defined as tcp/80, udp/22. For protocols that do not have ports, the port
designation
is not allowed.`,
		Exposed: true,
		Name:    "protocolPorts",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"RawRQL": {
		AllowedChoices: []string{},
		BSONFieldName:  "rawrql",
		ConvertedName:  "RawRQL",
		Description:    `The RQL string for this query as a reference.`,
		Name:           "rawRQL",
		Stored:         true,
		Type:           "string",
	},
	"SourceIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourceip",
		ConvertedName:  "SourceIP",
		Description:    `The source IP of a trace route request. Might not be always and endpoint.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"SourceSelector": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourceselector",
		ConvertedName:  "SourceSelector",
		Description:    `A filter for selecting the sources of the request.`,
		Exposed:        true,
		Name:           "sourceSelector",
		Stored:         true,
		SubType:        "cloudnetworkqueryfilter",
		Type:           "ref",
	},
	"Type": {
		AllowedChoices: []string{"Summary", "CompressedGraph", "FullGraph", "NetworkPath"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   CloudNetworkQueryTypeSummary,
		Description:    `Indicates the type of results that should be provided by the query.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudNetworkQueryAttributesMap represents the map of attribute for CloudNetworkQuery.

View Source
var CloudNetworkQueryIdentity = elemental.Identity{
	Name:     "cloudnetworkquery",
	Category: "cloudnetworkqueries",
	Package:  "yeul",
	Private:  false,
}

CloudNetworkQueryIdentity represents the Identity of the object.

View Source
var CloudNetworkQueryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"alerton": {
		AllowedChoices: []string{"SourceVPC", "SourceSubnet", "DestVPC", "DestSubnet", "None"},
		BSONFieldName:  "alerton",
		ConvertedName:  "AlertOn",
		DefaultValue:   CloudNetworkQueryAlertOnNone,
		Description: `Group the instances generated by the query into VPCs or subnets so that when
alerts can be raised against the grouped resource.`,
		Exposed: true,
		Name:    "alertOn",
		Stored:  true,
		Type:    "enum",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"destinationip": {
		AllowedChoices: []string{},
		BSONFieldName:  "destinationip",
		ConvertedName:  "DestinationIP",
		Description:    `The destination IP of a trace route request. Might not always be an endpoint.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"destinationselector": {
		AllowedChoices: []string{},
		BSONFieldName:  "destinationselector",
		ConvertedName:  "DestinationSelector",
		Description:    `A filter for selecting destinations for the query.`,
		Exposed:        true,
		Name:           "destinationSelector",
		Stored:         true,
		SubType:        "cloudnetworkqueryfilter",
		Type:           "ref",
	},
	"effectiveaction": {
		AllowedChoices: []string{"Allowed", "Denied", "Reachable"},
		BSONFieldName:  "effectiveaction",
		ConvertedName:  "EffectiveAction",
		DefaultValue:   CloudNetworkQueryEffectiveActionReachable,
		Description: `Filters the results based on the effective action. 'Allowed' means
that a destination is both reachable and allowed by security rules.
'Denied' means that the destination is reachable through routing,
but traffic is blocked through one or more security rules. 'Reachable'
returns all destinations that are reachable from the selected sources
irrespective of the security rules.`,
		Exposed: true,
		Name:    "effectiveAction",
		Stored:  true,
		Type:    "enum",
	},
	"excludeenterpriseips": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludeenterpriseips",
		ConvertedName:  "ExcludeEnterpriseIPs",
		Description: `If set, the evaluation will exclude enterprise IPs from the effective
permissions.`,
		Exposed: true,
		Name:    "excludeEnterpriseIPs",
		Stored:  true,
		Type:    "boolean",
	},
	"excludednetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludednetworks",
		ConvertedName:  "ExcludedNetworks",
		Description: `List of networks that should be a excluded from the calculation if the source or
destination is a network.`,
		Exposed: true,
		Name:    "excludedNetworks",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protocolports": {
		AllowedChoices: []string{},
		BSONFieldName:  "protocolports",
		ConvertedName:  "ProtocolPorts",
		Description: `Represents the ports and protocols this policy applies to. Protocol/ports are
defined as tcp/80, udp/22. For protocols that do not have ports, the port
designation
is not allowed.`,
		Exposed: true,
		Name:    "protocolPorts",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"rawrql": {
		AllowedChoices: []string{},
		BSONFieldName:  "rawrql",
		ConvertedName:  "RawRQL",
		Description:    `The RQL string for this query as a reference.`,
		Name:           "rawRQL",
		Stored:         true,
		Type:           "string",
	},
	"sourceip": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourceip",
		ConvertedName:  "SourceIP",
		Description:    `The source IP of a trace route request. Might not be always and endpoint.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"sourceselector": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourceselector",
		ConvertedName:  "SourceSelector",
		Description:    `A filter for selecting the sources of the request.`,
		Exposed:        true,
		Name:           "sourceSelector",
		Stored:         true,
		SubType:        "cloudnetworkqueryfilter",
		Type:           "ref",
	},
	"type": {
		AllowedChoices: []string{"Summary", "CompressedGraph", "FullGraph", "NetworkPath"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   CloudNetworkQueryTypeSummary,
		Description:    `Indicates the type of results that should be provided by the query.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudNetworkQueryLowerCaseAttributesMap represents the map of attribute for CloudNetworkQuery.

View Source
var CloudNetworkRuleSetAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"VPCID": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"IngestionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Internal unique key for a resource to guarantee no overlaps at write.`,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Cloud network ruleset data.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudnetworkrulesetdata",
		Type:           "ref",
	},
	"PolicyReferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RegionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ResourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudNetworkRuleSetAttributesMap represents the map of attribute for CloudNetworkRuleSet.

View Source
var CloudNetworkRuleSetIdentity = elemental.Identity{
	Name:     "cloudnetworkruleset",
	Category: "cloudnetworkrulesets",
	Package:  "yeul",
	Private:  false,
}

CloudNetworkRuleSetIdentity represents the Identity of the object.

View Source
var CloudNetworkRuleSetLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"vpcid": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ingestiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Internal unique key for a resource to guarantee no overlaps at write.`,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativeid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Cloud network ruleset data.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudnetworkrulesetdata",
		Type:           "ref",
	},
	"policyreferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"resourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudNetworkRuleSetLowerCaseAttributesMap represents the map of attribute for CloudNetworkRuleSet.

View Source
var CloudNodeAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"VPCID": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Attachments": {
		AllowedChoices: []string{},
		BSONFieldName:  "attachments",
		ConvertedName:  "Attachments",
		Description:    `The list of attachments for this node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "attachments",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"IngestionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Internal unique key for a resource to guarantee no overlaps at write.`,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `The cloud attributes of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "parameters",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"PolicyReferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RegionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"RelatedObjectID": {
		AllowedChoices: []string{},
		BSONFieldName:  "relatedobjectid",
		ConvertedName:  "RelatedObjectID",
		Description:    `A reference to a related object.`,
		Exposed:        true,
		Name:           "relatedObjectID",
		Stored:         true,
		Type:           "string",
	},
	"ResourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"SecurityTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "securitytags",
		ConvertedName:  "SecurityTags",
		Description:    `List of security tags associated with the node.`,
		Exposed:        true,
		Name:           "securityTags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"SubType": {
		AllowedChoices: []string{},
		BSONFieldName:  "subtype",
		ConvertedName:  "SubType",
		Description:    `The sub-type of the object as found in the parameters. Used for indexing.`,
		Exposed:        true,
		Name:           "subType",
		Stored:         true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{"Endpoint", "Subnet", "VPC", "Interface", "RouteTable", "NetworkRuleSet"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `Type of the endpoint.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudNodeAttributesMap represents the map of attribute for CloudNode.

View Source
var CloudNodeIdentity = elemental.Identity{
	Name:     "cloudnode",
	Category: "cloudnodes",
	Package:  "yeul",
	Private:  false,
}

CloudNodeIdentity represents the Identity of the object.

View Source
var CloudNodeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"vpcid": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"attachments": {
		AllowedChoices: []string{},
		BSONFieldName:  "attachments",
		ConvertedName:  "Attachments",
		Description:    `The list of attachments for this node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "attachments",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ingestiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Internal unique key for a resource to guarantee no overlaps at write.`,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativeid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `The cloud attributes of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "parameters",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"policyreferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"relatedobjectid": {
		AllowedChoices: []string{},
		BSONFieldName:  "relatedobjectid",
		ConvertedName:  "RelatedObjectID",
		Description:    `A reference to a related object.`,
		Exposed:        true,
		Name:           "relatedObjectID",
		Stored:         true,
		Type:           "string",
	},
	"resourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"securitytags": {
		AllowedChoices: []string{},
		BSONFieldName:  "securitytags",
		ConvertedName:  "SecurityTags",
		Description:    `List of security tags associated with the node.`,
		Exposed:        true,
		Name:           "securityTags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"subtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "subtype",
		ConvertedName:  "SubType",
		Description:    `The sub-type of the object as found in the parameters. Used for indexing.`,
		Exposed:        true,
		Name:           "subType",
		Stored:         true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{"Endpoint", "Subnet", "VPC", "Interface", "RouteTable", "NetworkRuleSet"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `Type of the endpoint.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudNodeLowerCaseAttributesMap represents the map of attribute for CloudNode.

View Source
var CloudPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"RQLQuery": {
		AllowedChoices: []string{},
		BSONFieldName:  "rqlquery",
		ConvertedName:  "RQLQuery",
		Description:    `The actual RQL query that is associated to the policy.`,
		Exposed:        true,
		Name:           "RQLQuery",
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"PrismaCloudPolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudpolicyid",
		ConvertedName:  "PrismaCloudPolicyID",
		Description:    `Reference to the corresponding Prisma Cloud Policy ID.`,
		Exposed:        true,
		Name:           "prismaCloudPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"PrismaCloudQueryID": {
		AllowedChoices: []string{},
		ConvertedName:  "PrismaCloudQueryID",
		Description: `The query ID that this policy refers to. This is auto-calculated since it is
derived from the parent.`,
		Exposed:  true,
		Name:     "prismaCloudQueryID",
		ReadOnly: true,
		Type:     "string",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Severity": {
		AllowedChoices: []string{"Low", "Medium", "High"},
		BSONFieldName:  "severity",
		ConvertedName:  "Severity",
		Description:    `The severity of a policy violation.`,
		Exposed:        true,
		Name:           "severity",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudPolicyAttributesMap represents the map of attribute for CloudPolicy.

View Source
var CloudPolicyIdentity = elemental.Identity{
	Name:     "cloudpolicy",
	Category: "cloudpolicies",
	Package:  "vargid",
	Private:  false,
}

CloudPolicyIdentity represents the Identity of the object.

View Source
var CloudPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"rqlquery": {
		AllowedChoices: []string{},
		BSONFieldName:  "rqlquery",
		ConvertedName:  "RQLQuery",
		Description:    `The actual RQL query that is associated to the policy.`,
		Exposed:        true,
		Name:           "RQLQuery",
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"prismacloudpolicyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudpolicyid",
		ConvertedName:  "PrismaCloudPolicyID",
		Description:    `Reference to the corresponding Prisma Cloud Policy ID.`,
		Exposed:        true,
		Name:           "prismaCloudPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"prismacloudqueryid": {
		AllowedChoices: []string{},
		ConvertedName:  "PrismaCloudQueryID",
		Description: `The query ID that this policy refers to. This is auto-calculated since it is
derived from the parent.`,
		Exposed:  true,
		Name:     "prismaCloudQueryID",
		ReadOnly: true,
		Type:     "string",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"severity": {
		AllowedChoices: []string{"Low", "Medium", "High"},
		BSONFieldName:  "severity",
		ConvertedName:  "Severity",
		Description:    `The severity of a policy violation.`,
		Exposed:        true,
		Name:           "severity",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudPolicyLowerCaseAttributesMap represents the map of attribute for CloudPolicy.

View Source
var CloudRouteTableAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"VPCID": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"IngestionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Route table related parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudroutedata",
		Type:           "ref",
	},
	"PolicyReferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RegionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ResourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudRouteTableAttributesMap represents the map of attribute for CloudRouteTable.

View Source
var CloudRouteTableIdentity = elemental.Identity{
	Name:     "cloudroutetable",
	Category: "cloudroutetables",
	Package:  "yeul",
	Private:  false,
}

CloudRouteTableIdentity represents the Identity of the object.

View Source
var CloudRouteTableLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"vpcid": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ingestiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativeid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Route table related parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudroutedata",
		Type:           "ref",
	},
	"policyreferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"resourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudRouteTableLowerCaseAttributesMap represents the map of attribute for CloudRouteTable.

View Source
var CloudScheduledNetworkQueryAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CloudGraphResult": {
		AllowedChoices: []string{},
		ConvertedName:  "CloudGraphResult",
		Description:    `The result of the cloud network query.`,
		Exposed:        true,
		Name:           "cloudGraphResult",
		SubType:        "cloudgraph",
		Type:           "ref",
	},
	"CloudNetworkQuery": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudnetworkquery",
		ConvertedName:  "CloudNetworkQuery",
		Description:    `The cloud network query that should be used.`,
		Exposed:        true,
		Name:           "cloudNetworkQuery",
		Stored:         true,
		SubType:        "cloudnetworkquery",
		Type:           "ref",
	},
	"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",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Represents whether the associated policy was disabled.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"LastExecutionTimestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastexecutiontimestamp",
		ConvertedName:  "LastExecutionTimestamp",
		Description:    `Result of the last successfully run query.`,
		Exposed:        true,
		Name:           "lastExecutionTimestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"PrismaCloudAlertRuleID": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudalertruleid",
		ConvertedName:  "PrismaCloudAlertRuleID",
		Description:    `Prisma Cloud Alert Rule ID.`,
		Exposed:        true,
		Name:           "prismaCloudAlertRuleID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"PrismaCloudPolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudpolicyid",
		ConvertedName:  "PrismaCloudPolicyID",
		Description:    `Prisma Cloud Policy ID.`,
		Exposed:        true,
		Name:           "prismaCloudPolicyID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"TenantPrismaID": {
		AllowedChoices: []string{},
		BSONFieldName:  "tenantprismaid",
		ConvertedName:  "TenantPrismaID",
		Description:    `Prisma ID of the tenant in which the Alert Rule is created.`,
		Exposed:        true,
		Name:           "tenantPrismaID",
		Stored:         true,
		SubType:        "string",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudScheduledNetworkQueryAttributesMap represents the map of attribute for CloudScheduledNetworkQuery.

View Source
var CloudScheduledNetworkQueryIdentity = elemental.Identity{
	Name:     "cloudschedulednetworkquery",
	Category: "cloudschedulednetworkqueries",
	Package:  "vargid",
	Private:  false,
}

CloudScheduledNetworkQueryIdentity represents the Identity of the object.

View Source
var CloudScheduledNetworkQueryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"cloudgraphresult": {
		AllowedChoices: []string{},
		ConvertedName:  "CloudGraphResult",
		Description:    `The result of the cloud network query.`,
		Exposed:        true,
		Name:           "cloudGraphResult",
		SubType:        "cloudgraph",
		Type:           "ref",
	},
	"cloudnetworkquery": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudnetworkquery",
		ConvertedName:  "CloudNetworkQuery",
		Description:    `The cloud network query that should be used.`,
		Exposed:        true,
		Name:           "cloudNetworkQuery",
		Stored:         true,
		SubType:        "cloudnetworkquery",
		Type:           "ref",
	},
	"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",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Represents whether the associated policy was disabled.`,
		Exposed:        true,
		Name:           "disabled",
		Stored:         true,
		Type:           "boolean",
	},
	"lastexecutiontimestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastexecutiontimestamp",
		ConvertedName:  "LastExecutionTimestamp",
		Description:    `Result of the last successfully run query.`,
		Exposed:        true,
		Name:           "lastExecutionTimestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"prismacloudalertruleid": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudalertruleid",
		ConvertedName:  "PrismaCloudAlertRuleID",
		Description:    `Prisma Cloud Alert Rule ID.`,
		Exposed:        true,
		Name:           "prismaCloudAlertRuleID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"prismacloudpolicyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "prismacloudpolicyid",
		ConvertedName:  "PrismaCloudPolicyID",
		Description:    `Prisma Cloud Policy ID.`,
		Exposed:        true,
		Name:           "prismaCloudPolicyID",
		Stored:         true,
		SubType:        "string",
		Type:           "string",
	},
	"tenantprismaid": {
		AllowedChoices: []string{},
		BSONFieldName:  "tenantprismaid",
		ConvertedName:  "TenantPrismaID",
		Description:    `Prisma ID of the tenant in which the Alert Rule is created.`,
		Exposed:        true,
		Name:           "tenantPrismaID",
		Stored:         true,
		SubType:        "string",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudScheduledNetworkQueryLowerCaseAttributesMap represents the map of attribute for CloudScheduledNetworkQuery.

View Source
var CloudSnapshotAccountAttributesMap = map[string]elemental.AttributeSpecification{
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{"AWS", "GCP"},
		ConvertedName:  "CloudType",
		DefaultValue:   CloudSnapshotAccountCloudTypeAWS,
		Description:    `The cloud type for the account.`,
		Exposed:        true,
		Name:           "cloudType",
		Type:           "enum",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the account.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

CloudSnapshotAccountAttributesMap represents the map of attribute for CloudSnapshotAccount.

View Source
var CloudSnapshotAccountIdentity = elemental.Identity{
	Name:     "cloudsnapshotaccount",
	Category: "cloudsnapshotaccounts",
	Package:  "pandemona",
	Private:  false,
}

CloudSnapshotAccountIdentity represents the Identity of the object.

View Source
var CloudSnapshotAccountLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{"AWS", "GCP"},
		ConvertedName:  "CloudType",
		DefaultValue:   CloudSnapshotAccountCloudTypeAWS,
		Description:    `The cloud type for the account.`,
		Exposed:        true,
		Name:           "cloudType",
		Type:           "enum",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the account.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

CloudSnapshotAccountLowerCaseAttributesMap represents the map of attribute for CloudSnapshotAccount.

View Source
var CloudSubnetAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"VPCID": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"IngestionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Subnet related parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudsubnetdata",
		Type:           "ref",
	},
	"PolicyReferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RegionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ResourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudSubnetAttributesMap represents the map of attribute for CloudSubnet.

View Source
var CloudSubnetIdentity = elemental.Identity{
	Name:     "cloudsubnet",
	Category: "cloudsubnets",
	Package:  "yeul",
	Private:  false,
}

CloudSubnetIdentity represents the Identity of the object.

View Source
var CloudSubnetLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"vpcid": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ingestiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativeid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Subnet related parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudsubnetdata",
		Type:           "ref",
	},
	"policyreferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"resourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudSubnetLowerCaseAttributesMap represents the map of attribute for CloudSubnet.

View Source
var CloudVPCAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"VPCID": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CloudType": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"IngestionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `VPC related parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudvpcdata",
		Type:           "ref",
	},
	"PolicyReferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RegionName": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ResourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudVPCAttributesMap represents the map of attribute for CloudVPC.

View Source
var CloudVPCIdentity = elemental.Identity{
	Name:     "cloudvpc",
	Category: "cloudvpcs",
	Package:  "yeul",
	Private:  false,
}

CloudVPCIdentity represents the Identity of the object.

View Source
var CloudVPCLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiid",
		ConvertedName:  "APIID",
		Description:    `Prisma Cloud API ID (matches Prisma Cloud API ID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "APIID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"vpcid": {
		AllowedChoices: []string{},
		BSONFieldName:  "vpcid",
		ConvertedName:  "VPCID",
		Description:    `ID of the host VPC.`,
		Exposed:        true,
		Getter:         true,
		Name:           "VPCID",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": {
		AllowedChoices: []string{},
		BSONFieldName:  "accountid",
		ConvertedName:  "AccountID",
		Description:    `Cloud account ID associated with the entity (matches Prisma Cloud accountID).`,
		Exposed:        true,
		Getter:         true,
		Name:           "accountID",
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtags",
		ConvertedName:  "CloudTags",
		Description:    `Internal representation of object tags retrieved from the cloud provider.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"cloudtype": {
		AllowedChoices: []string{},
		BSONFieldName:  "cloudtype",
		ConvertedName:  "CloudType",
		Description:    `Cloud type of the entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "cloudType",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "customerid",
		ConvertedName:  "CustomerID",
		Description:    `Customer ID as identified by Prisma Cloud.`,
		Exposed:        true,
		Getter:         true,
		Name:           "customerID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"ingestiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "ingestiontime",
		ConvertedName:  "IngestionTime",
		Description:    `The time that the object was first ingested.`,
		Exposed:        true,
		Getter:         true,
		Name:           "ingestionTime",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the object (optional).`,
		Exposed:        true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativeid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativeid",
		ConvertedName:  "NativeID",
		Description:    `ID of the cloud provider object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "nativeID",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `VPC related parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "cloudvpcdata",
		Type:           "ref",
	},
	"policyreferences": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyreferences",
		ConvertedName:  "PolicyReferences",
		Description:    `A list of policy references associated with this cloud node.`,
		Exposed:        true,
		Getter:         true,
		Name:           "policyReferences",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"regionname": {
		AllowedChoices: []string{},
		BSONFieldName:  "regionname",
		ConvertedName:  "RegionName",
		Description:    `Region name associated with the entity.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      256,
		Name:           "regionName",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"resourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "resourceid",
		ConvertedName:  "ResourceID",
		Description:    `Prisma Cloud Resource ID.`,
		Exposed:        true,
		Getter:         true,
		Name:           "resourceID",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CloudVPCLowerCaseAttributesMap represents the map of attribute for CloudVPC.

View Source
var ConnectionExceptionReportAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"DestinationController": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "DestinationController",
		Deprecated:     true,
		Description: `Identifier of the destination controller. This should be set in
SynAckTransmitted state.`,
		Exposed: true,
		Name:    "destinationController",
		Stored:  true,
		Type:    "string",
	},
	"DestinationIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "DestinationIP",
		Description:    `Destination IP address.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"DestinationPort": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "DestinationPort",
		Description:    `Port of the destination.`,
		Exposed:        true,
		Name:           "destinationPort",
		Stored:         true,
		Type:           "integer",
	},
	"DestinationProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "DestinationProcessingUnitID",
		Description: `ID of the destination processing unit. This should be set in SynAckTransmitted
state.`,
		Exposed: true,
		Name:    "destinationProcessingUnitID",
		Stored:  true,
		Type:    "string",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "EnforcerNamespace",
		Deprecated:     true,
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit that encountered this exception.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit encountered this exception.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "ProcessingUnitNamespace",
		Deprecated:     true,
		Description:    `Namespace of the processing unit encountered this exception.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Stored:         true,
		Type:           "string",
	},
	"Protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		Name:           "protocol",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"Reason": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Reason",
		Description:    `It specifies the reason for the exception.`,
		Exposed:        true,
		Name:           "reason",
		Stored:         true,
		Type:           "string",
	},
	"ServiceType": {
		AllowedChoices: []string{"L3", "HTTP", "TCP"},
		BSONFieldName:  "o",
		ConvertedName:  "ServiceType",
		DefaultValue:   ConnectionExceptionReportServiceTypeL3,
		Description:    `Type of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		Stored:         true,
		Type:           "enum",
	},
	"SourceIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "SourceIP",
		Description:    `Source IP address.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"State": {
		AllowedChoices: []string{"SynTransmitted", "SynAckTransmitted", "AckTransmitted", "Unknown"},
		BSONFieldName:  "l",
		ConvertedName:  "State",
		Description:    `Represents the current state this report was generated.`,
		Exposed:        true,
		Name:           "state",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "m",
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Stored:         true,
		Type:           "time",
	},
	"Value": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "Value",
		Description:    `Number of packets hit.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ConnectionExceptionReportAttributesMap represents the map of attribute for ConnectionExceptionReport.

View Source
var ConnectionExceptionReportIdentity = elemental.Identity{
	Name:     "connectionexceptionreport",
	Category: "connectionexceptionreports",
	Package:  "zack",
	Private:  false,
}

ConnectionExceptionReportIdentity represents the Identity of the object.

View Source
var ConnectionExceptionReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"destinationcontroller": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "DestinationController",
		Deprecated:     true,
		Description: `Identifier of the destination controller. This should be set in
SynAckTransmitted state.`,
		Exposed: true,
		Name:    "destinationController",
		Stored:  true,
		Type:    "string",
	},
	"destinationip": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "DestinationIP",
		Description:    `Destination IP address.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"destinationport": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "DestinationPort",
		Description:    `Port of the destination.`,
		Exposed:        true,
		Name:           "destinationPort",
		Stored:         true,
		Type:           "integer",
	},
	"destinationprocessingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "DestinationProcessingUnitID",
		Description: `ID of the destination processing unit. This should be set in SynAckTransmitted
state.`,
		Exposed: true,
		Name:    "destinationProcessingUnitID",
		Stored:  true,
		Type:    "string",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "EnforcerNamespace",
		Deprecated:     true,
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit that encountered this exception.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"processingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit encountered this exception.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"processingunitnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "ProcessingUnitNamespace",
		Deprecated:     true,
		Description:    `Namespace of the processing unit encountered this exception.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Stored:         true,
		Type:           "string",
	},
	"protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		Name:           "protocol",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"reason": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Reason",
		Description:    `It specifies the reason for the exception.`,
		Exposed:        true,
		Name:           "reason",
		Stored:         true,
		Type:           "string",
	},
	"servicetype": {
		AllowedChoices: []string{"L3", "HTTP", "TCP"},
		BSONFieldName:  "o",
		ConvertedName:  "ServiceType",
		DefaultValue:   ConnectionExceptionReportServiceTypeL3,
		Description:    `Type of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		Stored:         true,
		Type:           "enum",
	},
	"sourceip": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "SourceIP",
		Description:    `Source IP address.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"state": {
		AllowedChoices: []string{"SynTransmitted", "SynAckTransmitted", "AckTransmitted", "Unknown"},
		BSONFieldName:  "l",
		ConvertedName:  "State",
		Description:    `Represents the current state this report was generated.`,
		Exposed:        true,
		Name:           "state",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "m",
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Stored:         true,
		Type:           "time",
	},
	"value": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "Value",
		Description:    `Number of packets hit.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ConnectionExceptionReportLowerCaseAttributesMap represents the map of attribute for ConnectionExceptionReport.

View Source
var CounterReportAttributesMap = map[string]elemental.AttributeSpecification{
	"AckInUnknownState": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "AckInUnknownState",
		Description:    `Counter for sending FIN ACK received in unknown connection state.`,
		Exposed:        true,
		Name:           "AckInUnknownState",
		Stored:         true,
		Type:           "integer",
	},
	"AckInvalidFormat": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "AckInvalidFormat",
		Description:    `Counter for ACK packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "AckInvalidFormat",
		Stored:         true,
		Type:           "integer",
	},
	"AckRejected": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "AckRejected",
		Description:    `Counter for ACK packets rejected as per policy.`,
		Exposed:        true,
		Name:           "AckRejected",
		Stored:         true,
		Type:           "integer",
	},
	"AckSigValidationFailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "AckSigValidationFailed",
		Description:    `Counter for ACK packet dropped because signature validation failed.`,
		Exposed:        true,
		Name:           "AckSigValidationFailed",
		Stored:         true,
		Type:           "integer",
	},
	"AckTCPNoTCPAuthOption": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "AckTCPNoTCPAuthOption",
		Description:    `Counter for TCP authentication option not found.`,
		Exposed:        true,
		Name:           "AckTCPNoTCPAuthOption",
		Stored:         true,
		Type:           "integer",
	},
	"ConnectionsProcessed": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "ConnectionsProcessed",
		Description:    `Counter for connections processed.`,
		Exposed:        true,
		Name:           "ConnectionsProcessed",
		Stored:         true,
		Type:           "integer",
	},
	"ContextIDNotFound": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "ContextIDNotFound",
		Description:    `Counter for unable to find ContextID.`,
		Exposed:        true,
		Name:           "ContextIDNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"DroppedExternalService": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "DroppedExternalService",
		Description: `Counter for no ACLs found for external services. Dropping application SYN
packet.`,
		Exposed: true,
		Name:    "DroppedExternalService",
		Stored:  true,
		Type:    "integer",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"InvalidConnState": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "InvalidConnState",
		Description:    `Counter for invalid connection state.`,
		Exposed:        true,
		Name:           "InvalidConnState",
		Stored:         true,
		Type:           "integer",
	},
	"InvalidNetState": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "InvalidNetState",
		Description:    `Counter for invalid net state.`,
		Exposed:        true,
		Name:           "InvalidNetState",
		Stored:         true,
		Type:           "integer",
	},
	"InvalidProtocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "InvalidProtocol",
		Description:    `Counter for invalid protocol.`,
		Exposed:        true,
		Name:           "InvalidProtocol",
		Stored:         true,
		Type:           "integer",
	},
	"InvalidSynAck": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "InvalidSynAck",
		Description:    `Counter for processing unit is already dead - drop SYN ACK packet.`,
		Exposed:        true,
		Name:           "InvalidSynAck",
		Stored:         true,
		Type:           "integer",
	},
	"MarkNotFound": {
		AllowedChoices: []string{},
		BSONFieldName:  "m",
		ConvertedName:  "MarkNotFound",
		Description:    `Counter for processing unit mark not found.`,
		Exposed:        true,
		Name:           "MarkNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"NetSynNotSeen": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "NetSynNotSeen",
		Description:    `Counter for network SYN packet was not seen.`,
		Exposed:        true,
		Name:           "NetSynNotSeen",
		Stored:         true,
		Type:           "integer",
	},
	"NoConnFound": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "NoConnFound",
		Description:    `Counter for no context or connection found.`,
		Exposed:        true,
		Name:           "NoConnFound",
		Stored:         true,
		Type:           "integer",
	},
	"NonPUTraffic": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "NonPUTraffic",
		Description:    `Counter for traffic that belongs to a non-processing unit process.`,
		Exposed:        true,
		Name:           "NonPUTraffic",
		Stored:         true,
		Type:           "integer",
	},
	"OutOfOrderSynAck": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "OutOfOrderSynAck",
		Description:    `Counter for SYN ACK for flow with processed FIN ACK.`,
		Exposed:        true,
		Name:           "OutOfOrderSynAck",
		Stored:         true,
		Type:           "integer",
	},
	"PortNotFound": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "PortNotFound",
		Description:    `Counter for port not found.`,
		Exposed:        true,
		Name:           "PortNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"RejectPacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "RejectPacket",
		Description:    `Counter for reject the packet as per policy.`,
		Exposed:        true,
		Name:           "RejectPacket",
		Stored:         true,
		Type:           "integer",
	},
	"ServicePostprocessorFailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "ServicePostprocessorFailed",
		Description:    `Counter for post service processing failed for network packet.`,
		Exposed:        true,
		Name:           "ServicePostprocessorFailed",
		Stored:         true,
		Type:           "integer",
	},
	"ServicePreprocessorFailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "u",
		ConvertedName:  "ServicePreprocessorFailed",
		Description:    `Counter for network packets that failed preprocessing.`,
		Exposed:        true,
		Name:           "ServicePreprocessorFailed",
		Stored:         true,
		Type:           "integer",
	},
	"SynAckBadClaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "v",
		ConvertedName:  "SynAckBadClaims",
		Description:    `Counter for SYN ACK packet dropped because of bad claims.`,
		Exposed:        true,
		Name:           "SynAckBadClaims",
		Stored:         true,
		Type:           "integer",
	},
	"SynAckClaimsMisMatch": {
		AllowedChoices: []string{},
		BSONFieldName:  "w",
		ConvertedName:  "SynAckClaimsMisMatch",
		Description:    `Counter for SYN ACK packet dropped because of encryption mismatch.`,
		Exposed:        true,
		Name:           "SynAckClaimsMisMatch",
		Stored:         true,
		Type:           "integer",
	},
	"SynAckDroppedExternalService": {
		AllowedChoices: []string{},
		BSONFieldName:  "x",
		ConvertedName:  "SynAckDroppedExternalService",
		Description:    `Counter for SYN ACK from external service dropped.`,
		Exposed:        true,
		Name:           "SynAckDroppedExternalService",
		Stored:         true,
		Type:           "integer",
	},
	"SynAckInvalidFormat": {
		AllowedChoices: []string{},
		BSONFieldName:  "y",
		ConvertedName:  "SynAckInvalidFormat",
		Description:    `Counter for SYN ACK packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "SynAckInvalidFormat",
		Stored:         true,
		Type:           "integer",
	},
	"SynAckMissingClaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "z",
		ConvertedName:  "SynAckMissingClaims",
		Description:    `Counter for SYN ACK packet dropped because of no claims.`,
		Exposed:        true,
		Name:           "SynAckMissingClaims",
		Stored:         true,
		Type:           "integer",
	},
	"SynAckMissingToken": {
		AllowedChoices: []string{},
		BSONFieldName:  "aa",
		ConvertedName:  "SynAckMissingToken",
		Description:    `Counter for SYN ACK packet dropped because of missing token.`,
		Exposed:        true,
		Name:           "SynAckMissingToken",
		Stored:         true,
		Type:           "integer",
	},
	"SynAckNoTCPAuthOption": {
		AllowedChoices: []string{},
		BSONFieldName:  "ab",
		ConvertedName:  "SynAckNoTCPAuthOption",
		Description:    `Counter for TCP authentication option not found.`,
		Exposed:        true,
		Name:           "SynAckNoTCPAuthOption",
		Stored:         true,
		Type:           "integer",
	},
	"SynAckRejected": {
		AllowedChoices: []string{},
		BSONFieldName:  "ac",
		ConvertedName:  "SynAckRejected",
		Description:    `Counter for dropping because of reject rule on transmitter.`,
		Exposed:        true,
		Name:           "SynAckRejected",
		Stored:         true,
		Type:           "integer",
	},
	"SynDroppedInvalidFormat": {
		AllowedChoices: []string{},
		BSONFieldName:  "ad",
		ConvertedName:  "SynDroppedInvalidFormat",
		Description:    `Counter for SYN packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "SynDroppedInvalidFormat",
		Stored:         true,
		Type:           "integer",
	},
	"SynDroppedInvalidToken": {
		AllowedChoices: []string{},
		BSONFieldName:  "af",
		ConvertedName:  "SynDroppedInvalidToken",
		Description:    `Counter for SYN packet dropped because of invalid token.`,
		Exposed:        true,
		Name:           "SynDroppedInvalidToken",
		Stored:         true,
		Type:           "integer",
	},
	"SynDroppedNoClaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "ag",
		ConvertedName:  "SynDroppedNoClaims",
		Description:    `Counter for SYN packet dropped because of no claims.`,
		Exposed:        true,
		Name:           "SynDroppedNoClaims",
		Stored:         true,
		Type:           "integer",
	},
	"SynDroppedTCPOption": {
		AllowedChoices: []string{},
		BSONFieldName:  "ah",
		ConvertedName:  "SynDroppedTCPOption",
		Description:    `Counter for TCP authentication option not found.`,
		Exposed:        true,
		Name:           "SynDroppedTCPOption",
		Stored:         true,
		Type:           "integer",
	},
	"SynRejectPacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "ai",
		ConvertedName:  "SynRejectPacket",
		Description:    `Counter for SYN packet dropped due to policy.`,
		Exposed:        true,
		Name:           "SynRejectPacket",
		Stored:         true,
		Type:           "integer",
	},
	"SynUnexpectedPacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "aj",
		ConvertedName:  "SynUnexpectedPacket",
		Description:    `Counter for received SYN packet from unknown processing unit.`,
		Exposed:        true,
		Name:           "SynUnexpectedPacket",
		Stored:         true,
		Type:           "integer",
	},
	"TCPAuthNotFound": {
		AllowedChoices: []string{},
		BSONFieldName:  "ak",
		ConvertedName:  "TCPAuthNotFound",
		Description:    `Counter for TCP authentication option not found.`,
		Exposed:        true,
		Name:           "TCPAuthNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"UDPAckInvalidSignature": {
		AllowedChoices: []string{},
		BSONFieldName:  "al",
		ConvertedName:  "UDPAckInvalidSignature",
		Description:    `Counter for UDP ACK packet dropped due to an invalid signature.`,
		Exposed:        true,
		Name:           "UDPAckInvalidSignature",
		Stored:         true,
		Type:           "integer",
	},
	"UDPConnectionsProcessed": {
		AllowedChoices: []string{},
		BSONFieldName:  "am",
		ConvertedName:  "UDPConnectionsProcessed",
		Description:    `Counter for number of processed UDP connections.`,
		Exposed:        true,
		Name:           "UDPConnectionsProcessed",
		Stored:         true,
		Type:           "integer",
	},
	"UDPDropContextNotFound": {
		AllowedChoices: []string{},
		BSONFieldName:  "an",
		ConvertedName:  "UDPDropContextNotFound",
		Description:    `Counter for dropped UDP data packets with no context.`,
		Exposed:        true,
		Name:           "UDPDropContextNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"UDPDropFin": {
		AllowedChoices: []string{},
		BSONFieldName:  "ao",
		ConvertedName:  "UDPDropFin",
		Description:    `Counter for dropped UDP FIN handshake packets.`,
		Exposed:        true,
		Name:           "UDPDropFin",
		Stored:         true,
		Type:           "integer",
	},
	"UDPDropInNfQueue": {
		AllowedChoices: []string{},
		BSONFieldName:  "ap",
		ConvertedName:  "UDPDropInNfQueue",
		Description:    `Counter for dropped UDP in NfQueue.`,
		Exposed:        true,
		Name:           "UDPDropInNfQueue",
		Stored:         true,
		Type:           "integer",
	},
	"UDPDropNoConnection": {
		AllowedChoices: []string{},
		BSONFieldName:  "aq",
		ConvertedName:  "UDPDropNoConnection",
		Description:    `Counter for dropped UDP data packets with no connection.`,
		Exposed:        true,
		Name:           "UDPDropNoConnection",
		Stored:         true,
		Type:           "integer",
	},
	"UDPDropPacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "ar",
		ConvertedName:  "UDPDropPacket",
		Description:    `Counter for dropped UDP data packets.`,
		Exposed:        true,
		Name:           "UDPDropPacket",
		Stored:         true,
		Type:           "integer",
	},
	"UDPDropQueueFull": {
		AllowedChoices: []string{},
		BSONFieldName:  "as",
		ConvertedName:  "UDPDropQueueFull",
		Description:    `Counter for dropped UDP queue full.`,
		Exposed:        true,
		Name:           "UDPDropQueueFull",
		Stored:         true,
		Type:           "integer",
	},
	"UDPDropSynAck": {
		AllowedChoices: []string{},
		BSONFieldName:  "at",
		ConvertedName:  "UDPDropSynAck",
		Description:    `Counter for dropped UDP SYN ACK handshake packets.`,
		Exposed:        true,
		Name:           "UDPDropSynAck",
		Stored:         true,
		Type:           "integer",
	},
	"UDPInvalidNetState": {
		AllowedChoices: []string{},
		BSONFieldName:  "au",
		ConvertedName:  "UDPInvalidNetState",
		Description:    `Counter for UDP packets received in invalid network state.`,
		Exposed:        true,
		Name:           "UDPInvalidNetState",
		Stored:         true,
		Type:           "integer",
	},
	"UDPPostProcessingFailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "av",
		ConvertedName:  "UDPPostProcessingFailed",
		Description:    `Counter for UDP packets failing postprocessing.`,
		Exposed:        true,
		Name:           "UDPPostProcessingFailed",
		Stored:         true,
		Type:           "integer",
	},
	"UDPPreProcessingFailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "aw",
		ConvertedName:  "UDPPreProcessingFailed",
		Description:    `Counter for UDP packets failing preprocessing.`,
		Exposed:        true,
		Name:           "UDPPreProcessingFailed",
		Stored:         true,
		Type:           "integer",
	},
	"UDPRejected": {
		AllowedChoices: []string{},
		BSONFieldName:  "ax",
		ConvertedName:  "UDPRejected",
		Description:    `Counter for UDP packets dropped due to policy.`,
		Exposed:        true,
		Name:           "UDPRejected",
		Stored:         true,
		Type:           "integer",
	},
	"UDPSynAckDropBadClaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "ay",
		ConvertedName:  "UDPSynAckDropBadClaims",
		Description:    `Counter for UDP SYN ACK packets dropped due to bad claims.`,
		Exposed:        true,
		Name:           "UDPSynAckDropBadClaims",
		Stored:         true,
		Type:           "integer",
	},
	"UDPSynAckMissingClaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "az",
		ConvertedName:  "UDPSynAckMissingClaims",
		Description:    `Counter for UDP SYN ACK packets dropped due to missing claims.`,
		Exposed:        true,
		Name:           "UDPSynAckMissingClaims",
		Stored:         true,
		Type:           "integer",
	},
	"UDPSynAckPolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "ba",
		ConvertedName:  "UDPSynAckPolicy",
		Description:    `Counter for UDP SYN ACK packets dropped due to bad claims.`,
		Exposed:        true,
		Name:           "UDPSynAckPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"UDPSynDrop": {
		AllowedChoices: []string{},
		BSONFieldName:  "bb",
		ConvertedName:  "UDPSynDrop",
		Description:    `Counter for dropped UDP SYN transmits.`,
		Exposed:        true,
		Name:           "UDPSynDrop",
		Stored:         true,
		Type:           "integer",
	},
	"UDPSynDropPolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "bc",
		ConvertedName:  "UDPSynDropPolicy",
		Description:    `Counter for dropped UDP SYN policy.`,
		Exposed:        true,
		Name:           "UDPSynDropPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"UDPSynInvalidToken": {
		AllowedChoices: []string{},
		BSONFieldName:  "bd",
		ConvertedName:  "UDPSynInvalidToken",
		Description:    `Counter for dropped UDP FIN handshake packets.`,
		Exposed:        true,
		Name:           "UDPSynInvalidToken",
		Stored:         true,
		Type:           "integer",
	},
	"UDPSynMissingClaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "be",
		ConvertedName:  "UDPSynMissingClaims",
		Description:    `Counter for UDP SYN packet dropped due to missing claims.`,
		Exposed:        true,
		Name:           "UDPSynMissingClaims",
		Stored:         true,
		Type:           "integer",
	},
	"UnknownError": {
		AllowedChoices: []string{},
		BSONFieldName:  "bf",
		ConvertedName:  "UnknownError",
		Description:    `Counter for unknown error.`,
		Exposed:        true,
		Name:           "UnknownError",
		Stored:         true,
		Type:           "integer",
	},
	"ConnectionsAnalyzed": {
		AllowedChoices: []string{},
		BSONFieldName:  "bg",
		ConvertedName:  "ConnectionsAnalyzed",
		Description: `Non-zero counter indicates analyzed connections for unencrypted, encrypted,
and packets from endpoint applications with the TCP Fast Open option set. These
are not dropped counter.`,
		Exposed: true,
		Name:    "connectionsAnalyzed",
		Stored:  true,
		Type:    "integer",
	},
	"ConnectionsDropped": {
		AllowedChoices: []string{},
		BSONFieldName:  "bh",
		ConvertedName:  "ConnectionsDropped",
		Description: `Non-zero counter indicates dropped connections because of invalid state,
non-processing unit traffic, or out of order packets.`,
		Exposed: true,
		Name:    "connectionsDropped",
		Stored:  true,
		Type:    "integer",
	},
	"ConnectionsExpired": {
		AllowedChoices: []string{},
		BSONFieldName:  "bi",
		ConvertedName:  "ConnectionsExpired",
		Description: `Non-zero counter indicates expired connections because of response not being
received within a certain amount of time after the request is made.`,
		Exposed: true,
		Name:    "connectionsExpired",
		Stored:  true,
		Type:    "integer",
	},
	"DroppedPackets": {
		AllowedChoices: []string{},
		BSONFieldName:  "bj",
		ConvertedName:  "DroppedPackets",
		Description: `Non-zero counter indicates dropped packets that did not hit any of our iptables
rules and queue drops.`,
		Exposed: true,
		Name:    "droppedPackets",
		Stored:  true,
		Type:    "integer",
	},
	"EncryptionFailures": {
		AllowedChoices: []string{},
		BSONFieldName:  "bk",
		ConvertedName:  "EncryptionFailures",
		Description:    `Non-zero counter indicates encryption processing failures of data packets.`,
		Exposed:        true,
		Name:           "encryptionFailures",
		Stored:         true,
		Type:           "integer",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "bl",
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "bm",
		ConvertedName:  "EnforcerNamespace",
		Deprecated:     true,
		Description: `Namespace of the enforcer sending the report. This field is deprecated. Use the
'namespace' field instead.
field instead.`,
		Exposed: true,
		Name:    "enforcerNamespace",
		Stored:  true,
		Type:    "string",
	},
	"ExternalNetworkConnections": {
		AllowedChoices: []string{},
		BSONFieldName:  "bn",
		ConvertedName:  "ExternalNetworkConnections",
		Description: `Non-zero counter indicates connections going to and from external networks.
These may be drops or allowed counters.`,
		Exposed: true,
		Name:    "externalNetworkConnections",
		Stored:  true,
		Type:    "integer",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "bt",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the enforcer sending the report.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"PolicyDrops": {
		AllowedChoices: []string{},
		BSONFieldName:  "bo",
		ConvertedName:  "PolicyDrops",
		Description:    `Non-zero counter indicates packets dropped due to a reject policy.`,
		Exposed:        true,
		Name:           "policyDrops",
		Stored:         true,
		Type:           "integer",
	},
	"ProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "bp",
		ConvertedName:  "ProcessingUnitID",
		Description:    `PUID is the ID of the processing unit reporting the counter.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "processingUnitID",
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "bq",
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit reporting the counter.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "processingUnitNamespace",
		Stored:         true,
		Type:           "string",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "br",
		ConvertedName:  "Timestamp",
		Description:    `Timestamp is the date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"TokenDrops": {
		AllowedChoices: []string{},
		BSONFieldName:  "bs",
		ConvertedName:  "TokenDrops",
		Description: `Non-zero counter indicates packets rejected due to anything related to token
creation/parsing failures.`,
		Exposed: true,
		Name:    "tokenDrops",
		Stored:  true,
		Type:    "integer",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CounterReportAttributesMap represents the map of attribute for CounterReport.

View Source
var CounterReportIdentity = elemental.Identity{
	Name:     "counterreport",
	Category: "counterreports",
	Package:  "zack",
	Private:  false,
}

CounterReportIdentity represents the Identity of the object.

View Source
var CounterReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"ackinunknownstate": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "AckInUnknownState",
		Description:    `Counter for sending FIN ACK received in unknown connection state.`,
		Exposed:        true,
		Name:           "AckInUnknownState",
		Stored:         true,
		Type:           "integer",
	},
	"ackinvalidformat": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "AckInvalidFormat",
		Description:    `Counter for ACK packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "AckInvalidFormat",
		Stored:         true,
		Type:           "integer",
	},
	"ackrejected": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "AckRejected",
		Description:    `Counter for ACK packets rejected as per policy.`,
		Exposed:        true,
		Name:           "AckRejected",
		Stored:         true,
		Type:           "integer",
	},
	"acksigvalidationfailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "AckSigValidationFailed",
		Description:    `Counter for ACK packet dropped because signature validation failed.`,
		Exposed:        true,
		Name:           "AckSigValidationFailed",
		Stored:         true,
		Type:           "integer",
	},
	"acktcpnotcpauthoption": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "AckTCPNoTCPAuthOption",
		Description:    `Counter for TCP authentication option not found.`,
		Exposed:        true,
		Name:           "AckTCPNoTCPAuthOption",
		Stored:         true,
		Type:           "integer",
	},
	"connectionsprocessed": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "ConnectionsProcessed",
		Description:    `Counter for connections processed.`,
		Exposed:        true,
		Name:           "ConnectionsProcessed",
		Stored:         true,
		Type:           "integer",
	},
	"contextidnotfound": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "ContextIDNotFound",
		Description:    `Counter for unable to find ContextID.`,
		Exposed:        true,
		Name:           "ContextIDNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"droppedexternalservice": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "DroppedExternalService",
		Description: `Counter for no ACLs found for external services. Dropping application SYN
packet.`,
		Exposed: true,
		Name:    "DroppedExternalService",
		Stored:  true,
		Type:    "integer",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"invalidconnstate": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "InvalidConnState",
		Description:    `Counter for invalid connection state.`,
		Exposed:        true,
		Name:           "InvalidConnState",
		Stored:         true,
		Type:           "integer",
	},
	"invalidnetstate": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "InvalidNetState",
		Description:    `Counter for invalid net state.`,
		Exposed:        true,
		Name:           "InvalidNetState",
		Stored:         true,
		Type:           "integer",
	},
	"invalidprotocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "InvalidProtocol",
		Description:    `Counter for invalid protocol.`,
		Exposed:        true,
		Name:           "InvalidProtocol",
		Stored:         true,
		Type:           "integer",
	},
	"invalidsynack": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "InvalidSynAck",
		Description:    `Counter for processing unit is already dead - drop SYN ACK packet.`,
		Exposed:        true,
		Name:           "InvalidSynAck",
		Stored:         true,
		Type:           "integer",
	},
	"marknotfound": {
		AllowedChoices: []string{},
		BSONFieldName:  "m",
		ConvertedName:  "MarkNotFound",
		Description:    `Counter for processing unit mark not found.`,
		Exposed:        true,
		Name:           "MarkNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"netsynnotseen": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "NetSynNotSeen",
		Description:    `Counter for network SYN packet was not seen.`,
		Exposed:        true,
		Name:           "NetSynNotSeen",
		Stored:         true,
		Type:           "integer",
	},
	"noconnfound": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "NoConnFound",
		Description:    `Counter for no context or connection found.`,
		Exposed:        true,
		Name:           "NoConnFound",
		Stored:         true,
		Type:           "integer",
	},
	"nonputraffic": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "NonPUTraffic",
		Description:    `Counter for traffic that belongs to a non-processing unit process.`,
		Exposed:        true,
		Name:           "NonPUTraffic",
		Stored:         true,
		Type:           "integer",
	},
	"outofordersynack": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "OutOfOrderSynAck",
		Description:    `Counter for SYN ACK for flow with processed FIN ACK.`,
		Exposed:        true,
		Name:           "OutOfOrderSynAck",
		Stored:         true,
		Type:           "integer",
	},
	"portnotfound": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "PortNotFound",
		Description:    `Counter for port not found.`,
		Exposed:        true,
		Name:           "PortNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"rejectpacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "RejectPacket",
		Description:    `Counter for reject the packet as per policy.`,
		Exposed:        true,
		Name:           "RejectPacket",
		Stored:         true,
		Type:           "integer",
	},
	"servicepostprocessorfailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "ServicePostprocessorFailed",
		Description:    `Counter for post service processing failed for network packet.`,
		Exposed:        true,
		Name:           "ServicePostprocessorFailed",
		Stored:         true,
		Type:           "integer",
	},
	"servicepreprocessorfailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "u",
		ConvertedName:  "ServicePreprocessorFailed",
		Description:    `Counter for network packets that failed preprocessing.`,
		Exposed:        true,
		Name:           "ServicePreprocessorFailed",
		Stored:         true,
		Type:           "integer",
	},
	"synackbadclaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "v",
		ConvertedName:  "SynAckBadClaims",
		Description:    `Counter for SYN ACK packet dropped because of bad claims.`,
		Exposed:        true,
		Name:           "SynAckBadClaims",
		Stored:         true,
		Type:           "integer",
	},
	"synackclaimsmismatch": {
		AllowedChoices: []string{},
		BSONFieldName:  "w",
		ConvertedName:  "SynAckClaimsMisMatch",
		Description:    `Counter for SYN ACK packet dropped because of encryption mismatch.`,
		Exposed:        true,
		Name:           "SynAckClaimsMisMatch",
		Stored:         true,
		Type:           "integer",
	},
	"synackdroppedexternalservice": {
		AllowedChoices: []string{},
		BSONFieldName:  "x",
		ConvertedName:  "SynAckDroppedExternalService",
		Description:    `Counter for SYN ACK from external service dropped.`,
		Exposed:        true,
		Name:           "SynAckDroppedExternalService",
		Stored:         true,
		Type:           "integer",
	},
	"synackinvalidformat": {
		AllowedChoices: []string{},
		BSONFieldName:  "y",
		ConvertedName:  "SynAckInvalidFormat",
		Description:    `Counter for SYN ACK packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "SynAckInvalidFormat",
		Stored:         true,
		Type:           "integer",
	},
	"synackmissingclaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "z",
		ConvertedName:  "SynAckMissingClaims",
		Description:    `Counter for SYN ACK packet dropped because of no claims.`,
		Exposed:        true,
		Name:           "SynAckMissingClaims",
		Stored:         true,
		Type:           "integer",
	},
	"synackmissingtoken": {
		AllowedChoices: []string{},
		BSONFieldName:  "aa",
		ConvertedName:  "SynAckMissingToken",
		Description:    `Counter for SYN ACK packet dropped because of missing token.`,
		Exposed:        true,
		Name:           "SynAckMissingToken",
		Stored:         true,
		Type:           "integer",
	},
	"synacknotcpauthoption": {
		AllowedChoices: []string{},
		BSONFieldName:  "ab",
		ConvertedName:  "SynAckNoTCPAuthOption",
		Description:    `Counter for TCP authentication option not found.`,
		Exposed:        true,
		Name:           "SynAckNoTCPAuthOption",
		Stored:         true,
		Type:           "integer",
	},
	"synackrejected": {
		AllowedChoices: []string{},
		BSONFieldName:  "ac",
		ConvertedName:  "SynAckRejected",
		Description:    `Counter for dropping because of reject rule on transmitter.`,
		Exposed:        true,
		Name:           "SynAckRejected",
		Stored:         true,
		Type:           "integer",
	},
	"syndroppedinvalidformat": {
		AllowedChoices: []string{},
		BSONFieldName:  "ad",
		ConvertedName:  "SynDroppedInvalidFormat",
		Description:    `Counter for SYN packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "SynDroppedInvalidFormat",
		Stored:         true,
		Type:           "integer",
	},
	"syndroppedinvalidtoken": {
		AllowedChoices: []string{},
		BSONFieldName:  "af",
		ConvertedName:  "SynDroppedInvalidToken",
		Description:    `Counter for SYN packet dropped because of invalid token.`,
		Exposed:        true,
		Name:           "SynDroppedInvalidToken",
		Stored:         true,
		Type:           "integer",
	},
	"syndroppednoclaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "ag",
		ConvertedName:  "SynDroppedNoClaims",
		Description:    `Counter for SYN packet dropped because of no claims.`,
		Exposed:        true,
		Name:           "SynDroppedNoClaims",
		Stored:         true,
		Type:           "integer",
	},
	"syndroppedtcpoption": {
		AllowedChoices: []string{},
		BSONFieldName:  "ah",
		ConvertedName:  "SynDroppedTCPOption",
		Description:    `Counter for TCP authentication option not found.`,
		Exposed:        true,
		Name:           "SynDroppedTCPOption",
		Stored:         true,
		Type:           "integer",
	},
	"synrejectpacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "ai",
		ConvertedName:  "SynRejectPacket",
		Description:    `Counter for SYN packet dropped due to policy.`,
		Exposed:        true,
		Name:           "SynRejectPacket",
		Stored:         true,
		Type:           "integer",
	},
	"synunexpectedpacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "aj",
		ConvertedName:  "SynUnexpectedPacket",
		Description:    `Counter for received SYN packet from unknown processing unit.`,
		Exposed:        true,
		Name:           "SynUnexpectedPacket",
		Stored:         true,
		Type:           "integer",
	},
	"tcpauthnotfound": {
		AllowedChoices: []string{},
		BSONFieldName:  "ak",
		ConvertedName:  "TCPAuthNotFound",
		Description:    `Counter for TCP authentication option not found.`,
		Exposed:        true,
		Name:           "TCPAuthNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"udpackinvalidsignature": {
		AllowedChoices: []string{},
		BSONFieldName:  "al",
		ConvertedName:  "UDPAckInvalidSignature",
		Description:    `Counter for UDP ACK packet dropped due to an invalid signature.`,
		Exposed:        true,
		Name:           "UDPAckInvalidSignature",
		Stored:         true,
		Type:           "integer",
	},
	"udpconnectionsprocessed": {
		AllowedChoices: []string{},
		BSONFieldName:  "am",
		ConvertedName:  "UDPConnectionsProcessed",
		Description:    `Counter for number of processed UDP connections.`,
		Exposed:        true,
		Name:           "UDPConnectionsProcessed",
		Stored:         true,
		Type:           "integer",
	},
	"udpdropcontextnotfound": {
		AllowedChoices: []string{},
		BSONFieldName:  "an",
		ConvertedName:  "UDPDropContextNotFound",
		Description:    `Counter for dropped UDP data packets with no context.`,
		Exposed:        true,
		Name:           "UDPDropContextNotFound",
		Stored:         true,
		Type:           "integer",
	},
	"udpdropfin": {
		AllowedChoices: []string{},
		BSONFieldName:  "ao",
		ConvertedName:  "UDPDropFin",
		Description:    `Counter for dropped UDP FIN handshake packets.`,
		Exposed:        true,
		Name:           "UDPDropFin",
		Stored:         true,
		Type:           "integer",
	},
	"udpdropinnfqueue": {
		AllowedChoices: []string{},
		BSONFieldName:  "ap",
		ConvertedName:  "UDPDropInNfQueue",
		Description:    `Counter for dropped UDP in NfQueue.`,
		Exposed:        true,
		Name:           "UDPDropInNfQueue",
		Stored:         true,
		Type:           "integer",
	},
	"udpdropnoconnection": {
		AllowedChoices: []string{},
		BSONFieldName:  "aq",
		ConvertedName:  "UDPDropNoConnection",
		Description:    `Counter for dropped UDP data packets with no connection.`,
		Exposed:        true,
		Name:           "UDPDropNoConnection",
		Stored:         true,
		Type:           "integer",
	},
	"udpdroppacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "ar",
		ConvertedName:  "UDPDropPacket",
		Description:    `Counter for dropped UDP data packets.`,
		Exposed:        true,
		Name:           "UDPDropPacket",
		Stored:         true,
		Type:           "integer",
	},
	"udpdropqueuefull": {
		AllowedChoices: []string{},
		BSONFieldName:  "as",
		ConvertedName:  "UDPDropQueueFull",
		Description:    `Counter for dropped UDP queue full.`,
		Exposed:        true,
		Name:           "UDPDropQueueFull",
		Stored:         true,
		Type:           "integer",
	},
	"udpdropsynack": {
		AllowedChoices: []string{},
		BSONFieldName:  "at",
		ConvertedName:  "UDPDropSynAck",
		Description:    `Counter for dropped UDP SYN ACK handshake packets.`,
		Exposed:        true,
		Name:           "UDPDropSynAck",
		Stored:         true,
		Type:           "integer",
	},
	"udpinvalidnetstate": {
		AllowedChoices: []string{},
		BSONFieldName:  "au",
		ConvertedName:  "UDPInvalidNetState",
		Description:    `Counter for UDP packets received in invalid network state.`,
		Exposed:        true,
		Name:           "UDPInvalidNetState",
		Stored:         true,
		Type:           "integer",
	},
	"udppostprocessingfailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "av",
		ConvertedName:  "UDPPostProcessingFailed",
		Description:    `Counter for UDP packets failing postprocessing.`,
		Exposed:        true,
		Name:           "UDPPostProcessingFailed",
		Stored:         true,
		Type:           "integer",
	},
	"udppreprocessingfailed": {
		AllowedChoices: []string{},
		BSONFieldName:  "aw",
		ConvertedName:  "UDPPreProcessingFailed",
		Description:    `Counter for UDP packets failing preprocessing.`,
		Exposed:        true,
		Name:           "UDPPreProcessingFailed",
		Stored:         true,
		Type:           "integer",
	},
	"udprejected": {
		AllowedChoices: []string{},
		BSONFieldName:  "ax",
		ConvertedName:  "UDPRejected",
		Description:    `Counter for UDP packets dropped due to policy.`,
		Exposed:        true,
		Name:           "UDPRejected",
		Stored:         true,
		Type:           "integer",
	},
	"udpsynackdropbadclaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "ay",
		ConvertedName:  "UDPSynAckDropBadClaims",
		Description:    `Counter for UDP SYN ACK packets dropped due to bad claims.`,
		Exposed:        true,
		Name:           "UDPSynAckDropBadClaims",
		Stored:         true,
		Type:           "integer",
	},
	"udpsynackmissingclaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "az",
		ConvertedName:  "UDPSynAckMissingClaims",
		Description:    `Counter for UDP SYN ACK packets dropped due to missing claims.`,
		Exposed:        true,
		Name:           "UDPSynAckMissingClaims",
		Stored:         true,
		Type:           "integer",
	},
	"udpsynackpolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "ba",
		ConvertedName:  "UDPSynAckPolicy",
		Description:    `Counter for UDP SYN ACK packets dropped due to bad claims.`,
		Exposed:        true,
		Name:           "UDPSynAckPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"udpsyndrop": {
		AllowedChoices: []string{},
		BSONFieldName:  "bb",
		ConvertedName:  "UDPSynDrop",
		Description:    `Counter for dropped UDP SYN transmits.`,
		Exposed:        true,
		Name:           "UDPSynDrop",
		Stored:         true,
		Type:           "integer",
	},
	"udpsyndroppolicy": {
		AllowedChoices: []string{},
		BSONFieldName:  "bc",
		ConvertedName:  "UDPSynDropPolicy",
		Description:    `Counter for dropped UDP SYN policy.`,
		Exposed:        true,
		Name:           "UDPSynDropPolicy",
		Stored:         true,
		Type:           "integer",
	},
	"udpsyninvalidtoken": {
		AllowedChoices: []string{},
		BSONFieldName:  "bd",
		ConvertedName:  "UDPSynInvalidToken",
		Description:    `Counter for dropped UDP FIN handshake packets.`,
		Exposed:        true,
		Name:           "UDPSynInvalidToken",
		Stored:         true,
		Type:           "integer",
	},
	"udpsynmissingclaims": {
		AllowedChoices: []string{},
		BSONFieldName:  "be",
		ConvertedName:  "UDPSynMissingClaims",
		Description:    `Counter for UDP SYN packet dropped due to missing claims.`,
		Exposed:        true,
		Name:           "UDPSynMissingClaims",
		Stored:         true,
		Type:           "integer",
	},
	"unknownerror": {
		AllowedChoices: []string{},
		BSONFieldName:  "bf",
		ConvertedName:  "UnknownError",
		Description:    `Counter for unknown error.`,
		Exposed:        true,
		Name:           "UnknownError",
		Stored:         true,
		Type:           "integer",
	},
	"connectionsanalyzed": {
		AllowedChoices: []string{},
		BSONFieldName:  "bg",
		ConvertedName:  "ConnectionsAnalyzed",
		Description: `Non-zero counter indicates analyzed connections for unencrypted, encrypted,
and packets from endpoint applications with the TCP Fast Open option set. These
are not dropped counter.`,
		Exposed: true,
		Name:    "connectionsAnalyzed",
		Stored:  true,
		Type:    "integer",
	},
	"connectionsdropped": {
		AllowedChoices: []string{},
		BSONFieldName:  "bh",
		ConvertedName:  "ConnectionsDropped",
		Description: `Non-zero counter indicates dropped connections because of invalid state,
non-processing unit traffic, or out of order packets.`,
		Exposed: true,
		Name:    "connectionsDropped",
		Stored:  true,
		Type:    "integer",
	},
	"connectionsexpired": {
		AllowedChoices: []string{},
		BSONFieldName:  "bi",
		ConvertedName:  "ConnectionsExpired",
		Description: `Non-zero counter indicates expired connections because of response not being
received within a certain amount of time after the request is made.`,
		Exposed: true,
		Name:    "connectionsExpired",
		Stored:  true,
		Type:    "integer",
	},
	"droppedpackets": {
		AllowedChoices: []string{},
		BSONFieldName:  "bj",
		ConvertedName:  "DroppedPackets",
		Description: `Non-zero counter indicates dropped packets that did not hit any of our iptables
rules and queue drops.`,
		Exposed: true,
		Name:    "droppedPackets",
		Stored:  true,
		Type:    "integer",
	},
	"encryptionfailures": {
		AllowedChoices: []string{},
		BSONFieldName:  "bk",
		ConvertedName:  "EncryptionFailures",
		Description:    `Non-zero counter indicates encryption processing failures of data packets.`,
		Exposed:        true,
		Name:           "encryptionFailures",
		Stored:         true,
		Type:           "integer",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "bl",
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "bm",
		ConvertedName:  "EnforcerNamespace",
		Deprecated:     true,
		Description: `Namespace of the enforcer sending the report. This field is deprecated. Use the
'namespace' field instead.
field instead.`,
		Exposed: true,
		Name:    "enforcerNamespace",
		Stored:  true,
		Type:    "string",
	},
	"externalnetworkconnections": {
		AllowedChoices: []string{},
		BSONFieldName:  "bn",
		ConvertedName:  "ExternalNetworkConnections",
		Description: `Non-zero counter indicates connections going to and from external networks.
These may be drops or allowed counters.`,
		Exposed: true,
		Name:    "externalNetworkConnections",
		Stored:  true,
		Type:    "integer",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "bt",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the enforcer sending the report.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"policydrops": {
		AllowedChoices: []string{},
		BSONFieldName:  "bo",
		ConvertedName:  "PolicyDrops",
		Description:    `Non-zero counter indicates packets dropped due to a reject policy.`,
		Exposed:        true,
		Name:           "policyDrops",
		Stored:         true,
		Type:           "integer",
	},
	"processingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "bp",
		ConvertedName:  "ProcessingUnitID",
		Description:    `PUID is the ID of the processing unit reporting the counter.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "processingUnitID",
		Stored:         true,
		Type:           "string",
	},
	"processingunitnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "bq",
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit reporting the counter.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "processingUnitNamespace",
		Stored:         true,
		Type:           "string",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "br",
		ConvertedName:  "Timestamp",
		Description:    `Timestamp is the date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"tokendrops": {
		AllowedChoices: []string{},
		BSONFieldName:  "bs",
		ConvertedName:  "TokenDrops",
		Description: `Non-zero counter indicates packets rejected due to anything related to token
creation/parsing failures.`,
		Exposed: true,
		Name:    "tokenDrops",
		Stored:  true,
		Type:    "integer",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

CounterReportLowerCaseAttributesMap represents the map of attribute for CounterReport.

View Source
var DNSLookupReportAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Accept", "Fail", "Reject", "Resolve"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action of the DNS request.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the PU.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "ProcessingUnitNamespace",
		Deprecated:     true,
		Description:    `Namespace of the PU. This is deprecated. Use ` + "`" + `namespace` + "`" + ` instead.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Stored:         true,
		Type:           "string",
	},
	"Reason": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "Reason",
		Description: `This field is only set when the lookup fails. It specifies the reason for the
failure.`,
		Exposed: true,
		Name:    "reason",
		Stored:  true,
		Type:    "string",
	},
	"ResolvedCNAMEs": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "ResolvedCNAMEs",
		Description:    `CNAME aliases.`,
		Exposed:        true,
		Name:           "resolvedCNAMEs",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ResolvedIPs": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "ResolvedIPs",
		Description:    `resolved IP addresses.`,
		Exposed:        true,
		Name:           "resolvedIPs",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ResolvedName": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "ResolvedName",
		Description:    `name used for DNS resolution.`,
		Exposed:        true,
		Name:           "resolvedName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"SourceIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "SourceIP",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceIP",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the log.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Value": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Value",
		Description:    `Number of times the client saw this activity.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

DNSLookupReportAttributesMap represents the map of attribute for DNSLookupReport.

View Source
var DNSLookupReportIdentity = elemental.Identity{
	Name:     "dnslookupreport",
	Category: "dnslookupreports",
	Package:  "zack",
	Private:  false,
}

DNSLookupReportIdentity represents the Identity of the object.

View Source
var DNSLookupReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Accept", "Fail", "Reject", "Resolve"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action of the DNS request.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"processingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the PU.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"processingunitnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "ProcessingUnitNamespace",
		Deprecated:     true,
		Description:    `Namespace of the PU. This is deprecated. Use ` + "`" + `namespace` + "`" + ` instead.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Stored:         true,
		Type:           "string",
	},
	"reason": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "Reason",
		Description: `This field is only set when the lookup fails. It specifies the reason for the
failure.`,
		Exposed: true,
		Name:    "reason",
		Stored:  true,
		Type:    "string",
	},
	"resolvedcnames": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "ResolvedCNAMEs",
		Description:    `CNAME aliases.`,
		Exposed:        true,
		Name:           "resolvedCNAMEs",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"resolvedips": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "ResolvedIPs",
		Description:    `resolved IP addresses.`,
		Exposed:        true,
		Name:           "resolvedIPs",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"resolvedname": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "ResolvedName",
		Description:    `name used for DNS resolution.`,
		Exposed:        true,
		Name:           "resolvedName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"sourceip": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "SourceIP",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceIP",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the log.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"value": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Value",
		Description:    `Number of times the client saw this activity.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

DNSLookupReportLowerCaseAttributesMap represents the map of attribute for DNSLookupReport.

View Source
var DataPathCertificateAttributesMap = map[string]elemental.AttributeSpecification{
	"CSR": {
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		Description: `Contains a certificate signing request (CSR) from the enforcer. Depending on the
certificate there will be various requirements for the Microsegmentation Console
to accept the CSR.`,
		Exposed:  true,
		Name:     "CSR",
		Required: true,
		Type:     "string",
	},
	"Certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `The certificate.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"ObjectID": {
		AllowedChoices: []string{},
		ConvertedName:  "ObjectID",
		Description:    `ID of the object you want to issue a certificate for.`,
		Exposed:        true,
		Name:           "objectID",
		Required:       true,
		Type:           "string",
	},
	"SessionID": {
		AllowedChoices: []string{},
		ConvertedName:  "SessionID",
		Description:    `Provides the session ID of the enforcer when retrieving a datapath certificate.`,
		Exposed:        true,
		Name:           "sessionID",
		Type:           "string",
	},
	"Signer": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Signer",
		Description:    `Contains the CA that signed the delivered certificate.`,
		Exposed:        true,
		Name:           "signer",
		ReadOnly:       true,
		Type:           "string",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Contains a cryptographic token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{"Enforcer", "Service", "ServicePing", "KubernetesCluster"},
		ConvertedName:  "Type",
		Description:    `Type of certificate.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
}

DataPathCertificateAttributesMap represents the map of attribute for DataPathCertificate.

View Source
var DataPathCertificateIdentity = elemental.Identity{
	Name:     "datapathcertificate",
	Category: "datapathcertificates",
	Package:  "squall",
	Private:  false,
}

DataPathCertificateIdentity represents the Identity of the object.

View Source
var DataPathCertificateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"csr": {
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		Description: `Contains a certificate signing request (CSR) from the enforcer. Depending on the
certificate there will be various requirements for the Microsegmentation Console
to accept the CSR.`,
		Exposed:  true,
		Name:     "CSR",
		Required: true,
		Type:     "string",
	},
	"certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `The certificate.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"objectid": {
		AllowedChoices: []string{},
		ConvertedName:  "ObjectID",
		Description:    `ID of the object you want to issue a certificate for.`,
		Exposed:        true,
		Name:           "objectID",
		Required:       true,
		Type:           "string",
	},
	"sessionid": {
		AllowedChoices: []string{},
		ConvertedName:  "SessionID",
		Description:    `Provides the session ID of the enforcer when retrieving a datapath certificate.`,
		Exposed:        true,
		Name:           "sessionID",
		Type:           "string",
	},
	"signer": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Signer",
		Description:    `Contains the CA that signed the delivered certificate.`,
		Exposed:        true,
		Name:           "signer",
		ReadOnly:       true,
		Type:           "string",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Contains a cryptographic token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{"Enforcer", "Service", "ServicePing", "KubernetesCluster"},
		ConvertedName:  "Type",
		Description:    `Type of certificate.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
}

DataPathCertificateLowerCaseAttributesMap represents the map of attribute for DataPathCertificate.

View Source
var DebugBundleAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"DebugID": {
		AllowedChoices: []string{},
		ConvertedName:  "DebugID",
		Description:    `Can be used to correlate with an EnforcerRefresh.`,
		Exposed:        true,
		Name:           "debugID",
		Type:           "string",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `The ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		ReadOnly:       true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

DebugBundleAttributesMap represents the map of attribute for DebugBundle.

View Source
var DebugBundleIdentity = elemental.Identity{
	Name:     "debugbundle",
	Category: "debugbundles",
	Package:  "guy",
	Private:  false,
}

DebugBundleIdentity represents the Identity of the object.

View Source
var DebugBundleLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"debugid": {
		AllowedChoices: []string{},
		ConvertedName:  "DebugID",
		Description:    `Can be used to correlate with an EnforcerRefresh.`,
		Exposed:        true,
		Name:           "debugID",
		Type:           "string",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `The ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		ReadOnly:       true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

DebugBundleLowerCaseAttributesMap represents the map of attribute for DebugBundle.

View Source
var DefaultEnforcerVersionAttributesMap = map[string]elemental.AttributeSpecification{
	"DefaultVersion": {
		AllowedChoices: []string{},
		ConvertedName:  "DefaultVersion",
		Description:    `The default enforcer version for the namespace.`,
		Exposed:        true,
		Name:           "defaultVersion",
		Type:           "string",
	},
}

DefaultEnforcerVersionAttributesMap represents the map of attribute for DefaultEnforcerVersion.

View Source
var DefaultEnforcerVersionIdentity = elemental.Identity{
	Name:     "defaultenforcerversion",
	Category: "defaultenforcerversion",
	Package:  "squall",
	Private:  false,
}

DefaultEnforcerVersionIdentity represents the Identity of the object.

View Source
var DefaultEnforcerVersionLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"defaultversion": {
		AllowedChoices: []string{},
		ConvertedName:  "DefaultVersion",
		Description:    `The default enforcer version for the namespace.`,
		Exposed:        true,
		Name:           "defaultVersion",
		Type:           "string",
	},
}

DefaultEnforcerVersionLowerCaseAttributesMap represents the map of attribute for DefaultEnforcerVersion.

View Source
var DependencyMapAttributesMap = map[string]elemental.AttributeSpecification{
	"Edges": {
		AllowedChoices: []string{},
		ConvertedName:  "Edges",
		Description:    `The edges of the map.`,
		Exposed:        true,
		Name:           "edges",
		ReadOnly:       true,
		SubType:        "graphedge",
		Type:           "refMap",
	},
	"Groups": {
		AllowedChoices: []string{},
		ConvertedName:  "Groups",
		Description:    `Provides information about the group values.`,
		Exposed:        true,
		Name:           "groups",
		ReadOnly:       true,
		SubType:        "graphgroup",
		Type:           "refMap",
	},
	"Nodes": {
		AllowedChoices: []string{},
		ConvertedName:  "Nodes",
		Description:    `Refers to the nodes of the map.`,
		Exposed:        true,
		Name:           "nodes",
		ReadOnly:       true,
		SubType:        "graphnode",
		Type:           "refMap",
	},
	"ViewSuggestions": {
		AllowedChoices: []string{},
		ConvertedName:  "ViewSuggestions",
		Description:    `Provides suggested views based on relevant tags.`,
		Exposed:        true,
		Name:           "viewSuggestions",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

DependencyMapAttributesMap represents the map of attribute for DependencyMap.

View Source
var DependencyMapIdentity = elemental.Identity{
	Name:     "dependencymap",
	Category: "dependencymaps",
	Package:  "jenova",
	Private:  false,
}

DependencyMapIdentity represents the Identity of the object.

View Source
var DependencyMapLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"edges": {
		AllowedChoices: []string{},
		ConvertedName:  "Edges",
		Description:    `The edges of the map.`,
		Exposed:        true,
		Name:           "edges",
		ReadOnly:       true,
		SubType:        "graphedge",
		Type:           "refMap",
	},
	"groups": {
		AllowedChoices: []string{},
		ConvertedName:  "Groups",
		Description:    `Provides information about the group values.`,
		Exposed:        true,
		Name:           "groups",
		ReadOnly:       true,
		SubType:        "graphgroup",
		Type:           "refMap",
	},
	"nodes": {
		AllowedChoices: []string{},
		ConvertedName:  "Nodes",
		Description:    `Refers to the nodes of the map.`,
		Exposed:        true,
		Name:           "nodes",
		ReadOnly:       true,
		SubType:        "graphnode",
		Type:           "refMap",
	},
	"viewsuggestions": {
		AllowedChoices: []string{},
		ConvertedName:  "ViewSuggestions",
		Description:    `Provides suggested views based on relevant tags.`,
		Exposed:        true,
		Name:           "viewSuggestions",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

DependencyMapLowerCaseAttributesMap represents the map of attribute for DependencyMap.

View Source
var DiscoveryModeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
}

DiscoveryModeAttributesMap represents the map of attribute for DiscoveryMode.

View Source
var DiscoveryModeIdentity = elemental.Identity{
	Name:     "discoverymode",
	Category: "discoverymode",
	Package:  "yuna",
	Private:  false,
}

DiscoveryModeIdentity represents the Identity of the object.

View Source
var DiscoveryModeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
}

DiscoveryModeLowerCaseAttributesMap represents the map of attribute for DiscoveryMode.

View Source
var EmailAttributesMap = map[string]elemental.AttributeSpecification{
	"Attachments": {
		AllowedChoices: []string{},
		ConvertedName:  "Attachments",
		Description:    `Attachments is a list of attachments to send.`,
		Exposed:        true,
		Name:           "attachments",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Bcc": {
		AllowedChoices: []string{},
		ConvertedName:  "Bcc",
		Description:    `Bcc represents email that should be in copy but hidden.`,
		Exposed:        true,
		Name:           "bcc",
		SubType:        "string",
		Type:           "list",
	},
	"Cc": {
		AllowedChoices: []string{},
		ConvertedName:  "Cc",
		Description:    `Cc represents the addresses that should be in copy.`,
		Exposed:        true,
		Name:           "cc",
		SubType:        "string",
		Type:           "list",
	},
	"Content": {
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		Description:    `Content of the email to send.`,
		Exposed:        true,
		Name:           "content",
		Type:           "string",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject represents the subject of the email.`,
		Exposed:        true,
		Name:           "subject",
		Type:           "string",
	},
	"To": {
		AllowedChoices: []string{},
		ConvertedName:  "To",
		Description:    `To represents receivers of the email.`,
		Exposed:        true,
		Name:           "to",
		SubType:        "string",
		Type:           "list",
	},
	"Type": {
		AllowedChoices: []string{"HTML", "Plain"},
		ConvertedName:  "Type",
		DefaultValue:   EmailTypePlain,
		Description:    `Type represents the type of the content.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
}

EmailAttributesMap represents the map of attribute for Email.

View Source
var EmailIdentity = elemental.Identity{
	Name:     "email",
	Category: "emails",
	Package:  "yuffie",
	Private:  true,
}

EmailIdentity represents the Identity of the object.

View Source
var EmailLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"attachments": {
		AllowedChoices: []string{},
		ConvertedName:  "Attachments",
		Description:    `Attachments is a list of attachments to send.`,
		Exposed:        true,
		Name:           "attachments",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"bcc": {
		AllowedChoices: []string{},
		ConvertedName:  "Bcc",
		Description:    `Bcc represents email that should be in copy but hidden.`,
		Exposed:        true,
		Name:           "bcc",
		SubType:        "string",
		Type:           "list",
	},
	"cc": {
		AllowedChoices: []string{},
		ConvertedName:  "Cc",
		Description:    `Cc represents the addresses that should be in copy.`,
		Exposed:        true,
		Name:           "cc",
		SubType:        "string",
		Type:           "list",
	},
	"content": {
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		Description:    `Content of the email to send.`,
		Exposed:        true,
		Name:           "content",
		Type:           "string",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject represents the subject of the email.`,
		Exposed:        true,
		Name:           "subject",
		Type:           "string",
	},
	"to": {
		AllowedChoices: []string{},
		ConvertedName:  "To",
		Description:    `To represents receivers of the email.`,
		Exposed:        true,
		Name:           "to",
		SubType:        "string",
		Type:           "list",
	},
	"type": {
		AllowedChoices: []string{"HTML", "Plain"},
		ConvertedName:  "Type",
		DefaultValue:   EmailTypePlain,
		Description:    `Type represents the type of the content.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
}

EmailLowerCaseAttributesMap represents the map of attribute for Email.

View Source
var EnforcerAttributesMap = map[string]elemental.AttributeSpecification{
	"FQDN": {
		AllowedChoices: []string{},
		BSONFieldName:  "fqdn",
		ConvertedName:  "FQDN",
		CreationOnly:   true,
		Description: `Contains the fully qualified domain name (FQDN) of the server where the
enforcer is running.`,
		Exposed:   true,
		Name:      "FQDN",
		Orderable: true,
		Required:  true,
		Stored:    true,
		Type:      "string",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "certificate",
		ConvertedName:  "Certificate",
		Description:    `The certificate of the enforcer.`,
		Exposed:        true,
		Name:           "certificate",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CertificateExpirationDate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CertificateExpirationDate",
		Description: `The expiration date of the certificate. This is an
internal attribute, not exposed in the API.`,
		Name:     "certificateExpirationDate",
		ReadOnly: true,
		Type:     "time",
	},
	"CertificateKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CertificateKey",
		Description: `The certificate key of the enforcer. This is an internal
attribute, not exposed in the API.`,
		Name:     "certificateKey",
		ReadOnly: true,
		Type:     "string",
	},
	"CertificateRequest": {
		AllowedChoices: []string{},
		ConvertedName:  "CertificateRequest",
		Description: `If not empty during a create or update operation, the provided certificate
signing request (CSR) will be validated and signed by the Microsegmentation
Console, providing a renewed certificate.`,
		Exposed:   true,
		Name:      "certificateRequest",
		Transient: true,
		Type:      "string",
	},
	"CollectInfo": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectinfo",
		ConvertedName:  "CollectInfo",
		Description:    `Indicates to the enforcer whether or not it needs to collect information.`,
		Exposed:        true,
		Name:           "collectInfo",
		Stored:         true,
		Type:           "boolean",
	},
	"CollectedInfo": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectedinfo",
		ConvertedName:  "CollectedInfo",
		Deprecated:     true,
		Description:    `Represents the latest information collected by the enforcer.`,
		Exposed:        true,
		Name:           "collectedInfo",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Controller": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "controller",
		ConvertedName:  "Controller",
		Description: `The Microsegmentation Console identifier managing this object. This property is
mostly
useful when federating multiple Microsegmentation Consoles.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "controller",
		Orderable:  true,
		ReadOnly:   true,
		Setter:     true,
		Stored:     true,
		Transient:  true,
		Type:       "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CurrentVersion": {
		AllowedChoices: []string{},
		BSONFieldName:  "currentversion",
		ConvertedName:  "CurrentVersion",
		Description:    `The version number of the installed enforcer binary.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "currentVersion",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"DetectedHostModeContainers": {
		AllowedChoices: []string{},
		BSONFieldName:  "detectedhostmodecontainers",
		ConvertedName:  "DetectedHostModeContainers",
		Description:    `This field indicates whether the enforcer has detected host mode containers.`,
		Exposed:        true,
		Name:           "detectedHostModeContainers",
		Stored:         true,
		Type:           "boolean",
	},
	"EnforcementStatus": {
		AllowedChoices: []string{"Inactive", "Active", "Failed"},
		BSONFieldName:  "enforcementstatus",
		ConvertedName:  "EnforcementStatus",
		DefaultValue:   EnforcerEnforcementStatusInactive,
		Description:    `Status of the enforcement for host services.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "enum",
	},
	"LastCollectionID": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastcollectionid",
		ConvertedName:  "LastCollectionID",
		Description:    `Identifies the last collection.`,
		Exposed:        true,
		Name:           "lastCollectionID",
		Stored:         true,
		Type:           "string",
	},
	"LastCollectionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastcollectiontime",
		ConvertedName:  "LastCollectionTime",
		Description:    `Identifies when the information was collected.`,
		Exposed:        true,
		Name:           "lastCollectionTime",
		Stored:         true,
		Type:           "time",
	},
	"LastMigrationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastmigrationtime",
		ConvertedName:  "LastMigrationTime",
		Description:    `Last migration date of the enforcer.`,
		Exposed:        true,
		Name:           "lastMigrationTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"LastPokeTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastpoketime",
		ConvertedName:  "LastPokeTime",
		Description:    `The time and date of the last poke.`,
		Name:           "lastPokeTime",
		Stored:         true,
		Type:           "time",
	},
	"LastSyncTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastsynctime",
		ConvertedName:  "LastSyncTime",
		Description:    `The time and date of the last heartbeat.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"LastValidHostServices": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "lastvalidhostservices",
		ConvertedName:  "LastValidHostServices",
		Description: `` + "`" + `lastValidHostServices` + "`" + ` is a read only attribute that stores the list valid host
services that have been applied to this enforcer. This list might be different
from the list retrieved through policy, if the dynamically calculated list leads
into conflicts.`,
		Name:    "lastValidHostServices",
		Stored:  true,
		SubType: "hostservice",
		Type:    "refList",
	},
	"LocalCA": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LocalCA",
		Description: `Contains the initial chain of trust for the enforcer. This value is only
given when you retrieve a single enforcer.`,
		Exposed:   true,
		Name:      "localCA",
		Transient: true,
		Type:      "string",
	},
	"LogLevel": {
		AllowedChoices: []string{"Info", "Debug", "Warn", "Error", "Trace"},
		BSONFieldName:  "loglevel",
		ConvertedName:  "LogLevel",
		DefaultValue:   EnforcerLogLevelInfo,
		Description:    `Log level of the enforcer.`,
		Exposed:        true,
		Name:           "logLevel",
		Stored:         true,
		Type:           "enum",
	},
	"LogLevelDuration": {
		AllowedChoices: []string{},
		BSONFieldName:  "loglevelduration",
		ConvertedName:  "LogLevelDuration",
		DefaultValue:   "10s",
		Description: `Determines the duration of which the log level will be active, using [Golang
duration syntax](https://golang.org/pkg/time/#example_Duration).`,
		Exposed: true,
		Name:    "logLevelDuration",
		Stored:  true,
		Type:    "string",
	},
	"MachineID": {
		AllowedChoices: []string{},
		BSONFieldName:  "machineid",
		ConvertedName:  "MachineID",
		Description: `A unique identifier for every machine as detected by the enforcer. It is
based on hardware information such as the SMBIOS UUID, MAC addresses of
interfaces, or cloud provider IDs.`,
		Exposed:    true,
		Filterable: true,
		Name:       "machineID",
		Stored:     true,
		Type:       "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationStatus": {
		AllowedChoices: []string{"None", "Running", "Failed"},
		BSONFieldName:  "migrationstatus",
		ConvertedName:  "MigrationStatus",
		DefaultValue:   EnforcerMigrationStatusNone,
		Description:    `Defines the migration status.`,
		Exposed:        true,
		Name:           "migrationStatus",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NextAvailableVersion": {
		AllowedChoices: []string{},
		BSONFieldName:  "nextavailableversion",
		ConvertedName:  "NextAvailableVersion",
		Description:    `Defines the next version the enforcer will be migrated to.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "nextAvailableVersion",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"OperationalStatus": {
		AllowedChoices: []string{"Registered", "Connected", "Disconnected", "Initialized"},
		BSONFieldName:  "operationalstatus",
		ConvertedName:  "OperationalStatus",
		DefaultValue:   EnforcerOperationalStatusRegistered,
		Description:    `The status of the enforcer.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operationalStatus",
		Stored:         true,
		Type:           "enum",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"PublicToken": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "publictoken",
		ConvertedName:  "PublicToken",
		Description: `The public token of the server that will be included in the datapath and
is signed by the private certificate authority.`,
		Exposed:   true,
		Name:      "publicToken",
		ReadOnly:  true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"StartTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "starttime",
		ConvertedName:  "StartTime",
		Description: `The time and date on which this enforcer was started. The enforcer reports
this and the value is preserved across disconnects.`,
		Exposed:   true,
		Name:      "startTime",
		Orderable: true,
		Stored:    true,
		Type:      "time",
	},
	"Subnets": {
		AllowedChoices: []string{},
		BSONFieldName:  "subnets",
		ConvertedName:  "Subnets",
		Description:    `Local subnets of this enforcer.`,
		Exposed:        true,
		Name:           "subnets",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Unreachable": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "unreachable",
		ConvertedName:  "Unreachable",
		Description: `The Microsegmentation Console sets this value to ` + "`" + `true` + "`" + ` if it hasn't heard from
the enforcer in the last five minutes.`,
		Exposed:   true,
		Name:      "unreachable",
		ReadOnly:  true,
		Stored:    true,
		Transient: true,
		Type:      "boolean",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EnforcerAttributesMap represents the map of attribute for Enforcer.

View Source
var EnforcerIdentity = elemental.Identity{
	Name:     "enforcer",
	Category: "enforcers",
	Package:  "squall",
	Private:  false,
}

EnforcerIdentity represents the Identity of the object.

View Source
var EnforcerLogAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CollectionID": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectionid",
		ConvertedName:  "CollectionID",
		Description: `Contains the ID of the enforcer log. ` + "`" + `CollectionID` + "`" + ` is used to
aggregate the multipart data.`,
		Exposed:  true,
		Name:     "collectionID",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `Represents the data collected by the enforcer.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		Type:           "string",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerid",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Page": {
		AllowedChoices: []string{},
		BSONFieldName:  "page",
		ConvertedName:  "Page",
		Description:    `Number assigned to each log in the increasing order.`,
		Exposed:        true,
		Name:           "page",
		Stored:         true,
		Type:           "integer",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Title": {
		AllowedChoices: []string{},
		BSONFieldName:  "title",
		ConvertedName:  "Title",
		Description:    `Title of the log.`,
		Exposed:        true,
		Name:           "title",
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EnforcerLogAttributesMap represents the map of attribute for EnforcerLog.

View Source
var EnforcerLogIdentity = elemental.Identity{
	Name:     "enforcerlog",
	Category: "enforcerlog",
	Package:  "ifrit",
	Private:  false,
}

EnforcerLogIdentity represents the Identity of the object.

View Source
var EnforcerLogLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"collectionid": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectionid",
		ConvertedName:  "CollectionID",
		Description: `Contains the ID of the enforcer log. ` + "`" + `CollectionID` + "`" + ` is used to
aggregate the multipart data.`,
		Exposed:  true,
		Name:     "collectionID",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `Represents the data collected by the enforcer.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		Type:           "string",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerid",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"page": {
		AllowedChoices: []string{},
		BSONFieldName:  "page",
		ConvertedName:  "Page",
		Description:    `Number assigned to each log in the increasing order.`,
		Exposed:        true,
		Name:           "page",
		Stored:         true,
		Type:           "integer",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"title": {
		AllowedChoices: []string{},
		BSONFieldName:  "title",
		ConvertedName:  "Title",
		Description:    `Title of the log.`,
		Exposed:        true,
		Name:           "title",
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EnforcerLogLowerCaseAttributesMap represents the map of attribute for EnforcerLog.

View Source
var EnforcerLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"fqdn": {
		AllowedChoices: []string{},
		BSONFieldName:  "fqdn",
		ConvertedName:  "FQDN",
		CreationOnly:   true,
		Description: `Contains the fully qualified domain name (FQDN) of the server where the
enforcer is running.`,
		Exposed:   true,
		Name:      "FQDN",
		Orderable: true,
		Required:  true,
		Stored:    true,
		Type:      "string",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "certificate",
		ConvertedName:  "Certificate",
		Description:    `The certificate of the enforcer.`,
		Exposed:        true,
		Name:           "certificate",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"certificateexpirationdate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CertificateExpirationDate",
		Description: `The expiration date of the certificate. This is an
internal attribute, not exposed in the API.`,
		Name:     "certificateExpirationDate",
		ReadOnly: true,
		Type:     "time",
	},
	"certificatekey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CertificateKey",
		Description: `The certificate key of the enforcer. This is an internal
attribute, not exposed in the API.`,
		Name:     "certificateKey",
		ReadOnly: true,
		Type:     "string",
	},
	"certificaterequest": {
		AllowedChoices: []string{},
		ConvertedName:  "CertificateRequest",
		Description: `If not empty during a create or update operation, the provided certificate
signing request (CSR) will be validated and signed by the Microsegmentation
Console, providing a renewed certificate.`,
		Exposed:   true,
		Name:      "certificateRequest",
		Transient: true,
		Type:      "string",
	},
	"collectinfo": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectinfo",
		ConvertedName:  "CollectInfo",
		Description:    `Indicates to the enforcer whether or not it needs to collect information.`,
		Exposed:        true,
		Name:           "collectInfo",
		Stored:         true,
		Type:           "boolean",
	},
	"collectedinfo": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectedinfo",
		ConvertedName:  "CollectedInfo",
		Deprecated:     true,
		Description:    `Represents the latest information collected by the enforcer.`,
		Exposed:        true,
		Name:           "collectedInfo",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"controller": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "controller",
		ConvertedName:  "Controller",
		Description: `The Microsegmentation Console identifier managing this object. This property is
mostly
useful when federating multiple Microsegmentation Consoles.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "controller",
		Orderable:  true,
		ReadOnly:   true,
		Setter:     true,
		Stored:     true,
		Transient:  true,
		Type:       "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"currentversion": {
		AllowedChoices: []string{},
		BSONFieldName:  "currentversion",
		ConvertedName:  "CurrentVersion",
		Description:    `The version number of the installed enforcer binary.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "currentVersion",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"detectedhostmodecontainers": {
		AllowedChoices: []string{},
		BSONFieldName:  "detectedhostmodecontainers",
		ConvertedName:  "DetectedHostModeContainers",
		Description:    `This field indicates whether the enforcer has detected host mode containers.`,
		Exposed:        true,
		Name:           "detectedHostModeContainers",
		Stored:         true,
		Type:           "boolean",
	},
	"enforcementstatus": {
		AllowedChoices: []string{"Inactive", "Active", "Failed"},
		BSONFieldName:  "enforcementstatus",
		ConvertedName:  "EnforcementStatus",
		DefaultValue:   EnforcerEnforcementStatusInactive,
		Description:    `Status of the enforcement for host services.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "enum",
	},
	"lastcollectionid": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastcollectionid",
		ConvertedName:  "LastCollectionID",
		Description:    `Identifies the last collection.`,
		Exposed:        true,
		Name:           "lastCollectionID",
		Stored:         true,
		Type:           "string",
	},
	"lastcollectiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastcollectiontime",
		ConvertedName:  "LastCollectionTime",
		Description:    `Identifies when the information was collected.`,
		Exposed:        true,
		Name:           "lastCollectionTime",
		Stored:         true,
		Type:           "time",
	},
	"lastmigrationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastmigrationtime",
		ConvertedName:  "LastMigrationTime",
		Description:    `Last migration date of the enforcer.`,
		Exposed:        true,
		Name:           "lastMigrationTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"lastpoketime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastpoketime",
		ConvertedName:  "LastPokeTime",
		Description:    `The time and date of the last poke.`,
		Name:           "lastPokeTime",
		Stored:         true,
		Type:           "time",
	},
	"lastsynctime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastsynctime",
		ConvertedName:  "LastSyncTime",
		Description:    `The time and date of the last heartbeat.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"lastvalidhostservices": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "lastvalidhostservices",
		ConvertedName:  "LastValidHostServices",
		Description: `` + "`" + `lastValidHostServices` + "`" + ` is a read only attribute that stores the list valid host
services that have been applied to this enforcer. This list might be different
from the list retrieved through policy, if the dynamically calculated list leads
into conflicts.`,
		Name:    "lastValidHostServices",
		Stored:  true,
		SubType: "hostservice",
		Type:    "refList",
	},
	"localca": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LocalCA",
		Description: `Contains the initial chain of trust for the enforcer. This value is only
given when you retrieve a single enforcer.`,
		Exposed:   true,
		Name:      "localCA",
		Transient: true,
		Type:      "string",
	},
	"loglevel": {
		AllowedChoices: []string{"Info", "Debug", "Warn", "Error", "Trace"},
		BSONFieldName:  "loglevel",
		ConvertedName:  "LogLevel",
		DefaultValue:   EnforcerLogLevelInfo,
		Description:    `Log level of the enforcer.`,
		Exposed:        true,
		Name:           "logLevel",
		Stored:         true,
		Type:           "enum",
	},
	"loglevelduration": {
		AllowedChoices: []string{},
		BSONFieldName:  "loglevelduration",
		ConvertedName:  "LogLevelDuration",
		DefaultValue:   "10s",
		Description: `Determines the duration of which the log level will be active, using [Golang
duration syntax](https://golang.org/pkg/time/#example_Duration).`,
		Exposed: true,
		Name:    "logLevelDuration",
		Stored:  true,
		Type:    "string",
	},
	"machineid": {
		AllowedChoices: []string{},
		BSONFieldName:  "machineid",
		ConvertedName:  "MachineID",
		Description: `A unique identifier for every machine as detected by the enforcer. It is
based on hardware information such as the SMBIOS UUID, MAC addresses of
interfaces, or cloud provider IDs.`,
		Exposed:    true,
		Filterable: true,
		Name:       "machineID",
		Stored:     true,
		Type:       "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationstatus": {
		AllowedChoices: []string{"None", "Running", "Failed"},
		BSONFieldName:  "migrationstatus",
		ConvertedName:  "MigrationStatus",
		DefaultValue:   EnforcerMigrationStatusNone,
		Description:    `Defines the migration status.`,
		Exposed:        true,
		Name:           "migrationStatus",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nextavailableversion": {
		AllowedChoices: []string{},
		BSONFieldName:  "nextavailableversion",
		ConvertedName:  "NextAvailableVersion",
		Description:    `Defines the next version the enforcer will be migrated to.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "nextAvailableVersion",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"operationalstatus": {
		AllowedChoices: []string{"Registered", "Connected", "Disconnected", "Initialized"},
		BSONFieldName:  "operationalstatus",
		ConvertedName:  "OperationalStatus",
		DefaultValue:   EnforcerOperationalStatusRegistered,
		Description:    `The status of the enforcer.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operationalStatus",
		Stored:         true,
		Type:           "enum",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"publictoken": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "publictoken",
		ConvertedName:  "PublicToken",
		Description: `The public token of the server that will be included in the datapath and
is signed by the private certificate authority.`,
		Exposed:   true,
		Name:      "publicToken",
		ReadOnly:  true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"starttime": {
		AllowedChoices: []string{},
		BSONFieldName:  "starttime",
		ConvertedName:  "StartTime",
		Description: `The time and date on which this enforcer was started. The enforcer reports
this and the value is preserved across disconnects.`,
		Exposed:   true,
		Name:      "startTime",
		Orderable: true,
		Stored:    true,
		Type:      "time",
	},
	"subnets": {
		AllowedChoices: []string{},
		BSONFieldName:  "subnets",
		ConvertedName:  "Subnets",
		Description:    `Local subnets of this enforcer.`,
		Exposed:        true,
		Name:           "subnets",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"unreachable": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "unreachable",
		ConvertedName:  "Unreachable",
		Description: `The Microsegmentation Console sets this value to ` + "`" + `true` + "`" + ` if it hasn't heard from
the enforcer in the last five minutes.`,
		Exposed:   true,
		Name:      "unreachable",
		ReadOnly:  true,
		Stored:    true,
		Transient: true,
		Type:      "boolean",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EnforcerLowerCaseAttributesMap represents the map of attribute for Enforcer.

View Source
var EnforcerProfileAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ExcludedInterfaces": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludedinterfaces",
		ConvertedName:  "ExcludedInterfaces",
		Description: `Ignore traffic with a source or destination matching the specified
interfaces.`,
		Exposed:   true,
		Name:      "excludedInterfaces",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"ExcludedNetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludednetworks",
		ConvertedName:  "ExcludedNetworks",
		Description: `Ignore any networks specified here and do not even report any flows.
This can be useful for excluding localhost loopback traffic, ignoring
traffic to the Kubernetes API, and using Microsegmentation for SSH only.`,
		Exposed:   true,
		Name:      "excludedNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"IgnoreExpression": {
		AllowedChoices: []string{},
		BSONFieldName:  "ignoreexpression",
		ConvertedName:  "IgnoreExpression",
		Description: `A tag expression that identifies processing units to ignore. This can be
useful to exclude ` + "`" + `kube-system` + "`" + ` pods, AWS EC2 agent pods, and third-party
agents.`,
		Exposed: true,
		Name:    "ignoreExpression",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"KubernetesMetadataExtractor": {
		AllowedChoices: []string{"KubeSquall", "PodAtomic", "PodContainers"},
		BSONFieldName:  "kubernetesmetadataextractor",
		ConvertedName:  "KubernetesMetadataExtractor",
		DefaultValue:   EnforcerProfileKubernetesMetadataExtractorPodAtomic,
		Deprecated:     true,
		Description:    `This field is kept for backward compatibility for enforcers <= 3.5.`,
		Exposed:        true,
		Name:           "kubernetesMetadataExtractor",
		Stored:         true,
		Type:           "enum",
	},
	"KubernetesSupportEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "kubernetessupportenabled",
		ConvertedName:  "KubernetesSupportEnabled",
		Deprecated:     true,
		Description:    `This field is kept for backward compatibility for enforcers <= 3.5.`,
		Exposed:        true,
		Name:           "kubernetesSupportEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MetadataExtractor": {
		AllowedChoices: []string{"Docker", "ECS", "Kubernetes"},
		BSONFieldName:  "metadataextractor",
		ConvertedName:  "MetadataExtractor",
		DefaultValue:   EnforcerProfileMetadataExtractorDocker,
		Deprecated:     true,
		Description:    `This field is kept for backward compatibility for enforcers <= 3.5.`,
		Exposed:        true,
		Name:           "metadataExtractor",
		Stored:         true,
		Type:           "enum",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"TargetNetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetnetworks",
		ConvertedName:  "TargetNetworks",
		Description: `If empty, the enforcer auto-discovers the TCP networks. Auto-discovery
works best in Kubernetes and OpenShift deployments. You may need to manually
specify the TCP networks if middle boxes exist that do not comply with
[TCP Fast Open RFC 7413](https://tools.ietf.org/html/rfc7413).`,
		Exposed:   true,
		Name:      "targetNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"TargetUDPNetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetudpnetworks",
		ConvertedName:  "TargetUDPNetworks",
		Description: `If empty, the enforcer enforces all UDP networks. This works best when all UDP
networks have enforcers. If some UDP networks do not have enforcers, you
may need to manually specify the UDP networks that should be enforced.`,
		Exposed:   true,
		Name:      "targetUDPNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"TrustedCAs": {
		AllowedChoices: []string{},
		BSONFieldName:  "trustedcas",
		ConvertedName:  "TrustedCAs",
		Description: `List of trusted certificate authorities. If empty, the main chain of trust
will be used.`,
		Exposed: true,
		Name:    "trustedCAs",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EnforcerProfileAttributesMap represents the map of attribute for EnforcerProfile.

View Source
var EnforcerProfileIdentity = elemental.Identity{
	Name:     "enforcerprofile",
	Category: "enforcerprofiles",
	Package:  "squall",
	Private:  false,
}

EnforcerProfileIdentity represents the Identity of the object.

View Source
var EnforcerProfileLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"excludedinterfaces": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludedinterfaces",
		ConvertedName:  "ExcludedInterfaces",
		Description: `Ignore traffic with a source or destination matching the specified
interfaces.`,
		Exposed:   true,
		Name:      "excludedInterfaces",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"excludednetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludednetworks",
		ConvertedName:  "ExcludedNetworks",
		Description: `Ignore any networks specified here and do not even report any flows.
This can be useful for excluding localhost loopback traffic, ignoring
traffic to the Kubernetes API, and using Microsegmentation for SSH only.`,
		Exposed:   true,
		Name:      "excludedNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"ignoreexpression": {
		AllowedChoices: []string{},
		BSONFieldName:  "ignoreexpression",
		ConvertedName:  "IgnoreExpression",
		Description: `A tag expression that identifies processing units to ignore. This can be
useful to exclude ` + "`" + `kube-system` + "`" + ` pods, AWS EC2 agent pods, and third-party
agents.`,
		Exposed: true,
		Name:    "ignoreExpression",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"kubernetesmetadataextractor": {
		AllowedChoices: []string{"KubeSquall", "PodAtomic", "PodContainers"},
		BSONFieldName:  "kubernetesmetadataextractor",
		ConvertedName:  "KubernetesMetadataExtractor",
		DefaultValue:   EnforcerProfileKubernetesMetadataExtractorPodAtomic,
		Deprecated:     true,
		Description:    `This field is kept for backward compatibility for enforcers <= 3.5.`,
		Exposed:        true,
		Name:           "kubernetesMetadataExtractor",
		Stored:         true,
		Type:           "enum",
	},
	"kubernetessupportenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "kubernetessupportenabled",
		ConvertedName:  "KubernetesSupportEnabled",
		Deprecated:     true,
		Description:    `This field is kept for backward compatibility for enforcers <= 3.5.`,
		Exposed:        true,
		Name:           "kubernetesSupportEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"metadataextractor": {
		AllowedChoices: []string{"Docker", "ECS", "Kubernetes"},
		BSONFieldName:  "metadataextractor",
		ConvertedName:  "MetadataExtractor",
		DefaultValue:   EnforcerProfileMetadataExtractorDocker,
		Deprecated:     true,
		Description:    `This field is kept for backward compatibility for enforcers <= 3.5.`,
		Exposed:        true,
		Name:           "metadataExtractor",
		Stored:         true,
		Type:           "enum",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"targetnetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetnetworks",
		ConvertedName:  "TargetNetworks",
		Description: `If empty, the enforcer auto-discovers the TCP networks. Auto-discovery
works best in Kubernetes and OpenShift deployments. You may need to manually
specify the TCP networks if middle boxes exist that do not comply with
[TCP Fast Open RFC 7413](https://tools.ietf.org/html/rfc7413).`,
		Exposed:   true,
		Name:      "targetNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"targetudpnetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetudpnetworks",
		ConvertedName:  "TargetUDPNetworks",
		Description: `If empty, the enforcer enforces all UDP networks. This works best when all UDP
networks have enforcers. If some UDP networks do not have enforcers, you
may need to manually specify the UDP networks that should be enforced.`,
		Exposed:   true,
		Name:      "targetUDPNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"trustedcas": {
		AllowedChoices: []string{},
		BSONFieldName:  "trustedcas",
		ConvertedName:  "TrustedCAs",
		Description: `List of trusted certificate authorities. If empty, the main chain of trust
will be used.`,
		Exposed: true,
		Name:    "trustedCAs",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EnforcerProfileLowerCaseAttributesMap represents the map of attribute for EnforcerProfile.

View Source
var EnforcerProfileMappingPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		BSONFieldName:  "object",
		ConvertedName:  "Object",
		Description:    `The tag or tag expression that identifies the enforcer profile to be mapped.`,
		Exposed:        true,
		Name:           "object",
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `The tag or tag expression that identifies the enforcers that should implement
the mapped profile.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

EnforcerProfileMappingPolicyAttributesMap represents the map of attribute for EnforcerProfileMappingPolicy.

View Source
var EnforcerProfileMappingPolicyIdentity = elemental.Identity{
	Name:     "enforcerprofilemappingpolicy",
	Category: "enforcerprofilemappingpolicies",
	Package:  "squall",
	Private:  false,
}

EnforcerProfileMappingPolicyIdentity represents the Identity of the object.

View Source
var EnforcerProfileMappingPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		BSONFieldName:  "object",
		ConvertedName:  "Object",
		Description:    `The tag or tag expression that identifies the enforcer profile to be mapped.`,
		Exposed:        true,
		Name:           "object",
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `The tag or tag expression that identifies the enforcers that should implement
the mapped profile.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

EnforcerProfileMappingPolicyLowerCaseAttributesMap represents the map of attribute for EnforcerProfileMappingPolicy.

View Source
var EnforcerRefreshAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `Contains the ID of the target enforcer.`,
		Exposed:        true,
		Getter:         true,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Setter:         true,
		Type:           "string",
	},
	"Debug": {
		AllowedChoices: []string{"Counters", "Logs", "Packets", "PUState", "Pcap", "CoreDump"},
		ConvertedName:  "Debug",
		DefaultValue:   EnforcerRefreshDebugCounters,
		Description:    `Set the debug information collected by the enforcer.`,
		Exposed:        true,
		Name:           "debug",
		Type:           "enum",
	},
	"DebugID": {
		AllowedChoices: []string{},
		ConvertedName:  "DebugID",
		Description:    `Can be used to correlate with a DebugBundle.`,
		Exposed:        true,
		Name:           "debugID",
		Type:           "string",
	},
	"DebugPcapFilter": {
		AllowedChoices: []string{},
		ConvertedName:  "DebugPcapFilter",
		Description:    `Packet capture filter, syntax varying by platform.`,
		Exposed:        true,
		Name:           "debugPcapFilter",
		Type:           "string",
	},
	"DebugProcessingUnitID": {
		AllowedChoices: []string{},
		ConvertedName:  "DebugProcessingUnitID",
		Description:    `Isolates debug information to a given processing unit, where possible.`,
		Exposed:        true,
		Name:           "debugProcessingUnitID",
		Type:           "string",
	},
	"MigrationVersion": {
		AllowedChoices: []string{},
		ConvertedName:  "MigrationVersion",
		Description:    `Defines the version to migrate enforcers.`,
		Exposed:        true,
		Name:           "migrationVersion",
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Contains the original namespace of the enforcer.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RefreshType": {
		AllowedChoices: []string{"Debug", "Migration"},
		BSONFieldName:  "refreshtype",
		ConvertedName:  "RefreshType",
		DefaultValue:   EnforcerRefreshRefreshTypeDebug,
		Description:    `Indicates the type of refresh.`,
		Exposed:        true,
		Name:           "refreshType",
		Stored:         true,
		Type:           "enum",
	},
	"Selector": {
		AllowedChoices: []string{},
		ConvertedName:  "Selector",
		Description:    `Request a command for the enforcers matching the following tag expression.`,
		Exposed:        true,
		Name:           "selector",
		SubType:        "[][]string",
		Type:           "external",
	},
}

EnforcerRefreshAttributesMap represents the map of attribute for EnforcerRefresh.

View Source
var EnforcerRefreshIdentity = elemental.Identity{
	Name:     "enforcerrefresh",
	Category: "enforcerrefreshes",
	Package:  "gaga",
	Private:  false,
}

EnforcerRefreshIdentity represents the Identity of the object.

View Source
var EnforcerRefreshLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `Contains the ID of the target enforcer.`,
		Exposed:        true,
		Getter:         true,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Setter:         true,
		Type:           "string",
	},
	"debug": {
		AllowedChoices: []string{"Counters", "Logs", "Packets", "PUState", "Pcap", "CoreDump"},
		ConvertedName:  "Debug",
		DefaultValue:   EnforcerRefreshDebugCounters,
		Description:    `Set the debug information collected by the enforcer.`,
		Exposed:        true,
		Name:           "debug",
		Type:           "enum",
	},
	"debugid": {
		AllowedChoices: []string{},
		ConvertedName:  "DebugID",
		Description:    `Can be used to correlate with a DebugBundle.`,
		Exposed:        true,
		Name:           "debugID",
		Type:           "string",
	},
	"debugpcapfilter": {
		AllowedChoices: []string{},
		ConvertedName:  "DebugPcapFilter",
		Description:    `Packet capture filter, syntax varying by platform.`,
		Exposed:        true,
		Name:           "debugPcapFilter",
		Type:           "string",
	},
	"debugprocessingunitid": {
		AllowedChoices: []string{},
		ConvertedName:  "DebugProcessingUnitID",
		Description:    `Isolates debug information to a given processing unit, where possible.`,
		Exposed:        true,
		Name:           "debugProcessingUnitID",
		Type:           "string",
	},
	"migrationversion": {
		AllowedChoices: []string{},
		ConvertedName:  "MigrationVersion",
		Description:    `Defines the version to migrate enforcers.`,
		Exposed:        true,
		Name:           "migrationVersion",
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Contains the original namespace of the enforcer.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"refreshtype": {
		AllowedChoices: []string{"Debug", "Migration"},
		BSONFieldName:  "refreshtype",
		ConvertedName:  "RefreshType",
		DefaultValue:   EnforcerRefreshRefreshTypeDebug,
		Description:    `Indicates the type of refresh.`,
		Exposed:        true,
		Name:           "refreshType",
		Stored:         true,
		Type:           "enum",
	},
	"selector": {
		AllowedChoices: []string{},
		ConvertedName:  "Selector",
		Description:    `Request a command for the enforcers matching the following tag expression.`,
		Exposed:        true,
		Name:           "selector",
		SubType:        "[][]string",
		Type:           "external",
	},
}

EnforcerRefreshLowerCaseAttributesMap represents the map of attribute for EnforcerRefresh.

View Source
var EnforcerReportAttributesMap = map[string]elemental.AttributeSpecification{
	"CPULoad": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "CPULoad",
		Description:    `Total CPU utilization of the enforcer as a percentage of vCPUs.`,
		Exposed:        true,
		Name:           "CPULoad",
		Stored:         true,
		Type:           "float",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"LicenseType": {
		AllowedChoices: []string{"Host", "Container"},
		BSONFieldName:  "h",
		ConvertedName:  "LicenseType",
		DefaultValue:   EnforcerReportLicenseTypeHost,
		Description:    `Type of license for this enforcer.`,
		Exposed:        true,
		Name:           "licenseType",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"Memory": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "Memory",
		Description:    `Total resident memory used by the enforcer in bytes.`,
		Exposed:        true,
		Name:           "memory",
		Stored:         true,
		Type:           "integer",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "Name",
		Description:    `Name of the enforcer.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Processes": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "Processes",
		Description:    `Number of active processes of the enforcer.`,
		Exposed:        true,
		Name:           "processes",
		Stored:         true,
		Type:           "integer",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EnforcerReportAttributesMap represents the map of attribute for EnforcerReport.

View Source
var EnforcerReportIdentity = elemental.Identity{
	Name:     "enforcerreport",
	Category: "enforcerreports",
	Package:  "zack",
	Private:  false,
}

EnforcerReportIdentity represents the Identity of the object.

View Source
var EnforcerReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"cpuload": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "CPULoad",
		Description:    `Total CPU utilization of the enforcer as a percentage of vCPUs.`,
		Exposed:        true,
		Name:           "CPULoad",
		Stored:         true,
		Type:           "float",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"licensetype": {
		AllowedChoices: []string{"Host", "Container"},
		BSONFieldName:  "h",
		ConvertedName:  "LicenseType",
		DefaultValue:   EnforcerReportLicenseTypeHost,
		Description:    `Type of license for this enforcer.`,
		Exposed:        true,
		Name:           "licenseType",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"memory": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "Memory",
		Description:    `Total resident memory used by the enforcer in bytes.`,
		Exposed:        true,
		Name:           "memory",
		Stored:         true,
		Type:           "integer",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "Name",
		Description:    `Name of the enforcer.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"processes": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "Processes",
		Description:    `Number of active processes of the enforcer.`,
		Exposed:        true,
		Name:           "processes",
		Stored:         true,
		Type:           "integer",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EnforcerReportLowerCaseAttributesMap represents the map of attribute for EnforcerReport.

View Source
var EnforcerTraceReportAttributesMap = map[string]elemental.AttributeSpecification{
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerid",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer where the trace was collected.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcernamespace",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer where the trace was collected.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit where the trace was collected.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"PuID": {
		AllowedChoices: []string{},
		BSONFieldName:  "puid",
		ConvertedName:  "PuID",
		Description:    `ID of the processing unit where the trace was collected.`,
		Exposed:        true,
		Name:           "puID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Records": {
		AllowedChoices: []string{},
		BSONFieldName:  "records",
		ConvertedName:  "Records",
		Description:    `List of iptables trace records collected.`,
		Name:           "records",
		Stored:         true,
		SubType:        "tracerecord",
		Type:           "refList",
	},
}

EnforcerTraceReportAttributesMap represents the map of attribute for EnforcerTraceReport.

View Source
var EnforcerTraceReportIdentity = elemental.Identity{
	Name:     "enforcertracereport",
	Category: "enforcertracereports",
	Package:  "zack",
	Private:  false,
}

EnforcerTraceReportIdentity represents the Identity of the object.

View Source
var EnforcerTraceReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerid",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer where the trace was collected.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcernamespace",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer where the trace was collected.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit where the trace was collected.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"puid": {
		AllowedChoices: []string{},
		BSONFieldName:  "puid",
		ConvertedName:  "PuID",
		Description:    `ID of the processing unit where the trace was collected.`,
		Exposed:        true,
		Name:           "puID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"records": {
		AllowedChoices: []string{},
		BSONFieldName:  "records",
		ConvertedName:  "Records",
		Description:    `List of iptables trace records collected.`,
		Name:           "records",
		Stored:         true,
		SubType:        "tracerecord",
		Type:           "refList",
	},
}

EnforcerTraceReportLowerCaseAttributesMap represents the map of attribute for EnforcerTraceReport.

View Source
var EventLogAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Category": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "Category",
		CreationOnly:   true,
		Description:    `Category of the event log.`,
		Exposed:        true,
		Name:           "category",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Content": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the event log.`,
		Exposed:        true,
		Name:           "content",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Date": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Date",
		CreationOnly:   true,
		Deprecated:     true,
		Description:    `Creation date of the event log.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		Transient:      true,
		Type:           "time",
	},
	"Level": {
		AllowedChoices: []string{"Debug", "Info", "Warning", "Error", "Critical"},
		BSONFieldName:  "d",
		ConvertedName:  "Level",
		CreationOnly:   true,
		DefaultValue:   EventLogLevelInfo,
		Description:    `Sets the log level.`,
		Exposed:        true,
		Name:           "level",
		Stored:         true,
		Type:           "enum",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "e",
		ConvertedName:  "Namespace",
		CreationOnly:   true,
		Description:    `Namespace tag attached to the event log.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Opaque": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "Opaque",
		CreationOnly:   true,
		Description: `Opaque data that can be attached to the event log, for further machine
processing.`,
		Exposed:   true,
		Name:      "opaque",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"TargetID": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "TargetID",
		CreationOnly:   true,
		Description: `ID of the object this event log is attached to. The object must be in the same
namespace than the event log.`,
		Exposed:  true,
		Name:     "targetID",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"TargetIdentity": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "TargetIdentity",
		CreationOnly:   true,
		Description:    `Identity of the object this event log is attached to.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "Timestamp",
		Description:    `Creation date of the event log.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Title": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Title",
		CreationOnly:   true,
		Description:    `Title of the event log.`,
		Exposed:        true,
		Name:           "title",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EventLogAttributesMap represents the map of attribute for EventLog.

View Source
var EventLogIdentity = elemental.Identity{
	Name:     "eventlog",
	Category: "eventlogs",
	Package:  "leon",
	Private:  false,
}

EventLogIdentity represents the Identity of the object.

View Source
var EventLogLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"category": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "Category",
		CreationOnly:   true,
		Description:    `Category of the event log.`,
		Exposed:        true,
		Name:           "category",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"content": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the event log.`,
		Exposed:        true,
		Name:           "content",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"date": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Date",
		CreationOnly:   true,
		Deprecated:     true,
		Description:    `Creation date of the event log.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		Transient:      true,
		Type:           "time",
	},
	"level": {
		AllowedChoices: []string{"Debug", "Info", "Warning", "Error", "Critical"},
		BSONFieldName:  "d",
		ConvertedName:  "Level",
		CreationOnly:   true,
		DefaultValue:   EventLogLevelInfo,
		Description:    `Sets the log level.`,
		Exposed:        true,
		Name:           "level",
		Stored:         true,
		Type:           "enum",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "e",
		ConvertedName:  "Namespace",
		CreationOnly:   true,
		Description:    `Namespace tag attached to the event log.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"opaque": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "Opaque",
		CreationOnly:   true,
		Description: `Opaque data that can be attached to the event log, for further machine
processing.`,
		Exposed:   true,
		Name:      "opaque",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"targetid": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "TargetID",
		CreationOnly:   true,
		Description: `ID of the object this event log is attached to. The object must be in the same
namespace than the event log.`,
		Exposed:  true,
		Name:     "targetID",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"targetidentity": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "TargetIdentity",
		CreationOnly:   true,
		Description:    `Identity of the object this event log is attached to.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "Timestamp",
		Description:    `Creation date of the event log.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"title": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Title",
		CreationOnly:   true,
		Description:    `Title of the event log.`,
		Exposed:        true,
		Name:           "title",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

EventLogLowerCaseAttributesMap represents the map of attribute for EventLog.

View Source
var ExportAttributesMap = map[string]elemental.AttributeSpecification{
	"APIVersion": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "apiversion",
		ConvertedName:  "APIVersion",
		Description:    `Version of the Microsegmentation Console API used for the exported data.`,
		Exposed:        true,
		Name:           "APIVersion",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"Data": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `List of all exported data.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "map[string][]map[string]interface{}",
		Type:           "external",
	},
	"Identities": {
		AllowedChoices: []string{},
		BSONFieldName:  "identities",
		ConvertedName:  "Identities",
		Description:    `The list of identities to export.`,
		Exposed:        true,
		Name:           "identities",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Label": {
		AllowedChoices: []string{},
		BSONFieldName:  "label",
		ConvertedName:  "Label",
		Description: `Allows you to define a unique label for this export. When importing the
content of the export, this label will be added as a tag that will be used to
recognize imported object in a later import.`,
		Exposed: true,
		Name:    "label",
		Stored:  true,
		Type:    "string",
	},
}

ExportAttributesMap represents the map of attribute for Export.

View Source
var ExportIdentity = elemental.Identity{
	Name:     "export",
	Category: "export",
	Package:  "yuna",
	Private:  false,
}

ExportIdentity represents the Identity of the object.

View Source
var ExportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiversion": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "apiversion",
		ConvertedName:  "APIVersion",
		Description:    `Version of the Microsegmentation Console API used for the exported data.`,
		Exposed:        true,
		Name:           "APIVersion",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"data": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `List of all exported data.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "map[string][]map[string]interface{}",
		Type:           "external",
	},
	"identities": {
		AllowedChoices: []string{},
		BSONFieldName:  "identities",
		ConvertedName:  "Identities",
		Description:    `The list of identities to export.`,
		Exposed:        true,
		Name:           "identities",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"label": {
		AllowedChoices: []string{},
		BSONFieldName:  "label",
		ConvertedName:  "Label",
		Description: `Allows you to define a unique label for this export. When importing the
content of the export, this label will be added as a tag that will be used to
recognize imported object in a later import.`,
		Exposed: true,
		Name:    "label",
		Stored:  true,
		Type:    "string",
	},
}

ExportLowerCaseAttributesMap represents the map of attribute for Export.

View Source
var ExternalNetworkAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"Archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Entries": {
		AllowedChoices: []string{},
		BSONFieldName:  "entries",
		ConvertedName:  "Entries",
		Description:    `List of CIDRs or domain name.`,
		Exposed:        true,
		Name:           "entries",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ServicePorts": {
		AllowedChoices: []string{},
		BSONFieldName:  "serviceports",
		ConvertedName:  "ServicePorts",
		Description:    `List of protocol/ports ` + "`" + `(tcp/80)` + "`" + ` or ` + "`" + `(udp/80:100)` + "`" + `.`,
		Exposed:        true,
		Name:           "servicePorts",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Type": {
		AllowedChoices: []string{"ENI", "RDSCluster", "RDSInstance", "SecurityGroup", "Subnet"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   ExternalNetworkTypeSubnet,
		Description:    `The type of external network (default ` + "`" + `Subnet` + "`" + `).`,
		Exposed:        true,
		Filterable:     true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ExternalNetworkAttributesMap represents the map of attribute for ExternalNetwork.

View Source
var ExternalNetworkIdentity = elemental.Identity{
	Name:     "externalnetwork",
	Category: "externalnetworks",
	Package:  "squall",
	Private:  false,
}

ExternalNetworkIdentity represents the Identity of the object.

View Source
var ExternalNetworkLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"entries": {
		AllowedChoices: []string{},
		BSONFieldName:  "entries",
		ConvertedName:  "Entries",
		Description:    `List of CIDRs or domain name.`,
		Exposed:        true,
		Name:           "entries",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"serviceports": {
		AllowedChoices: []string{},
		BSONFieldName:  "serviceports",
		ConvertedName:  "ServicePorts",
		Description:    `List of protocol/ports ` + "`" + `(tcp/80)` + "`" + ` or ` + "`" + `(udp/80:100)` + "`" + `.`,
		Exposed:        true,
		Name:           "servicePorts",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"type": {
		AllowedChoices: []string{"ENI", "RDSCluster", "RDSInstance", "SecurityGroup", "Subnet"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   ExternalNetworkTypeSubnet,
		Description:    `The type of external network (default ` + "`" + `Subnet` + "`" + `).`,
		Exposed:        true,
		Filterable:     true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ExternalNetworkLowerCaseAttributesMap represents the map of attribute for ExternalNetwork.

View Source
var FileAccessPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"AllowsExecute": {
		AllowedChoices: []string{},
		ConvertedName:  "AllowsExecute",
		Description:    `Allows files to be executed.`,
		Exposed:        true,
		Name:           "allowsExecute",
		Orderable:      true,
		Type:           "boolean",
	},
	"AllowsRead": {
		AllowedChoices: []string{},
		ConvertedName:  "AllowsRead",
		Description:    `Allows files to be read.`,
		Exposed:        true,
		Name:           "allowsRead",
		Orderable:      true,
		Type:           "boolean",
	},
	"AllowsWrite": {
		AllowedChoices: []string{},
		ConvertedName:  "AllowsWrite",
		Description:    `Allows files to be written.`,
		Exposed:        true,
		Name:           "allowsWrite",
		Orderable:      true,
		Type:           "boolean",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"EncryptionEnabled": {
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `Set to ` + "`" + `true` + "`" + ` to enable automatic encryption.`,
		Exposed:        true,
		Name:           "encryptionEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"LogsEnabled": {
		AllowedChoices: []string{},
		ConvertedName:  "LogsEnabled",
		Description:    `A value of ` + "`" + `true` + "`" + ` enables logging.`,
		Exposed:        true,
		Name:           "logsEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `The object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `The subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

FileAccessPolicyAttributesMap represents the map of attribute for FileAccessPolicy.

View Source
var FileAccessPolicyIdentity = elemental.Identity{
	Name:     "fileaccesspolicy",
	Category: "fileaccesspolicies",
	Package:  "squall",
	Private:  false,
}

FileAccessPolicyIdentity represents the Identity of the object.

View Source
var FileAccessPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"allowsexecute": {
		AllowedChoices: []string{},
		ConvertedName:  "AllowsExecute",
		Description:    `Allows files to be executed.`,
		Exposed:        true,
		Name:           "allowsExecute",
		Orderable:      true,
		Type:           "boolean",
	},
	"allowsread": {
		AllowedChoices: []string{},
		ConvertedName:  "AllowsRead",
		Description:    `Allows files to be read.`,
		Exposed:        true,
		Name:           "allowsRead",
		Orderable:      true,
		Type:           "boolean",
	},
	"allowswrite": {
		AllowedChoices: []string{},
		ConvertedName:  "AllowsWrite",
		Description:    `Allows files to be written.`,
		Exposed:        true,
		Name:           "allowsWrite",
		Orderable:      true,
		Type:           "boolean",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"encryptionenabled": {
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `Set to ` + "`" + `true` + "`" + ` to enable automatic encryption.`,
		Exposed:        true,
		Name:           "encryptionEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"logsenabled": {
		AllowedChoices: []string{},
		ConvertedName:  "LogsEnabled",
		Description:    `A value of ` + "`" + `true` + "`" + ` enables logging.`,
		Exposed:        true,
		Name:           "logsEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `The object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `The subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

FileAccessPolicyLowerCaseAttributesMap represents the map of attribute for FileAccessPolicy.

View Source
var FileAccessReportAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Accept", "Reject", "Limit"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action taken.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"Host": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "Host",
		DefaultValue:   "localhost",
		Description:    `Host storing the file.`,
		Exposed:        true,
		Name:           "host",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Mode": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "Mode",
		DefaultValue:   "rxw",
		Description:    `Mode of file access.`,
		Exposed:        true,
		Name:           "mode",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Path": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "Path",
		DefaultValue:   "/etc/passwd",
		Description:    `Path of the file.`,
		Exposed:        true,
		Name:           "path",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

FileAccessReportAttributesMap represents the map of attribute for FileAccessReport.

View Source
var FileAccessReportIdentity = elemental.Identity{
	Name:     "fileaccessreport",
	Category: "fileaccessreports",
	Package:  "zack",
	Private:  false,
}

FileAccessReportIdentity represents the Identity of the object.

View Source
var FileAccessReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Accept", "Reject", "Limit"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action taken.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"host": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "Host",
		DefaultValue:   "localhost",
		Description:    `Host storing the file.`,
		Exposed:        true,
		Name:           "host",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"mode": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "Mode",
		DefaultValue:   "rxw",
		Description:    `Mode of file access.`,
		Exposed:        true,
		Name:           "mode",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"path": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "Path",
		DefaultValue:   "/etc/passwd",
		Description:    `Path of the file.`,
		Exposed:        true,
		Name:           "path",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"processingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"processingunitnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

FileAccessReportLowerCaseAttributesMap represents the map of attribute for FileAccessReport.

View Source
var FilePathAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"Archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Filepath": {
		AllowedChoices: []string{},
		BSONFieldName:  "filepath",
		ConvertedName:  "Filepath",
		Description:    `FilePath refer to the file mount path.`,
		Exposed:        true,
		Name:           "filepath",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Server": {
		AllowedChoices: []string{},
		BSONFieldName:  "server",
		ConvertedName:  "Server",
		CreationOnly:   true,
		Description:    `server is the server name/ID/IP associated with the file path.`,
		Exposed:        true,
		Name:           "server",
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

FilePathAttributesMap represents the map of attribute for FilePath.

View Source
var FilePathIdentity = elemental.Identity{
	Name:     "filepath",
	Category: "filepaths",
	Package:  "squall",
	Private:  false,
}

FilePathIdentity represents the Identity of the object.

View Source
var FilePathLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"filepath": {
		AllowedChoices: []string{},
		BSONFieldName:  "filepath",
		ConvertedName:  "Filepath",
		Description:    `FilePath refer to the file mount path.`,
		Exposed:        true,
		Name:           "filepath",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"server": {
		AllowedChoices: []string{},
		BSONFieldName:  "server",
		ConvertedName:  "Server",
		CreationOnly:   true,
		Description:    `server is the server name/ID/IP associated with the file path.`,
		Exposed:        true,
		Name:           "server",
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

FilePathLowerCaseAttributesMap represents the map of attribute for FilePath.

View Source
var FlowReportAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Accept", "Reject"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action applied to the flow.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"DestinationController": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "DestinationController",
		Description:    `Identifier of the destination controller.`,
		Exposed:        true,
		Name:           "destinationController",
		Stored:         true,
		Type:           "string",
	},
	"DestinationID": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination.`,
		Exposed:        true,
		Name:           "destinationID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"DestinationIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "DestinationIP",
		Description:    `Destination IP address.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"DestinationNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "DestinationNamespace",
		Deprecated:     true,
		Description: `Namespace of the destination. This is deprecated. Use ` + "`" + `remoteNamespace` + "`" + `. This
property does nothing.`,
		Exposed: true,
		Name:    "destinationNamespace",
		Stored:  true,
		Type:    "string",
	},
	"DestinationPlatform": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "DestinationPlatform",
		Description:    `Identifier of the destination platform.`,
		Exposed:        true,
		Name:           "destinationPlatform",
		Stored:         true,
		Type:           "string",
	},
	"DestinationPort": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "DestinationPort",
		Description:    `Port of the destination.`,
		Exposed:        true,
		Name:           "destinationPort",
		Stored:         true,
		Type:           "integer",
	},
	"DestinationType": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		BSONFieldName:  "h",
		ConvertedName:  "DestinationType",
		Description:    `Destination type.`,
		Exposed:        true,
		Name:           "destinationType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"DropReason": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "DropReason",
		Description: `This field is only set if ` + "`" + `action` + "`" + ` is set to ` + "`" + `Reject` + "`" + `. It specifies the reason
for the rejection.`,
		Exposed: true,
		Name:    "dropReason",
		Stored:  true,
		Type:    "string",
	},
	"Encrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Encrypted",
		Description:    `If ` + "`" + `true` + "`" + `, the flow was encrypted.`,
		Exposed:        true,
		Name:           "encrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "ak",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer where the report was collected.`,
		Exposed:        true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "Namespace",
		Deprecated:     true,
		Description:    `This is here for backward compatibility.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Observed": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "Observed",
		Description:    `If ` + "`" + `true` + "`" + `, design mode is on.`,
		Exposed:        true,
		Name:           "observed",
		Stored:         true,
		Type:           "boolean",
	},
	"ObservedAction": {
		AllowedChoices: []string{"Accept", "Reject", "NotApplicable"},
		BSONFieldName:  "m",
		ConvertedName:  "ObservedAction",
		DefaultValue:   FlowReportObservedActionNotApplicable,
		Description:    `Action observed on the flow.`,
		Exposed:        true,
		Name:           "observedAction",
		Stored:         true,
		Type:           "enum",
	},
	"ObservedDropReason": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "ObservedDropReason",
		Description: `Specifies the reason for a rejection. Only set if ` + "`" + `observedAction` + "`" + ` is set
to ` + "`" + `Reject` + "`" + `.`,
		Exposed: true,
		Name:    "observedDropReason",
		Stored:  true,
		Type:    "string",
	},
	"ObservedEncrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "ObservedEncrypted",
		Description:    `Value of the encryption of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"ObservedPolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "ObservedPolicyID",
		Description:    `ID of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"ObservedPolicyNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "ObservedPolicyNamespace",
		Description:    `Namespace of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyNamespace",
		Stored:         true,
		Type:           "string",
	},
	"PolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "PolicyID",
		Description:    `ID of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"PolicyNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "PolicyNamespace",
		Description:    `Namespace of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		Name:           "protocol",
		Stored:         true,
		Type:           "integer",
	},
	"RemoteNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "u",
		ConvertedName:  "RemoteNamespace",
		Description:    `Namespace of the object at the other end of the flow.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		Stored:         true,
		Type:           "string",
	},
	"RemotePolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "al",
		ConvertedName:  "RemotePolicyID",
		Description:    `ID of the network policy that accepted the flow at the remote endpoint.`,
		Exposed:        true,
		Name:           "remotePolicyID",
		Stored:         true,
		Type:           "string",
	},
	"RuleName": {
		AllowedChoices: []string{},
		BSONFieldName:  "ba",
		ConvertedName:  "RuleName",
		Description: `Contains the eventual name assigned to the particular rule in the
NetworkRuleSetPolicy that acted on the flow.`,
		Exposed: true,
		Name:    "ruleName",
		Stored:  true,
		Type:    "string",
	},
	"ServiceClaimHash": {
		AllowedChoices: []string{},
		BSONFieldName:  "v",
		ConvertedName:  "ServiceClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "serviceClaimHash",
		Stored:         true,
		Type:           "string",
	},
	"ServiceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "w",
		ConvertedName:  "ServiceID",
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceID",
		Stored:         true,
		Type:           "string",
	},
	"ServiceNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "x",
		ConvertedName:  "ServiceNamespace",
		Description:    `Namespace of Service accessed.`,
		Exposed:        true,
		Name:           "serviceNamespace",
		Stored:         true,
		Type:           "string",
	},
	"ServiceType": {
		AllowedChoices: []string{"L3", "HTTP", "TCP", "NotApplicable"},
		BSONFieldName:  "y",
		ConvertedName:  "ServiceType",
		DefaultValue:   FlowReportServiceTypeNotApplicable,
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		Stored:         true,
		Type:           "enum",
	},
	"ServiceURL": {
		AllowedChoices: []string{},
		BSONFieldName:  "z",
		ConvertedName:  "ServiceURL",
		Description:    `Service URL accessed.`,
		Exposed:        true,
		Name:           "serviceURL",
		Stored:         true,
		Type:           "string",
	},
	"SourceController": {
		AllowedChoices: []string{},
		BSONFieldName:  "aa",
		ConvertedName:  "SourceController",
		Description:    `Identifier of the source controller.`,
		Exposed:        true,
		Name:           "sourceController",
		Stored:         true,
		Type:           "string",
	},
	"SourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "ab",
		ConvertedName:  "SourceID",
		Description:    `ID of the source.`,
		Exposed:        true,
		Name:           "sourceID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"SourceIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "ac",
		ConvertedName:  "SourceIP",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"SourceNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "ad",
		ConvertedName:  "SourceNamespace",
		Deprecated:     true,
		Description: `Namespace of the source. This is deprecated. Use ` + "`" + `remoteNamespace` + "`" + `. This
property does nothing.`,
		Exposed: true,
		Name:    "sourceNamespace",
		Stored:  true,
		Type:    "string",
	},
	"SourcePlatform": {
		AllowedChoices: []string{},
		BSONFieldName:  "ae",
		ConvertedName:  "SourcePlatform",
		Description:    `Identifier of the source platform.`,
		Exposed:        true,
		Name:           "sourcePlatform",
		Stored:         true,
		Type:           "string",
	},
	"SourceType": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		BSONFieldName:  "af",
		ConvertedName:  "SourceType",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "ag",
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the log.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Value": {
		AllowedChoices: []string{},
		BSONFieldName:  "ah",
		ConvertedName:  "Value",
		Description:    `Number of flows in the log.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

FlowReportAttributesMap represents the map of attribute for FlowReport.

View Source
var FlowReportIdentity = elemental.Identity{
	Name:     "flowreport",
	Category: "flowreports",
	Package:  "zack",
	Private:  false,
}

FlowReportIdentity represents the Identity of the object.

View Source
var FlowReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Accept", "Reject"},
		BSONFieldName:  "a",
		ConvertedName:  "Action",
		Description:    `Action applied to the flow.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"destinationcontroller": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "DestinationController",
		Description:    `Identifier of the destination controller.`,
		Exposed:        true,
		Name:           "destinationController",
		Stored:         true,
		Type:           "string",
	},
	"destinationid": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination.`,
		Exposed:        true,
		Name:           "destinationID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"destinationip": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "DestinationIP",
		Description:    `Destination IP address.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"destinationnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "DestinationNamespace",
		Deprecated:     true,
		Description: `Namespace of the destination. This is deprecated. Use ` + "`" + `remoteNamespace` + "`" + `. This
property does nothing.`,
		Exposed: true,
		Name:    "destinationNamespace",
		Stored:  true,
		Type:    "string",
	},
	"destinationplatform": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "DestinationPlatform",
		Description:    `Identifier of the destination platform.`,
		Exposed:        true,
		Name:           "destinationPlatform",
		Stored:         true,
		Type:           "string",
	},
	"destinationport": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "DestinationPort",
		Description:    `Port of the destination.`,
		Exposed:        true,
		Name:           "destinationPort",
		Stored:         true,
		Type:           "integer",
	},
	"destinationtype": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		BSONFieldName:  "h",
		ConvertedName:  "DestinationType",
		Description:    `Destination type.`,
		Exposed:        true,
		Name:           "destinationType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"dropreason": {
		AllowedChoices: []string{},
		BSONFieldName:  "i",
		ConvertedName:  "DropReason",
		Description: `This field is only set if ` + "`" + `action` + "`" + ` is set to ` + "`" + `Reject` + "`" + `. It specifies the reason
for the rejection.`,
		Exposed: true,
		Name:    "dropReason",
		Stored:  true,
		Type:    "string",
	},
	"encrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Encrypted",
		Description:    `If ` + "`" + `true` + "`" + `, the flow was encrypted.`,
		Exposed:        true,
		Name:           "encrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "ak",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer where the report was collected.`,
		Exposed:        true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "Namespace",
		Deprecated:     true,
		Description:    `This is here for backward compatibility.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"observed": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "Observed",
		Description:    `If ` + "`" + `true` + "`" + `, design mode is on.`,
		Exposed:        true,
		Name:           "observed",
		Stored:         true,
		Type:           "boolean",
	},
	"observedaction": {
		AllowedChoices: []string{"Accept", "Reject", "NotApplicable"},
		BSONFieldName:  "m",
		ConvertedName:  "ObservedAction",
		DefaultValue:   FlowReportObservedActionNotApplicable,
		Description:    `Action observed on the flow.`,
		Exposed:        true,
		Name:           "observedAction",
		Stored:         true,
		Type:           "enum",
	},
	"observeddropreason": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "ObservedDropReason",
		Description: `Specifies the reason for a rejection. Only set if ` + "`" + `observedAction` + "`" + ` is set
to ` + "`" + `Reject` + "`" + `.`,
		Exposed: true,
		Name:    "observedDropReason",
		Stored:  true,
		Type:    "string",
	},
	"observedencrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "ObservedEncrypted",
		Description:    `Value of the encryption of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"observedpolicyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "ObservedPolicyID",
		Description:    `ID of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"observedpolicynamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "ObservedPolicyNamespace",
		Description:    `Namespace of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyNamespace",
		Stored:         true,
		Type:           "string",
	},
	"policyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "PolicyID",
		Description:    `ID of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"policynamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "PolicyNamespace",
		Description:    `Namespace of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		Name:           "protocol",
		Stored:         true,
		Type:           "integer",
	},
	"remotenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "u",
		ConvertedName:  "RemoteNamespace",
		Description:    `Namespace of the object at the other end of the flow.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		Stored:         true,
		Type:           "string",
	},
	"remotepolicyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "al",
		ConvertedName:  "RemotePolicyID",
		Description:    `ID of the network policy that accepted the flow at the remote endpoint.`,
		Exposed:        true,
		Name:           "remotePolicyID",
		Stored:         true,
		Type:           "string",
	},
	"rulename": {
		AllowedChoices: []string{},
		BSONFieldName:  "ba",
		ConvertedName:  "RuleName",
		Description: `Contains the eventual name assigned to the particular rule in the
NetworkRuleSetPolicy that acted on the flow.`,
		Exposed: true,
		Name:    "ruleName",
		Stored:  true,
		Type:    "string",
	},
	"serviceclaimhash": {
		AllowedChoices: []string{},
		BSONFieldName:  "v",
		ConvertedName:  "ServiceClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "serviceClaimHash",
		Stored:         true,
		Type:           "string",
	},
	"serviceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "w",
		ConvertedName:  "ServiceID",
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceID",
		Stored:         true,
		Type:           "string",
	},
	"servicenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "x",
		ConvertedName:  "ServiceNamespace",
		Description:    `Namespace of Service accessed.`,
		Exposed:        true,
		Name:           "serviceNamespace",
		Stored:         true,
		Type:           "string",
	},
	"servicetype": {
		AllowedChoices: []string{"L3", "HTTP", "TCP", "NotApplicable"},
		BSONFieldName:  "y",
		ConvertedName:  "ServiceType",
		DefaultValue:   FlowReportServiceTypeNotApplicable,
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		Stored:         true,
		Type:           "enum",
	},
	"serviceurl": {
		AllowedChoices: []string{},
		BSONFieldName:  "z",
		ConvertedName:  "ServiceURL",
		Description:    `Service URL accessed.`,
		Exposed:        true,
		Name:           "serviceURL",
		Stored:         true,
		Type:           "string",
	},
	"sourcecontroller": {
		AllowedChoices: []string{},
		BSONFieldName:  "aa",
		ConvertedName:  "SourceController",
		Description:    `Identifier of the source controller.`,
		Exposed:        true,
		Name:           "sourceController",
		Stored:         true,
		Type:           "string",
	},
	"sourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "ab",
		ConvertedName:  "SourceID",
		Description:    `ID of the source.`,
		Exposed:        true,
		Name:           "sourceID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"sourceip": {
		AllowedChoices: []string{},
		BSONFieldName:  "ac",
		ConvertedName:  "SourceIP",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"sourcenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "ad",
		ConvertedName:  "SourceNamespace",
		Deprecated:     true,
		Description: `Namespace of the source. This is deprecated. Use ` + "`" + `remoteNamespace` + "`" + `. This
property does nothing.`,
		Exposed: true,
		Name:    "sourceNamespace",
		Stored:  true,
		Type:    "string",
	},
	"sourceplatform": {
		AllowedChoices: []string{},
		BSONFieldName:  "ae",
		ConvertedName:  "SourcePlatform",
		Description:    `Identifier of the source platform.`,
		Exposed:        true,
		Name:           "sourcePlatform",
		Stored:         true,
		Type:           "string",
	},
	"sourcetype": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		BSONFieldName:  "af",
		ConvertedName:  "SourceType",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "ag",
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the log.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"value": {
		AllowedChoices: []string{},
		BSONFieldName:  "ah",
		ConvertedName:  "Value",
		Description:    `Number of flows in the log.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "integer",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

FlowReportLowerCaseAttributesMap represents the map of attribute for FlowReport.

View Source
var GraphEdgeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `DB Identifier of the edge.`,
		Identifier:     true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"AcceptedFlows": {
		AllowedChoices: []string{},
		BSONFieldName:  "acceptedflows",
		ConvertedName:  "AcceptedFlows",
		Description:    `Number of accepted flows in the edge.`,
		Exposed:        true,
		Name:           "acceptedFlows",
		Stored:         true,
		Type:           "boolean",
	},
	"BucketDay": {
		AllowedChoices: []string{},
		BSONFieldName:  "bucketday",
		ConvertedName:  "BucketDay",
		Description:    `The date for the day bucket.`,
		Name:           "bucketDay",
		Stored:         true,
		Type:           "time",
	},
	"BucketHour": {
		AllowedChoices: []string{},
		BSONFieldName:  "buckethour",
		ConvertedName:  "BucketHour",
		Description:    `The date for the hour bucket.`,
		Name:           "bucketHour",
		Stored:         true,
		Type:           "time",
	},
	"BucketMinute": {
		AllowedChoices: []string{},
		BSONFieldName:  "bucketminute",
		ConvertedName:  "BucketMinute",
		Description:    `The date for the minute bucket.`,
		Name:           "bucketMinute",
		Stored:         true,
		Type:           "time",
	},
	"BucketMonth": {
		AllowedChoices: []string{},
		BSONFieldName:  "bucketmonth",
		ConvertedName:  "BucketMonth",
		Description:    `The date for the month bucket.`,
		Name:           "bucketMonth",
		Stored:         true,
		Type:           "time",
	},
	"DestinationController": {
		AllowedChoices: []string{},
		BSONFieldName:  "destinationcontroller",
		ConvertedName:  "DestinationController",
		Description:    `Name of the remote destination controller if different than the current one.`,
		Exposed:        true,
		Name:           "destinationController",
		Stored:         true,
		Type:           "string",
	},
	"DestinationID": {
		AllowedChoices: []string{},
		BSONFieldName:  "destinationid",
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "destinationID",
		Stored:         true,
		Type:           "string",
	},
	"DestinationType": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Namespace", "Node", "RemoteController"},
		BSONFieldName:  "destinationtype",
		ConvertedName:  "DestinationType",
		Description:    `Type of the destination ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "destinationType",
		Stored:         true,
		Type:           "enum",
	},
	"Encrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "encrypted",
		ConvertedName:  "Encrypted",
		Description:    `The number of encrypted flows in the edge.`,
		Exposed:        true,
		Name:           "encrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"FirstSeen": {
		AllowedChoices: []string{},
		BSONFieldName:  "firstseen",
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date when the edge was first seen.`,
		Exposed:        true,
		Name:           "firstSeen",
		Stored:         true,
		Type:           "time",
	},
	"FlowID": {
		AllowedChoices: []string{},
		BSONFieldName:  "flowid",
		ConvertedName:  "FlowID",
		Description:    `Identifier of the edge.`,
		Exposed:        true,
		Name:           "flowID",
		Stored:         true,
		Type:           "string",
	},
	"LastSeen": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastseen",
		ConvertedName:  "LastSeen",
		Description:    `Contains the date when the edge was last seen.`,
		Exposed:        true,
		Name:           "lastSeen",
		Stored:         true,
		Type:           "time",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the object that reported the flow.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"ObservedAcceptedFlows": {
		AllowedChoices: []string{},
		BSONFieldName:  "observedacceptedflows",
		ConvertedName:  "ObservedAcceptedFlows",
		Description:    `Number of accepted observed flows.`,
		Exposed:        true,
		Name:           "observedAcceptedFlows",
		Stored:         true,
		Type:           "boolean",
	},
	"ObservedEncrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "observedencrypted",
		ConvertedName:  "ObservedEncrypted",
		Description:    `Number of encrypted observed flows.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"ObservedRejectedFlows": {
		AllowedChoices: []string{},
		BSONFieldName:  "observedrejectedflows",
		ConvertedName:  "ObservedRejectedFlows",
		Description:    `Number of rejected observed flows.`,
		Exposed:        true,
		Name:           "observedRejectedFlows",
		Stored:         true,
		Type:           "boolean",
	},
	"RejectedFlows": {
		AllowedChoices: []string{},
		BSONFieldName:  "rejectedflows",
		ConvertedName:  "RejectedFlows",
		Description:    `Number of rejected flows in the edge.`,
		Exposed:        true,
		Name:           "rejectedFlows",
		Stored:         true,
		Type:           "boolean",
	},
	"RemoteNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "remotenamespace",
		ConvertedName:  "RemoteNamespace",
		Description:    `Namespace of the object that was targeted by the flow.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		Stored:         true,
		Type:           "string",
	},
	"SourceController": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourcecontroller",
		ConvertedName:  "SourceController",
		Description:    `Name of the remote source controller if different than the current one.`,
		Exposed:        true,
		Name:           "sourceController",
		Stored:         true,
		Type:           "string",
	},
	"SourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourceid",
		ConvertedName:  "SourceID",
		Description:    `ID of the source ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "sourceID",
		Stored:         true,
		Type:           "string",
	},
	"SourceType": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Namespace", "Node", "RemoteController"},
		BSONFieldName:  "sourcetype",
		ConvertedName:  "SourceType",
		Description:    `Type of the source ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "sourceType",
		Stored:         true,
		Type:           "enum",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

GraphEdgeAttributesMap represents the map of attribute for GraphEdge.

View Source
var GraphEdgeIdentity = elemental.Identity{
	Name:     "graphedge",
	Category: "graphedges",
	Package:  "meteor",
	Private:  true,
}

GraphEdgeIdentity represents the Identity of the object.

View Source
var GraphEdgeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `DB Identifier of the edge.`,
		Identifier:     true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"acceptedflows": {
		AllowedChoices: []string{},
		BSONFieldName:  "acceptedflows",
		ConvertedName:  "AcceptedFlows",
		Description:    `Number of accepted flows in the edge.`,
		Exposed:        true,
		Name:           "acceptedFlows",
		Stored:         true,
		Type:           "boolean",
	},
	"bucketday": {
		AllowedChoices: []string{},
		BSONFieldName:  "bucketday",
		ConvertedName:  "BucketDay",
		Description:    `The date for the day bucket.`,
		Name:           "bucketDay",
		Stored:         true,
		Type:           "time",
	},
	"buckethour": {
		AllowedChoices: []string{},
		BSONFieldName:  "buckethour",
		ConvertedName:  "BucketHour",
		Description:    `The date for the hour bucket.`,
		Name:           "bucketHour",
		Stored:         true,
		Type:           "time",
	},
	"bucketminute": {
		AllowedChoices: []string{},
		BSONFieldName:  "bucketminute",
		ConvertedName:  "BucketMinute",
		Description:    `The date for the minute bucket.`,
		Name:           "bucketMinute",
		Stored:         true,
		Type:           "time",
	},
	"bucketmonth": {
		AllowedChoices: []string{},
		BSONFieldName:  "bucketmonth",
		ConvertedName:  "BucketMonth",
		Description:    `The date for the month bucket.`,
		Name:           "bucketMonth",
		Stored:         true,
		Type:           "time",
	},
	"destinationcontroller": {
		AllowedChoices: []string{},
		BSONFieldName:  "destinationcontroller",
		ConvertedName:  "DestinationController",
		Description:    `Name of the remote destination controller if different than the current one.`,
		Exposed:        true,
		Name:           "destinationController",
		Stored:         true,
		Type:           "string",
	},
	"destinationid": {
		AllowedChoices: []string{},
		BSONFieldName:  "destinationid",
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "destinationID",
		Stored:         true,
		Type:           "string",
	},
	"destinationtype": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Namespace", "Node", "RemoteController"},
		BSONFieldName:  "destinationtype",
		ConvertedName:  "DestinationType",
		Description:    `Type of the destination ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "destinationType",
		Stored:         true,
		Type:           "enum",
	},
	"encrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "encrypted",
		ConvertedName:  "Encrypted",
		Description:    `The number of encrypted flows in the edge.`,
		Exposed:        true,
		Name:           "encrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"firstseen": {
		AllowedChoices: []string{},
		BSONFieldName:  "firstseen",
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date when the edge was first seen.`,
		Exposed:        true,
		Name:           "firstSeen",
		Stored:         true,
		Type:           "time",
	},
	"flowid": {
		AllowedChoices: []string{},
		BSONFieldName:  "flowid",
		ConvertedName:  "FlowID",
		Description:    `Identifier of the edge.`,
		Exposed:        true,
		Name:           "flowID",
		Stored:         true,
		Type:           "string",
	},
	"lastseen": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastseen",
		ConvertedName:  "LastSeen",
		Description:    `Contains the date when the edge was last seen.`,
		Exposed:        true,
		Name:           "lastSeen",
		Stored:         true,
		Type:           "time",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the object that reported the flow.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"observedacceptedflows": {
		AllowedChoices: []string{},
		BSONFieldName:  "observedacceptedflows",
		ConvertedName:  "ObservedAcceptedFlows",
		Description:    `Number of accepted observed flows.`,
		Exposed:        true,
		Name:           "observedAcceptedFlows",
		Stored:         true,
		Type:           "boolean",
	},
	"observedencrypted": {
		AllowedChoices: []string{},
		BSONFieldName:  "observedencrypted",
		ConvertedName:  "ObservedEncrypted",
		Description:    `Number of encrypted observed flows.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Stored:         true,
		Type:           "boolean",
	},
	"observedrejectedflows": {
		AllowedChoices: []string{},
		BSONFieldName:  "observedrejectedflows",
		ConvertedName:  "ObservedRejectedFlows",
		Description:    `Number of rejected observed flows.`,
		Exposed:        true,
		Name:           "observedRejectedFlows",
		Stored:         true,
		Type:           "boolean",
	},
	"rejectedflows": {
		AllowedChoices: []string{},
		BSONFieldName:  "rejectedflows",
		ConvertedName:  "RejectedFlows",
		Description:    `Number of rejected flows in the edge.`,
		Exposed:        true,
		Name:           "rejectedFlows",
		Stored:         true,
		Type:           "boolean",
	},
	"remotenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "remotenamespace",
		ConvertedName:  "RemoteNamespace",
		Description:    `Namespace of the object that was targeted by the flow.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		Stored:         true,
		Type:           "string",
	},
	"sourcecontroller": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourcecontroller",
		ConvertedName:  "SourceController",
		Description:    `Name of the remote source controller if different than the current one.`,
		Exposed:        true,
		Name:           "sourceController",
		Stored:         true,
		Type:           "string",
	},
	"sourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourceid",
		ConvertedName:  "SourceID",
		Description:    `ID of the source ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "sourceID",
		Stored:         true,
		Type:           "string",
	},
	"sourcetype": {
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Namespace", "Node", "RemoteController"},
		BSONFieldName:  "sourcetype",
		ConvertedName:  "SourceType",
		Description:    `Type of the source ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "sourceType",
		Stored:         true,
		Type:           "enum",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

GraphEdgeLowerCaseAttributesMap represents the map of attribute for GraphEdge.

View Source
var GraphNodeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		BSONFieldName:  "id",
		ConvertedName:  "ID",
		Description:    `Identifier of object represented by the node.`,
		Exposed:        true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"EnforcementStatus": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcementstatus",
		ConvertedName:  "EnforcementStatus",
		Description:    `Enforcement status of processing unit represented by the node.`,
		Exposed:        true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "string",
	},
	"FirstSeen": {
		AllowedChoices: []string{},
		BSONFieldName:  "firstseen",
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date when the edge was first seen.`,
		Exposed:        true,
		Name:           "firstSeen",
		Stored:         true,
		Type:           "time",
	},
	"GroupID": {
		AllowedChoices: []string{},
		BSONFieldName:  "groupid",
		ConvertedName:  "GroupID",
		Description:    `ID of the group the node is eventually part of.`,
		Exposed:        true,
		Name:           "groupID",
		Stored:         true,
		Type:           "string",
	},
	"Images": {
		AllowedChoices: []string{},
		BSONFieldName:  "images",
		ConvertedName:  "Images",
		Description:    `List of images.`,
		Exposed:        true,
		Name:           "images",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"LastSeen": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastseen",
		ConvertedName:  "LastSeen",
		Description:    `Contains the date when the edge was last seen.`,
		Exposed:        true,
		Name:           "lastSeen",
		Stored:         true,
		Type:           "time",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of object represented by the node.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace of object represented by the node.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"Status": {
		AllowedChoices: []string{},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		Description:    `Status of object represented by the node.`,
		Exposed:        true,
		Name:           "status",
		Stored:         true,
		Type:           "string",
	},
	"Tags": {
		AllowedChoices: []string{},
		BSONFieldName:  "tags",
		ConvertedName:  "Tags",
		Description:    `Tags of object represented by the node.`,
		Exposed:        true,
		Name:           "tags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Type": {
		AllowedChoices: []string{"Docker", "ExternalNetwork", "Volume", "Claim", "Node", "Namespace", "RemoteController"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `Type of object represented by the node.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"Unreachable": {
		AllowedChoices: []string{},
		BSONFieldName:  "unreachable",
		ConvertedName:  "Unreachable",
		Description:    `If ` + "`" + `true` + "`" + ` the node is marked as unreachable.`,
		Exposed:        true,
		Name:           "unreachable",
		Stored:         true,
		Type:           "boolean",
	},
	"VulnerabilityLevel": {
		AllowedChoices: []string{},
		BSONFieldName:  "vulnerabilitylevel",
		ConvertedName:  "VulnerabilityLevel",
		Description:    `Tags of object represented by the node.`,
		Exposed:        true,
		Name:           "vulnerabilityLevel",
		Stored:         true,
		Type:           "string",
	},
}

GraphNodeAttributesMap represents the map of attribute for GraphNode.

View Source
var GraphNodeIdentity = elemental.Identity{
	Name:     "graphnode",
	Category: "graphnodes",
	Package:  "meteor",
	Private:  true,
}

GraphNodeIdentity represents the Identity of the object.

View Source
var GraphNodeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		BSONFieldName:  "id",
		ConvertedName:  "ID",
		Description:    `Identifier of object represented by the node.`,
		Exposed:        true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"enforcementstatus": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcementstatus",
		ConvertedName:  "EnforcementStatus",
		Description:    `Enforcement status of processing unit represented by the node.`,
		Exposed:        true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "string",
	},
	"firstseen": {
		AllowedChoices: []string{},
		BSONFieldName:  "firstseen",
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date when the edge was first seen.`,
		Exposed:        true,
		Name:           "firstSeen",
		Stored:         true,
		Type:           "time",
	},
	"groupid": {
		AllowedChoices: []string{},
		BSONFieldName:  "groupid",
		ConvertedName:  "GroupID",
		Description:    `ID of the group the node is eventually part of.`,
		Exposed:        true,
		Name:           "groupID",
		Stored:         true,
		Type:           "string",
	},
	"images": {
		AllowedChoices: []string{},
		BSONFieldName:  "images",
		ConvertedName:  "Images",
		Description:    `List of images.`,
		Exposed:        true,
		Name:           "images",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"lastseen": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastseen",
		ConvertedName:  "LastSeen",
		Description:    `Contains the date when the edge was last seen.`,
		Exposed:        true,
		Name:           "lastSeen",
		Stored:         true,
		Type:           "time",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of object represented by the node.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace of object represented by the node.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"status": {
		AllowedChoices: []string{},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		Description:    `Status of object represented by the node.`,
		Exposed:        true,
		Name:           "status",
		Stored:         true,
		Type:           "string",
	},
	"tags": {
		AllowedChoices: []string{},
		BSONFieldName:  "tags",
		ConvertedName:  "Tags",
		Description:    `Tags of object represented by the node.`,
		Exposed:        true,
		Name:           "tags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"type": {
		AllowedChoices: []string{"Docker", "ExternalNetwork", "Volume", "Claim", "Node", "Namespace", "RemoteController"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `Type of object represented by the node.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"unreachable": {
		AllowedChoices: []string{},
		BSONFieldName:  "unreachable",
		ConvertedName:  "Unreachable",
		Description:    `If ` + "`" + `true` + "`" + ` the node is marked as unreachable.`,
		Exposed:        true,
		Name:           "unreachable",
		Stored:         true,
		Type:           "boolean",
	},
	"vulnerabilitylevel": {
		AllowedChoices: []string{},
		BSONFieldName:  "vulnerabilitylevel",
		ConvertedName:  "VulnerabilityLevel",
		Description:    `Tags of object represented by the node.`,
		Exposed:        true,
		Name:           "vulnerabilityLevel",
		Stored:         true,
		Type:           "string",
	},
}

GraphNodeLowerCaseAttributesMap represents the map of attribute for GraphNode.

View Source
var HTTPResourceSpecAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"Archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Endpoints": {
		AllowedChoices: []string{},
		BSONFieldName:  "endpoints",
		ConvertedName:  "Endpoints",
		Description:    `A list of API endpoints that are exposed for the service.`,
		Exposed:        true,
		Name:           "endpoints",
		Stored:         true,
		SubType:        "endpoint",
		Type:           "refList",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

HTTPResourceSpecAttributesMap represents the map of attribute for HTTPResourceSpec.

View Source
var HTTPResourceSpecIdentity = elemental.Identity{
	Name:     "httpresourcespec",
	Category: "httpresourcespecs",
	Package:  "squall",
	Private:  false,
}

HTTPResourceSpecIdentity represents the Identity of the object.

View Source
var HTTPResourceSpecLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"endpoints": {
		AllowedChoices: []string{},
		BSONFieldName:  "endpoints",
		ConvertedName:  "Endpoints",
		Description:    `A list of API endpoints that are exposed for the service.`,
		Exposed:        true,
		Name:           "endpoints",
		Stored:         true,
		SubType:        "endpoint",
		Type:           "refList",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

HTTPResourceSpecLowerCaseAttributesMap represents the map of attribute for HTTPResourceSpec.

View Source
var HealthCheckAttributesMap = map[string]elemental.AttributeSpecification{
	"Alerts": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Alerts",
		Description: `A human readable alert list describing the current state of the sub system if
available.`,
		Exposed:  true,
		Name:     "alerts",
		ReadOnly: true,
		SubType:  "string",
		Type:     "list",
	},
	"Name": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `The name of the observed sub system if applicable.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
	"ResponseTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResponseTime",
		Description:    `The response time of the observed sub system if applicable.`,
		Exposed:        true,
		Name:           "responseTime",
		ReadOnly:       true,
		Type:           "string",
	},
	"Status": {
		AllowedChoices: []string{"Degraded", "Offline", "Operational"},
		Autogenerated:  true,
		ConvertedName:  "Status",
		Description:    `The current health of the observed sub system.`,
		Exposed:        true,
		Name:           "status",
		ReadOnly:       true,
		Type:           "enum",
	},
	"Type": {
		AllowedChoices: []string{"Cache", "Database", "General", "MessagingSystem", "Service", "TSDB"},
		Autogenerated:  true,
		ConvertedName:  "Type",
		Description:    `The type of the observed sub system.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Type:           "enum",
	},
}

HealthCheckAttributesMap represents the map of attribute for HealthCheck.

View Source
var HealthCheckIdentity = elemental.Identity{
	Name:     "healthcheck",
	Category: "healthchecks",
	Package:  "ultros",
	Private:  false,
}

HealthCheckIdentity represents the Identity of the object.

View Source
var HealthCheckLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"alerts": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Alerts",
		Description: `A human readable alert list describing the current state of the sub system if
available.`,
		Exposed:  true,
		Name:     "alerts",
		ReadOnly: true,
		SubType:  "string",
		Type:     "list",
	},
	"name": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `The name of the observed sub system if applicable.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
	"responsetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResponseTime",
		Description:    `The response time of the observed sub system if applicable.`,
		Exposed:        true,
		Name:           "responseTime",
		ReadOnly:       true,
		Type:           "string",
	},
	"status": {
		AllowedChoices: []string{"Degraded", "Offline", "Operational"},
		Autogenerated:  true,
		ConvertedName:  "Status",
		Description:    `The current health of the observed sub system.`,
		Exposed:        true,
		Name:           "status",
		ReadOnly:       true,
		Type:           "enum",
	},
	"type": {
		AllowedChoices: []string{"Cache", "Database", "General", "MessagingSystem", "Service", "TSDB"},
		Autogenerated:  true,
		ConvertedName:  "Type",
		Description:    `The type of the observed sub system.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Type:           "enum",
	},
}

HealthCheckLowerCaseAttributesMap represents the map of attribute for HealthCheck.

View Source
var HitAttributesMap = map[string]elemental.AttributeSpecification{
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultValue:   "counter",
		Description:    `name of the counter.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"TargetID": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetID",
		Description:    `The ID of the referenced object..`,
		Exposed:        true,
		Name:           "targetID",
		Type:           "string",
	},
	"TargetIdentity": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetidentity",
		ConvertedName:  "TargetIdentity",
		Description:    `The identity of the referenced object.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Value": {
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `The value of the hit.`,
		Exposed:        true,
		Name:           "value",
		ReadOnly:       true,
		Type:           "integer",
	},
}

HitAttributesMap represents the map of attribute for Hit.

View Source
var HitIdentity = elemental.Identity{
	Name:     "hit",
	Category: "hits",
	Package:  "minwu",
	Private:  false,
}

HitIdentity represents the Identity of the object.

View Source
var HitLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultValue:   "counter",
		Description:    `name of the counter.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"targetid": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetID",
		Description:    `The ID of the referenced object..`,
		Exposed:        true,
		Name:           "targetID",
		Type:           "string",
	},
	"targetidentity": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetidentity",
		ConvertedName:  "TargetIdentity",
		Description:    `The identity of the referenced object.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"value": {
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `The value of the hit.`,
		Exposed:        true,
		Name:           "value",
		ReadOnly:       true,
		Type:           "integer",
	},
}

HitLowerCaseAttributesMap represents the map of attribute for Hit.

View Source
var HookPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CertificateAuthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description:    `Contains the PEM block of the certificate authority used by the remote endpoint.`,
		Exposed:        true,
		Name:           "certificateAuthority",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"ClientCertificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "clientcertificate",
		ConvertedName:  "ClientCertificate",
		Description: `Contains the client certificate that will be used to connect
to the remote endpoint. If provided, the private key associated with this
certificate must also be configured.`,
		Exposed:   true,
		Name:      "clientCertificate",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"ClientCertificateKey": {
		AllowedChoices: []string{},
		BSONFieldName:  "clientcertificatekey",
		ConvertedName:  "ClientCertificateKey",
		Description: `Contains the key associated with the ` + "`" + `clientCertificate` + "`" + `. It must be provided
only
when ` + "`" + `clientCertificate` + "`" + ` has been configured.`,
		Encrypted: true,
		Exposed:   true,
		Name:      "clientCertificateKey",
		Orderable: true,
		Secret:    true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"ContinueOnError": {
		AllowedChoices: []string{},
		BSONFieldName:  "continueonerror",
		ConvertedName:  "ContinueOnError",
		Description: `If set to ` + "`" + `true` + "`" + ` and ` + "`" + `mode` + "`" + ` is in ` + "`" + `Pre` + "`" + `, the request will be honored even if
calling the hook fails.`,
		Exposed: true,
		Name:    "continueOnError",
		Stored:  true,
		Type:    "boolean",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Endpoint": {
		AllowedChoices: []string{},
		BSONFieldName:  "endpoint",
		ConvertedName:  "Endpoint",
		Description:    `Contains the full address of the remote processor endpoint.`,
		Exposed:        true,
		Name:           "endpoint",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"EndpointType": {
		AllowedChoices: []string{"URL", "Automation"},
		BSONFieldName:  "endpointtype",
		ConvertedName:  "EndpointType",
		DefaultValue:   HookPolicyEndpointTypeURL,
		Description:    `Defines the type of endpoint for the hook.`,
		Exposed:        true,
		Name:           "endpointType",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the hook will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Mode": {
		AllowedChoices: []string{"Both", "Post", "Pre"},
		BSONFieldName:  "mode",
		ConvertedName:  "Mode",
		DefaultValue:   HookPolicyModePre,
		Description:    `Defines the type of hook.`,
		Exposed:        true,
		Name:           "mode",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"PropagationHidden": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagationhidden",
		ConvertedName:  "PropagationHidden",
		Description: `If set to ` + "`" + `true` + "`" + ` while the policy is propagating, it won't be visible to
children
namespace, but still used for policy resolution.`,
		Exposed:   true,
		Getter:    true,
		Name:      "propagationHidden",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Selectors": {
		AllowedChoices: []string{},
		BSONFieldName:  "selectors",
		ConvertedName:  "Selectors",
		Description: `A tag or tag expression that identifies the automation that must be run in
case no endpoint is provided.`,
		Exposed: true,
		Name:    "selectors",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Contains the tag expression that an object must match in order to trigger the
hook.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"TriggerOperations": {
		AllowedChoices: []string{},
		BSONFieldName:  "triggeroperations",
		ConvertedName:  "TriggerOperations",
		Description: `Select on which operation(s) you want to the hook to trigger. An empty list.
Only
means all operations. You can only set any combination of ` + "`" + `create` + "`" + `, ` + "`" + `update` + "`" + ` or
` + "`" + `delete` + "`" + `. Any other value will trigger a validation error.`,
		Exposed: true,
		Name:    "triggerOperations",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

HookPolicyAttributesMap represents the map of attribute for HookPolicy.

View Source
var HookPolicyIdentity = elemental.Identity{
	Name:     "hookpolicy",
	Category: "hookpolicies",
	Package:  "squall",
	Private:  false,
}

HookPolicyIdentity represents the Identity of the object.

View Source
var HookPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"certificateauthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description:    `Contains the PEM block of the certificate authority used by the remote endpoint.`,
		Exposed:        true,
		Name:           "certificateAuthority",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"clientcertificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "clientcertificate",
		ConvertedName:  "ClientCertificate",
		Description: `Contains the client certificate that will be used to connect
to the remote endpoint. If provided, the private key associated with this
certificate must also be configured.`,
		Exposed:   true,
		Name:      "clientCertificate",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"clientcertificatekey": {
		AllowedChoices: []string{},
		BSONFieldName:  "clientcertificatekey",
		ConvertedName:  "ClientCertificateKey",
		Description: `Contains the key associated with the ` + "`" + `clientCertificate` + "`" + `. It must be provided
only
when ` + "`" + `clientCertificate` + "`" + ` has been configured.`,
		Encrypted: true,
		Exposed:   true,
		Name:      "clientCertificateKey",
		Orderable: true,
		Secret:    true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"continueonerror": {
		AllowedChoices: []string{},
		BSONFieldName:  "continueonerror",
		ConvertedName:  "ContinueOnError",
		Description: `If set to ` + "`" + `true` + "`" + ` and ` + "`" + `mode` + "`" + ` is in ` + "`" + `Pre` + "`" + `, the request will be honored even if
calling the hook fails.`,
		Exposed: true,
		Name:    "continueOnError",
		Stored:  true,
		Type:    "boolean",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"endpoint": {
		AllowedChoices: []string{},
		BSONFieldName:  "endpoint",
		ConvertedName:  "Endpoint",
		Description:    `Contains the full address of the remote processor endpoint.`,
		Exposed:        true,
		Name:           "endpoint",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"endpointtype": {
		AllowedChoices: []string{"URL", "Automation"},
		BSONFieldName:  "endpointtype",
		ConvertedName:  "EndpointType",
		DefaultValue:   HookPolicyEndpointTypeURL,
		Description:    `Defines the type of endpoint for the hook.`,
		Exposed:        true,
		Name:           "endpointType",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the hook will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"mode": {
		AllowedChoices: []string{"Both", "Post", "Pre"},
		BSONFieldName:  "mode",
		ConvertedName:  "Mode",
		DefaultValue:   HookPolicyModePre,
		Description:    `Defines the type of hook.`,
		Exposed:        true,
		Name:           "mode",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"propagationhidden": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagationhidden",
		ConvertedName:  "PropagationHidden",
		Description: `If set to ` + "`" + `true` + "`" + ` while the policy is propagating, it won't be visible to
children
namespace, but still used for policy resolution.`,
		Exposed:   true,
		Getter:    true,
		Name:      "propagationHidden",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"selectors": {
		AllowedChoices: []string{},
		BSONFieldName:  "selectors",
		ConvertedName:  "Selectors",
		Description: `A tag or tag expression that identifies the automation that must be run in
case no endpoint is provided.`,
		Exposed: true,
		Name:    "selectors",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Contains the tag expression that an object must match in order to trigger the
hook.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"triggeroperations": {
		AllowedChoices: []string{},
		BSONFieldName:  "triggeroperations",
		ConvertedName:  "TriggerOperations",
		Description: `Select on which operation(s) you want to the hook to trigger. An empty list.
Only
means all operations. You can only set any combination of ` + "`" + `create` + "`" + `, ` + "`" + `update` + "`" + ` or
` + "`" + `delete` + "`" + `. Any other value will trigger a validation error.`,
		Exposed: true,
		Name:    "triggerOperations",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

HookPolicyLowerCaseAttributesMap represents the map of attribute for HookPolicy.

View Source
var HostServiceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"Archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"HostModeEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "hostmodeenabled",
		ConvertedName:  "HostModeEnabled",
		Description: `Forces the corresponding enforcers to enable host protection. When ` + "`" + `true` + "`" + `, all
incoming and outgoing flows will be monitored. Flows will be allowed if and only
if a network policy has been created to allow the flow. The option applies to
all enforcers to which the host service is mapped.`,
		Exposed:   true,
		Name:      "hostModeEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Services": {
		AllowedChoices: []string{},
		BSONFieldName:  "services",
		ConvertedName:  "Services",
		Description: `Lists all protocols and ports a service is running. A service entry can be
defined
by a protocol and port ` + "`" + `(tcp/80)` + "`" + `, or range of protocol/port pairs
` + "`" + `(udp/80:100)` + "`" + `.
If no protocol is provided, it is assumed to be TCP. Only ` + "`" + `tcp` + "`" + ` and ` + "`" + `udp` + "`" + `
protocols
are allowed.`,
		Exposed: true,
		Name:    "services",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

HostServiceAttributesMap represents the map of attribute for HostService.

View Source
var HostServiceIdentity = elemental.Identity{
	Name:     "hostservice",
	Category: "hostservices",
	Package:  "squall",
	Private:  false,
}

HostServiceIdentity represents the Identity of the object.

View Source
var HostServiceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"hostmodeenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "hostmodeenabled",
		ConvertedName:  "HostModeEnabled",
		Description: `Forces the corresponding enforcers to enable host protection. When ` + "`" + `true` + "`" + `, all
incoming and outgoing flows will be monitored. Flows will be allowed if and only
if a network policy has been created to allow the flow. The option applies to
all enforcers to which the host service is mapped.`,
		Exposed:   true,
		Name:      "hostModeEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"services": {
		AllowedChoices: []string{},
		BSONFieldName:  "services",
		ConvertedName:  "Services",
		Description: `Lists all protocols and ports a service is running. A service entry can be
defined
by a protocol and port ` + "`" + `(tcp/80)` + "`" + `, or range of protocol/port pairs
` + "`" + `(udp/80:100)` + "`" + `.
If no protocol is provided, it is assumed to be TCP. Only ` + "`" + `tcp` + "`" + ` and ` + "`" + `udp` + "`" + `
protocols
are allowed.`,
		Exposed: true,
		Name:    "services",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

HostServiceLowerCaseAttributesMap represents the map of attribute for HostService.

View Source
var HostServiceMappingPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `A tag or tag expression identifying the host service(s) to be mapped.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `A tag or tag expression identifying the enforcer(s) that should implement
the specified host service(s).`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

HostServiceMappingPolicyAttributesMap represents the map of attribute for HostServiceMappingPolicy.

View Source
var HostServiceMappingPolicyIdentity = elemental.Identity{
	Name:     "hostservicemappingpolicy",
	Category: "hostservicemappingpolicies",
	Package:  "squall",
	Private:  false,
}

HostServiceMappingPolicyIdentity represents the Identity of the object.

View Source
var HostServiceMappingPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `A tag or tag expression identifying the host service(s) to be mapped.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `A tag or tag expression identifying the enforcer(s) that should implement
the specified host service(s).`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

HostServiceMappingPolicyLowerCaseAttributesMap represents the map of attribute for HostServiceMappingPolicy.

View Source
var IPInfoAttributesMap = map[string]elemental.AttributeSpecification{
	"IP": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IP",
		Description:    `The IP address.`,
		Exposed:        true,
		Name:           "IP",
		ReadOnly:       true,
		Type:           "string",
	},
	"Error": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Error that occurred during resolution.`,
		Exposed:        true,
		Name:           "error",
		ReadOnly:       true,
		Type:           "string",
	},
	"Records": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Records",
		Description:    `List of DNS records associated with the IP address.`,
		Exposed:        true,
		Name:           "records",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
}

IPInfoAttributesMap represents the map of attribute for IPInfo.

View Source
var IPInfoIdentity = elemental.Identity{
	Name:     "ipinfo",
	Category: "ipinfos",
	Package:  "canyon",
	Private:  false,
}

IPInfoIdentity represents the Identity of the object.

View Source
var IPInfoLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"ip": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IP",
		Description:    `The IP address.`,
		Exposed:        true,
		Name:           "IP",
		ReadOnly:       true,
		Type:           "string",
	},
	"error": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Error that occurred during resolution.`,
		Exposed:        true,
		Name:           "error",
		ReadOnly:       true,
		Type:           "string",
	},
	"records": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Records",
		Description:    `List of DNS records associated with the IP address.`,
		Exposed:        true,
		Name:           "records",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
}

IPInfoLowerCaseAttributesMap represents the map of attribute for IPInfo.

View Source
var ImportAttributesMap = map[string]elemental.AttributeSpecification{
	"Data": {
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		SubType:        "export",
		Type:           "ref",
	},
	"Mode": {
		AllowedChoices: []string{"ReplacePartial", "Import", "Remove"},
		ConvertedName:  "Mode",
		DefaultValue:   ImportModeImport,
		Description: `How to import the data: ` + "`" + `ReplacePartial` + "`" + `, ` + "`" + `Import` + "`" + ` (default), or ` + "`" + `Remove` + "`" + `.
` + "`" + `ReplacePartial` + "`" + `
is deprecated. Use ` + "`" + `Import` + "`" + ` instead. While you can use ` + "`" + `ReplacePartial` + "`" + ` it will
be interpreted
as ` + "`" + `Import` + "`" + `.`,
		Exposed: true,
		Name:    "mode",
		Type:    "enum",
	},
}

ImportAttributesMap represents the map of attribute for Import.

View Source
var ImportIdentity = elemental.Identity{
	Name:     "import",
	Category: "import",
	Package:  "squall",
	Private:  false,
}

ImportIdentity represents the Identity of the object.

View Source
var ImportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"data": {
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		SubType:        "export",
		Type:           "ref",
	},
	"mode": {
		AllowedChoices: []string{"ReplacePartial", "Import", "Remove"},
		ConvertedName:  "Mode",
		DefaultValue:   ImportModeImport,
		Description: `How to import the data: ` + "`" + `ReplacePartial` + "`" + `, ` + "`" + `Import` + "`" + ` (default), or ` + "`" + `Remove` + "`" + `.
` + "`" + `ReplacePartial` + "`" + `
is deprecated. Use ` + "`" + `Import` + "`" + ` instead. While you can use ` + "`" + `ReplacePartial` + "`" + ` it will
be interpreted
as ` + "`" + `Import` + "`" + `.`,
		Exposed: true,
		Name:    "mode",
		Type:    "enum",
	},
}

ImportLowerCaseAttributesMap represents the map of attribute for Import.

View Source
var ImportReferenceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `Contains the claims of the client that performed the import.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Constraint": {
		AllowedChoices: []string{"Unrestricted", "Unique", "NamespaceUnique"},
		BSONFieldName:  "constraint",
		ConvertedName:  "Constraint",
		DefaultValue:   ImportReferenceConstraintUnrestricted,
		Description: `Define the import constraint. If Unrestricted, import
can be deployed multiple times. If Unique, only one import is allowed
in the current namespace and its child namespaces. If NamespaceUnique, only
one import is allowed in the current namespace.`,
		Exposed: true,
		Name:    "constraint",
		Stored:  true,
		Type:    "enum",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		Stored:         true,
		SubType:        "export",
		Type:           "ref",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Label": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "label",
		ConvertedName:  "Label",
		Description:    `Label used for the imported data.`,
		Exposed:        true,
		Name:           "label",
		Stored:         true,
		Type:           "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ImportReferenceAttributesMap represents the map of attribute for ImportReference.

View Source
var ImportReferenceIdentity = elemental.Identity{
	Name:     "importreference",
	Category: "importreferences",
	Package:  "yuna",
	Private:  false,
}

ImportReferenceIdentity represents the Identity of the object.

View Source
var ImportReferenceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `Contains the claims of the client that performed the import.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"constraint": {
		AllowedChoices: []string{"Unrestricted", "Unique", "NamespaceUnique"},
		BSONFieldName:  "constraint",
		ConvertedName:  "Constraint",
		DefaultValue:   ImportReferenceConstraintUnrestricted,
		Description: `Define the import constraint. If Unrestricted, import
can be deployed multiple times. If Unique, only one import is allowed
in the current namespace and its child namespaces. If NamespaceUnique, only
one import is allowed in the current namespace.`,
		Exposed: true,
		Name:    "constraint",
		Stored:  true,
		Type:    "enum",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		Stored:         true,
		SubType:        "export",
		Type:           "ref",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"label": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "label",
		ConvertedName:  "Label",
		Description:    `Label used for the imported data.`,
		Exposed:        true,
		Name:           "label",
		Stored:         true,
		Type:           "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ImportReferenceLowerCaseAttributesMap represents the map of attribute for ImportReference.

View Source
var ImportRequestAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Comment": {
		AllowedChoices: []string{},
		ConvertedName:  "Comment",
		Description:    `A new comment that will be added to ` + "`" + `commentFeed` + "`" + `.`,
		Exposed:        true,
		Name:           "comment",
		Transient:      true,
		Type:           "string",
	},
	"CommentFeed": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "commentfeed",
		ConvertedName:  "CommentFeed",
		Description:    `List of comments that have been added to that request.`,
		Exposed:        true,
		Name:           "commentFeed",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "comment",
		Transient:      true,
		Type:           "refList",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		Stored:         true,
		SubType:        "map[string][]map[string]interface{}",
		Type:           "external",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RequesterClaims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "requesterclaims",
		ConvertedName:  "RequesterClaims",
		Description: `The identity claims of the requester; populated by the Microsegmentation
Console.`,
		Exposed:  true,
		Name:     "requesterClaims",
		ReadOnly: true,
		Stored:   true,
		SubType:  "string",
		Type:     "list",
	},
	"RequesterNamespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "requesternamespace",
		ConvertedName:  "RequesterNamespace",
		Description: `The namespace from which the request originated; populated by the
Microsegmentation Console.`,
		Exposed:  true,
		Name:     "requesterNamespace",
		ReadOnly: true,
		Stored:   true,
		Type:     "string",
	},
	"Status": {
		AllowedChoices: []string{"Draft", "Submitted", "Approved", "Rejected"},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		DefaultValue:   ImportRequestStatusDraft,
		Description: `Allows the content to be changed. ` + "`" + `Submitted` + "`" + `: the request moves to the target
namespace
for approval. ` + "`" + `Approved` + "`" + `: the data will be created immediately. ` + "`" + `Rejected` + "`" + `: the
request
cannot be changed anymore and can be deleted.`,
		Exposed: true,
		Name:    "status",
		Stored:  true,
		Type:    "enum",
	},
	"SubmittedOnce": {
		AllowedChoices: []string{},
		BSONFieldName:  "submittedonce",
		ConvertedName:  "SubmittedOnce",
		Description:    `Internal field to know if the request has been submitted once.`,
		Name:           "submittedOnce",
		Stored:         true,
		Type:           "boolean",
	},
	"TargetNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetnamespace",
		ConvertedName:  "TargetNamespace",
		CreationOnly:   true,
		Description: `The namespace where the request will be sent. The requester can set any
namespace but
needs to have an authorization to post the request in that namespace.`,
		Exposed:  true,
		Name:     "targetNamespace",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ImportRequestAttributesMap represents the map of attribute for ImportRequest.

View Source
var ImportRequestIdentity = elemental.Identity{
	Name:     "importrequest",
	Category: "importrequests",
	Package:  "vivi",
	Private:  false,
}

ImportRequestIdentity represents the Identity of the object.

View Source
var ImportRequestLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"comment": {
		AllowedChoices: []string{},
		ConvertedName:  "Comment",
		Description:    `A new comment that will be added to ` + "`" + `commentFeed` + "`" + `.`,
		Exposed:        true,
		Name:           "comment",
		Transient:      true,
		Type:           "string",
	},
	"commentfeed": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "commentfeed",
		ConvertedName:  "CommentFeed",
		Description:    `List of comments that have been added to that request.`,
		Exposed:        true,
		Name:           "commentFeed",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "comment",
		Transient:      true,
		Type:           "refList",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		Stored:         true,
		SubType:        "map[string][]map[string]interface{}",
		Type:           "external",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"requesterclaims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "requesterclaims",
		ConvertedName:  "RequesterClaims",
		Description: `The identity claims of the requester; populated by the Microsegmentation
Console.`,
		Exposed:  true,
		Name:     "requesterClaims",
		ReadOnly: true,
		Stored:   true,
		SubType:  "string",
		Type:     "list",
	},
	"requesternamespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "requesternamespace",
		ConvertedName:  "RequesterNamespace",
		Description: `The namespace from which the request originated; populated by the
Microsegmentation Console.`,
		Exposed:  true,
		Name:     "requesterNamespace",
		ReadOnly: true,
		Stored:   true,
		Type:     "string",
	},
	"status": {
		AllowedChoices: []string{"Draft", "Submitted", "Approved", "Rejected"},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		DefaultValue:   ImportRequestStatusDraft,
		Description: `Allows the content to be changed. ` + "`" + `Submitted` + "`" + `: the request moves to the target
namespace
for approval. ` + "`" + `Approved` + "`" + `: the data will be created immediately. ` + "`" + `Rejected` + "`" + `: the
request
cannot be changed anymore and can be deleted.`,
		Exposed: true,
		Name:    "status",
		Stored:  true,
		Type:    "enum",
	},
	"submittedonce": {
		AllowedChoices: []string{},
		BSONFieldName:  "submittedonce",
		ConvertedName:  "SubmittedOnce",
		Description:    `Internal field to know if the request has been submitted once.`,
		Name:           "submittedOnce",
		Stored:         true,
		Type:           "boolean",
	},
	"targetnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetnamespace",
		ConvertedName:  "TargetNamespace",
		CreationOnly:   true,
		Description: `The namespace where the request will be sent. The requester can set any
namespace but
needs to have an authorization to post the request in that namespace.`,
		Exposed:  true,
		Name:     "targetNamespace",
		Required: true,
		Stored:   true,
		Type:     "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ImportRequestLowerCaseAttributesMap represents the map of attribute for ImportRequest.

View Source
var InfrastructurePolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Allow", "Reject"},
		ConvertedName:  "Action",
		DefaultValue:   InfrastructurePolicyActionAllow,
		Description:    `Defines the action to apply to a flow.`,
		Exposed:        true,
		Name:           "action",
		Orderable:      true,
		Type:           "enum",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"ApplyPolicyMode": {
		AllowedChoices: []string{"OutgoingTraffic", "IncomingTraffic"},
		ConvertedName:  "ApplyPolicyMode",
		DefaultValue:   InfrastructurePolicyApplyPolicyModeOutgoingTraffic,
		Description: `Determines if the policy applies to the outgoing traffic of the ` + "`" + `subject` + "`" + ` or the
incoming traffic of the ` + "`" + `subject` + "`" + `. ` + "`" + `OutgoingTraffic` + "`" + ` (default) or
` + "`" + `IncomingTraffic` + "`" + `.`,
		Exposed:   true,
		Name:      "applyPolicyMode",
		Orderable: true,
		Type:      "enum",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `Object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

InfrastructurePolicyAttributesMap represents the map of attribute for InfrastructurePolicy.

View Source
var InfrastructurePolicyIdentity = elemental.Identity{
	Name:     "infrastructurepolicy",
	Category: "infrastructurepolicies",
	Package:  "squall",
	Private:  false,
}

InfrastructurePolicyIdentity represents the Identity of the object.

View Source
var InfrastructurePolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Allow", "Reject"},
		ConvertedName:  "Action",
		DefaultValue:   InfrastructurePolicyActionAllow,
		Description:    `Defines the action to apply to a flow.`,
		Exposed:        true,
		Name:           "action",
		Orderable:      true,
		Type:           "enum",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"applypolicymode": {
		AllowedChoices: []string{"OutgoingTraffic", "IncomingTraffic"},
		ConvertedName:  "ApplyPolicyMode",
		DefaultValue:   InfrastructurePolicyApplyPolicyModeOutgoingTraffic,
		Description: `Determines if the policy applies to the outgoing traffic of the ` + "`" + `subject` + "`" + ` or the
incoming traffic of the ` + "`" + `subject` + "`" + `. ` + "`" + `OutgoingTraffic` + "`" + ` (default) or
` + "`" + `IncomingTraffic` + "`" + `.`,
		Exposed:   true,
		Name:      "applyPolicyMode",
		Orderable: true,
		Type:      "enum",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `Object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

InfrastructurePolicyLowerCaseAttributesMap represents the map of attribute for InfrastructurePolicy.

View Source
var InstalledAppAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AdditionalConfiguration": {
		AllowedChoices: []string{},
		BSONFieldName:  "additionalconfiguration",
		ConvertedName:  "AdditionalConfiguration",
		Description:    `Additional configuration of the app is needed by the app itself.`,
		Exposed:        true,
		Name:           "additionalConfiguration",
		Stored:         true,
		Type:           "boolean",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AppIdentifier": {
		AllowedChoices: []string{},
		BSONFieldName:  "appidentifier",
		ConvertedName:  "AppIdentifier",
		Description:    `AppIdentifier retains the identifier for the app.`,
		Name:           "appIdentifier",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CategoryID": {
		AllowedChoices: []string{},
		BSONFieldName:  "categoryid",
		ConvertedName:  "CategoryID",
		Description:    `The category ID of the application.`,
		Exposed:        true,
		Name:           "categoryID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CheckPublicEndpoint": {
		AllowedChoices: []string{},
		BSONFieldName:  "checkpublicendpoint",
		ConvertedName:  "CheckPublicEndpoint",
		Description: `If true, will look for the public endpoints and store them as annotations in the
installed app.`,
		Exposed: true,
		Name:    "checkPublicEndpoint",
		Stored:  true,
		Type:    "boolean",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CurrentVersion": {
		AllowedChoices: []string{},
		BSONFieldName:  "currentversion",
		ConvertedName:  "CurrentVersion",
		Description:    `Version of the installed application.`,
		Exposed:        true,
		Name:           "currentVersion",
		Stored:         true,
		Type:           "string",
	},
	"DeploymentCount": {
		AllowedChoices: []string{},
		BSONFieldName:  "deploymentcount",
		ConvertedName:  "DeploymentCount",
		Description:    `DeploymentCount represents the number of expected deployment for this app.`,
		Name:           "deploymentCount",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"ExternalWindowButton": {
		AllowedChoices: []string{},
		BSONFieldName:  "externalwindowbutton",
		ConvertedName:  "ExternalWindowButton",
		Description:    `Adds a button in the UI.`,
		Exposed:        true,
		Name:           "externalWindowButton",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters to start the application.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Status": {
		AllowedChoices: []string{"Unknown", "Deploying", "Initializing", "Running", "Undeploying", "Error"},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		DefaultValue:   InstalledAppStatusUnknown,
		Description:    `Status of the application.`,
		Exposed:        true,
		Name:           "status",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"StatusMessage": {
		AllowedChoices: []string{},
		BSONFieldName:  "statusmessage",
		ConvertedName:  "StatusMessage",
		Description:    `Reason for the status of the application.`,
		Exposed:        true,
		Name:           "statusMessage",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

InstalledAppAttributesMap represents the map of attribute for InstalledApp.

View Source
var InstalledAppIdentity = elemental.Identity{
	Name:     "installedapp",
	Category: "installedapps",
	Package:  "highwind",
	Private:  false,
}

InstalledAppIdentity represents the Identity of the object.

View Source
var InstalledAppLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"additionalconfiguration": {
		AllowedChoices: []string{},
		BSONFieldName:  "additionalconfiguration",
		ConvertedName:  "AdditionalConfiguration",
		Description:    `Additional configuration of the app is needed by the app itself.`,
		Exposed:        true,
		Name:           "additionalConfiguration",
		Stored:         true,
		Type:           "boolean",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"appidentifier": {
		AllowedChoices: []string{},
		BSONFieldName:  "appidentifier",
		ConvertedName:  "AppIdentifier",
		Description:    `AppIdentifier retains the identifier for the app.`,
		Name:           "appIdentifier",
		Stored:         true,
		Type:           "string",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"categoryid": {
		AllowedChoices: []string{},
		BSONFieldName:  "categoryid",
		ConvertedName:  "CategoryID",
		Description:    `The category ID of the application.`,
		Exposed:        true,
		Name:           "categoryID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"checkpublicendpoint": {
		AllowedChoices: []string{},
		BSONFieldName:  "checkpublicendpoint",
		ConvertedName:  "CheckPublicEndpoint",
		Description: `If true, will look for the public endpoints and store them as annotations in the
installed app.`,
		Exposed: true,
		Name:    "checkPublicEndpoint",
		Stored:  true,
		Type:    "boolean",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"currentversion": {
		AllowedChoices: []string{},
		BSONFieldName:  "currentversion",
		ConvertedName:  "CurrentVersion",
		Description:    `Version of the installed application.`,
		Exposed:        true,
		Name:           "currentVersion",
		Stored:         true,
		Type:           "string",
	},
	"deploymentcount": {
		AllowedChoices: []string{},
		BSONFieldName:  "deploymentcount",
		ConvertedName:  "DeploymentCount",
		Description:    `DeploymentCount represents the number of expected deployment for this app.`,
		Name:           "deploymentCount",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"externalwindowbutton": {
		AllowedChoices: []string{},
		BSONFieldName:  "externalwindowbutton",
		ConvertedName:  "ExternalWindowButton",
		Description:    `Adds a button in the UI.`,
		Exposed:        true,
		Name:           "externalWindowButton",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters to start the application.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"status": {
		AllowedChoices: []string{"Unknown", "Deploying", "Initializing", "Running", "Undeploying", "Error"},
		BSONFieldName:  "status",
		ConvertedName:  "Status",
		DefaultValue:   InstalledAppStatusUnknown,
		Description:    `Status of the application.`,
		Exposed:        true,
		Name:           "status",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"statusmessage": {
		AllowedChoices: []string{},
		BSONFieldName:  "statusmessage",
		ConvertedName:  "StatusMessage",
		Description:    `Reason for the status of the application.`,
		Exposed:        true,
		Name:           "statusMessage",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

InstalledAppLowerCaseAttributesMap represents the map of attribute for InstalledApp.

View Source
var IsolationProfileAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CapabilitiesActions": {
		AllowedChoices: []string{},
		BSONFieldName:  "capabilitiesactions",
		ConvertedName:  "CapabilitiesActions",
		Description:    `The capabilities that should be added to or removed from the processing unit.`,
		Exposed:        true,
		Name:           "capabilitiesActions",
		Orderable:      true,
		Stored:         true,
		SubType:        "_cap_map",
		Type:           "external",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"DefaultSyscallAction": {
		AllowedChoices: []string{},
		BSONFieldName:  "defaultsyscallaction",
		ConvertedName:  "DefaultSyscallAction",
		Description: `The default action applied to all system calls of this profile.
Default is ` + "`" + `Allow` + "`" + `.`,
		Exposed: true,
		Name:    "defaultSyscallAction",
		Stored:  true,
		SubType: "_syscall_action",
		Type:    "external",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"SyscallRules": {
		AllowedChoices: []string{},
		BSONFieldName:  "syscallrules",
		ConvertedName:  "SyscallRules",
		Description: `A list of system call rules that identify actions for particular
system calls.`,
		Exposed:   true,
		Name:      "syscallRules",
		Orderable: true,
		Stored:    true,
		SubType:   "_syscall_rules",
		Type:      "external",
	},
	"TargetArchitectures": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetarchitectures",
		ConvertedName:  "TargetArchitectures",
		Description:    `The processor architectures that the profile supports. Default ` + "`" + `all` + "`" + `.`,
		Exposed:        true,
		Name:           "targetArchitectures",
		Orderable:      true,
		Stored:         true,
		SubType:        "_arch_list",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

IsolationProfileAttributesMap represents the map of attribute for IsolationProfile.

View Source
var IsolationProfileIdentity = elemental.Identity{
	Name:     "isolationprofile",
	Category: "isolationprofiles",
	Package:  "squall",
	Private:  false,
}

IsolationProfileIdentity represents the Identity of the object.

View Source
var IsolationProfileLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"capabilitiesactions": {
		AllowedChoices: []string{},
		BSONFieldName:  "capabilitiesactions",
		ConvertedName:  "CapabilitiesActions",
		Description:    `The capabilities that should be added to or removed from the processing unit.`,
		Exposed:        true,
		Name:           "capabilitiesActions",
		Orderable:      true,
		Stored:         true,
		SubType:        "_cap_map",
		Type:           "external",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"defaultsyscallaction": {
		AllowedChoices: []string{},
		BSONFieldName:  "defaultsyscallaction",
		ConvertedName:  "DefaultSyscallAction",
		Description: `The default action applied to all system calls of this profile.
Default is ` + "`" + `Allow` + "`" + `.`,
		Exposed: true,
		Name:    "defaultSyscallAction",
		Stored:  true,
		SubType: "_syscall_action",
		Type:    "external",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"syscallrules": {
		AllowedChoices: []string{},
		BSONFieldName:  "syscallrules",
		ConvertedName:  "SyscallRules",
		Description: `A list of system call rules that identify actions for particular
system calls.`,
		Exposed:   true,
		Name:      "syscallRules",
		Orderable: true,
		Stored:    true,
		SubType:   "_syscall_rules",
		Type:      "external",
	},
	"targetarchitectures": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetarchitectures",
		ConvertedName:  "TargetArchitectures",
		Description:    `The processor architectures that the profile supports. Default ` + "`" + `all` + "`" + `.`,
		Exposed:        true,
		Name:           "targetArchitectures",
		Orderable:      true,
		Stored:         true,
		SubType:        "_arch_list",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

IsolationProfileLowerCaseAttributesMap represents the map of attribute for IsolationProfile.

View Source
var IssueAttributesMap = map[string]elemental.AttributeSpecification{
	"Audience": {
		AllowedChoices: []string{},
		ConvertedName:  "Audience",
		Description: `If given, the issued token will only be valid for the specified namespace.
Refer to [JSON Web Token (JWT)RFC
7519](https://tools.ietf.org/html/rfc7519#section-4.1.3).
for further information.`,
		Exposed: true,
		Name:    "audience",
		Type:    "string",
	},
	"Claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `The claims in the token. It is only set is the parameter ` + "`" + `asCookie` + "`" + ` is given.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "_claims",
		Type:           "external",
	},
	"Data": {
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Deprecated:     true,
		Description:    `Contains additional data. The value depends on the issuer type.`,
		Exposed:        true,
		Name:           "data",
		Orderable:      true,
		Type:           "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		Description:    `Contains various additional information. Meaning depends on the ` + "`" + `realm` + "`" + `.`,
		Exposed:        true,
		Name:           "metadata",
		Orderable:      true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"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",
	},
	"Quota": {
		AllowedChoices: []string{},
		ConvertedName:  "Quota",
		Description:    `Restricts the number of times the issued token can be used.`,
		Exposed:        true,
		Name:           "quota",
		Type:           "integer",
	},
	"Realm": {
		AllowedChoices: []string{"AWSSecurityToken", "Certificate", "Google", "LDAP", "Vince", "GCPIdentityToken", "AzureIdentityToken", "OIDC", "SAML", "AporetoIdentityToken", "PCIdentityToken"},
		ConvertedName:  "Realm",
		Description: `The authentication realm. This will define how to verify
credentials from internal or external source of authentication.`,
		Exposed:  true,
		Name:     "realm",
		Required: true,
		Type:     "enum",
	},
	"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",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The token to use for the registration.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "24h",
		Description: `Configures the maximum length of validity for a token, using
[Golang duration syntax](https://golang.org/pkg/time/#example_Duration). If it
is
bigger than the configured max validity, it will be capped. Default: ` + "`" + `24h` + "`" + `.`,
		Exposed:   true,
		Name:      "validity",
		Orderable: true,
		Type:      "string",
	},
}

IssueAttributesMap represents the map of attribute for Issue.

View Source
var IssueIdentity = elemental.Identity{
	Name:     "issue",
	Category: "issue",
	Package:  "midgard",
	Private:  false,
}

IssueIdentity represents the Identity of the object.

View Source
var IssueLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"audience": {
		AllowedChoices: []string{},
		ConvertedName:  "Audience",
		Description: `If given, the issued token will only be valid for the specified namespace.
Refer to [JSON Web Token (JWT)RFC
7519](https://tools.ietf.org/html/rfc7519#section-4.1.3).
for further information.`,
		Exposed: true,
		Name:    "audience",
		Type:    "string",
	},
	"claims": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `The claims in the token. It is only set is the parameter ` + "`" + `asCookie` + "`" + ` is given.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "_claims",
		Type:           "external",
	},
	"data": {
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Deprecated:     true,
		Description:    `Contains additional data. The value depends on the issuer type.`,
		Exposed:        true,
		Name:           "data",
		Orderable:      true,
		Type:           "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		Description:    `Contains various additional information. Meaning depends on the ` + "`" + `realm` + "`" + `.`,
		Exposed:        true,
		Name:           "metadata",
		Orderable:      true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"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",
	},
	"quota": {
		AllowedChoices: []string{},
		ConvertedName:  "Quota",
		Description:    `Restricts the number of times the issued token can be used.`,
		Exposed:        true,
		Name:           "quota",
		Type:           "integer",
	},
	"realm": {
		AllowedChoices: []string{"AWSSecurityToken", "Certificate", "Google", "LDAP", "Vince", "GCPIdentityToken", "AzureIdentityToken", "OIDC", "SAML", "AporetoIdentityToken", "PCIdentityToken"},
		ConvertedName:  "Realm",
		Description: `The authentication realm. This will define how to verify
credentials from internal or external source of authentication.`,
		Exposed:  true,
		Name:     "realm",
		Required: true,
		Type:     "enum",
	},
	"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",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The token to use for the registration.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "24h",
		Description: `Configures the maximum length of validity for a token, using
[Golang duration syntax](https://golang.org/pkg/time/#example_Duration). If it
is
bigger than the configured max validity, it will be capped. Default: ` + "`" + `24h` + "`" + `.`,
		Exposed:   true,
		Name:      "validity",
		Orderable: true,
		Type:      "string",
	},
}

IssueLowerCaseAttributesMap represents the map of attribute for Issue.

View Source
var IssueServiceTokenAttributesMap = map[string]elemental.AttributeSpecification{
	"Audience": {
		AllowedChoices: []string{},
		ConvertedName:  "Audience",
		CreationOnly:   true,
		Description:    `Audience is the valid audience for this token.`,
		Exposed:        true,
		Name:           "audience",
		Required:       true,
		Type:           "string",
	},
	"NamespaceID": {
		AllowedChoices: []string{},
		ConvertedName:  "NamespaceID",
		CreationOnly:   true,
		Description:    `The ID of the corresponding namespace.`,
		Exposed:        true,
		Name:           "namespaceID",
		Type:           "string",
	},
	"ServiceClaims": {
		AllowedChoices: []string{},
		ConvertedName:  "ServiceClaims",
		CreationOnly:   true,
		Description: `ServiceClaims is a list of service claims that have been validated provided as
key/value pairs. If the same key is provided multiple times it will be converted
to an array. The claims  will appear under the Data section of the token.`,
		Exposed: true,
		Name:    "serviceClaims",
		SubType: "string",
		Type:    "list",
	},
	"SigningKeyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "signingkeyid",
		ConvertedName:  "SigningKeyID",
		Description:    `SigningKeyID holds the ID of the private certificate to use to sign the token.`,
		Exposed:        true,
		Name:           "signingKeyID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		CreationOnly:   true,
		Description:    `The subject claims of the token.`,
		Exposed:        true,
		Name:           "subject",
		Required:       true,
		Type:           "string",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token contains the generated token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"UserClaims": {
		AllowedChoices: []string{},
		ConvertedName:  "UserClaims",
		CreationOnly:   true,
		Description: `UserClaims is a list of user claims that have been validated provided as
key/value pairs. If the same key is provided multiple times it will be converted
to an array. The claims  will appear under the Data section of the token.`,
		Exposed: true,
		Name:    "userClaims",
		SubType: "string",
		Type:    "list",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		CreationOnly:   true,
		DefaultValue:   "15m",
		Description:    `Validity contains the token validity duration.`,
		Exposed:        true,
		Name:           "validity",
		Required:       true,
		Type:           "string",
	},
}

IssueServiceTokenAttributesMap represents the map of attribute for IssueServiceToken.

View Source
var IssueServiceTokenIdentity = elemental.Identity{
	Name:     "issueservicetoken",
	Category: "issueservicetokens",
	Package:  "barret",
	Private:  true,
}

IssueServiceTokenIdentity represents the Identity of the object.

View Source
var IssueServiceTokenLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"audience": {
		AllowedChoices: []string{},
		ConvertedName:  "Audience",
		CreationOnly:   true,
		Description:    `Audience is the valid audience for this token.`,
		Exposed:        true,
		Name:           "audience",
		Required:       true,
		Type:           "string",
	},
	"namespaceid": {
		AllowedChoices: []string{},
		ConvertedName:  "NamespaceID",
		CreationOnly:   true,
		Description:    `The ID of the corresponding namespace.`,
		Exposed:        true,
		Name:           "namespaceID",
		Type:           "string",
	},
	"serviceclaims": {
		AllowedChoices: []string{},
		ConvertedName:  "ServiceClaims",
		CreationOnly:   true,
		Description: `ServiceClaims is a list of service claims that have been validated provided as
key/value pairs. If the same key is provided multiple times it will be converted
to an array. The claims  will appear under the Data section of the token.`,
		Exposed: true,
		Name:    "serviceClaims",
		SubType: "string",
		Type:    "list",
	},
	"signingkeyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "signingkeyid",
		ConvertedName:  "SigningKeyID",
		Description:    `SigningKeyID holds the ID of the private certificate to use to sign the token.`,
		Exposed:        true,
		Name:           "signingKeyID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		CreationOnly:   true,
		Description:    `The subject claims of the token.`,
		Exposed:        true,
		Name:           "subject",
		Required:       true,
		Type:           "string",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token contains the generated token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"userclaims": {
		AllowedChoices: []string{},
		ConvertedName:  "UserClaims",
		CreationOnly:   true,
		Description: `UserClaims is a list of user claims that have been validated provided as
key/value pairs. If the same key is provided multiple times it will be converted
to an array. The claims  will appear under the Data section of the token.`,
		Exposed: true,
		Name:    "userClaims",
		SubType: "string",
		Type:    "list",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		CreationOnly:   true,
		DefaultValue:   "15m",
		Description:    `Validity contains the token validity duration.`,
		Exposed:        true,
		Name:           "validity",
		Required:       true,
		Type:           "string",
	},
}

IssueServiceTokenLowerCaseAttributesMap represents the map of attribute for IssueServiceToken.

View Source
var KubernetesClusterAttributesMap = map[string]elemental.AttributeSpecification{
	"APIVersions": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiversions",
		ConvertedName:  "APIVersions",
		Description:    `API versions supported by the API server.`,
		Exposed:        true,
		Name:           "APIVersions",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"K8SNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "k8snamespace",
		ConvertedName:  "K8SNamespace",
		Description:    `Kubernetes namespace.`,
		Exposed:        true,
		Name:           "K8SNamespace",
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ExternalIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "externalip",
		ConvertedName:  "ExternalIP",
		Description:    `Cluster external IP address.`,
		Exposed:        true,
		Name:           "externalIP",
		Stored:         true,
		Type:           "string",
	},
	"InternalIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "internalip",
		ConvertedName:  "InternalIP",
		Description:    `Cluster internal IP address.`,
		Exposed:        true,
		Name:           "internalIP",
		Stored:         true,
		Type:           "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

KubernetesClusterAttributesMap represents the map of attribute for KubernetesCluster.

View Source
var KubernetesClusterIdentity = elemental.Identity{
	Name:     "kubernetescluster",
	Category: "kubernetesclusters",
	Package:  "squall",
	Private:  false,
}

KubernetesClusterIdentity represents the Identity of the object.

View Source
var KubernetesClusterLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiversions": {
		AllowedChoices: []string{},
		BSONFieldName:  "apiversions",
		ConvertedName:  "APIVersions",
		Description:    `API versions supported by the API server.`,
		Exposed:        true,
		Name:           "APIVersions",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"k8snamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "k8snamespace",
		ConvertedName:  "K8SNamespace",
		Description:    `Kubernetes namespace.`,
		Exposed:        true,
		Name:           "K8SNamespace",
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"externalip": {
		AllowedChoices: []string{},
		BSONFieldName:  "externalip",
		ConvertedName:  "ExternalIP",
		Description:    `Cluster external IP address.`,
		Exposed:        true,
		Name:           "externalIP",
		Stored:         true,
		Type:           "string",
	},
	"internalip": {
		AllowedChoices: []string{},
		BSONFieldName:  "internalip",
		ConvertedName:  "InternalIP",
		Description:    `Cluster internal IP address.`,
		Exposed:        true,
		Name:           "internalIP",
		Stored:         true,
		Type:           "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

KubernetesClusterLowerCaseAttributesMap represents the map of attribute for KubernetesCluster.

View Source
var LDAPProviderAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Address": {
		AllowedChoices: []string{},
		BSONFieldName:  "address",
		ConvertedName:  "Address",
		Description: `Contains the fully qualified domain name (FQDN) or IP address of the private
LDAP server.`,
		Exposed:    true,
		Filterable: true,
		Name:       "address",
		Orderable:  true,
		Required:   true,
		Stored:     true,
		Type:       "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"BaseDN": {
		AllowedChoices: []string{},
		BSONFieldName:  "basedn",
		ConvertedName:  "BaseDN",
		Description: `Contains the base distinguished name (DN) to use for LDAP queries. Example:
` + "`" + `dc=example,dc=com` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "baseDN",
		Orderable:  true,
		Required:   true,
		Stored:     true,
		Type:       "string",
	},
	"BindDN": {
		AllowedChoices: []string{},
		BSONFieldName:  "binddn",
		ConvertedName:  "BindDN",
		Description: `Contains the DN to use to bind to the LDAP server. Example:
` + "`" + `cn=admin,dc=example,dc=com` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "bindDN",
		Orderable:  true,
		Required:   true,
		Stored:     true,
		Type:       "string",
	},
	"BindPassword": {
		AllowedChoices: []string{},
		BSONFieldName:  "bindpassword",
		ConvertedName:  "BindPassword",
		Description: `Contains the password to be used with the ` + "`" + `bindDN` + "`" + ` to authenticate to the LDAP
server.`,
		Exposed:   true,
		Name:      "bindPassword",
		Orderable: true,
		Required:  true,
		Stored:    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",
	},
	"CertificateAuthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		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:      "certificateAuthority",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"ConnSecurityProtocol": {
		AllowedChoices: []string{"TLS", "InbandTLS"},
		BSONFieldName:  "connsecurityprotocol",
		ConvertedName:  "ConnSecurityProtocol",
		DefaultValue:   LDAPProviderConnSecurityProtocolInbandTLS,
		Description: `Specifies the connection type for the LDAP provider. ` + "`" + `TLS` + "`" + ` or ` + "`" + `InbandTLS` + "`" + `
(default).`,
		Exposed:    true,
		Filterable: true,
		Name:       "connSecurityProtocol",
		Orderable:  true,
		Stored:     true,
		Type:       "enum",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Default": {
		AllowedChoices: []string{},
		BSONFieldName:  "default",
		ConvertedName:  "Default",
		Description: `If set, this will be the default LDAP provider. There can be only one default
provider in your account. When logging in with LDAP, if no provider name is
given, the default will be used.`,
		Exposed: true,
		Name:    "default",
		Stored:  true,
		Type:    "boolean",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"IgnoredKeys": {
		AllowedChoices: []string{},
		BSONFieldName:  "ignoredkeys",
		ConvertedName:  "IgnoredKeys",
		Description: `A list of keys that must not be imported into a Microsegmentation authorization.
If
` + "`" + `includedKeys` + "`" + ` is also set, and a key is in both lists, the key will be ignored.`,
		Exposed:   true,
		Name:      "ignoredKeys",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"IncludedKeys": {
		AllowedChoices: []string{},
		BSONFieldName:  "includedkeys",
		ConvertedName:  "IncludedKeys",
		Description: `A list of keys that must be imported into a Microsegmentation authorization. If
` + "`" + `ignoredKeys` + "`" + ` is also set, and a key is in both lists, the key will be ignored.`,
		Exposed:   true,
		Name:      "includedKeys",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"SubjectKey": {
		AllowedChoices: []string{},
		BSONFieldName:  "subjectkey",
		ConvertedName:  "SubjectKey",
		DefaultValue:   "uid",
		Description: `The key to be used to populate the subject of the Midgard token. If you want to
use the user as a subject, for Windows-based systems you may use
` + "`" + `sAMAccountName` + "`" + `.
For Linux and other systems, you may wish to use ` + "`" + `uid` + "`" + ` (default). You can also
use
any alternate key.`,
		Exposed:   true,
		Name:      "subjectKey",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

LDAPProviderAttributesMap represents the map of attribute for LDAPProvider.

View Source
var LDAPProviderIdentity = elemental.Identity{
	Name:     "ldapprovider",
	Category: "ldapproviders",
	Package:  "cactuar",
	Private:  false,
}

LDAPProviderIdentity represents the Identity of the object.

View Source
var LDAPProviderLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"address": {
		AllowedChoices: []string{},
		BSONFieldName:  "address",
		ConvertedName:  "Address",
		Description: `Contains the fully qualified domain name (FQDN) or IP address of the private
LDAP server.`,
		Exposed:    true,
		Filterable: true,
		Name:       "address",
		Orderable:  true,
		Required:   true,
		Stored:     true,
		Type:       "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"basedn": {
		AllowedChoices: []string{},
		BSONFieldName:  "basedn",
		ConvertedName:  "BaseDN",
		Description: `Contains the base distinguished name (DN) to use for LDAP queries. Example:
` + "`" + `dc=example,dc=com` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "baseDN",
		Orderable:  true,
		Required:   true,
		Stored:     true,
		Type:       "string",
	},
	"binddn": {
		AllowedChoices: []string{},
		BSONFieldName:  "binddn",
		ConvertedName:  "BindDN",
		Description: `Contains the DN to use to bind to the LDAP server. Example:
` + "`" + `cn=admin,dc=example,dc=com` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "bindDN",
		Orderable:  true,
		Required:   true,
		Stored:     true,
		Type:       "string",
	},
	"bindpassword": {
		AllowedChoices: []string{},
		BSONFieldName:  "bindpassword",
		ConvertedName:  "BindPassword",
		Description: `Contains the password to be used with the ` + "`" + `bindDN` + "`" + ` to authenticate to the LDAP
server.`,
		Exposed:   true,
		Name:      "bindPassword",
		Orderable: true,
		Required:  true,
		Stored:    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",
	},
	"certificateauthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		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:      "certificateAuthority",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"connsecurityprotocol": {
		AllowedChoices: []string{"TLS", "InbandTLS"},
		BSONFieldName:  "connsecurityprotocol",
		ConvertedName:  "ConnSecurityProtocol",
		DefaultValue:   LDAPProviderConnSecurityProtocolInbandTLS,
		Description: `Specifies the connection type for the LDAP provider. ` + "`" + `TLS` + "`" + ` or ` + "`" + `InbandTLS` + "`" + `
(default).`,
		Exposed:    true,
		Filterable: true,
		Name:       "connSecurityProtocol",
		Orderable:  true,
		Stored:     true,
		Type:       "enum",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"default": {
		AllowedChoices: []string{},
		BSONFieldName:  "default",
		ConvertedName:  "Default",
		Description: `If set, this will be the default LDAP provider. There can be only one default
provider in your account. When logging in with LDAP, if no provider name is
given, the default will be used.`,
		Exposed: true,
		Name:    "default",
		Stored:  true,
		Type:    "boolean",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ignoredkeys": {
		AllowedChoices: []string{},
		BSONFieldName:  "ignoredkeys",
		ConvertedName:  "IgnoredKeys",
		Description: `A list of keys that must not be imported into a Microsegmentation authorization.
If
` + "`" + `includedKeys` + "`" + ` is also set, and a key is in both lists, the key will be ignored.`,
		Exposed:   true,
		Name:      "ignoredKeys",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"includedkeys": {
		AllowedChoices: []string{},
		BSONFieldName:  "includedkeys",
		ConvertedName:  "IncludedKeys",
		Description: `A list of keys that must be imported into a Microsegmentation authorization. If
` + "`" + `ignoredKeys` + "`" + ` is also set, and a key is in both lists, the key will be ignored.`,
		Exposed:   true,
		Name:      "includedKeys",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subjectkey": {
		AllowedChoices: []string{},
		BSONFieldName:  "subjectkey",
		ConvertedName:  "SubjectKey",
		DefaultValue:   "uid",
		Description: `The key to be used to populate the subject of the Midgard token. If you want to
use the user as a subject, for Windows-based systems you may use
` + "`" + `sAMAccountName` + "`" + `.
For Linux and other systems, you may wish to use ` + "`" + `uid` + "`" + ` (default). You can also
use
any alternate key.`,
		Exposed:   true,
		Name:      "subjectKey",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

LDAPProviderLowerCaseAttributesMap represents the map of attribute for LDAPProvider.

View Source
var LocalCAAttributesMap = map[string]elemental.AttributeSpecification{
	"SSHCertificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCertificate",
		Description:    `The SSH certificate authority used by the namespace.`,
		Exposed:        true,
		Name:           "SSHCertificate",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"SSHCertificateRenew": {
		AllowedChoices: []string{},
		ConvertedName:  "SSHCertificateRenew",
		Description:    `Set to ` + "`" + `true` + "`" + ` to renew the SSH certificate authority of the namespace.`,
		Exposed:        true,
		Name:           "SSHCertificateRenew",
		Transient:      true,
		Type:           "boolean",
	},
	"Certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `The certificate authority used by the namespace.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"CertificateRenew": {
		AllowedChoices: []string{},
		ConvertedName:  "CertificateRenew",
		Description:    `Set to ` + "`" + `true` + "`" + ` to renew the certificate authority of the namespace.`,
		Exposed:        true,
		Name:           "certificateRenew",
		Transient:      true,
		Type:           "boolean",
	},
}

LocalCAAttributesMap represents the map of attribute for LocalCA.

View Source
var LocalCAIdentity = elemental.Identity{
	Name:     "localca",
	Category: "localcas",
	Package:  "squall",
	Private:  false,
}

LocalCAIdentity represents the Identity of the object.

View Source
var LocalCALowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"sshcertificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCertificate",
		Description:    `The SSH certificate authority used by the namespace.`,
		Exposed:        true,
		Name:           "SSHCertificate",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"sshcertificaterenew": {
		AllowedChoices: []string{},
		ConvertedName:  "SSHCertificateRenew",
		Description:    `Set to ` + "`" + `true` + "`" + ` to renew the SSH certificate authority of the namespace.`,
		Exposed:        true,
		Name:           "SSHCertificateRenew",
		Transient:      true,
		Type:           "boolean",
	},
	"certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `The certificate authority used by the namespace.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"certificaterenew": {
		AllowedChoices: []string{},
		ConvertedName:  "CertificateRenew",
		Description:    `Set to ` + "`" + `true` + "`" + ` to renew the certificate authority of the namespace.`,
		Exposed:        true,
		Name:           "certificateRenew",
		Transient:      true,
		Type:           "boolean",
	},
}

LocalCALowerCaseAttributesMap represents the map of attribute for LocalCA.

View Source
var LogAttributesMap = map[string]elemental.AttributeSpecification{
	"Data": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Data",
		Description:    `Contains all log data.`,
		Exposed:        true,
		Name:           "data",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
}

LogAttributesMap represents the map of attribute for Log.

View Source
var LogIdentity = elemental.Identity{
	Name:     "log",
	Category: "logs",
	Package:  "highwind",
	Private:  false,
}

LogIdentity represents the Identity of the object.

View Source
var LogLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"data": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Data",
		Description:    `Contains all log data.`,
		Exposed:        true,
		Name:           "data",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
}

LogLowerCaseAttributesMap represents the map of attribute for Log.

View Source
var LogoutAttributesMap = map[string]elemental.AttributeSpecification{}

LogoutAttributesMap represents the map of attribute for Logout.

View Source
var LogoutIdentity = elemental.Identity{
	Name:     "logout",
	Category: "logout",
	Package:  "midgard",
	Private:  false,
}

LogoutIdentity represents the Identity of the object.

View Source
var LogoutLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{}

LogoutLowerCaseAttributesMap represents the map of attribute for Logout.

View Source
var MessageAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `The time after which the message will be deleted.`,
		Exposed:        true,
		Name:           "expirationTime",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"Level": {
		AllowedChoices: []string{"Danger", "Info", "Warning"},
		BSONFieldName:  "level",
		ConvertedName:  "Level",
		DefaultValue:   MessageLevelInfo,
		Description:    `Importance of the message.`,
		Exposed:        true,
		Name:           "level",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		Description: `Sets when the message will be automatically deleted using
[Golang duration syntax](https://golang.org/pkg/time/#example_Duration).`,
		Exposed:  true,
		Name:     "validity",
		Required: true,
		Type:     "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

MessageAttributesMap represents the map of attribute for Message.

View Source
var MessageIdentity = elemental.Identity{
	Name:     "message",
	Category: "messages",
	Package:  "squall",
	Private:  false,
}

MessageIdentity represents the Identity of the object.

View Source
var MessageLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `The time after which the message will be deleted.`,
		Exposed:        true,
		Name:           "expirationTime",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"level": {
		AllowedChoices: []string{"Danger", "Info", "Warning"},
		BSONFieldName:  "level",
		ConvertedName:  "Level",
		DefaultValue:   MessageLevelInfo,
		Description:    `Importance of the message.`,
		Exposed:        true,
		Name:           "level",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		Description: `Sets when the message will be automatically deleted using
[Golang duration syntax](https://golang.org/pkg/time/#example_Duration).`,
		Exposed:  true,
		Name:     "validity",
		Required: true,
		Type:     "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

MessageLowerCaseAttributesMap represents the map of attribute for Message.

View Source
var MetricsQueryAttributesMap = map[string]elemental.AttributeSpecification{
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `Prometheus expression query string.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Time": {
		AllowedChoices: []string{},
		ConvertedName:  "Time",
		Description:    `Evaluation timestamp <rfc3339 | unix_timestamp>.`,
		Exposed:        true,
		Name:           "time",
		Type:           "string",
	},
}

MetricsQueryAttributesMap represents the map of attribute for MetricsQuery.

View Source
var MetricsQueryIdentity = elemental.Identity{
	Name:     "metricsquery",
	Category: "metricsquery",
	Package:  "jenova",
	Private:  false,
}

MetricsQueryIdentity represents the Identity of the object.

View Source
var MetricsQueryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `Prometheus expression query string.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"time": {
		AllowedChoices: []string{},
		ConvertedName:  "Time",
		Description:    `Evaluation timestamp <rfc3339 | unix_timestamp>.`,
		Exposed:        true,
		Name:           "time",
		Type:           "string",
	},
}

MetricsQueryLowerCaseAttributesMap represents the map of attribute for MetricsQuery.

View Source
var MetricsQueryRangeAttributesMap = map[string]elemental.AttributeSpecification{
	"End": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description:    `End timestamp <rfc3339 | unix_timestamp>.`,
		Exposed:        true,
		Name:           "end",
		Type:           "string",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `Prometheus expression query string.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"Start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description:    `Start timestamp <rfc3339 | unix_timestamp>.`,
		Exposed:        true,
		Name:           "start",
		Type:           "string",
	},
	"Step": {
		AllowedChoices: []string{},
		ConvertedName:  "Step",
		Description:    `Query resolution step width in duration format or float number of seconds.`,
		Exposed:        true,
		Name:           "step",
		Type:           "string",
	},
}

MetricsQueryRangeAttributesMap represents the map of attribute for MetricsQueryRange.

View Source
var MetricsQueryRangeIdentity = elemental.Identity{
	Name:     "metricsqueryrange",
	Category: "metricsqueryrange",
	Package:  "jenova",
	Private:  false,
}

MetricsQueryRangeIdentity represents the Identity of the object.

View Source
var MetricsQueryRangeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"end": {
		AllowedChoices: []string{},
		ConvertedName:  "End",
		Description:    `End timestamp <rfc3339 | unix_timestamp>.`,
		Exposed:        true,
		Name:           "end",
		Type:           "string",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `Prometheus expression query string.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"start": {
		AllowedChoices: []string{},
		ConvertedName:  "Start",
		Description:    `Start timestamp <rfc3339 | unix_timestamp>.`,
		Exposed:        true,
		Name:           "start",
		Type:           "string",
	},
	"step": {
		AllowedChoices: []string{},
		ConvertedName:  "Step",
		Description:    `Query resolution step width in duration format or float number of seconds.`,
		Exposed:        true,
		Name:           "step",
		Type:           "string",
	},
}

MetricsQueryRangeLowerCaseAttributesMap represents the map of attribute for MetricsQueryRange.

View Source
var NamespaceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"JWTCertificateType": {
		AllowedChoices: []string{"RSA", "EC", "None"},
		BSONFieldName:  "jwtcertificatetype",
		ConvertedName:  "JWTCertificateType",
		DefaultValue:   NamespaceJWTCertificateTypeNone,
		Description: `JWTCertificateType defines the JWT signing certificate that must be created
for this namespace. If the type is none no certificate will be created.`,
		Exposed: true,
		Name:    "JWTCertificateType",
		Stored:  true,
		Type:    "enum",
	},
	"JWTCertificates": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "jwtcertificates",
		ConvertedName:  "JWTCertificates",
		Description: `JWTCertificates hold the certificates used to sign tokens for this namespace.
This is map indexed by the ID of the certificate.`,
		Exposed:  true,
		Name:     "JWTCertificates",
		ReadOnly: true,
		Stored:   true,
		SubType:  "map[string]string",
		Type:     "external",
	},
	"SSHCA": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "sshca",
		ConvertedName:  "SSHCA",
		Description:    `The SSH certificate authority used by the namespace.`,
		Name:           "SSHCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"SSHCAEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "sshcaenabled",
		ConvertedName:  "SSHCAEnabled",
		Deprecated:     true,
		Description: `If ` + "`" + `true` + "`" + `, an SSH certificate authority (CA) will be generated for the
namespace. This CA can be deployed in SSH server to validate SSH certificates
issued by the controller.`,
		Exposed:   true,
		Name:      "SSHCAEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedLocalCAID": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedlocalcaid",
		ConvertedName:  "AssociatedLocalCAID",
		Description:    `AssociatedLocalCAID holds the remote ID of the certificate authority to use.`,
		Name:           "associatedLocalCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AssociatedSSHCAID": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedsshcaid",
		ConvertedName:  "AssociatedSSHCAID",
		Description:    `The remote ID of the SSH certificate authority to use.`,
		Exposed:        true,
		Name:           "associatedSSHCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"CustomZoning": {
		AllowedChoices: []string{},
		BSONFieldName:  "customzoning",
		ConvertedName:  "CustomZoning",
		CreationOnly:   true,
		Description: `Defines if the namespace should inherit its parent zone. If this property is set
to ` + "`" + `false` + "`" + `,  the ` + "`" + `zoning` + "`" + ` property will be ignored and the namespace will have
the same zone as its parent.`,
		Exposed: true,
		Name:    "customZoning",
		Stored:  true,
		Type:    "boolean",
	},
	"DefaultEnforcerVersion": {
		AllowedChoices: []string{},
		BSONFieldName:  "defaultenforcerversion",
		ConvertedName:  "DefaultEnforcerVersion",
		Description:    `Indicates the default enforcer version for this namespace.`,
		Exposed:        true,
		Name:           "defaultEnforcerVersion",
		Stored:         true,
		Type:           "string",
	},
	"DefaultPUIncomingTrafficAction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		BSONFieldName:  "defaultpuincomingtrafficaction",
		ConvertedName:  "DefaultPUIncomingTrafficAction",
		DefaultValue:   NamespaceDefaultPUIncomingTrafficActionInherit,
		Description: `Describes the default action a processing unit will take for incoming traffic
for this namespace.`,
		Exposed: true,
		Name:    "defaultPUIncomingTrafficAction",
		Stored:  true,
		Type:    "enum",
	},
	"DefaultPUOutgoingTrafficAction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		BSONFieldName:  "defaultpuoutgoingtrafficaction",
		ConvertedName:  "DefaultPUOutgoingTrafficAction",
		DefaultValue:   NamespaceDefaultPUOutgoingTrafficActionInherit,
		Description: `Describes the default action a processing unit will take for outgoing traffic
for this namespace.`,
		Exposed: true,
		Name:    "defaultPUOutgoingTrafficAction",
		Stored:  true,
		Type:    "enum",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"LocalCA": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "localca",
		ConvertedName:  "LocalCA",
		Description:    `The certificate authority used by this namespace.`,
		Name:           "localCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"LocalCAEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "localcaenabled",
		ConvertedName:  "LocalCAEnabled",
		Description: `Defines if the namespace should use a local certificate
authority (CA). Switching it off and on again will regenerate a new CA.`,
		Exposed:   true,
		Name:      "localCAEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the namespace.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NetworkAccessPolicyTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "networkaccesspolicytags",
		ConvertedName:  "NetworkAccessPolicyTags",
		Deprecated:     true,
		Description: `List of tags that will be added to every ` + "`" + `or` + "`" + ` clause of all network access
policies in the namespace and its children.`,
		Exposed: true,
		Name:    "networkAccessPolicyTags",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"OrganizationalMetadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "organizationalmetadata",
		ConvertedName:  "OrganizationalMetadata",
		Description: `List of tags that describe this namespace. All organizational tags are
automatically passed to policeable objects (e.g., processing units, external
networks, enforcers) during their creation.`,
		Exposed: true,
		Name:    "organizationalMetadata",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ServiceCertificateValidity": {
		AllowedChoices: []string{},
		BSONFieldName:  "servicecertificatevalidity",
		ConvertedName:  "ServiceCertificateValidity",
		DefaultValue:   "168h",
		Deprecated:     true,
		Description:    `This flag is deprecated and has no incidence.`,
		Exposed:        true,
		Name:           "serviceCertificateValidity",
		Stored:         true,
		Type:           "string",
	},
	"TagPrefixes": {
		AllowedChoices: []string{},
		BSONFieldName:  "tagprefixes",
		ConvertedName:  "TagPrefixes",
		Description: `List of tag prefixes that will be used to suggest policies. Only these tags will
be transmitted on the wire.`,
		Exposed: true,
		Name:    "tagPrefixes",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Type": {
		AllowedChoices: []string{"Default", "Tenant", "CloudAccount", "Group", "Kubernetes"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		CreationOnly:   true,
		DefaultValue:   NamespaceTypeDefault,
		Description: `The type defines the purpose of the namespace:
- ` + "`" + `Default` + "`" + `: A universal namespace that is capable of all actions and views.
- ` + "`" + `Tenant` + "`" + `: A namespace that houses a tenant (e.g. ACME).
- ` + "`" + `CloudAccount` + "`" + `: A child namespace of a tenant that houses a cloud provider
account.
- ` + "`" + `Group` + "`" + `: A child namespace of a cloud account that houses a managed group.
- ` + "`" + `Kubernetes` + "`" + `: A child namespace of a group that houses a
Kubernetes cluster (automatically created by the enforcer).`,
		Exposed: true,
		Name:    "type",
		Stored:  true,
		Type:    "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
	"Zoning": {
		AllowedChoices: []string{},
		BSONFieldName:  "zoning",
		ConvertedName:  "Zoning",
		CreationOnly:   true,
		Description:    `Defines what zone the namespace should live in.`,
		Exposed:        true,
		Getter:         true,
		Name:           "zoning",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
}

NamespaceAttributesMap represents the map of attribute for Namespace.

View Source
var NamespaceIdentity = elemental.Identity{
	Name:     "namespace",
	Category: "namespaces",
	Package:  "squall",
	Private:  false,
}

NamespaceIdentity represents the Identity of the object.

View Source
var NamespaceInfoAttributesMap = map[string]elemental.AttributeSpecification{
	"PUIncomingTrafficAction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "PUIncomingTrafficAction",
		Description:    `The processing unit action for incoming traffic for the namespace.`,
		Exposed:        true,
		Name:           "PUIncomingTrafficAction",
		ReadOnly:       true,
		Type:           "enum",
	},
	"PUOutgoingTrafficAction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "PUOutgoingTrafficAction",
		Description:    `The processing unit action for outgoing traffic for the namespace.`,
		Exposed:        true,
		Name:           "PUOutgoingTrafficAction",
		ReadOnly:       true,
		Type:           "enum",
	},
	"Description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the namespace.`,
		Exposed:        true,
		Name:           "description",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the namespace.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "name",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Prefixes": {
		AllowedChoices: []string{},
		ConvertedName:  "Prefixes",
		Description:    `List of tag prefixes that will be used to suggest policies.`,
		Exposed:        true,
		Name:           "prefixes",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the namespace is protected.`,
		Exposed:        true,
		Name:           "protected",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "boolean",
	},
}

NamespaceInfoAttributesMap represents the map of attribute for NamespaceInfo.

View Source
var NamespaceInfoIdentity = elemental.Identity{
	Name:     "namespaceinfo",
	Category: "namespaceinfo",
	Package:  "squall",
	Private:  false,
}

NamespaceInfoIdentity represents the Identity of the object.

View Source
var NamespaceInfoLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"puincomingtrafficaction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "PUIncomingTrafficAction",
		Description:    `The processing unit action for incoming traffic for the namespace.`,
		Exposed:        true,
		Name:           "PUIncomingTrafficAction",
		ReadOnly:       true,
		Type:           "enum",
	},
	"puoutgoingtrafficaction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "PUOutgoingTrafficAction",
		Description:    `The processing unit action for outgoing traffic for the namespace.`,
		Exposed:        true,
		Name:           "PUOutgoingTrafficAction",
		ReadOnly:       true,
		Type:           "enum",
	},
	"description": {
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the namespace.`,
		Exposed:        true,
		Name:           "description",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the namespace.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "name",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"prefixes": {
		AllowedChoices: []string{},
		ConvertedName:  "Prefixes",
		Description:    `List of tag prefixes that will be used to suggest policies.`,
		Exposed:        true,
		Name:           "prefixes",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the namespace is protected.`,
		Exposed:        true,
		Name:           "protected",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "boolean",
	},
}

NamespaceInfoLowerCaseAttributesMap represents the map of attribute for NamespaceInfo.

View Source
var NamespaceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"jwtcertificatetype": {
		AllowedChoices: []string{"RSA", "EC", "None"},
		BSONFieldName:  "jwtcertificatetype",
		ConvertedName:  "JWTCertificateType",
		DefaultValue:   NamespaceJWTCertificateTypeNone,
		Description: `JWTCertificateType defines the JWT signing certificate that must be created
for this namespace. If the type is none no certificate will be created.`,
		Exposed: true,
		Name:    "JWTCertificateType",
		Stored:  true,
		Type:    "enum",
	},
	"jwtcertificates": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "jwtcertificates",
		ConvertedName:  "JWTCertificates",
		Description: `JWTCertificates hold the certificates used to sign tokens for this namespace.
This is map indexed by the ID of the certificate.`,
		Exposed:  true,
		Name:     "JWTCertificates",
		ReadOnly: true,
		Stored:   true,
		SubType:  "map[string]string",
		Type:     "external",
	},
	"sshca": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "sshca",
		ConvertedName:  "SSHCA",
		Description:    `The SSH certificate authority used by the namespace.`,
		Name:           "SSHCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"sshcaenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "sshcaenabled",
		ConvertedName:  "SSHCAEnabled",
		Deprecated:     true,
		Description: `If ` + "`" + `true` + "`" + `, an SSH certificate authority (CA) will be generated for the
namespace. This CA can be deployed in SSH server to validate SSH certificates
issued by the controller.`,
		Exposed:   true,
		Name:      "SSHCAEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedlocalcaid": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedlocalcaid",
		ConvertedName:  "AssociatedLocalCAID",
		Description:    `AssociatedLocalCAID holds the remote ID of the certificate authority to use.`,
		Name:           "associatedLocalCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"associatedsshcaid": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedsshcaid",
		ConvertedName:  "AssociatedSSHCAID",
		Description:    `The remote ID of the SSH certificate authority to use.`,
		Exposed:        true,
		Name:           "associatedSSHCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"customzoning": {
		AllowedChoices: []string{},
		BSONFieldName:  "customzoning",
		ConvertedName:  "CustomZoning",
		CreationOnly:   true,
		Description: `Defines if the namespace should inherit its parent zone. If this property is set
to ` + "`" + `false` + "`" + `,  the ` + "`" + `zoning` + "`" + ` property will be ignored and the namespace will have
the same zone as its parent.`,
		Exposed: true,
		Name:    "customZoning",
		Stored:  true,
		Type:    "boolean",
	},
	"defaultenforcerversion": {
		AllowedChoices: []string{},
		BSONFieldName:  "defaultenforcerversion",
		ConvertedName:  "DefaultEnforcerVersion",
		Description:    `Indicates the default enforcer version for this namespace.`,
		Exposed:        true,
		Name:           "defaultEnforcerVersion",
		Stored:         true,
		Type:           "string",
	},
	"defaultpuincomingtrafficaction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		BSONFieldName:  "defaultpuincomingtrafficaction",
		ConvertedName:  "DefaultPUIncomingTrafficAction",
		DefaultValue:   NamespaceDefaultPUIncomingTrafficActionInherit,
		Description: `Describes the default action a processing unit will take for incoming traffic
for this namespace.`,
		Exposed: true,
		Name:    "defaultPUIncomingTrafficAction",
		Stored:  true,
		Type:    "enum",
	},
	"defaultpuoutgoingtrafficaction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		BSONFieldName:  "defaultpuoutgoingtrafficaction",
		ConvertedName:  "DefaultPUOutgoingTrafficAction",
		DefaultValue:   NamespaceDefaultPUOutgoingTrafficActionInherit,
		Description: `Describes the default action a processing unit will take for outgoing traffic
for this namespace.`,
		Exposed: true,
		Name:    "defaultPUOutgoingTrafficAction",
		Stored:  true,
		Type:    "enum",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"localca": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "localca",
		ConvertedName:  "LocalCA",
		Description:    `The certificate authority used by this namespace.`,
		Name:           "localCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"localcaenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "localcaenabled",
		ConvertedName:  "LocalCAEnabled",
		Description: `Defines if the namespace should use a local certificate
authority (CA). Switching it off and on again will regenerate a new CA.`,
		Exposed:   true,
		Name:      "localCAEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `The name of the namespace.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"networkaccesspolicytags": {
		AllowedChoices: []string{},
		BSONFieldName:  "networkaccesspolicytags",
		ConvertedName:  "NetworkAccessPolicyTags",
		Deprecated:     true,
		Description: `List of tags that will be added to every ` + "`" + `or` + "`" + ` clause of all network access
policies in the namespace and its children.`,
		Exposed: true,
		Name:    "networkAccessPolicyTags",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"organizationalmetadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "organizationalmetadata",
		ConvertedName:  "OrganizationalMetadata",
		Description: `List of tags that describe this namespace. All organizational tags are
automatically passed to policeable objects (e.g., processing units, external
networks, enforcers) during their creation.`,
		Exposed: true,
		Name:    "organizationalMetadata",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"servicecertificatevalidity": {
		AllowedChoices: []string{},
		BSONFieldName:  "servicecertificatevalidity",
		ConvertedName:  "ServiceCertificateValidity",
		DefaultValue:   "168h",
		Deprecated:     true,
		Description:    `This flag is deprecated and has no incidence.`,
		Exposed:        true,
		Name:           "serviceCertificateValidity",
		Stored:         true,
		Type:           "string",
	},
	"tagprefixes": {
		AllowedChoices: []string{},
		BSONFieldName:  "tagprefixes",
		ConvertedName:  "TagPrefixes",
		Description: `List of tag prefixes that will be used to suggest policies. Only these tags will
be transmitted on the wire.`,
		Exposed: true,
		Name:    "tagPrefixes",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"type": {
		AllowedChoices: []string{"Default", "Tenant", "CloudAccount", "Group", "Kubernetes"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		CreationOnly:   true,
		DefaultValue:   NamespaceTypeDefault,
		Description: `The type defines the purpose of the namespace:
- ` + "`" + `Default` + "`" + `: A universal namespace that is capable of all actions and views.
- ` + "`" + `Tenant` + "`" + `: A namespace that houses a tenant (e.g. ACME).
- ` + "`" + `CloudAccount` + "`" + `: A child namespace of a tenant that houses a cloud provider
account.
- ` + "`" + `Group` + "`" + `: A child namespace of a cloud account that houses a managed group.
- ` + "`" + `Kubernetes` + "`" + `: A child namespace of a group that houses a
Kubernetes cluster (automatically created by the enforcer).`,
		Exposed: true,
		Name:    "type",
		Stored:  true,
		Type:    "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
	"zoning": {
		AllowedChoices: []string{},
		BSONFieldName:  "zoning",
		ConvertedName:  "Zoning",
		CreationOnly:   true,
		Description:    `Defines what zone the namespace should live in.`,
		Exposed:        true,
		Getter:         true,
		Name:           "zoning",
		Setter:         true,
		Stored:         true,
		Type:           "integer",
	},
}

NamespaceLowerCaseAttributesMap represents the map of attribute for Namespace.

View Source
var NamespaceMappingPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"MappedNamespace": {
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "mappednamespace",
		ConvertedName:  "MappedNamespace",
		Description:    `The namespace to map the ` + "`" + `subject` + "`" + ` to.`,
		Exposed:        true,
		Name:           "mappedNamespace",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `A tag or tag expression identifying the entity to be mapped.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

NamespaceMappingPolicyAttributesMap represents the map of attribute for NamespaceMappingPolicy.

View Source
var NamespaceMappingPolicyIdentity = elemental.Identity{
	Name:     "namespacemappingpolicy",
	Category: "namespacemappingpolicies",
	Package:  "squall",
	Private:  false,
}

NamespaceMappingPolicyIdentity represents the Identity of the object.

View Source
var NamespaceMappingPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"mappednamespace": {
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		BSONFieldName:  "mappednamespace",
		ConvertedName:  "MappedNamespace",
		Description:    `The namespace to map the ` + "`" + `subject` + "`" + ` to.`,
		Exposed:        true,
		Name:           "mappedNamespace",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `A tag or tag expression identifying the entity to be mapped.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

NamespaceMappingPolicyLowerCaseAttributesMap represents the map of attribute for NamespaceMappingPolicy.

View Source
var NamespacePolicyInfoAttributesMap = map[string]elemental.AttributeSpecification{
	"PUIncomingTrafficAction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "PUIncomingTrafficAction",
		Deprecated:     true,
		Description:    `(Deprecated) The processing unit action for incoming traffic for the namespace.`,
		Exposed:        true,
		Name:           "PUIncomingTrafficAction",
		ReadOnly:       true,
		Type:           "enum",
	},
	"PUOutgoingTrafficAction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "PUOutgoingTrafficAction",
		Deprecated:     true,
		Description:    `(Deprecated) The processing unit action for outgoing traffic for the namespace.`,
		Exposed:        true,
		Name:           "PUOutgoingTrafficAction",
		ReadOnly:       true,
		Type:           "enum",
	},
	"Prefixes": {
		AllowedChoices: []string{},
		ConvertedName:  "Prefixes",
		Deprecated:     true,
		Description:    `(Deprecated) List of tag prefixes that will be used to suggest policies.`,
		Exposed:        true,
		Name:           "prefixes",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

NamespacePolicyInfoAttributesMap represents the map of attribute for NamespacePolicyInfo.

View Source
var NamespacePolicyInfoIdentity = elemental.Identity{
	Name:     "namespacepolicyinfo",
	Category: "namespacepolicyinfo",
	Package:  "squall",
	Private:  false,
}

NamespacePolicyInfoIdentity represents the Identity of the object.

View Source
var NamespacePolicyInfoLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"puincomingtrafficaction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "PUIncomingTrafficAction",
		Deprecated:     true,
		Description:    `(Deprecated) The processing unit action for incoming traffic for the namespace.`,
		Exposed:        true,
		Name:           "PUIncomingTrafficAction",
		ReadOnly:       true,
		Type:           "enum",
	},
	"puoutgoingtrafficaction": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "PUOutgoingTrafficAction",
		Deprecated:     true,
		Description:    `(Deprecated) The processing unit action for outgoing traffic for the namespace.`,
		Exposed:        true,
		Name:           "PUOutgoingTrafficAction",
		ReadOnly:       true,
		Type:           "enum",
	},
	"prefixes": {
		AllowedChoices: []string{},
		ConvertedName:  "Prefixes",
		Deprecated:     true,
		Description:    `(Deprecated) List of tag prefixes that will be used to suggest policies.`,
		Exposed:        true,
		Name:           "prefixes",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

NamespacePolicyInfoLowerCaseAttributesMap represents the map of attribute for NamespacePolicyInfo.

View Source
var NamespaceRendererAttributesMap = map[string]elemental.AttributeSpecification{
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `The namespace where the object should reside in.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"Tags": {
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `List of tags of the object to render the namespace for.`,
		Exposed:        true,
		Name:           "tags",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
}

NamespaceRendererAttributesMap represents the map of attribute for NamespaceRenderer.

View Source
var NamespaceRendererIdentity = elemental.Identity{
	Name:     "namespacerenderer",
	Category: "namespacerenderers",
	Package:  "squall",
	Private:  false,
}

NamespaceRendererIdentity represents the Identity of the object.

View Source
var NamespaceRendererLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `The namespace where the object should reside in.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"tags": {
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `List of tags of the object to render the namespace for.`,
		Exposed:        true,
		Name:           "tags",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
}

NamespaceRendererLowerCaseAttributesMap represents the map of attribute for NamespaceRenderer.

View Source
var NamespaceTypeAttributesMap = map[string]elemental.AttributeSpecification{
	"Type": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Type",
		Description:    `the namespace type for the current namespace.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Type:           "string",
	},
}

NamespaceTypeAttributesMap represents the map of attribute for NamespaceType.

View Source
var NamespaceTypeIdentity = elemental.Identity{
	Name:     "namespacetype",
	Category: "namespacetypes",
	Package:  "squall",
	Private:  false,
}

NamespaceTypeIdentity represents the Identity of the object.

View Source
var NamespaceTypeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"type": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Type",
		Description:    `the namespace type for the current namespace.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Type:           "string",
	},
}

NamespaceTypeLowerCaseAttributesMap represents the map of attribute for NamespaceType.

View Source
var NetworkAccessPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Allow", "Reject", "Continue"},
		ConvertedName:  "Action",
		DefaultValue:   NetworkAccessPolicyActionAllow,
		Description: `Defines the action to apply to a flow.

- ` + "`" + `Allow` + "`" + `: allows the defined traffic.
- ` + "`" + `Reject` + "`" + `: rejects the defined traffic; useful in conjunction with an allow all
policy.
- ` + "`" + `Continue` + "`" + `: neither allows or rejects the traffic; useful for applying another
property to the traffic.`,
		Exposed:   true,
		Name:      "action",
		Orderable: true,
		Type:      "enum",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"ApplyPolicyMode": {
		AllowedChoices: []string{"OutgoingTraffic", "IncomingTraffic", "Bidirectional"},
		ConvertedName:  "ApplyPolicyMode",
		DefaultValue:   NetworkAccessPolicyApplyPolicyModeBidirectional,
		Description: `Sets three different types of policies. ` + "`" + `IncomingTraffic` + "`" + `: applies the policy to
all
processing units that match the ` + "`" + `object` + "`" + ` and allows them to *accept* connections
from
processing units or external networks that match the ` + "`" + `subject` + "`" + `.
` + "`" + `OutgoingTraffic` + "`" + `: applies
the policy to all processing units that match the ` + "`" + `subject` + "`" + ` and allows them to
*initiate*
connections with processing units or external networks that match the ` + "`" + `object` + "`" + `.
` + "`" + `Bidirectional` + "`" + ` (default): applies the policy to all processing units that match
the ` + "`" + `object` + "`" + `
and allows them to *accept* connections from processing units that match the
` + "`" + `subject` + "`" + `.
Also applies the policy to all processing units that match the ` + "`" + `subject` + "`" + ` and
allows them
to *initiate* connections with processing units that match the ` + "`" + `object` + "`" + `.`,
		Exposed:   true,
		Name:      "applyPolicyMode",
		Orderable: true,
		Type:      "enum",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"EncryptionEnabled": {
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Deprecated:     true,
		Description: `Defines if the flow has to be encrypted. This property is deprecated and have no
incidence.`,
		Exposed:   true,
		Name:      "encryptionEnabled",
		Orderable: true,
		Type:      "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"LogsEnabled": {
		AllowedChoices: []string{},
		ConvertedName:  "LogsEnabled",
		Description: `If ` + "`" + `true` + "`" + `, the relevant flows are logged and available from Microsegmentation
Console.
Under some advanced scenarios you may wish to set this to ` + "`" + `false` + "`" + `, such as to
save space or
improve performance.`,
		Exposed:   true,
		Name:      "logsEnabled",
		Orderable: true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NegateObject": {
		AllowedChoices: []string{},
		BSONFieldName:  "negateobject",
		ConvertedName:  "NegateObject",
		Description:    `Setting this to ` + "`" + `true` + "`" + ` will invert the object to find what is not matching.`,
		Exposed:        true,
		Getter:         true,
		Name:           "negateObject",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"NegateSubject": {
		AllowedChoices: []string{},
		BSONFieldName:  "negatesubject",
		ConvertedName:  "NegateSubject",
		Description:    `Setting this to ` + "`" + `true` + "`" + ` will invert the subject to find what is not matching.`,
		Exposed:        true,
		Getter:         true,
		Name:           "negateSubject",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `A tag or tag expression identifying the object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"ObservationEnabled": {
		AllowedChoices: []string{},
		ConvertedName:  "ObservationEnabled",
		Description:    `If set to ` + "`" + `true` + "`" + `, the flow will be in observation mode.`,
		Exposed:        true,
		Name:           "observationEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"ObservedTrafficAction": {
		AllowedChoices: []string{"Apply", "Continue"},
		ConvertedName:  "ObservedTrafficAction",
		DefaultValue:   NetworkAccessPolicyObservedTrafficActionContinue,
		Description: `If ` + "`" + `observationEnabled` + "`" + ` is set to ` + "`" + `true` + "`" + `, this defines the final action taken
on the packets: ` + "`" + `Apply` + "`" + ` or ` + "`" + `Continue` + "`" + ` (default).`,
		Exposed:   true,
		Name:      "observedTrafficAction",
		Orderable: true,
		Type:      "enum",
	},
	"Ports": {
		AllowedChoices: []string{},
		ConvertedName:  "Ports",
		Description:    `Represents the ports and protocols this policy applies to.`,
		Exposed:        true,
		Name:           "ports",
		Orderable:      true,
		SubType:        "string",
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `A tag or tag expression identifying the subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

NetworkAccessPolicyAttributesMap represents the map of attribute for NetworkAccessPolicy.

View Source
var NetworkAccessPolicyIdentity = elemental.Identity{
	Name:     "networkaccesspolicy",
	Category: "networkaccesspolicies",
	Package:  "squall",
	Private:  false,
}

NetworkAccessPolicyIdentity represents the Identity of the object.

View Source
var NetworkAccessPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Allow", "Reject", "Continue"},
		ConvertedName:  "Action",
		DefaultValue:   NetworkAccessPolicyActionAllow,
		Description: `Defines the action to apply to a flow.

- ` + "`" + `Allow` + "`" + `: allows the defined traffic.
- ` + "`" + `Reject` + "`" + `: rejects the defined traffic; useful in conjunction with an allow all
policy.
- ` + "`" + `Continue` + "`" + `: neither allows or rejects the traffic; useful for applying another
property to the traffic.`,
		Exposed:   true,
		Name:      "action",
		Orderable: true,
		Type:      "enum",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"applypolicymode": {
		AllowedChoices: []string{"OutgoingTraffic", "IncomingTraffic", "Bidirectional"},
		ConvertedName:  "ApplyPolicyMode",
		DefaultValue:   NetworkAccessPolicyApplyPolicyModeBidirectional,
		Description: `Sets three different types of policies. ` + "`" + `IncomingTraffic` + "`" + `: applies the policy to
all
processing units that match the ` + "`" + `object` + "`" + ` and allows them to *accept* connections
from
processing units or external networks that match the ` + "`" + `subject` + "`" + `.
` + "`" + `OutgoingTraffic` + "`" + `: applies
the policy to all processing units that match the ` + "`" + `subject` + "`" + ` and allows them to
*initiate*
connections with processing units or external networks that match the ` + "`" + `object` + "`" + `.
` + "`" + `Bidirectional` + "`" + ` (default): applies the policy to all processing units that match
the ` + "`" + `object` + "`" + `
and allows them to *accept* connections from processing units that match the
` + "`" + `subject` + "`" + `.
Also applies the policy to all processing units that match the ` + "`" + `subject` + "`" + ` and
allows them
to *initiate* connections with processing units that match the ` + "`" + `object` + "`" + `.`,
		Exposed:   true,
		Name:      "applyPolicyMode",
		Orderable: true,
		Type:      "enum",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"encryptionenabled": {
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Deprecated:     true,
		Description: `Defines if the flow has to be encrypted. This property is deprecated and have no
incidence.`,
		Exposed:   true,
		Name:      "encryptionEnabled",
		Orderable: true,
		Type:      "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"logsenabled": {
		AllowedChoices: []string{},
		ConvertedName:  "LogsEnabled",
		Description: `If ` + "`" + `true` + "`" + `, the relevant flows are logged and available from Microsegmentation
Console.
Under some advanced scenarios you may wish to set this to ` + "`" + `false` + "`" + `, such as to
save space or
improve performance.`,
		Exposed:   true,
		Name:      "logsEnabled",
		Orderable: true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"negateobject": {
		AllowedChoices: []string{},
		BSONFieldName:  "negateobject",
		ConvertedName:  "NegateObject",
		Description:    `Setting this to ` + "`" + `true` + "`" + ` will invert the object to find what is not matching.`,
		Exposed:        true,
		Getter:         true,
		Name:           "negateObject",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"negatesubject": {
		AllowedChoices: []string{},
		BSONFieldName:  "negatesubject",
		ConvertedName:  "NegateSubject",
		Description:    `Setting this to ` + "`" + `true` + "`" + ` will invert the subject to find what is not matching.`,
		Exposed:        true,
		Getter:         true,
		Name:           "negateSubject",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `A tag or tag expression identifying the object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"observationenabled": {
		AllowedChoices: []string{},
		ConvertedName:  "ObservationEnabled",
		Description:    `If set to ` + "`" + `true` + "`" + `, the flow will be in observation mode.`,
		Exposed:        true,
		Name:           "observationEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"observedtrafficaction": {
		AllowedChoices: []string{"Apply", "Continue"},
		ConvertedName:  "ObservedTrafficAction",
		DefaultValue:   NetworkAccessPolicyObservedTrafficActionContinue,
		Description: `If ` + "`" + `observationEnabled` + "`" + ` is set to ` + "`" + `true` + "`" + `, this defines the final action taken
on the packets: ` + "`" + `Apply` + "`" + ` or ` + "`" + `Continue` + "`" + ` (default).`,
		Exposed:   true,
		Name:      "observedTrafficAction",
		Orderable: true,
		Type:      "enum",
	},
	"ports": {
		AllowedChoices: []string{},
		ConvertedName:  "Ports",
		Description:    `Represents the ports and protocols this policy applies to.`,
		Exposed:        true,
		Name:           "ports",
		Orderable:      true,
		SubType:        "string",
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `A tag or tag expression identifying the subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

NetworkAccessPolicyLowerCaseAttributesMap represents the map of attribute for NetworkAccessPolicy.

View Source
var NetworkRuleSetPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"IncomingRules": {
		AllowedChoices: []string{},
		ConvertedName:  "IncomingRules",
		Description: `The set of rules to apply to incoming traffic (traffic coming to the Processing
Unit matching the subject).`,
		Exposed: true,
		Name:    "incomingRules",
		SubType: "networkrule",
		Type:    "refList",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"OutgoingRules": {
		AllowedChoices: []string{},
		ConvertedName:  "OutgoingRules",
		Description: `The set of rules to apply to outgoing traffic (traffic coming from the
Processing Unit matching the subject).`,
		Exposed: true,
		Name:    "outgoingRules",
		SubType: "networkrule",
		Type:    "refList",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `A tag expression identifying used to match processing units to which this policy
applies to.`,
		Exposed: true,
		Name:    "subject",
		SubType: "[][]string",
		Type:    "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

NetworkRuleSetPolicyAttributesMap represents the map of attribute for NetworkRuleSetPolicy.

View Source
var NetworkRuleSetPolicyIdentity = elemental.Identity{
	Name:     "networkrulesetpolicy",
	Category: "networkrulesetpolicies",
	Package:  "squall",
	Private:  false,
}

NetworkRuleSetPolicyIdentity represents the Identity of the object.

View Source
var NetworkRuleSetPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"incomingrules": {
		AllowedChoices: []string{},
		ConvertedName:  "IncomingRules",
		Description: `The set of rules to apply to incoming traffic (traffic coming to the Processing
Unit matching the subject).`,
		Exposed: true,
		Name:    "incomingRules",
		SubType: "networkrule",
		Type:    "refList",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"outgoingrules": {
		AllowedChoices: []string{},
		ConvertedName:  "OutgoingRules",
		Description: `The set of rules to apply to outgoing traffic (traffic coming from the
Processing Unit matching the subject).`,
		Exposed: true,
		Name:    "outgoingRules",
		SubType: "networkrule",
		Type:    "refList",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `A tag expression identifying used to match processing units to which this policy
applies to.`,
		Exposed: true,
		Name:    "subject",
		SubType: "[][]string",
		Type:    "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

NetworkRuleSetPolicyLowerCaseAttributesMap represents the map of attribute for NetworkRuleSetPolicy.

View Source
var OAUTHInfoAttributesMap = map[string]elemental.AttributeSpecification{
	"IDTokenSigningAlgValuesSupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IDTokenSigningAlgValuesSupported",
		Description: `IDTokenSigningAlgValuesSupported is corresponding attribute of the OIDC
spec.`,
		Exposed:  true,
		Name:     "IDTokenSigningAlgValuesSupported",
		ReadOnly: true,
		SubType:  "string",
		Type:     "list",
	},
	"JWKSURI": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "JWKSURI",
		Description: `JWKSURI is the URI that can be used to retrieve the public keys that will
verify a JWT.`,
		Exposed:  true,
		Name:     "JWKSURI",
		ReadOnly: true,
		Type:     "string",
	},
	"AuhorizationEndpoint": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AuhorizationEndpoint",
		Description:    `AuhorizationEndpoint is the authorization endpoint.`,
		Exposed:        true,
		Name:           "auhorizationEndpoint",
		ReadOnly:       true,
		Type:           "string",
	},
	"ClaimsSupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ClaimsSupported",
		Description:    `ClaimsSupported is corresponding attribute of the OIDC spec.`,
		Exposed:        true,
		Name:           "claimsSupported",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"Issuer": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Issuer",
		Description:    `Issuer is the the URL pointing to the issuer of the token.`,
		Exposed:        true,
		Name:           "issuer",
		ReadOnly:       true,
		Type:           "string",
	},
	"ResponseTypesSupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResponseTypesSupported",
		Description:    `ResponseTypesSupported is corresponding attribute of the OIDC spec.`,
		Exposed:        true,
		Name:           "responseTypesSupported",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"ScopesSupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ScopesSupported",
		Description:    `ScopesSupported is corresponding attribute of the OIDC spec.`,
		Exposed:        true,
		Name:           "scopesSupported",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"SubjectTypesSupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SubjectTypesSupported",
		Description:    `SubjectTypesSupported is corresponding attribute of the OIDC spec.`,
		Exposed:        true,
		Name:           "subjectTypesSupported",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"TokenEndpointAuthMethodsSupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "TokenEndpointAuthMethodsSupported",
		Description: `TokenEndpointAuthMethodsSupported is corresponding attribute of the OIDC
spec.`,
		Exposed:  true,
		Name:     "tokenEndpointAuthMethodsSupported",
		ReadOnly: true,
		SubType:  "string",
		Type:     "list",
	},
}

OAUTHInfoAttributesMap represents the map of attribute for OAUTHInfo.

View Source
var OAUTHInfoIdentity = elemental.Identity{
	Name:     "oauthinfo",
	Category: "oauthinfo",
	Package:  "cactuar",
	Private:  false,
}

OAUTHInfoIdentity represents the Identity of the object.

View Source
var OAUTHInfoLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"idtokensigningalgvaluessupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IDTokenSigningAlgValuesSupported",
		Description: `IDTokenSigningAlgValuesSupported is corresponding attribute of the OIDC
spec.`,
		Exposed:  true,
		Name:     "IDTokenSigningAlgValuesSupported",
		ReadOnly: true,
		SubType:  "string",
		Type:     "list",
	},
	"jwksuri": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "JWKSURI",
		Description: `JWKSURI is the URI that can be used to retrieve the public keys that will
verify a JWT.`,
		Exposed:  true,
		Name:     "JWKSURI",
		ReadOnly: true,
		Type:     "string",
	},
	"auhorizationendpoint": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AuhorizationEndpoint",
		Description:    `AuhorizationEndpoint is the authorization endpoint.`,
		Exposed:        true,
		Name:           "auhorizationEndpoint",
		ReadOnly:       true,
		Type:           "string",
	},
	"claimssupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ClaimsSupported",
		Description:    `ClaimsSupported is corresponding attribute of the OIDC spec.`,
		Exposed:        true,
		Name:           "claimsSupported",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"issuer": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Issuer",
		Description:    `Issuer is the the URL pointing to the issuer of the token.`,
		Exposed:        true,
		Name:           "issuer",
		ReadOnly:       true,
		Type:           "string",
	},
	"responsetypessupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResponseTypesSupported",
		Description:    `ResponseTypesSupported is corresponding attribute of the OIDC spec.`,
		Exposed:        true,
		Name:           "responseTypesSupported",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"scopessupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ScopesSupported",
		Description:    `ScopesSupported is corresponding attribute of the OIDC spec.`,
		Exposed:        true,
		Name:           "scopesSupported",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"subjecttypessupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SubjectTypesSupported",
		Description:    `SubjectTypesSupported is corresponding attribute of the OIDC spec.`,
		Exposed:        true,
		Name:           "subjectTypesSupported",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"tokenendpointauthmethodssupported": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "TokenEndpointAuthMethodsSupported",
		Description: `TokenEndpointAuthMethodsSupported is corresponding attribute of the OIDC
spec.`,
		Exposed:  true,
		Name:     "tokenEndpointAuthMethodsSupported",
		ReadOnly: true,
		SubType:  "string",
		Type:     "list",
	},
}

OAUTHInfoLowerCaseAttributesMap represents the map of attribute for OAUTHInfo.

View Source
var OAUTHKeyAttributesMap = map[string]elemental.AttributeSpecification{
	"KeyString": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "KeyString",
		Description: `KeyString is the JWKS key response for an OAUTH verifier. It provides the OAUTH
compatible signing keys.`,
		Exposed:  true,
		Name:     "keyString",
		ReadOnly: true,
		Type:     "string",
	},
}

OAUTHKeyAttributesMap represents the map of attribute for OAUTHKey.

View Source
var OAUTHKeyIdentity = elemental.Identity{
	Name:     "oauthkey",
	Category: "oauthkeys",
	Package:  "cactuar",
	Private:  false,
}

OAUTHKeyIdentity represents the Identity of the object.

View Source
var OAUTHKeyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"keystring": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "KeyString",
		Description: `KeyString is the JWKS key response for an OAUTH verifier. It provides the OAUTH
compatible signing keys.`,
		Exposed:  true,
		Name:     "keyString",
		ReadOnly: true,
		Type:     "string",
	},
}

OAUTHKeyLowerCaseAttributesMap represents the map of attribute for OAUTHKey.

View Source
var OIDCProviderAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CertificateAuthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description: `Set the CA to use to contact the OIDC server. This is useful when you are using
a custom OIDC provider that doesn't use a trusted CA. Most of the
time, you can leave this property empty.`,
		Exposed: true,
		Name:    "certificateAuthority",
		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",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Default": {
		AllowedChoices: []string{},
		BSONFieldName:  "default",
		ConvertedName:  "Default",
		Description: `If set, this will be the default OIDC provider. There can be only one default
provider in your account. When logging in with OIDC, if no provider name is
given, the default will be used.`,
		Exposed: true,
		Name:    "default",
		Stored:  true,
		Type:    "boolean",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		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",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"ParentID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "parentid",
		ConvertedName:  "ParentID",
		Description:    `Contains the parent Microsegmentation account ID.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ParentName": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "parentname",
		ConvertedName:  "ParentName",
		Description:    `Contains the name of the parent Microsegmentation account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentName",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Scopes": {
		AllowedChoices: []string{},
		BSONFieldName:  "scopes",
		ConvertedName:  "Scopes",
		Description:    `List of scopes to allow.`,
		Exposed:        true,
		Name:           "scopes",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Subjects": {
		AllowedChoices: []string{},
		BSONFieldName:  "subjects",
		ConvertedName:  "Subjects",
		Description:    `List of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

OIDCProviderAttributesMap represents the map of attribute for OIDCProvider.

View Source
var OIDCProviderIdentity = elemental.Identity{
	Name:     "oidcprovider",
	Category: "oidcproviders",
	Package:  "cactuar",
	Private:  false,
}

OIDCProviderIdentity represents the Identity of the object.

View Source
var OIDCProviderLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"certificateauthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description: `Set the CA to use to contact the OIDC server. This is useful when you are using
a custom OIDC provider that doesn't use a trusted CA. Most of the
time, you can leave this property empty.`,
		Exposed: true,
		Name:    "certificateAuthority",
		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",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"default": {
		AllowedChoices: []string{},
		BSONFieldName:  "default",
		ConvertedName:  "Default",
		Description: `If set, this will be the default OIDC provider. There can be only one default
provider in your account. When logging in with OIDC, if no provider name is
given, the default will be used.`,
		Exposed: true,
		Name:    "default",
		Stored:  true,
		Type:    "boolean",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		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",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"parentid": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "parentid",
		ConvertedName:  "ParentID",
		Description:    `Contains the parent Microsegmentation account ID.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"parentname": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "parentname",
		ConvertedName:  "ParentName",
		Description:    `Contains the name of the parent Microsegmentation account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentName",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"scopes": {
		AllowedChoices: []string{},
		BSONFieldName:  "scopes",
		ConvertedName:  "Scopes",
		Description:    `List of scopes to allow.`,
		Exposed:        true,
		Name:           "scopes",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"subjects": {
		AllowedChoices: []string{},
		BSONFieldName:  "subjects",
		ConvertedName:  "Subjects",
		Description:    `List of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

OIDCProviderLowerCaseAttributesMap represents the map of attribute for OIDCProvider.

View Source
var OrganizationalMetadataAttributesMap = map[string]elemental.AttributeSpecification{
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		Description:    `List of organizational metadata for the namespace.`,
		Exposed:        true,
		Name:           "metadata",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

OrganizationalMetadataAttributesMap represents the map of attribute for OrganizationalMetadata.

View Source
var OrganizationalMetadataIdentity = elemental.Identity{
	Name:     "organizationalmetadata",
	Category: "organizationalmetadata",
	Package:  "squall",
	Private:  false,
}

OrganizationalMetadataIdentity represents the Identity of the object.

View Source
var OrganizationalMetadataLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		Description:    `List of organizational metadata for the namespace.`,
		Exposed:        true,
		Name:           "metadata",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
}

OrganizationalMetadataLowerCaseAttributesMap represents the map of attribute for OrganizationalMetadata.

View Source
var PCCProviderAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CertificateAuthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description: `Set the CA to use to contact the PCC Console in case it uses a non widely
trusted
certificate authority.`,
		Exposed: true,
		Name:    "certificateAuthority",
		Stored:  true,
		Type:    "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Default": {
		AllowedChoices: []string{},
		BSONFieldName:  "default",
		ConvertedName:  "Default",
		Description: `If set, this will be the default PCC provider. There can be only one default
provider in your account. When logging in with PCC, if no provider name is
given, the default will be used.`,
		Exposed: true,
		Name:    "default",
		Stored:  true,
		Type:    "boolean",
	},
	"Endpoint": {
		AllowedChoices: []string{},
		BSONFieldName:  "endpoint",
		ConvertedName:  "Endpoint",
		Description:    `The URL of the PCC service. It must use HTTPS.`,
		Exposed:        true,
		Name:           "endpoint",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PCCProviderAttributesMap represents the map of attribute for PCCProvider.

View Source
var PCCProviderIdentity = elemental.Identity{
	Name:     "pccprovider",
	Category: "pccproviders",
	Package:  "cactuar",
	Private:  false,
}

PCCProviderIdentity represents the Identity of the object.

View Source
var PCCProviderLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"certificateauthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description: `Set the CA to use to contact the PCC Console in case it uses a non widely
trusted
certificate authority.`,
		Exposed: true,
		Name:    "certificateAuthority",
		Stored:  true,
		Type:    "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"default": {
		AllowedChoices: []string{},
		BSONFieldName:  "default",
		ConvertedName:  "Default",
		Description: `If set, this will be the default PCC provider. There can be only one default
provider in your account. When logging in with PCC, if no provider name is
given, the default will be used.`,
		Exposed: true,
		Name:    "default",
		Stored:  true,
		Type:    "boolean",
	},
	"endpoint": {
		AllowedChoices: []string{},
		BSONFieldName:  "endpoint",
		ConvertedName:  "Endpoint",
		Description:    `The URL of the PCC service. It must use HTTPS.`,
		Exposed:        true,
		Name:           "endpoint",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PCCProviderLowerCaseAttributesMap represents the map of attribute for PCCProvider.

View Source
var PCSearchResultAttributesMap = map[string]elemental.AttributeSpecification{
	"InternalEdges": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "InternalEdges",
		Description:    `The edges of the map connecting internal endpoints.`,
		Exposed:        true,
		Name:           "internalEdges",
		ReadOnly:       true,
		SubType:        "cloudgraphedge",
		Type:           "refMap",
	},
	"Items": {
		AllowedChoices: []string{},
		ConvertedName:  "Items",
		Description:    `The payload of the search result.`,
		Exposed:        true,
		Name:           "items",
		ReadOnly:       true,
		SubType:        "reportsquery",
		Type:           "ref",
	},
	"NextPageToken": {
		AllowedChoices: []string{},
		ConvertedName:  "NextPageToken",
		Description:    `The pagination token for next page.`,
		Exposed:        true,
		Name:           "nextPageToken",
		ReadOnly:       true,
		Type:           "string",
	},
	"Nodes": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Nodes",
		Description:    `Refers to the nodes of the map.`,
		Exposed:        true,
		Name:           "nodes",
		ReadOnly:       true,
		SubType:        "cloudgraphnode",
		Type:           "refMap",
	},
	"Paths": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Paths",
		Description: `The set of paths from the given source to the given destination. Only provided
when the query type is NetworkPath.`,
		Exposed:  true,
		Name:     "paths",
		ReadOnly: true,
		SubType:  "[][]cloudpathelement",
		Type:     "external",
	},
	"PublicEdges": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PublicEdges",
		Description:    `The edges of the map connecting public endpoints.`,
		Exposed:        true,
		Name:           "publicEdges",
		ReadOnly:       true,
		SubType:        "cloudgraphedge",
		Type:           "refMap",
	},
	"SourceDestinationMap": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SourceDestinationMap",
		Description: `The set of destinations that have been discovered based on the query and their
associated verdicts.`,
		Exposed:  true,
		Name:     "sourceDestinationMap",
		ReadOnly: true,
		SubType:  "map[string]map[string]cloudnetworkquerydestination",
		Type:     "external",
	},
	"TotalRows": {
		AllowedChoices: []string{},
		ConvertedName:  "TotalRows",
		Description:    `The total number of result items.`,
		Exposed:        true,
		Name:           "totalRows",
		ReadOnly:       true,
		Type:           "integer",
	},
}

PCSearchResultAttributesMap represents the map of attribute for PCSearchResult.

View Source
var PCSearchResultIdentity = elemental.Identity{
	Name:     "pcsearchresult",
	Category: "pcsearchresults",
	Package:  "karl",
	Private:  false,
}

PCSearchResultIdentity represents the Identity of the object.

View Source
var PCSearchResultLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"internaledges": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "InternalEdges",
		Description:    `The edges of the map connecting internal endpoints.`,
		Exposed:        true,
		Name:           "internalEdges",
		ReadOnly:       true,
		SubType:        "cloudgraphedge",
		Type:           "refMap",
	},
	"items": {
		AllowedChoices: []string{},
		ConvertedName:  "Items",
		Description:    `The payload of the search result.`,
		Exposed:        true,
		Name:           "items",
		ReadOnly:       true,
		SubType:        "reportsquery",
		Type:           "ref",
	},
	"nextpagetoken": {
		AllowedChoices: []string{},
		ConvertedName:  "NextPageToken",
		Description:    `The pagination token for next page.`,
		Exposed:        true,
		Name:           "nextPageToken",
		ReadOnly:       true,
		Type:           "string",
	},
	"nodes": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Nodes",
		Description:    `Refers to the nodes of the map.`,
		Exposed:        true,
		Name:           "nodes",
		ReadOnly:       true,
		SubType:        "cloudgraphnode",
		Type:           "refMap",
	},
	"paths": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Paths",
		Description: `The set of paths from the given source to the given destination. Only provided
when the query type is NetworkPath.`,
		Exposed:  true,
		Name:     "paths",
		ReadOnly: true,
		SubType:  "[][]cloudpathelement",
		Type:     "external",
	},
	"publicedges": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PublicEdges",
		Description:    `The edges of the map connecting public endpoints.`,
		Exposed:        true,
		Name:           "publicEdges",
		ReadOnly:       true,
		SubType:        "cloudgraphedge",
		Type:           "refMap",
	},
	"sourcedestinationmap": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SourceDestinationMap",
		Description: `The set of destinations that have been discovered based on the query and their
associated verdicts.`,
		Exposed:  true,
		Name:     "sourceDestinationMap",
		ReadOnly: true,
		SubType:  "map[string]map[string]cloudnetworkquerydestination",
		Type:     "external",
	},
	"totalrows": {
		AllowedChoices: []string{},
		ConvertedName:  "TotalRows",
		Description:    `The total number of result items.`,
		Exposed:        true,
		Name:           "totalRows",
		ReadOnly:       true,
		Type:           "integer",
	},
}

PCSearchResultLowerCaseAttributesMap represents the map of attribute for PCSearchResult.

View Source
var PCTimeRangeAttributesMap = map[string]elemental.AttributeSpecification{
	"RelativeTimeType": {
		AllowedChoices: []string{},
		ConvertedName:  "RelativeTimeType",
		Description:    `The type of relative time.`,
		Exposed:        true,
		Name:           "relativeTimeType",
		ReadOnly:       true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{},
		ConvertedName:  "Type",
		Description:    `The type of time range.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Type:           "string",
	},
	"Value": {
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `The value of time range.`,
		Exposed:        true,
		Name:           "value",
		ReadOnly:       true,
		SubType:        "pctimevalue",
		Type:           "external",
	},
}

PCTimeRangeAttributesMap represents the map of attribute for PCTimeRange.

View Source
var PCTimeRangeIdentity = elemental.Identity{
	Name:     "pctimerange",
	Category: "pctimeranges",
	Package:  "karl",
	Private:  false,
}

PCTimeRangeIdentity represents the Identity of the object.

View Source
var PCTimeRangeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"relativetimetype": {
		AllowedChoices: []string{},
		ConvertedName:  "RelativeTimeType",
		Description:    `The type of relative time.`,
		Exposed:        true,
		Name:           "relativeTimeType",
		ReadOnly:       true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{},
		ConvertedName:  "Type",
		Description:    `The type of time range.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Type:           "string",
	},
	"value": {
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `The value of time range.`,
		Exposed:        true,
		Name:           "value",
		ReadOnly:       true,
		SubType:        "pctimevalue",
		Type:           "external",
	},
}

PCTimeRangeLowerCaseAttributesMap represents the map of attribute for PCTimeRange.

View Source
var PUTrafficActionAttributesMap = map[string]elemental.AttributeSpecification{
	"Incoming": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "Incoming",
		Description:    `The processing unit action for incoming traffic for the namespace.`,
		Exposed:        true,
		Name:           "Incoming",
		Type:           "enum",
	},
	"Outgoing": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "Outgoing",
		Description:    `The processing unit action for outgoing traffic for the namespace.`,
		Exposed:        true,
		Name:           "Outgoing",
		Type:           "enum",
	},
}

PUTrafficActionAttributesMap represents the map of attribute for PUTrafficAction.

View Source
var PUTrafficActionIdentity = elemental.Identity{
	Name:     "putrafficaction",
	Category: "putrafficactions",
	Package:  "squall",
	Private:  false,
}

PUTrafficActionIdentity represents the Identity of the object.

View Source
var PUTrafficActionLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"incoming": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "Incoming",
		Description:    `The processing unit action for incoming traffic for the namespace.`,
		Exposed:        true,
		Name:           "Incoming",
		Type:           "enum",
	},
	"outgoing": {
		AllowedChoices: []string{"Allow", "Reject", "Inherit"},
		ConvertedName:  "Outgoing",
		Description:    `The processing unit action for outgoing traffic for the namespace.`,
		Exposed:        true,
		Name:           "Outgoing",
		Type:           "enum",
	},
}

PUTrafficActionLowerCaseAttributesMap represents the map of attribute for PUTrafficAction.

View Source
var PacketReportAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"TCPFlags": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "TCPFlags",
		Description:    `Flags are the TCP flags of the packet.`,
		Exposed:        true,
		Name:           "TCPFlags",
		Stored:         true,
		Type:           "integer",
	},
	"Claims": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "Claims",
		Description:    `Claims is the list of claims detected for the packet.`,
		Exposed:        true,
		Name:           "claims",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"DestinationIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "DestinationIP",
		Description:    `The destination IP address of the packet.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"DestinationPort": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "DestinationPort",
		Description:    `The destination port of a TCP or UDP packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "destinationPort",
		Stored:         true,
		Type:           "integer",
	},
	"DropReason": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "DropReason",
		Description: `If ` + "`" + `event` + "`" + ` is set to ` + "`" + `Dropped` + "`" + `, contains the reason that the packet was dropped.
Otherwise empty.`,
		Exposed: true,
		Name:    "dropReason",
		Stored:  true,
		Type:    "string",
	},
	"Encrypt": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "Encrypt",
		Description:    `Set to ` + "`" + `true` + "`" + ` if the packet was encrypted.`,
		Exposed:        true,
		Name:           "encrypt",
		Stored:         true,
		Type:           "boolean",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Event": {
		AllowedChoices: []string{"Received", "Transmitted", "Dropped"},
		BSONFieldName:  "i",
		ConvertedName:  "Event",
		Description:    `The event that triggered the report.`,
		Exposed:        true,
		Name:           "event",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"Length": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Length",
		Description:    `Length is the length of the packet.`,
		MaxValue:       65536,
		Name:           "length",
		Stored:         true,
		Type:           "integer",
	},
	"Mark": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "Mark",
		Description:    `Mark is the mark value of the packet.`,
		Exposed:        true,
		Name:           "mark",
		Stored:         true,
		Type:           "integer",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"PacketID": {
		AllowedChoices: []string{},
		BSONFieldName:  "m",
		ConvertedName:  "PacketID",
		Description:    `The ID of the IP header of the reported packet.`,
		Exposed:        true,
		Name:           "packetID",
		Stored:         true,
		Type:           "integer",
	},
	"Protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		MaxValue:       255,
		Name:           "protocol",
		Stored:         true,
		Type:           "integer",
	},
	"PuID": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "PuID",
		Description:    `The ID of the processing unit reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "puID",
		Stored:         true,
		Type:           "string",
	},
	"RawPacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "RawPacket",
		DefaultValue:   "abcd",
		Description:    `The first 64 bytes of the packet.`,
		Exposed:        true,
		Name:           "rawPacket",
		Stored:         true,
		Type:           "string",
	},
	"SourceIP": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "SourceIP",
		Description:    `The source IP address of the packet.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"SourcePort": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "SourcePort",
		Description:    `The source port of the packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "sourcePort",
		Stored:         true,
		Type:           "integer",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "Timestamp",
		Description:    `The time-date stamp of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"TriremePacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "TriremePacket",
		DefaultValue:   true,
		Description:    `Set to ` + "`" + `true` + "`" + ` if the packet arrived with the Trireme options (default).`,
		Exposed:        true,
		Name:           "triremePacket",
		Stored:         true,
		Type:           "boolean",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PacketReportAttributesMap represents the map of attribute for PacketReport.

View Source
var PacketReportIdentity = elemental.Identity{
	Name:     "packetreport",
	Category: "packetreports",
	Package:  "zack",
	Private:  false,
}

PacketReportIdentity represents the Identity of the object.

View Source
var PacketReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"tcpflags": {
		AllowedChoices: []string{},
		BSONFieldName:  "a",
		ConvertedName:  "TCPFlags",
		Description:    `Flags are the TCP flags of the packet.`,
		Exposed:        true,
		Name:           "TCPFlags",
		Stored:         true,
		Type:           "integer",
	},
	"claims": {
		AllowedChoices: []string{},
		BSONFieldName:  "b",
		ConvertedName:  "Claims",
		Description:    `Claims is the list of claims detected for the packet.`,
		Exposed:        true,
		Name:           "claims",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"destinationip": {
		AllowedChoices: []string{},
		BSONFieldName:  "c",
		ConvertedName:  "DestinationIP",
		Description:    `The destination IP address of the packet.`,
		Exposed:        true,
		Name:           "destinationIP",
		Stored:         true,
		Type:           "string",
	},
	"destinationport": {
		AllowedChoices: []string{},
		BSONFieldName:  "d",
		ConvertedName:  "DestinationPort",
		Description:    `The destination port of a TCP or UDP packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "destinationPort",
		Stored:         true,
		Type:           "integer",
	},
	"dropreason": {
		AllowedChoices: []string{},
		BSONFieldName:  "e",
		ConvertedName:  "DropReason",
		Description: `If ` + "`" + `event` + "`" + ` is set to ` + "`" + `Dropped` + "`" + `, contains the reason that the packet was dropped.
Otherwise empty.`,
		Exposed: true,
		Name:    "dropReason",
		Stored:  true,
		Type:    "string",
	},
	"encrypt": {
		AllowedChoices: []string{},
		BSONFieldName:  "f",
		ConvertedName:  "Encrypt",
		Description:    `Set to ` + "`" + `true` + "`" + ` if the packet was encrypted.`,
		Exposed:        true,
		Name:           "encrypt",
		Stored:         true,
		Type:           "boolean",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "g",
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "h",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"event": {
		AllowedChoices: []string{"Received", "Transmitted", "Dropped"},
		BSONFieldName:  "i",
		ConvertedName:  "Event",
		Description:    `The event that triggered the report.`,
		Exposed:        true,
		Name:           "event",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"length": {
		AllowedChoices: []string{},
		BSONFieldName:  "j",
		ConvertedName:  "Length",
		Description:    `Length is the length of the packet.`,
		MaxValue:       65536,
		Name:           "length",
		Stored:         true,
		Type:           "integer",
	},
	"mark": {
		AllowedChoices: []string{},
		BSONFieldName:  "k",
		ConvertedName:  "Mark",
		Description:    `Mark is the mark value of the packet.`,
		Exposed:        true,
		Name:           "mark",
		Stored:         true,
		Type:           "integer",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "l",
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"packetid": {
		AllowedChoices: []string{},
		BSONFieldName:  "m",
		ConvertedName:  "PacketID",
		Description:    `The ID of the IP header of the reported packet.`,
		Exposed:        true,
		Name:           "packetID",
		Stored:         true,
		Type:           "integer",
	},
	"protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "n",
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		MaxValue:       255,
		Name:           "protocol",
		Stored:         true,
		Type:           "integer",
	},
	"puid": {
		AllowedChoices: []string{},
		BSONFieldName:  "o",
		ConvertedName:  "PuID",
		Description:    `The ID of the processing unit reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "puID",
		Stored:         true,
		Type:           "string",
	},
	"rawpacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "p",
		ConvertedName:  "RawPacket",
		DefaultValue:   "abcd",
		Description:    `The first 64 bytes of the packet.`,
		Exposed:        true,
		Name:           "rawPacket",
		Stored:         true,
		Type:           "string",
	},
	"sourceip": {
		AllowedChoices: []string{},
		BSONFieldName:  "q",
		ConvertedName:  "SourceIP",
		Description:    `The source IP address of the packet.`,
		Exposed:        true,
		Name:           "sourceIP",
		Stored:         true,
		Type:           "string",
	},
	"sourceport": {
		AllowedChoices: []string{},
		BSONFieldName:  "r",
		ConvertedName:  "SourcePort",
		Description:    `The source port of the packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "sourcePort",
		Stored:         true,
		Type:           "integer",
	},
	"timestamp": {
		AllowedChoices: []string{},
		BSONFieldName:  "s",
		ConvertedName:  "Timestamp",
		Description:    `The time-date stamp of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "time",
	},
	"triremepacket": {
		AllowedChoices: []string{},
		BSONFieldName:  "t",
		ConvertedName:  "TriremePacket",
		DefaultValue:   true,
		Description:    `Set to ` + "`" + `true` + "`" + ` if the packet arrived with the Trireme options (default).`,
		Exposed:        true,
		Name:           "triremePacket",
		Stored:         true,
		Type:           "boolean",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PacketReportLowerCaseAttributesMap represents the map of attribute for PacketReport.

View Source
var PasswordResetAttributesMap = map[string]elemental.AttributeSpecification{
	"Password": {
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `Contains the new password.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
	"Token": {
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `Contains the reset password token.`,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Type:           "string",
	},
}

PasswordResetAttributesMap represents the map of attribute for PasswordReset.

View Source
var PasswordResetIdentity = elemental.Identity{
	Name:     "passwordreset",
	Category: "passwordreset",
	Package:  "vince",
	Private:  false,
}

PasswordResetIdentity represents the Identity of the object.

View Source
var PasswordResetLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"password": {
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `Contains the new password.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
	"token": {
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `Contains the reset password token.`,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Type:           "string",
	},
}

PasswordResetLowerCaseAttributesMap represents the map of attribute for PasswordReset.

View Source
var PingProbeAttributesMap = map[string]elemental.AttributeSpecification{
	"ACLPolicyAction": {
		AllowedChoices: []string{},
		BSONFieldName:  "aclpolicyaction",
		ConvertedName:  "ACLPolicyAction",
		Description:    `Action of the ACL policy.`,
		Exposed:        true,
		Name:           "ACLPolicyAction",
		Stored:         true,
		Type:           "string",
	},
	"ACLPolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "aclpolicyid",
		ConvertedName:  "ACLPolicyID",
		Description:    `ID of the ACL policy.`,
		Exposed:        true,
		Name:           "ACLPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"RTT": {
		AllowedChoices: []string{},
		BSONFieldName:  "rtt",
		ConvertedName:  "RTT",
		Description:    `Time taken for a single request-response to complete.`,
		Exposed:        true,
		Name:           "RTT",
		Stored:         true,
		Type:           "string",
	},
	"ApplicationListening": {
		AllowedChoices: []string{},
		BSONFieldName:  "applicationlistening",
		ConvertedName:  "ApplicationListening",
		Description:    `If true, application responded to the request.`,
		Exposed:        true,
		Name:           "applicationListening",
		Stored:         true,
		Type:           "boolean",
	},
	"Claims": {
		AllowedChoices: []string{},
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `Claims of the processing unit.`,
		Exposed:        true,
		Name:           "claims",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ClaimsType": {
		AllowedChoices: []string{"Transmitted", "Received"},
		BSONFieldName:  "claimstype",
		ConvertedName:  "ClaimsType",
		Description:    `Type of claims reported.`,
		Exposed:        true,
		Name:           "claimsType",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"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",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerid",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcernamespace",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerVersion": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerversion",
		ConvertedName:  "EnforcerVersion",
		Description:    `Semantic version of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerVersion",
		Stored:         true,
		Type:           "string",
	},
	"Error": {
		AllowedChoices: []string{},
		BSONFieldName:  "error",
		ConvertedName:  "Error",
		Description:    `A non-empty error indicates a failure.`,
		Exposed:        true,
		Name:           "error",
		Stored:         true,
		Type:           "string",
	},
	"ExcludedNetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludednetworks",
		ConvertedName:  "ExcludedNetworks",
		Description:    `If true, destination IP is in ` + "`" + `excludedNetworks` + "`" + `.`,
		Exposed:        true,
		Name:           "excludedNetworks",
		Stored:         true,
		Type:           "boolean",
	},
	"FourTuple": {
		AllowedChoices: []string{},
		BSONFieldName:  "fourtuple",
		ConvertedName:  "FourTuple",
		Description:    `Four tuple in the format <sip:dip:spt:dpt>.`,
		Exposed:        true,
		Name:           "fourTuple",
		Stored:         true,
		Type:           "string",
	},
	"IsServer": {
		AllowedChoices: []string{},
		BSONFieldName:  "isserver",
		ConvertedName:  "IsServer",
		Description:    `If true, the report was generated by the server.`,
		Exposed:        true,
		Name:           "isServer",
		Stored:         true,
		Type:           "boolean",
	},
	"IterationIndex": {
		AllowedChoices: []string{},
		BSONFieldName:  "iterationindex",
		ConvertedName:  "IterationIndex",
		Description:    `Holds the iteration number this probe is attached to.`,
		Exposed:        true,
		Name:           "iterationIndex",
		Stored:         true,
		Type:           "integer",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"PayloadSize": {
		AllowedChoices: []string{},
		BSONFieldName:  "payloadsize",
		ConvertedName:  "PayloadSize",
		Description:    `Size of the payload attached to the packet.`,
		Exposed:        true,
		Name:           "payloadSize",
		Stored:         true,
		Type:           "integer",
	},
	"PayloadSizeType": {
		AllowedChoices: []string{"Transmitted", "Received"},
		BSONFieldName:  "payloadsizetype",
		ConvertedName:  "PayloadSizeType",
		Description:    `Type of the payload size.`,
		Exposed:        true,
		Name:           "payloadSizeType",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"PeerCertExpiry": {
		AllowedChoices: []string{},
		BSONFieldName:  "peercertexpiry",
		ConvertedName:  "PeerCertExpiry",
		Description:    `Represents the expiry of the peer certificate.`,
		Exposed:        true,
		Name:           "peerCertExpiry",
		Stored:         true,
		Type:           "string",
	},
	"PeerCertIssuer": {
		AllowedChoices: []string{},
		BSONFieldName:  "peercertissuer",
		ConvertedName:  "PeerCertIssuer",
		Description:    `Represents the issuer of the peer certificate.`,
		Exposed:        true,
		Name:           "peerCertIssuer",
		Stored:         true,
		Type:           "string",
	},
	"PeerCertSubject": {
		AllowedChoices: []string{},
		BSONFieldName:  "peercertsubject",
		ConvertedName:  "PeerCertSubject",
		Description:    `Represents the subject of the peer certificate.`,
		Exposed:        true,
		Name:           "peerCertSubject",
		Stored:         true,
		Type:           "string",
	},
	"PingID": {
		AllowedChoices: []string{},
		BSONFieldName:  "pingid",
		ConvertedName:  "PingID",
		Description:    `PingID unique to a single ping control.`,
		Exposed:        true,
		Name:           "pingID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"PolicyAction": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyaction",
		ConvertedName:  "PolicyAction",
		Description:    `Action of the policy.`,
		Exposed:        true,
		Name:           "policyAction",
		Stored:         true,
		Type:           "string",
	},
	"PolicyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyid",
		ConvertedName:  "PolicyID",
		Description:    `ID of the policy.`,
		Exposed:        true,
		Name:           "policyID",
		Stored:         true,
		Type:           "string",
	},
	"PolicyNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "policynamespace",
		ConvertedName:  "PolicyNamespace",
		Description:    `ID of the policy.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "processingunitid",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the reporting processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Stored:         true,
		Type:           "string",
	},
	"Protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "protocol",
		ConvertedName:  "Protocol",
		Description:    `Protocol used for the communication.`,
		Exposed:        true,
		Name:           "protocol",
		Stored:         true,
		Type:           "integer",
	},
	"RemoteController": {
		AllowedChoices: []string{},
		BSONFieldName:  "remotecontroller",
		ConvertedName:  "RemoteController",
		Description:    `Controller of the remote endpoint.`,
		Exposed:        true,
		Name:           "remoteController",
		Stored:         true,
		Type:           "string",
	},
	"RemoteEndpointType": {
		AllowedChoices: []string{"ProcessingUnit", "External"},
		BSONFieldName:  "remoteendpointtype",
		ConvertedName:  "RemoteEndpointType",
		Description:    `Represents the remote endpoint type.`,
		Exposed:        true,
		Name:           "remoteEndpointType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"RemoteNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "remotenamespace",
		ConvertedName:  "RemoteNamespace",
		Description:    `Namespace of the remote processing unit.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		Stored:         true,
		Type:           "string",
	},
	"RemoteNamespaceType": {
		AllowedChoices: []string{"Plain", "Hash"},
		BSONFieldName:  "remotenamespacetype",
		ConvertedName:  "RemoteNamespaceType",
		Description:    `Type of the namespace reported.`,
		Exposed:        true,
		Name:           "remoteNamespaceType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"RemoteProcessingUnitID": {
		AllowedChoices: []string{},
		BSONFieldName:  "remoteprocessingunitid",
		ConvertedName:  "RemoteProcessingUnitID",
		Description:    `ID of the remote processing unit.`,
		Exposed:        true,
		Name:           "remoteProcessingUnitID",
		Stored:         true,
		Type:           "string",
	},
	"SeqNum": {
		AllowedChoices: []string{},
		BSONFieldName:  "seqnum",
		ConvertedName:  "SeqNum",
		Description:    `Sequence number of the TCP packet. number.`,
		Exposed:        true,
		Name:           "seqNum",
		Stored:         true,
		Type:           "integer",
	},
	"ServiceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "serviceid",
		ConvertedName:  "ServiceID",
		Description:    `ID of the service If the service type is a proxy.`,
		Exposed:        true,
		Name:           "serviceID",
		Stored:         true,
		Type:           "string",
	},
	"ServiceType": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "servicetype",
		ConvertedName:  "ServiceType",
		Description:    `Type of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"TargetTCPNetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "targettcpnetworks",
		ConvertedName:  "TargetTCPNetworks",
		Description:    `If true, destination IP is in ` + "`" + `targetTCPNetworks` + "`" + `.`,
		Exposed:        true,
		Name:           "targetTCPNetworks",
		Stored:         true,
		Type:           "boolean",
	},
	"Type": {
		AllowedChoices: []string{"Request", "Response"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `Type of the report.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PingProbeAttributesMap represents the map of attribute for PingProbe.

View Source
var PingProbeIdentity = elemental.Identity{
	Name:     "pingprobe",
	Category: "pingprobes",
	Package:  "guy",
	Private:  false,
}

PingProbeIdentity represents the Identity of the object.

View Source
var PingProbeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"aclpolicyaction": {
		AllowedChoices: []string{},
		BSONFieldName:  "aclpolicyaction",
		ConvertedName:  "ACLPolicyAction",
		Description:    `Action of the ACL policy.`,
		Exposed:        true,
		Name:           "ACLPolicyAction",
		Stored:         true,
		Type:           "string",
	},
	"aclpolicyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "aclpolicyid",
		ConvertedName:  "ACLPolicyID",
		Description:    `ID of the ACL policy.`,
		Exposed:        true,
		Name:           "ACLPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"rtt": {
		AllowedChoices: []string{},
		BSONFieldName:  "rtt",
		ConvertedName:  "RTT",
		Description:    `Time taken for a single request-response to complete.`,
		Exposed:        true,
		Name:           "RTT",
		Stored:         true,
		Type:           "string",
	},
	"applicationlistening": {
		AllowedChoices: []string{},
		BSONFieldName:  "applicationlistening",
		ConvertedName:  "ApplicationListening",
		Description:    `If true, application responded to the request.`,
		Exposed:        true,
		Name:           "applicationListening",
		Stored:         true,
		Type:           "boolean",
	},
	"claims": {
		AllowedChoices: []string{},
		BSONFieldName:  "claims",
		ConvertedName:  "Claims",
		Description:    `Claims of the processing unit.`,
		Exposed:        true,
		Name:           "claims",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"claimstype": {
		AllowedChoices: []string{"Transmitted", "Received"},
		BSONFieldName:  "claimstype",
		ConvertedName:  "ClaimsType",
		Description:    `Type of claims reported.`,
		Exposed:        true,
		Name:           "claimsType",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"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",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerid",
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcernamespace",
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcerversion": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerversion",
		ConvertedName:  "EnforcerVersion",
		Description:    `Semantic version of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerVersion",
		Stored:         true,
		Type:           "string",
	},
	"error": {
		AllowedChoices: []string{},
		BSONFieldName:  "error",
		ConvertedName:  "Error",
		Description:    `A non-empty error indicates a failure.`,
		Exposed:        true,
		Name:           "error",
		Stored:         true,
		Type:           "string",
	},
	"excludednetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "excludednetworks",
		ConvertedName:  "ExcludedNetworks",
		Description:    `If true, destination IP is in ` + "`" + `excludedNetworks` + "`" + `.`,
		Exposed:        true,
		Name:           "excludedNetworks",
		Stored:         true,
		Type:           "boolean",
	},
	"fourtuple": {
		AllowedChoices: []string{},
		BSONFieldName:  "fourtuple",
		ConvertedName:  "FourTuple",
		Description:    `Four tuple in the format <sip:dip:spt:dpt>.`,
		Exposed:        true,
		Name:           "fourTuple",
		Stored:         true,
		Type:           "string",
	},
	"isserver": {
		AllowedChoices: []string{},
		BSONFieldName:  "isserver",
		ConvertedName:  "IsServer",
		Description:    `If true, the report was generated by the server.`,
		Exposed:        true,
		Name:           "isServer",
		Stored:         true,
		Type:           "boolean",
	},
	"iterationindex": {
		AllowedChoices: []string{},
		BSONFieldName:  "iterationindex",
		ConvertedName:  "IterationIndex",
		Description:    `Holds the iteration number this probe is attached to.`,
		Exposed:        true,
		Name:           "iterationIndex",
		Stored:         true,
		Type:           "integer",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"payloadsize": {
		AllowedChoices: []string{},
		BSONFieldName:  "payloadsize",
		ConvertedName:  "PayloadSize",
		Description:    `Size of the payload attached to the packet.`,
		Exposed:        true,
		Name:           "payloadSize",
		Stored:         true,
		Type:           "integer",
	},
	"payloadsizetype": {
		AllowedChoices: []string{"Transmitted", "Received"},
		BSONFieldName:  "payloadsizetype",
		ConvertedName:  "PayloadSizeType",
		Description:    `Type of the payload size.`,
		Exposed:        true,
		Name:           "payloadSizeType",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "enum",
	},
	"peercertexpiry": {
		AllowedChoices: []string{},
		BSONFieldName:  "peercertexpiry",
		ConvertedName:  "PeerCertExpiry",
		Description:    `Represents the expiry of the peer certificate.`,
		Exposed:        true,
		Name:           "peerCertExpiry",
		Stored:         true,
		Type:           "string",
	},
	"peercertissuer": {
		AllowedChoices: []string{},
		BSONFieldName:  "peercertissuer",
		ConvertedName:  "PeerCertIssuer",
		Description:    `Represents the issuer of the peer certificate.`,
		Exposed:        true,
		Name:           "peerCertIssuer",
		Stored:         true,
		Type:           "string",
	},
	"peercertsubject": {
		AllowedChoices: []string{},
		BSONFieldName:  "peercertsubject",
		ConvertedName:  "PeerCertSubject",
		Description:    `Represents the subject of the peer certificate.`,
		Exposed:        true,
		Name:           "peerCertSubject",
		Stored:         true,
		Type:           "string",
	},
	"pingid": {
		AllowedChoices: []string{},
		BSONFieldName:  "pingid",
		ConvertedName:  "PingID",
		Description:    `PingID unique to a single ping control.`,
		Exposed:        true,
		Name:           "pingID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"policyaction": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyaction",
		ConvertedName:  "PolicyAction",
		Description:    `Action of the policy.`,
		Exposed:        true,
		Name:           "policyAction",
		Stored:         true,
		Type:           "string",
	},
	"policyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "policyid",
		ConvertedName:  "PolicyID",
		Description:    `ID of the policy.`,
		Exposed:        true,
		Name:           "policyID",
		Stored:         true,
		Type:           "string",
	},
	"policynamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "policynamespace",
		ConvertedName:  "PolicyNamespace",
		Description:    `ID of the policy.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Stored:         true,
		Type:           "string",
	},
	"processingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "processingunitid",
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the reporting processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Stored:         true,
		Type:           "string",
	},
	"protocol": {
		AllowedChoices: []string{},
		BSONFieldName:  "protocol",
		ConvertedName:  "Protocol",
		Description:    `Protocol used for the communication.`,
		Exposed:        true,
		Name:           "protocol",
		Stored:         true,
		Type:           "integer",
	},
	"remotecontroller": {
		AllowedChoices: []string{},
		BSONFieldName:  "remotecontroller",
		ConvertedName:  "RemoteController",
		Description:    `Controller of the remote endpoint.`,
		Exposed:        true,
		Name:           "remoteController",
		Stored:         true,
		Type:           "string",
	},
	"remoteendpointtype": {
		AllowedChoices: []string{"ProcessingUnit", "External"},
		BSONFieldName:  "remoteendpointtype",
		ConvertedName:  "RemoteEndpointType",
		Description:    `Represents the remote endpoint type.`,
		Exposed:        true,
		Name:           "remoteEndpointType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"remotenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "remotenamespace",
		ConvertedName:  "RemoteNamespace",
		Description:    `Namespace of the remote processing unit.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		Stored:         true,
		Type:           "string",
	},
	"remotenamespacetype": {
		AllowedChoices: []string{"Plain", "Hash"},
		BSONFieldName:  "remotenamespacetype",
		ConvertedName:  "RemoteNamespaceType",
		Description:    `Type of the namespace reported.`,
		Exposed:        true,
		Name:           "remoteNamespaceType",
		Required:       true,
		Stored:         true,
		Type:           "enum",
	},
	"remoteprocessingunitid": {
		AllowedChoices: []string{},
		BSONFieldName:  "remoteprocessingunitid",
		ConvertedName:  "RemoteProcessingUnitID",
		Description:    `ID of the remote processing unit.`,
		Exposed:        true,
		Name:           "remoteProcessingUnitID",
		Stored:         true,
		Type:           "string",
	},
	"seqnum": {
		AllowedChoices: []string{},
		BSONFieldName:  "seqnum",
		ConvertedName:  "SeqNum",
		Description:    `Sequence number of the TCP packet. number.`,
		Exposed:        true,
		Name:           "seqNum",
		Stored:         true,
		Type:           "integer",
	},
	"serviceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "serviceid",
		ConvertedName:  "ServiceID",
		Description:    `ID of the service If the service type is a proxy.`,
		Exposed:        true,
		Name:           "serviceID",
		Stored:         true,
		Type:           "string",
	},
	"servicetype": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "servicetype",
		ConvertedName:  "ServiceType",
		Description:    `Type of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"targettcpnetworks": {
		AllowedChoices: []string{},
		BSONFieldName:  "targettcpnetworks",
		ConvertedName:  "TargetTCPNetworks",
		Description:    `If true, destination IP is in ` + "`" + `targetTCPNetworks` + "`" + `.`,
		Exposed:        true,
		Name:           "targetTCPNetworks",
		Stored:         true,
		Type:           "boolean",
	},
	"type": {
		AllowedChoices: []string{"Request", "Response"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `Type of the report.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PingProbeLowerCaseAttributesMap represents the map of attribute for PingProbe.

View Source
var PingRequestAttributesMap = map[string]elemental.AttributeSpecification{
	"Iterations": {
		AllowedChoices: []string{},
		ConvertedName:  "Iterations",
		DefaultValue:   1,
		Description:    `Number of probes that will be triggered.`,
		Exposed:        true,
		MaxValue:       20,
		MinValue:       1,
		Name:           "iterations",
		Type:           "integer",
	},
	"PingID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PingID",
		Description:    `Unique ID generated for each ping request.`,
		Exposed:        true,
		Name:           "pingID",
		ReadOnly:       true,
		Type:           "string",
	},
	"RefreshID": {
		AllowedChoices: []string{},
		ConvertedName:  "RefreshID",
		Description:    `Contains the refresh ID set by processing unit refresh event.`,
		Exposed:        true,
		Name:           "refreshID",
		Required:       true,
		Type:           "string",
	},
}

PingRequestAttributesMap represents the map of attribute for PingRequest.

View Source
var PingRequestIdentity = elemental.Identity{
	Name:     "pingrequest",
	Category: "pingrequests",
	Package:  "guy",
	Private:  false,
}

PingRequestIdentity represents the Identity of the object.

View Source
var PingRequestLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"iterations": {
		AllowedChoices: []string{},
		ConvertedName:  "Iterations",
		DefaultValue:   1,
		Description:    `Number of probes that will be triggered.`,
		Exposed:        true,
		MaxValue:       20,
		MinValue:       1,
		Name:           "iterations",
		Type:           "integer",
	},
	"pingid": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PingID",
		Description:    `Unique ID generated for each ping request.`,
		Exposed:        true,
		Name:           "pingID",
		ReadOnly:       true,
		Type:           "string",
	},
	"refreshid": {
		AllowedChoices: []string{},
		ConvertedName:  "RefreshID",
		Description:    `Contains the refresh ID set by processing unit refresh event.`,
		Exposed:        true,
		Name:           "refreshID",
		Required:       true,
		Type:           "string",
	},
}

PingRequestLowerCaseAttributesMap represents the map of attribute for PingRequest.

View Source
var PingResultAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       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",
	},
	"Errors": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "errors",
		ConvertedName:  "Errors",
		Description:    `May contain a list of errors that have happened during the collection.`,
		Exposed:        true,
		Name:           "errors",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"PingID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "pingid",
		ConvertedName:  "PingID",
		Description:    `Contains the Ping ID.`,
		Exposed:        true,
		Name:           "pingID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"PingPairs": {
		AllowedChoices: []string{},
		BSONFieldName:  "pingpairs",
		ConvertedName:  "PingPairs",
		Description:    `Contains the result of aggregated ping pairs.`,
		Exposed:        true,
		Name:           "pingPairs",
		Stored:         true,
		SubType:        "pingpair",
		Type:           "refList",
	},
	"RefreshID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "refreshid",
		ConvertedName:  "RefreshID",
		Description:    `Contains the refresh ID set by processing unit refresh event.`,
		Exposed:        true,
		Name:           "refreshID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"RemoteProbes": {
		AllowedChoices: []string{},
		BSONFieldName:  "remoteprobes",
		ConvertedName:  "RemoteProbes",
		Description: `Contains information about missing probes in the result. This field will be
populated in the ping probe is managed by a remote controller (federation) or is
stored in a namespace you don't have any permissions on.`,
		Exposed: true,
		Name:    "remoteProbes",
		Stored:  true,
		SubType: "remotepingprobe",
		Type:    "refList",
	},
	"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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PingResultAttributesMap represents the map of attribute for PingResult.

View Source
var PingResultIdentity = elemental.Identity{
	Name:     "pingresult",
	Category: "pingresults",
	Package:  "guy",
	Private:  false,
}

PingResultIdentity represents the Identity of the object.

View Source
var PingResultLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       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",
	},
	"errors": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "errors",
		ConvertedName:  "Errors",
		Description:    `May contain a list of errors that have happened during the collection.`,
		Exposed:        true,
		Name:           "errors",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"pingid": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "pingid",
		ConvertedName:  "PingID",
		Description:    `Contains the Ping ID.`,
		Exposed:        true,
		Name:           "pingID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"pingpairs": {
		AllowedChoices: []string{},
		BSONFieldName:  "pingpairs",
		ConvertedName:  "PingPairs",
		Description:    `Contains the result of aggregated ping pairs.`,
		Exposed:        true,
		Name:           "pingPairs",
		Stored:         true,
		SubType:        "pingpair",
		Type:           "refList",
	},
	"refreshid": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "refreshid",
		ConvertedName:  "RefreshID",
		Description:    `Contains the refresh ID set by processing unit refresh event.`,
		Exposed:        true,
		Name:           "refreshID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"remoteprobes": {
		AllowedChoices: []string{},
		BSONFieldName:  "remoteprobes",
		ConvertedName:  "RemoteProbes",
		Description: `Contains information about missing probes in the result. This field will be
populated in the ping probe is managed by a remote controller (federation) or is
stored in a namespace you don't have any permissions on.`,
		Exposed: true,
		Name:    "remoteProbes",
		Stored:  true,
		SubType: "remotepingprobe",
		Type:    "refList",
	},
	"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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PingResultLowerCaseAttributesMap represents the map of attribute for PingResult.

View Source
var PlanAttributesMap = map[string]elemental.AttributeSpecification{
	"Description": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Contains the description of the plan.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Key": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Contains the key identifier of the plan.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Contains the name of the plan.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Quotas": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Quotas",
		Description:    `Defines the quota for each identity.`,
		Name:           "quotas",
		ReadOnly:       true,
		SubType:        "map[string]int",
		Type:           "external",
	},
	"RequireAdminValidation": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "requireadminvalidation",
		ConvertedName:  "RequireAdminValidation",
		Description:    `RequireAdminValidation indicates if the plan requires an admin approval.`,
		Name:           "requireAdminValidation",
		ReadOnly:       true,
		Stored:         true,
		Type:           "boolean",
	},
	"Roles": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Roles",
		Description:    `Roles defines the roles given to the account.`,
		Name:           "roles",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

PlanAttributesMap represents the map of attribute for Plan.

View Source
var PlanIdentity = elemental.Identity{
	Name:     "plan",
	Category: "plans",
	Package:  "vince",
	Private:  false,
}

PlanIdentity represents the Identity of the object.

View Source
var PlanLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"description": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Contains the description of the plan.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"key": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `Contains the key identifier of the plan.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Contains the name of the plan.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"quotas": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Quotas",
		Description:    `Defines the quota for each identity.`,
		Name:           "quotas",
		ReadOnly:       true,
		SubType:        "map[string]int",
		Type:           "external",
	},
	"requireadminvalidation": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "requireadminvalidation",
		ConvertedName:  "RequireAdminValidation",
		Description:    `RequireAdminValidation indicates if the plan requires an admin approval.`,
		Name:           "requireAdminValidation",
		ReadOnly:       true,
		Stored:         true,
		Type:           "boolean",
	},
	"roles": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Roles",
		Description:    `Roles defines the roles given to the account.`,
		Name:           "roles",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

PlanLowerCaseAttributesMap represents the map of attribute for Plan.

View Source
var PokeAttributesMap = map[string]elemental.AttributeSpecification{}

PokeAttributesMap represents the map of attribute for Poke.

View Source
var PokeIdentity = elemental.Identity{
	Name:     "poke",
	Category: "poke",
	Package:  "squall",
	Private:  false,
}

PokeIdentity represents the Identity of the object.

View Source
var PokeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{}

PokeLowerCaseAttributesMap represents the map of attribute for Poke.

View Source
var PolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{},
		BSONFieldName:  "action",
		ConvertedName:  "Action",
		Description:    `Defines a set of actions that must be enforced when a dependency is met.`,
		Exposed:        true,
		Name:           "action",
		Stored:         true,
		SubType:        "map[string]map[string]interface{}",
		Type:           "external",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"AllObjectTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allobjecttags",
		ConvertedName:  "AllObjectTags",
		Description:    `This is a set of all object tags for matching in the DB.`,
		Name:           "allObjectTags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AllSubjectTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allsubjecttags",
		ConvertedName:  "AllSubjectTags",
		Description:    `This is a set of all subject tags for matching in the DB.`,
		Name:           "allSubjectTags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted at the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		BSONFieldName:  "object",
		ConvertedName:  "Object",
		Description: `Represents set of entities that another entity depends on. As subjects,
objects are identified as logical operations on tags when a policy is defined.`,
		Exposed: true,
		Getter:  true,
		Name:    "object",
		Setter:  true,
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"PropagationHidden": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagationhidden",
		ConvertedName:  "PropagationHidden",
		Description: `If set to ` + "`" + `true` + "`" + ` while the policy is propagating, it won't be visible to
children
namespace, but still used for policy resolution.`,
		Exposed:   true,
		Getter:    true,
		Name:      "propagationHidden",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Relation": {
		AllowedChoices: []string{},
		BSONFieldName:  "relation",
		ConvertedName:  "Relation",
		Description: `Describes the required operation to be performed between subjects and
objects.`,
		Exposed: true,
		Name:    "relation",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Represents sets of entities that will have a dependency other entities.
Subjects are defined as logical operations on tags. Logical operations can
include ` + "`" + `AND` + "`" + ` and ` + "`" + `OR` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "subject",
		Setter:  true,
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"Type": {
		AllowedChoices: []string{"APIAuthorization", "AuditProfileMapping", "EnforcerProfile", "File", "Hook", "HostServiceMapping", "Infrastructure", "NamespaceMapping", "Network", "NetworkRuleSet", "ProcessingUnit", "Quota", "Service", "ServiceDependency", "Syscall", "TokenScope", "SSHAuthorization", "UserAccess"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description:    `Type of the policy.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PolicyAttributesMap represents the map of attribute for Policy.

View Source
var PolicyGraphAttributesMap = map[string]elemental.AttributeSpecification{
	"PUIdentity": {
		AllowedChoices: []string{},
		ConvertedName:  "PUIdentity",
		Description: `The set of tags that a future-activated processing unit will have for which
the user wants to evaluate policies and understand its connectivity options.`,
		Exposed: true,
		Name:    "PUIdentity",
		SubType: "string",
		Type:    "list",
	},
	"DependencyMap": {
		AllowedChoices: []string{},
		ConvertedName:  "DependencyMap",
		Description: `Contains the output of the policy evaluation. It is the same type of
dependency map as created by other APIs.`,
		Exposed: true,
		Name:    "dependencyMap",
		SubType: "dependencymap",
		Type:    "ref",
	},
	"PolicyType": {
		AllowedChoices: []string{"Authorization", "Infrastructure", "Combined"},
		ConvertedName:  "PolicyType",
		DefaultValue:   PolicyGraphPolicyTypeAuthorization,
		Description: `Identifies the type of policy that should be analyzed: ` + "`" + `Authorization` + "`" + `(default),
` + "`" + `Infrastructure` + "`" + `, or ` + "`" + `Combined` + "`" + `.`,
		Exposed: true,
		Name:    "policyType",
		Type:    "enum",
	},
	"Selectors": {
		AllowedChoices: []string{},
		ConvertedName:  "Selectors",
		Description: `Contains the tag expression that a processing unit must match in order
to evaluate policy for it.`,
		Exposed: true,
		Name:    "selectors",
		SubType: "[][]string",
		Type:    "external",
	},
}

PolicyGraphAttributesMap represents the map of attribute for PolicyGraph.

View Source
var PolicyGraphIdentity = elemental.Identity{
	Name:     "policygraph",
	Category: "policygraphs",
	Package:  "yeul",
	Private:  false,
}

PolicyGraphIdentity represents the Identity of the object.

View Source
var PolicyGraphLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"puidentity": {
		AllowedChoices: []string{},
		ConvertedName:  "PUIdentity",
		Description: `The set of tags that a future-activated processing unit will have for which
the user wants to evaluate policies and understand its connectivity options.`,
		Exposed: true,
		Name:    "PUIdentity",
		SubType: "string",
		Type:    "list",
	},
	"dependencymap": {
		AllowedChoices: []string{},
		ConvertedName:  "DependencyMap",
		Description: `Contains the output of the policy evaluation. It is the same type of
dependency map as created by other APIs.`,
		Exposed: true,
		Name:    "dependencyMap",
		SubType: "dependencymap",
		Type:    "ref",
	},
	"policytype": {
		AllowedChoices: []string{"Authorization", "Infrastructure", "Combined"},
		ConvertedName:  "PolicyType",
		DefaultValue:   PolicyGraphPolicyTypeAuthorization,
		Description: `Identifies the type of policy that should be analyzed: ` + "`" + `Authorization` + "`" + `(default),
` + "`" + `Infrastructure` + "`" + `, or ` + "`" + `Combined` + "`" + `.`,
		Exposed: true,
		Name:    "policyType",
		Type:    "enum",
	},
	"selectors": {
		AllowedChoices: []string{},
		ConvertedName:  "Selectors",
		Description: `Contains the tag expression that a processing unit must match in order
to evaluate policy for it.`,
		Exposed: true,
		Name:    "selectors",
		SubType: "[][]string",
		Type:    "external",
	},
}

PolicyGraphLowerCaseAttributesMap represents the map of attribute for PolicyGraph.

View Source
var PolicyIdentity = elemental.Identity{
	Name:     "policy",
	Category: "policies",
	Package:  "squall",
	Private:  false,
}

PolicyIdentity represents the Identity of the object.

View Source
var PolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{},
		BSONFieldName:  "action",
		ConvertedName:  "Action",
		Description:    `Defines a set of actions that must be enforced when a dependency is met.`,
		Exposed:        true,
		Name:           "action",
		Stored:         true,
		SubType:        "map[string]map[string]interface{}",
		Type:           "external",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"allobjecttags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allobjecttags",
		ConvertedName:  "AllObjectTags",
		Description:    `This is a set of all object tags for matching in the DB.`,
		Name:           "allObjectTags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"allsubjecttags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allsubjecttags",
		ConvertedName:  "AllSubjectTags",
		Description:    `This is a set of all subject tags for matching in the DB.`,
		Name:           "allSubjectTags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted at the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		BSONFieldName:  "object",
		ConvertedName:  "Object",
		Description: `Represents set of entities that another entity depends on. As subjects,
objects are identified as logical operations on tags when a policy is defined.`,
		Exposed: true,
		Getter:  true,
		Name:    "object",
		Setter:  true,
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"propagationhidden": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagationhidden",
		ConvertedName:  "PropagationHidden",
		Description: `If set to ` + "`" + `true` + "`" + ` while the policy is propagating, it won't be visible to
children
namespace, but still used for policy resolution.`,
		Exposed:   true,
		Getter:    true,
		Name:      "propagationHidden",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"relation": {
		AllowedChoices: []string{},
		BSONFieldName:  "relation",
		ConvertedName:  "Relation",
		Description: `Describes the required operation to be performed between subjects and
objects.`,
		Exposed: true,
		Name:    "relation",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Represents sets of entities that will have a dependency other entities.
Subjects are defined as logical operations on tags. Logical operations can
include ` + "`" + `AND` + "`" + ` and ` + "`" + `OR` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "subject",
		Setter:  true,
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"type": {
		AllowedChoices: []string{"APIAuthorization", "AuditProfileMapping", "EnforcerProfile", "File", "Hook", "HostServiceMapping", "Infrastructure", "NamespaceMapping", "Network", "NetworkRuleSet", "ProcessingUnit", "Quota", "Service", "ServiceDependency", "Syscall", "TokenScope", "SSHAuthorization", "UserAccess"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description:    `Type of the policy.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

PolicyLowerCaseAttributesMap represents the map of attribute for Policy.

View Source
var PolicyRefreshAttributesMap = map[string]elemental.AttributeSpecification{
	"SourceID": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourceid",
		ConvertedName:  "SourceID",
		Description:    `Contains the original ID of the updated object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "sourceID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"SourceNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourcenamespace",
		ConvertedName:  "SourceNamespace",
		Description:    `Contains the original namespace of the updated object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "sourceNamespace",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `Contains the policy type that is affected.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "type",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
}

PolicyRefreshAttributesMap represents the map of attribute for PolicyRefresh.

View Source
var PolicyRefreshIdentity = elemental.Identity{
	Name:     "policyrefresh",
	Category: "policyrefreshs",
	Package:  "squall",
	Private:  false,
}

PolicyRefreshIdentity represents the Identity of the object.

View Source
var PolicyRefreshLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"sourceid": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourceid",
		ConvertedName:  "SourceID",
		Description:    `Contains the original ID of the updated object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "sourceID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"sourcenamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "sourcenamespace",
		ConvertedName:  "SourceNamespace",
		Description:    `Contains the original namespace of the updated object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "sourceNamespace",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		Description:    `Contains the policy type that is affected.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "type",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
}

PolicyRefreshLowerCaseAttributesMap represents the map of attribute for PolicyRefresh.

View Source
var PolicyRendererAttributesMap = map[string]elemental.AttributeSpecification{
	"Policies": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Policies",
		Description:    `List of policies rendered for the given set of tags.`,
		Exposed:        true,
		Name:           "policies",
		ReadOnly:       true,
		SubType:        "policyrule",
		Type:           "refList",
	},
	"ProcessMode": {
		AllowedChoices: []string{"Subject", "Object"},
		ConvertedName:  "ProcessMode",
		DefaultValue:   PolicyRendererProcessModeSubject,
		Description: `` + "`" + `Subject` + "`" + ` (default): Set if the ` + "`" + `processMode` + "`" + ` should use the subject. ` + "`" + `Object` + "`" + `:
Set if
the ` + "`" + `processMode` + "`" + ` should use the object. This only has effect when rendering an
SSH
authorization for now.`,
		Exposed: true,
		Name:    "processMode",
		Type:    "enum",
	},
	"Tags": {
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `List of tags of the object to render the hook for.`,
		Exposed:        true,
		Name:           "tags",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"Type": {
		AllowedChoices: []string{"APIAuthorization", "EnforcerProfile", "File", "Hook", "Infrastructure", "NamespaceMapping", "Network", "ProcessingUnit", "Quota", "Syscall", "TokenScope", "SSHAuthorization", "UserAccess"},
		ConvertedName:  "Type",
		Description:    `Type of policy to render.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Type:           "enum",
	},
}

PolicyRendererAttributesMap represents the map of attribute for PolicyRenderer.

View Source
var PolicyRendererIdentity = elemental.Identity{
	Name:     "policyrenderer",
	Category: "policyrenderers",
	Package:  "squall",
	Private:  false,
}

PolicyRendererIdentity represents the Identity of the object.

View Source
var PolicyRendererLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"policies": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Policies",
		Description:    `List of policies rendered for the given set of tags.`,
		Exposed:        true,
		Name:           "policies",
		ReadOnly:       true,
		SubType:        "policyrule",
		Type:           "refList",
	},
	"processmode": {
		AllowedChoices: []string{"Subject", "Object"},
		ConvertedName:  "ProcessMode",
		DefaultValue:   PolicyRendererProcessModeSubject,
		Description: `` + "`" + `Subject` + "`" + ` (default): Set if the ` + "`" + `processMode` + "`" + ` should use the subject. ` + "`" + `Object` + "`" + `:
Set if
the ` + "`" + `processMode` + "`" + ` should use the object. This only has effect when rendering an
SSH
authorization for now.`,
		Exposed: true,
		Name:    "processMode",
		Type:    "enum",
	},
	"tags": {
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `List of tags of the object to render the hook for.`,
		Exposed:        true,
		Name:           "tags",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"type": {
		AllowedChoices: []string{"APIAuthorization", "EnforcerProfile", "File", "Hook", "Infrastructure", "NamespaceMapping", "Network", "ProcessingUnit", "Quota", "Syscall", "TokenScope", "SSHAuthorization", "UserAccess"},
		ConvertedName:  "Type",
		Description:    `Type of policy to render.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Type:           "enum",
	},
}

PolicyRendererLowerCaseAttributesMap represents the map of attribute for PolicyRenderer.

View Source
var PolicyRuleAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{},
		ConvertedName:  "Action",
		Description:    `Defines set of actions that must be enforced when a dependency is met.`,
		Exposed:        true,
		Name:           "action",
		SubType:        "map[string]map[string]interface{}",
		Type:           "external",
	},
	"AuditProfiles": {
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfiles",
		Deprecated:     true,
		Description:    `Provides the audit profiles that must be applied.`,
		Exposed:        true,
		Name:           "auditProfiles",
		SubType:        "auditprofile",
		Type:           "refList",
	},
	"EnforcerProfiles": {
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerProfiles",
		Description:    `Provides information about the enforcer profile.`,
		Exposed:        true,
		Name:           "enforcerProfiles",
		SubType:        "enforcerprofile",
		Type:           "refList",
	},
	"ExternalNetworks": {
		AllowedChoices: []string{},
		ConvertedName:  "ExternalNetworks",
		Description:    `Provides the external network that the policy targets.`,
		Exposed:        true,
		Name:           "externalNetworks",
		SubType:        "externalnetwork",
		Type:           "refList",
	},
	"FilePaths": {
		AllowedChoices: []string{},
		ConvertedName:  "FilePaths",
		Deprecated:     true,
		Description:    `Provides the file paths that the policy targets.`,
		Exposed:        true,
		Name:           "filePaths",
		SubType:        "filepath",
		Type:           "refList",
	},
	"HostServices": {
		AllowedChoices: []string{},
		ConvertedName:  "HostServices",
		Description:    `Provides the list of host services that must be instantiated.`,
		Exposed:        true,
		Name:           "hostServices",
		SubType:        "hostservice",
		Type:           "refList",
	},
	"IsolationProfiles": {
		AllowedChoices: []string{},
		ConvertedName:  "IsolationProfiles",
		Deprecated:     true,
		Description:    `Provides the isolation profiles of the rule.`,
		Exposed:        true,
		Name:           "isolationProfiles",
		SubType:        "isolationprofile",
		Type:           "refList",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespaces": {
		AllowedChoices: []string{},
		ConvertedName:  "Namespaces",
		Description:    `The namespace that the policy targets.`,
		Exposed:        true,
		Name:           "namespaces",
		SubType:        "namespace",
		Type:           "refList",
	},
	"PolicyNamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "PolicyNamespace",
		Description:    `The namespace of the policy that created this rule.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Type:           "string",
	},
	"PolicyUpdateTime": {
		AllowedChoices: []string{},
		ConvertedName:  "PolicyUpdateTime",
		Description:    `Last time the policy was updated.`,
		Exposed:        true,
		Name:           "policyUpdateTime",
		Type:           "time",
	},
	"Propagated": {
		AllowedChoices: []string{},
		ConvertedName:  "Propagated",
		Description:    `Indicates if the policy is propagated.`,
		Exposed:        true,
		Name:           "propagated",
		Type:           "boolean",
	},
	"Relation": {
		AllowedChoices: []string{},
		ConvertedName:  "Relation",
		Description:    `Describes the required operation to be performed between subjects and objects.`,
		Exposed:        true,
		Name:           "relation",
		SubType:        "string",
		Type:           "list",
	},
	"Services": {
		AllowedChoices: []string{},
		ConvertedName:  "Services",
		Description:    `Provides the services of this policy rule.`,
		Exposed:        true,
		Name:           "services",
		SubType:        "service",
		Type:           "refList",
	},
	"TagClauses": {
		AllowedChoices: []string{},
		ConvertedName:  "TagClauses",
		Description:    `Policy target tags.`,
		Exposed:        true,
		Name:           "tagClauses",
		SubType:        "[][]string",
		Type:           "external",
	},
}

PolicyRuleAttributesMap represents the map of attribute for PolicyRule.

View Source
var PolicyRuleIdentity = elemental.Identity{
	Name:     "policyrule",
	Category: "policyrules",
	Package:  "squall",
	Private:  false,
}

PolicyRuleIdentity represents the Identity of the object.

View Source
var PolicyRuleLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{},
		ConvertedName:  "Action",
		Description:    `Defines set of actions that must be enforced when a dependency is met.`,
		Exposed:        true,
		Name:           "action",
		SubType:        "map[string]map[string]interface{}",
		Type:           "external",
	},
	"auditprofiles": {
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfiles",
		Deprecated:     true,
		Description:    `Provides the audit profiles that must be applied.`,
		Exposed:        true,
		Name:           "auditProfiles",
		SubType:        "auditprofile",
		Type:           "refList",
	},
	"enforcerprofiles": {
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerProfiles",
		Description:    `Provides information about the enforcer profile.`,
		Exposed:        true,
		Name:           "enforcerProfiles",
		SubType:        "enforcerprofile",
		Type:           "refList",
	},
	"externalnetworks": {
		AllowedChoices: []string{},
		ConvertedName:  "ExternalNetworks",
		Description:    `Provides the external network that the policy targets.`,
		Exposed:        true,
		Name:           "externalNetworks",
		SubType:        "externalnetwork",
		Type:           "refList",
	},
	"filepaths": {
		AllowedChoices: []string{},
		ConvertedName:  "FilePaths",
		Deprecated:     true,
		Description:    `Provides the file paths that the policy targets.`,
		Exposed:        true,
		Name:           "filePaths",
		SubType:        "filepath",
		Type:           "refList",
	},
	"hostservices": {
		AllowedChoices: []string{},
		ConvertedName:  "HostServices",
		Description:    `Provides the list of host services that must be instantiated.`,
		Exposed:        true,
		Name:           "hostServices",
		SubType:        "hostservice",
		Type:           "refList",
	},
	"isolationprofiles": {
		AllowedChoices: []string{},
		ConvertedName:  "IsolationProfiles",
		Deprecated:     true,
		Description:    `Provides the isolation profiles of the rule.`,
		Exposed:        true,
		Name:           "isolationProfiles",
		SubType:        "isolationprofile",
		Type:           "refList",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespaces": {
		AllowedChoices: []string{},
		ConvertedName:  "Namespaces",
		Description:    `The namespace that the policy targets.`,
		Exposed:        true,
		Name:           "namespaces",
		SubType:        "namespace",
		Type:           "refList",
	},
	"policynamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "PolicyNamespace",
		Description:    `The namespace of the policy that created this rule.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Type:           "string",
	},
	"policyupdatetime": {
		AllowedChoices: []string{},
		ConvertedName:  "PolicyUpdateTime",
		Description:    `Last time the policy was updated.`,
		Exposed:        true,
		Name:           "policyUpdateTime",
		Type:           "time",
	},
	"propagated": {
		AllowedChoices: []string{},
		ConvertedName:  "Propagated",
		Description:    `Indicates if the policy is propagated.`,
		Exposed:        true,
		Name:           "propagated",
		Type:           "boolean",
	},
	"relation": {
		AllowedChoices: []string{},
		ConvertedName:  "Relation",
		Description:    `Describes the required operation to be performed between subjects and objects.`,
		Exposed:        true,
		Name:           "relation",
		SubType:        "string",
		Type:           "list",
	},
	"services": {
		AllowedChoices: []string{},
		ConvertedName:  "Services",
		Description:    `Provides the services of this policy rule.`,
		Exposed:        true,
		Name:           "services",
		SubType:        "service",
		Type:           "refList",
	},
	"tagclauses": {
		AllowedChoices: []string{},
		ConvertedName:  "TagClauses",
		Description:    `Policy target tags.`,
		Exposed:        true,
		Name:           "tagClauses",
		SubType:        "[][]string",
		Type:           "external",
	},
}

PolicyRuleLowerCaseAttributesMap represents the map of attribute for PolicyRule.

View Source
var PolicyTTLAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `Time when the policy must be deleted.`,
		Name:           "expirationTime",
		Stored:         true,
		Type:           "time",
	},
}

PolicyTTLAttributesMap represents the map of attribute for PolicyTTL.

View Source
var PolicyTTLIdentity = elemental.Identity{
	Name:     "policyttl",
	Category: "policyttls",
	Package:  "squall",
	Private:  true,
}

PolicyTTLIdentity represents the Identity of the object.

View Source
var PolicyTTLLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `Time when the policy must be deleted.`,
		Name:           "expirationTime",
		Stored:         true,
		Type:           "time",
	},
}

PolicyTTLLowerCaseAttributesMap represents the map of attribute for PolicyTTL.

View Source
var PollAccountAttributesMap = map[string]elemental.AttributeSpecification{
	"AccountID": {
		AllowedChoices: []string{},
		ConvertedName:  "AccountID",
		Description:    `The ID of the account.`,
		Exposed:        true,
		Name:           "accountID",
		Required:       true,
		Type:           "string",
	},
	"AuthorizationRegion": {
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizationRegion",
		Description:    `The region to use for authorization.`,
		Exposed:        true,
		Name:           "authorizationRegion",
		Required:       true,
		Type:           "string",
	},
	"CloudType": {
		AllowedChoices: []string{"AWS", "GCP"},
		ConvertedName:  "CloudType",
		DefaultValue:   PollAccountCloudTypeAWS,
		Description:    `The cloud type for the account.`,
		Exposed:        true,
		Name:           "cloudType",
		Type:           "enum",
	},
	"Name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the account.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"Role": {
		AllowedChoices: []string{},
		ConvertedName:  "Role",
		Description:    `The role that it should use to poll the account.`,
		Exposed:        true,
		Name:           "role",
		Required:       true,
		Type:           "string",
	},
	"TargetRegions": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetRegions",
		Description:    `Limit polling to these regions only. If empty, all regions will be polled.`,
		Exposed:        true,
		Name:           "targetRegions",
		SubType:        "string",
		Type:           "list",
	},
}

PollAccountAttributesMap represents the map of attribute for PollAccount.

View Source
var PollAccountIdentity = elemental.Identity{
	Name:     "pollaccount",
	Category: "pollaccounts",
	Package:  "pandemona",
	Private:  false,
}

PollAccountIdentity represents the Identity of the object.

View Source
var PollAccountLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"accountid": {
		AllowedChoices: []string{},
		ConvertedName:  "AccountID",
		Description:    `The ID of the account.`,
		Exposed:        true,
		Name:           "accountID",
		Required:       true,
		Type:           "string",
	},
	"authorizationregion": {
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizationRegion",
		Description:    `The region to use for authorization.`,
		Exposed:        true,
		Name:           "authorizationRegion",
		Required:       true,
		Type:           "string",
	},
	"cloudtype": {
		AllowedChoices: []string{"AWS", "GCP"},
		ConvertedName:  "CloudType",
		DefaultValue:   PollAccountCloudTypeAWS,
		Description:    `The cloud type for the account.`,
		Exposed:        true,
		Name:           "cloudType",
		Type:           "enum",
	},
	"name": {
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the account.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"role": {
		AllowedChoices: []string{},
		ConvertedName:  "Role",
		Description:    `The role that it should use to poll the account.`,
		Exposed:        true,
		Name:           "role",
		Required:       true,
		Type:           "string",
	},
	"targetregions": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetRegions",
		Description:    `Limit polling to these regions only. If empty, all regions will be polled.`,
		Exposed:        true,
		Name:           "targetRegions",
		SubType:        "string",
		Type:           "list",
	},
}

PollAccountLowerCaseAttributesMap represents the map of attribute for PollAccount.

View Source
var ProcessingUnitAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"Archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ClientLocalID": {
		AllowedChoices: []string{},
		BSONFieldName:  "clientlocalid",
		ConvertedName:  "ClientLocalID",
		Description: `The local PUID set by enforcer. Enforcer may create a local PU if it cannot
communicate with the Microsegmentation Console. When eventually the
Microsegmentation Console is able to create the PU, the ` + "`" + `clientLocalID` + "`" + ` will be
used to convert a CachedFlowReport containing a local PUID to a real FlowReport.`,
		Exposed: true,
		Name:    "clientLocalID",
		Stored:  true,
		Type:    "string",
	},
	"CollectInfo": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectinfo",
		ConvertedName:  "CollectInfo",
		Description: `A value of ` + "`" + `true` + "`" + ` indicates to the enforcer that it needs to collect information
for this processing unit.`,
		Exposed: true,
		Name:    "collectInfo",
		Stored:  true,
		Type:    "boolean",
	},
	"CollectedInfo": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectedinfo",
		ConvertedName:  "CollectedInfo",
		Description: `Represents the latest information collected by the enforcer for this processing
unit.`,
		Exposed: true,
		Name:    "collectedInfo",
		Stored:  true,
		SubType: "map[string]string",
		Type:    "external",
	},
	"Controller": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "controller",
		ConvertedName:  "Controller",
		Description: `The Microsegmentation Console identifier managing this object. This property is
mostly
useful when federating multiple Microsegmentation Consoles.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "controller",
		Orderable:  true,
		ReadOnly:   true,
		Setter:     true,
		Stored:     true,
		Transient:  true,
		Type:       "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"DatapathType": {
		AllowedChoices: []string{"Aporeto", "EnvoyAuthorizer"},
		BSONFieldName:  "datapathtype",
		ConvertedName:  "DatapathType",
		DefaultValue:   ProcessingUnitDatapathTypeAporeto,
		Description: `The datapath type that processing units are implementing:
- ` + "`" + `Aporeto` + "`" + `: The enforcer is managing and handling the datapath.
- ` + "`" + `EnvoyAuthorizer` + "`" + `: The enforcer is serving Envoy-compatible gRPC APIs
that for example can be used by an Envoy proxy to use the Microsegmentation PKI
and implement Microsegmentation network policies. NOTE: The enforcer is not
owning the datapath in this case. It is merely providing an authorizer API.`,
		Exposed:    true,
		Filterable: true,
		Name:       "datapathType",
		Stored:     true,
		Type:       "enum",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcementStatus": {
		AllowedChoices: []string{"Active", "Failed", "Inactive"},
		BSONFieldName:  "enforcementstatus",
		ConvertedName:  "EnforcementStatus",
		DefaultValue:   ProcessingUnitEnforcementStatusInactive,
		Description: `Contains the state of the enforcer for the processing unit. ` + "`" + `Inactive` + "`" + `
(default): the enforcer is not enforcing any host service. ` + "`" + `Active` + "`" + `: the
enforcer is enforcing a host service. ` + "`" + `Failed` + "`" + `: an error occurred during the
enforcement attempt.`,
		Exposed:    true,
		Filterable: true,
		Name:       "enforcementStatus",
		Stored:     true,
		Type:       "enum",
	},
	"EnforcerID": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerid",
		ConvertedName:  "EnforcerID",
		Description:    `The ID of the enforcer associated with the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcernamespace",
		ConvertedName:  "EnforcerNamespace",
		Description:    `The namespace of the enforcer associated with the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcerNamespace",
		Stored:         true,
		Type:           "string",
	},
	"Image": {
		AllowedChoices: []string{},
		ConvertedName:  "Image",
		Deprecated:     true,
		Description: `This field is deprecated and it is there for backward compatibility. Use
` + "`" + `images` + "`" + ` instead.`,
		Exposed: true,
		Name:    "image",
		Type:    "string",
	},
	"Images": {
		AllowedChoices: []string{},
		BSONFieldName:  "images",
		ConvertedName:  "Images",
		CreationOnly:   true,
		Description:    `List of images or executable paths used by the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "images",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"LastCollectionTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastcollectiontime",
		ConvertedName:  "LastCollectionTime",
		Description:    `The date and time when the information was collected.`,
		Exposed:        true,
		Name:           "lastCollectionTime",
		Stored:         true,
		Type:           "time",
	},
	"LastLocalTimestamp": {
		AllowedChoices: []string{},
		ConvertedName:  "LastLocalTimestamp",
		Description:    `Time and date of the processing unit set by the enforcer.`,
		Exposed:        true,
		Name:           "lastLocalTimestamp",
		Type:           "time",
	},
	"LastSyncTime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "lastsynctime",
		ConvertedName:  "LastSyncTime",
		Description:    `The date and time of the last policy resolution.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeContextID": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativecontextid",
		ConvertedName:  "NativeContextID",
		Description:    `The Docker UUID or service PID.`,
		Exposed:        true,
		Name:           "nativeContextID",
		Stored:         true,
		Type:           "string",
	},
	"NetworkServices": {
		AllowedChoices: []string{},
		BSONFieldName:  "networkservices",
		ConvertedName:  "NetworkServices",
		Description: `The list of services that this processing unit has declared that it will be
listening to,
either in its activation command or by exposing the ports in a container
manifest.`,
		Exposed:   true,
		Name:      "networkServices",
		Orderable: true,
		Stored:    true,
		SubType:   "processingunitservice",
		Type:      "refList",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"OperationalStatus": {
		AllowedChoices: []string{"Initialized", "Paused", "Running", "Stopped", "Terminated"},
		BSONFieldName:  "operationalstatus",
		ConvertedName:  "OperationalStatus",
		DefaultValue:   ProcessingUnitOperationalStatusInitialized,
		Description: `Operational status of the processing unit: ` + "`" + `Initialized` + "`" + ` (default), ` + "`" + `Paused` + "`" + `,
` + "`" + `Running` + "`" + `,
` + "`" + `Stopped` + "`" + `, or ` + "`" + `Terminated` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "operationalStatus",
		Stored:     true,
		Type:       "enum",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Tracing": {
		AllowedChoices: []string{},
		ConvertedName:  "Tracing",
		Description:    `Indicates if this processing unit must be placed in tracing mode.`,
		Exposed:        true,
		Name:           "tracing",
		SubType:        "tracemode",
		Type:           "ref",
	},
	"Type": {
		AllowedChoices: []string{"APIGateway", "Docker", "Host", "HostService", "LinuxService", "WindowsService", "RKT", "User", "SSHSession"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description: `Type of processing unit: ` + "`" + `APIGateway` + "`" + `, ` + "`" + `Docker` + "`" + `, ` + "`" + `Host` + "`" + `, ` + "`" + `HostService` + "`" + `,
` + "`" + `LinuxService` + "`" + `, ` + "`" + `WindowsService` + "`" + `, ` + "`" + `RKT` + "`" + `, ` + "`" + `User` + "`" + `, or ` + "`" + `SSHSession` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "type",
		Stored:     true,
		Type:       "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
	"Vulnerabilities": {
		AllowedChoices: []string{},
		BSONFieldName:  "vulnerabilities",
		ConvertedName:  "Vulnerabilities",
		Deprecated:     true,
		Description:    `List of vulnerabilities affecting this processing unit.`,
		Filterable:     true,
		Name:           "vulnerabilities",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"VulnerabilityLevel": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "vulnerabilitylevel",
		ConvertedName:  "VulnerabilityLevel",
		Deprecated:     true,
		Description:    `List of vulnerabilities affecting this processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "vulnerabilityLevel",
		ReadOnly:       true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProcessingUnitAttributesMap represents the map of attribute for ProcessingUnit.

View Source
var ProcessingUnitIdentity = elemental.Identity{
	Name:     "processingunit",
	Category: "processingunits",
	Package:  "squall",
	Private:  false,
}

ProcessingUnitIdentity represents the Identity of the object.

View Source
var ProcessingUnitLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"clientlocalid": {
		AllowedChoices: []string{},
		BSONFieldName:  "clientlocalid",
		ConvertedName:  "ClientLocalID",
		Description: `The local PUID set by enforcer. Enforcer may create a local PU if it cannot
communicate with the Microsegmentation Console. When eventually the
Microsegmentation Console is able to create the PU, the ` + "`" + `clientLocalID` + "`" + ` will be
used to convert a CachedFlowReport containing a local PUID to a real FlowReport.`,
		Exposed: true,
		Name:    "clientLocalID",
		Stored:  true,
		Type:    "string",
	},
	"collectinfo": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectinfo",
		ConvertedName:  "CollectInfo",
		Description: `A value of ` + "`" + `true` + "`" + ` indicates to the enforcer that it needs to collect information
for this processing unit.`,
		Exposed: true,
		Name:    "collectInfo",
		Stored:  true,
		Type:    "boolean",
	},
	"collectedinfo": {
		AllowedChoices: []string{},
		BSONFieldName:  "collectedinfo",
		ConvertedName:  "CollectedInfo",
		Description: `Represents the latest information collected by the enforcer for this processing
unit.`,
		Exposed: true,
		Name:    "collectedInfo",
		Stored:  true,
		SubType: "map[string]string",
		Type:    "external",
	},
	"controller": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "controller",
		ConvertedName:  "Controller",
		Description: `The Microsegmentation Console identifier managing this object. This property is
mostly
useful when federating multiple Microsegmentation Consoles.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "controller",
		Orderable:  true,
		ReadOnly:   true,
		Setter:     true,
		Stored:     true,
		Transient:  true,
		Type:       "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"datapathtype": {
		AllowedChoices: []string{"Aporeto", "EnvoyAuthorizer"},
		BSONFieldName:  "datapathtype",
		ConvertedName:  "DatapathType",
		DefaultValue:   ProcessingUnitDatapathTypeAporeto,
		Description: `The datapath type that processing units are implementing:
- ` + "`" + `Aporeto` + "`" + `: The enforcer is managing and handling the datapath.
- ` + "`" + `EnvoyAuthorizer` + "`" + `: The enforcer is serving Envoy-compatible gRPC APIs
that for example can be used by an Envoy proxy to use the Microsegmentation PKI
and implement Microsegmentation network policies. NOTE: The enforcer is not
owning the datapath in this case. It is merely providing an authorizer API.`,
		Exposed:    true,
		Filterable: true,
		Name:       "datapathType",
		Stored:     true,
		Type:       "enum",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"enforcementstatus": {
		AllowedChoices: []string{"Active", "Failed", "Inactive"},
		BSONFieldName:  "enforcementstatus",
		ConvertedName:  "EnforcementStatus",
		DefaultValue:   ProcessingUnitEnforcementStatusInactive,
		Description: `Contains the state of the enforcer for the processing unit. ` + "`" + `Inactive` + "`" + `
(default): the enforcer is not enforcing any host service. ` + "`" + `Active` + "`" + `: the
enforcer is enforcing a host service. ` + "`" + `Failed` + "`" + `: an error occurred during the
enforcement attempt.`,
		Exposed:    true,
		Filterable: true,
		Name:       "enforcementStatus",
		Stored:     true,
		Type:       "enum",
	},
	"enforcerid": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcerid",
		ConvertedName:  "EnforcerID",
		Description:    `The ID of the enforcer associated with the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "enforcernamespace",
		ConvertedName:  "EnforcerNamespace",
		Description:    `The namespace of the enforcer associated with the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcerNamespace",
		Stored:         true,
		Type:           "string",
	},
	"image": {
		AllowedChoices: []string{},
		ConvertedName:  "Image",
		Deprecated:     true,
		Description: `This field is deprecated and it is there for backward compatibility. Use
` + "`" + `images` + "`" + ` instead.`,
		Exposed: true,
		Name:    "image",
		Type:    "string",
	},
	"images": {
		AllowedChoices: []string{},
		BSONFieldName:  "images",
		ConvertedName:  "Images",
		CreationOnly:   true,
		Description:    `List of images or executable paths used by the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "images",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"lastcollectiontime": {
		AllowedChoices: []string{},
		BSONFieldName:  "lastcollectiontime",
		ConvertedName:  "LastCollectionTime",
		Description:    `The date and time when the information was collected.`,
		Exposed:        true,
		Name:           "lastCollectionTime",
		Stored:         true,
		Type:           "time",
	},
	"lastlocaltimestamp": {
		AllowedChoices: []string{},
		ConvertedName:  "LastLocalTimestamp",
		Description:    `Time and date of the processing unit set by the enforcer.`,
		Exposed:        true,
		Name:           "lastLocalTimestamp",
		Type:           "time",
	},
	"lastsynctime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "lastsynctime",
		ConvertedName:  "LastSyncTime",
		Description:    `The date and time of the last policy resolution.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativecontextid": {
		AllowedChoices: []string{},
		BSONFieldName:  "nativecontextid",
		ConvertedName:  "NativeContextID",
		Description:    `The Docker UUID or service PID.`,
		Exposed:        true,
		Name:           "nativeContextID",
		Stored:         true,
		Type:           "string",
	},
	"networkservices": {
		AllowedChoices: []string{},
		BSONFieldName:  "networkservices",
		ConvertedName:  "NetworkServices",
		Description: `The list of services that this processing unit has declared that it will be
listening to,
either in its activation command or by exposing the ports in a container
manifest.`,
		Exposed:   true,
		Name:      "networkServices",
		Orderable: true,
		Stored:    true,
		SubType:   "processingunitservice",
		Type:      "refList",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"operationalstatus": {
		AllowedChoices: []string{"Initialized", "Paused", "Running", "Stopped", "Terminated"},
		BSONFieldName:  "operationalstatus",
		ConvertedName:  "OperationalStatus",
		DefaultValue:   ProcessingUnitOperationalStatusInitialized,
		Description: `Operational status of the processing unit: ` + "`" + `Initialized` + "`" + ` (default), ` + "`" + `Paused` + "`" + `,
` + "`" + `Running` + "`" + `,
` + "`" + `Stopped` + "`" + `, or ` + "`" + `Terminated` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "operationalStatus",
		Stored:     true,
		Type:       "enum",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"tracing": {
		AllowedChoices: []string{},
		ConvertedName:  "Tracing",
		Description:    `Indicates if this processing unit must be placed in tracing mode.`,
		Exposed:        true,
		Name:           "tracing",
		SubType:        "tracemode",
		Type:           "ref",
	},
	"type": {
		AllowedChoices: []string{"APIGateway", "Docker", "Host", "HostService", "LinuxService", "WindowsService", "RKT", "User", "SSHSession"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description: `Type of processing unit: ` + "`" + `APIGateway` + "`" + `, ` + "`" + `Docker` + "`" + `, ` + "`" + `Host` + "`" + `, ` + "`" + `HostService` + "`" + `,
` + "`" + `LinuxService` + "`" + `, ` + "`" + `WindowsService` + "`" + `, ` + "`" + `RKT` + "`" + `, ` + "`" + `User` + "`" + `, or ` + "`" + `SSHSession` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "type",
		Stored:     true,
		Type:       "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
	"vulnerabilities": {
		AllowedChoices: []string{},
		BSONFieldName:  "vulnerabilities",
		ConvertedName:  "Vulnerabilities",
		Deprecated:     true,
		Description:    `List of vulnerabilities affecting this processing unit.`,
		Filterable:     true,
		Name:           "vulnerabilities",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"vulnerabilitylevel": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "vulnerabilitylevel",
		ConvertedName:  "VulnerabilityLevel",
		Deprecated:     true,
		Description:    `List of vulnerabilities affecting this processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "vulnerabilityLevel",
		ReadOnly:       true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ProcessingUnitLowerCaseAttributesMap represents the map of attribute for ProcessingUnit.

View Source
var ProcessingUnitPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Action": {
		AllowedChoices: []string{"Default", "Delete", "Enforce", "LogCompliance", "Reject", "Snapshot", "Stop"},
		BSONFieldName:  "action",
		ConvertedName:  "Action",
		DefaultValue:   ProcessingUnitPolicyActionDefault,
		Description: `Action determines the action to take while enforcing the isolation profile.
NOTE: Choose ` + "`" + `Default` + "`" + ` if your processing unit is not supposed to make a
decision on isolation profiles at all.`,
		Exposed:   true,
		Name:      "action",
		Orderable: true,
		Stored:    true,
		Type:      "enum",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"DatapathType": {
		AllowedChoices: []string{"Default", "Aporeto", "EnvoyAuthorizer"},
		BSONFieldName:  "datapathtype",
		ConvertedName:  "DatapathType",
		DefaultValue:   ProcessingUnitPolicyDatapathTypeDefault,
		Description: `The datapath type that processing units selected by ` + "`" + `subject` + "`" + ` should implement:
- ` + "`" + `Default` + "`" + `: This policy is not making a decision for the datapath
- ` + "`" + `Aporeto` + "`" + `: The enforcer is managing and handling the datapath
- ` + "`" + `EnvoyAuthorizer` + "`" + `: The enforcer is serving Envoy-compatible gRPC APIs for
every processing unit that for example can be used by an Envoy proxy to use the
Microsegmentation PKI and implement Microsegmentation network policies. NOTE:
The enforcer is not going to own the datapath in this example. It is merely
providing an authorizer API.`,
		Exposed:    true,
		Filterable: true,
		Name:       "datapathType",
		Stored:     true,
		Type:       "enum",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"IsolationProfileSelector": {
		AllowedChoices: []string{},
		BSONFieldName:  "isolationprofileselector",
		ConvertedName:  "IsolationProfileSelector",
		Description: `The isolation profiles to be mapped. Only applies to ` + "`" + `Enforce` + "`" + ` and
` + "`" + `LogCompliance` + "`" + ` actions.`,
		Exposed: true,
		Name:    "isolationProfileSelector",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Contains the tag expression the tags need to match for the policy to
apply.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

ProcessingUnitPolicyAttributesMap represents the map of attribute for ProcessingUnitPolicy.

View Source
var ProcessingUnitPolicyIdentity = elemental.Identity{
	Name:     "processingunitpolicy",
	Category: "processingunitpolicies",
	Package:  "squall",
	Private:  false,
}

ProcessingUnitPolicyIdentity represents the Identity of the object.

View Source
var ProcessingUnitPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"action": {
		AllowedChoices: []string{"Default", "Delete", "Enforce", "LogCompliance", "Reject", "Snapshot", "Stop"},
		BSONFieldName:  "action",
		ConvertedName:  "Action",
		DefaultValue:   ProcessingUnitPolicyActionDefault,
		Description: `Action determines the action to take while enforcing the isolation profile.
NOTE: Choose ` + "`" + `Default` + "`" + ` if your processing unit is not supposed to make a
decision on isolation profiles at all.`,
		Exposed:   true,
		Name:      "action",
		Orderable: true,
		Stored:    true,
		Type:      "enum",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"datapathtype": {
		AllowedChoices: []string{"Default", "Aporeto", "EnvoyAuthorizer"},
		BSONFieldName:  "datapathtype",
		ConvertedName:  "DatapathType",
		DefaultValue:   ProcessingUnitPolicyDatapathTypeDefault,
		Description: `The datapath type that processing units selected by ` + "`" + `subject` + "`" + ` should implement:
- ` + "`" + `Default` + "`" + `: This policy is not making a decision for the datapath
- ` + "`" + `Aporeto` + "`" + `: The enforcer is managing and handling the datapath
- ` + "`" + `EnvoyAuthorizer` + "`" + `: The enforcer is serving Envoy-compatible gRPC APIs for
every processing unit that for example can be used by an Envoy proxy to use the
Microsegmentation PKI and implement Microsegmentation network policies. NOTE:
The enforcer is not going to own the datapath in this example. It is merely
providing an authorizer API.`,
		Exposed:    true,
		Filterable: true,
		Name:       "datapathType",
		Stored:     true,
		Type:       "enum",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"isolationprofileselector": {
		AllowedChoices: []string{},
		BSONFieldName:  "isolationprofileselector",
		ConvertedName:  "IsolationProfileSelector",
		Description: `The isolation profiles to be mapped. Only applies to ` + "`" + `Enforce` + "`" + ` and
` + "`" + `LogCompliance` + "`" + ` actions.`,
		Exposed: true,
		Name:    "isolationProfileSelector",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Contains the tag expression the tags need to match for the policy to
apply.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

ProcessingUnitPolicyLowerCaseAttributesMap represents the map of attribute for ProcessingUnitPolicy.

View Source
var ProcessingUnitRefreshAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `Contains the ID of the target processing unit.`,
		Exposed:        true,
		Getter:         true,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Setter:         true,
		Type:           "string",
	},
	"Debug": {
		AllowedChoices: []string{},
		ConvertedName:  "Debug",
		Description: `If set to true, start reporting debug information for the target processing
unit.`,
		Exposed: true,
		Name:    "debug",
		Type:    "boolean",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Contains the original namespace of the processing unit.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"PingAddress": {
		AllowedChoices: []string{},
		ConvertedName:  "PingAddress",
		Description:    `Destination address to run ping.`,
		Exposed:        true,
		Name:           "pingAddress",
		Type:           "string",
	},
	"PingEnabled": {
		AllowedChoices: []string{},
		ConvertedName:  "PingEnabled",
		Description:    `If set to true, start ping to the destination.`,
		Exposed:        true,
		Name:           "pingEnabled",
		Type:           "boolean",
	},
	"PingIterations": {
		AllowedChoices: []string{},
		ConvertedName:  "PingIterations",
		DefaultValue:   1,
		Description:    `Number of iterations to run a ping probe.`,
		Exposed:        true,
		MinValue:       1,
		Name:           "pingIterations",
		Type:           "integer",
	},
	"PingMode": {
		AllowedChoices: []string{"Auto", "L3", "L4", "L7"},
		ConvertedName:  "PingMode",
		DefaultValue:   ProcessingUnitRefreshPingModeAuto,
		Description:    `Represents the mode of ping to be used.`,
		Exposed:        true,
		Name:           "pingMode",
		Type:           "enum",
	},
	"PingPort": {
		AllowedChoices: []string{},
		ConvertedName:  "PingPort",
		Description:    `Destination port to run ping.`,
		Exposed:        true,
		Name:           "pingPort",
		Type:           "integer",
	},
	"RefreshID": {
		AllowedChoices: []string{},
		ConvertedName:  "RefreshID",
		Description:    `ID unique per ProcessingUnitRefresh event.`,
		Exposed:        true,
		Name:           "refreshID",
		ReadOnly:       true,
		Type:           "string",
	},
	"RefreshPolicy": {
		AllowedChoices: []string{},
		ConvertedName:  "RefreshPolicy",
		Description:    `If set to true, the target processing unit will refresh its policy immediately.`,
		Exposed:        true,
		Name:           "refreshPolicy",
		Type:           "boolean",
	},
	"TraceApplicationConnections": {
		AllowedChoices: []string{},
		ConvertedName:  "TraceApplicationConnections",
		Description: `Instructs the enforcer to send records for all
application-initiated connections for the target processing unit.`,
		Exposed: true,
		Name:    "traceApplicationConnections",
		Type:    "boolean",
	},
	"TraceDuration": {
		AllowedChoices: []string{},
		ConvertedName:  "TraceDuration",
		DefaultValue:   "10s",
		Description: `Determines the length of the time interval that the trace must be
enabled, using [Golang duration
syntax](https://golang.org/pkg/time/#example_Duration).`,
		Exposed: true,
		Name:    "traceDuration",
		Type:    "string",
	},
	"TraceIPTables": {
		AllowedChoices: []string{},
		ConvertedName:  "TraceIPTables",
		Description: `Instructs the enforcers to provide an iptables trace for the target processing
unit.`,
		Exposed: true,
		Name:    "traceIPTables",
		Type:    "boolean",
	},
	"TraceNetworkConnections": {
		AllowedChoices: []string{},
		ConvertedName:  "TraceNetworkConnections",
		Description: `Instructs the enforcer to send records for all
network-initiated connections for the target processing unit.`,
		Exposed: true,
		Name:    "traceNetworkConnections",
		Type:    "boolean",
	},
}

ProcessingUnitRefreshAttributesMap represents the map of attribute for ProcessingUnitRefresh.

View Source
var ProcessingUnitRefreshIdentity = elemental.Identity{
	Name:     "processingunitrefresh",
	Category: "processingunitrefreshes",
	Package:  "gaga",
	Private:  false,
}

ProcessingUnitRefreshIdentity represents the Identity of the object.

View Source
var ProcessingUnitRefreshLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `Contains the ID of the target processing unit.`,
		Exposed:        true,
		Getter:         true,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Setter:         true,
		Type:           "string",
	},
	"debug": {
		AllowedChoices: []string{},
		ConvertedName:  "Debug",
		Description: `If set to true, start reporting debug information for the target processing
unit.`,
		Exposed: true,
		Name:    "debug",
		Type:    "boolean",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Contains the original namespace of the processing unit.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"pingaddress": {
		AllowedChoices: []string{},
		ConvertedName:  "PingAddress",
		Description:    `Destination address to run ping.`,
		Exposed:        true,
		Name:           "pingAddress",
		Type:           "string",
	},
	"pingenabled": {
		AllowedChoices: []string{},
		ConvertedName:  "PingEnabled",
		Description:    `If set to true, start ping to the destination.`,
		Exposed:        true,
		Name:           "pingEnabled",
		Type:           "boolean",
	},
	"pingiterations": {
		AllowedChoices: []string{},
		ConvertedName:  "PingIterations",
		DefaultValue:   1,
		Description:    `Number of iterations to run a ping probe.`,
		Exposed:        true,
		MinValue:       1,
		Name:           "pingIterations",
		Type:           "integer",
	},
	"pingmode": {
		AllowedChoices: []string{"Auto", "L3", "L4", "L7"},
		ConvertedName:  "PingMode",
		DefaultValue:   ProcessingUnitRefreshPingModeAuto,
		Description:    `Represents the mode of ping to be used.`,
		Exposed:        true,
		Name:           "pingMode",
		Type:           "enum",
	},
	"pingport": {
		AllowedChoices: []string{},
		ConvertedName:  "PingPort",
		Description:    `Destination port to run ping.`,
		Exposed:        true,
		Name:           "pingPort",
		Type:           "integer",
	},
	"refreshid": {
		AllowedChoices: []string{},
		ConvertedName:  "RefreshID",
		Description:    `ID unique per ProcessingUnitRefresh event.`,
		Exposed:        true,
		Name:           "refreshID",
		ReadOnly:       true,
		Type:           "string",
	},
	"refreshpolicy": {
		AllowedChoices: []string{},
		ConvertedName:  "RefreshPolicy",
		Description:    `If set to true, the target processing unit will refresh its policy immediately.`,
		Exposed:        true,
		Name:           "refreshPolicy",
		Type:           "boolean",
	},
	"traceapplicationconnections": {
		AllowedChoices: []string{},
		ConvertedName:  "TraceApplicationConnections",
		Description: `Instructs the enforcer to send records for all
application-initiated connections for the target processing unit.`,
		Exposed: true,
		Name:    "traceApplicationConnections",
		Type:    "boolean",
	},
	"traceduration": {
		AllowedChoices: []string{},
		ConvertedName:  "TraceDuration",
		DefaultValue:   "10s",
		Description: `Determines the length of the time interval that the trace must be
enabled, using [Golang duration
syntax](https://golang.org/pkg/time/#example_Duration).`,
		Exposed: true,
		Name:    "traceDuration",
		Type:    "string",
	},
	"traceiptables": {
		AllowedChoices: []string{},
		ConvertedName:  "TraceIPTables",
		Description: `Instructs the enforcers to provide an iptables trace for the target processing
unit.`,
		Exposed: true,
		Name:    "traceIPTables",
		Type:    "boolean",
	},
	"tracenetworkconnections": {
		AllowedChoices: []string{},
		ConvertedName:  "TraceNetworkConnections",
		Description: `Instructs the enforcer to send records for all
network-initiated connections for the target processing unit.`,
		Exposed: true,
		Name:    "traceNetworkConnections",
		Type:    "boolean",
	},
}

ProcessingUnitRefreshLowerCaseAttributesMap represents the map of attribute for ProcessingUnitRefresh.

View Source
var QuotaCheckAttributesMap = map[string]elemental.AttributeSpecification{
	"Quota": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Quota",
		Description:    `Contains the maximum number of matching entities that can be created.`,
		Exposed:        true,
		Name:           "quota",
		ReadOnly:       true,
		Type:           "integer",
	},
	"Remaining": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Remaining",
		DefaultValue:   -1,
		Description: `If the parameter ` + "`" + `remaining=true` + "`" + ` is passed, this value will be populated with
the number of remaining objects in the quota.`,
		Exposed:  true,
		Name:     "remaining",
		ReadOnly: true,
		Type:     "integer",
	},
	"TargetIdentity": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetIdentity",
		Description:    `The identity name of the object you want to check the quota on.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Type:           "string",
	},
	"TargetNamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `The namespace from which you want to check the quota on.`,
		Exposed:        true,
		Name:           "targetNamespace",
		Type:           "string",
	},
}

QuotaCheckAttributesMap represents the map of attribute for QuotaCheck.

View Source
var QuotaCheckIdentity = elemental.Identity{
	Name:     "quotacheck",
	Category: "quotacheck",
	Package:  "squall",
	Private:  false,
}

QuotaCheckIdentity represents the Identity of the object.

View Source
var QuotaCheckLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"quota": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Quota",
		Description:    `Contains the maximum number of matching entities that can be created.`,
		Exposed:        true,
		Name:           "quota",
		ReadOnly:       true,
		Type:           "integer",
	},
	"remaining": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Remaining",
		DefaultValue:   -1,
		Description: `If the parameter ` + "`" + `remaining=true` + "`" + ` is passed, this value will be populated with
the number of remaining objects in the quota.`,
		Exposed:  true,
		Name:     "remaining",
		ReadOnly: true,
		Type:     "integer",
	},
	"targetidentity": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetIdentity",
		Description:    `The identity name of the object you want to check the quota on.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Type:           "string",
	},
	"targetnamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `The namespace from which you want to check the quota on.`,
		Exposed:        true,
		Name:           "targetNamespace",
		Type:           "string",
	},
}

QuotaCheckLowerCaseAttributesMap represents the map of attribute for QuotaCheck.

View Source
var QuotaPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the quota will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Identities": {
		AllowedChoices: []string{},
		BSONFieldName:  "identities",
		ConvertedName:  "Identities",
		Description:    `Contains the list of identity names where the quota will be applied.`,
		Exposed:        true,
		Name:           "identities",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"PropagationHidden": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagationhidden",
		ConvertedName:  "PropagationHidden",
		Description: `If set to ` + "`" + `true` + "`" + ` while the policy is propagating, it won't be visible to
children
namespace, but still used for policy resolution.`,
		Exposed:   true,
		Getter:    true,
		Name:      "propagationHidden",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Quota": {
		AllowedChoices: []string{},
		ConvertedName:  "Quota",
		Description: `Specifies the maximum number of objects matching the policy subject that can be
created.`,
		Exposed: true,
		Name:    "quota",
		Type:    "integer",
	},
	"TargetNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetnamespace",
		ConvertedName:  "TargetNamespace",
		Description:    `Contains the base namespace from where the count will be done.`,
		Exposed:        true,
		Name:           "targetNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

QuotaPolicyAttributesMap represents the map of attribute for QuotaPolicy.

View Source
var QuotaPolicyIdentity = elemental.Identity{
	Name:     "quotapolicy",
	Category: "quotapolicies",
	Package:  "squall",
	Private:  false,
}

QuotaPolicyIdentity represents the Identity of the object.

View Source
var QuotaPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the quota will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"identities": {
		AllowedChoices: []string{},
		BSONFieldName:  "identities",
		ConvertedName:  "Identities",
		Description:    `Contains the list of identity names where the quota will be applied.`,
		Exposed:        true,
		Name:           "identities",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"propagationhidden": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagationhidden",
		ConvertedName:  "PropagationHidden",
		Description: `If set to ` + "`" + `true` + "`" + ` while the policy is propagating, it won't be visible to
children
namespace, but still used for policy resolution.`,
		Exposed:   true,
		Getter:    true,
		Name:      "propagationHidden",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"quota": {
		AllowedChoices: []string{},
		ConvertedName:  "Quota",
		Description: `Specifies the maximum number of objects matching the policy subject that can be
created.`,
		Exposed: true,
		Name:    "quota",
		Type:    "integer",
	},
	"targetnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetnamespace",
		ConvertedName:  "TargetNamespace",
		Description:    `Contains the base namespace from where the count will be done.`,
		Exposed:        true,
		Name:           "targetNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

QuotaPolicyLowerCaseAttributesMap represents the map of attribute for QuotaPolicy.

View Source
var RecipeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"DeploymentMode": {
		AllowedChoices: []string{"Unrestricted", "Unique", "NamespaceUnique"},
		BSONFieldName:  "deploymentmode",
		ConvertedName:  "DeploymentMode",
		DefaultValue:   RecipeDeploymentModeUnrestricted,
		Description: `Defines the deployment mode of the recipe. If ` + "`" + `Unrestricted` + "`" + `, the recipe can be
deployed multiple times in the current namespace and below. If ` + "`" + `Unique` + "`" + `,only one
deployment is allowed in the current namespace and its child namespaces. If
` + "`" + `NamespaceUnique` + "`" + `, only one deployment is allowed in the current namespace.`,
		Exposed: true,
		Name:    "deploymentMode",
		Stored:  true,
		Type:    "enum",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Icon": {
		AllowedChoices: []string{},
		BSONFieldName:  "icon",
		ConvertedName:  "Icon",
		Description:    `Contains a base64-encoded image for the recipe.`,
		Exposed:        true,
		Name:           "icon",
		Stored:         true,
		Type:           "string",
	},
	"Key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `The unique key of the recipe.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Label": {
		AllowedChoices: []string{},
		BSONFieldName:  "label",
		ConvertedName:  "Label",
		CreationOnly:   true,
		DefaultValue:   "magicpanda",
		Description:    `Defines the recipe.`,
		Exposed:        true,
		Name:           "label",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"LongDescription": {
		AllowedChoices: []string{},
		BSONFieldName:  "longdescription",
		ConvertedName:  "LongDescription",
		Description:    `Provides a long description of the recipe.`,
		Exposed:        true,
		Name:           "longDescription",
		Stored:         true,
		Type:           "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Options": {
		AllowedChoices: []string{},
		BSONFieldName:  "options",
		ConvertedName:  "Options",
		Description:    `Options of the recipe.`,
		Exposed:        true,
		Name:           "options",
		Stored:         true,
		SubType:        "recipeoptions",
		Type:           "ref",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Steps": {
		AllowedChoices: []string{},
		BSONFieldName:  "steps",
		ConvertedName:  "Steps",
		Description:    `Contains all the steps with parameters to follow for the recipe.`,
		Exposed:        true,
		Name:           "steps",
		Stored:         true,
		SubType:        "uistep",
		Type:           "refList",
	},
	"SuccessfullMessage": {
		AllowedChoices: []string{},
		BSONFieldName:  "successfullmessage",
		ConvertedName:  "SuccessfullMessage",
		Description:    `A string message presented upon success (optional).`,
		Exposed:        true,
		Name:           "successfullMessage",
		Stored:         true,
		Type:           "string",
	},
	"TargetIdentities": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetidentities",
		ConvertedName:  "TargetIdentities",
		Description:    `Contains the list of identities the recipes will try to create.`,
		Exposed:        true,
		Name:           "targetIdentities",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Template": {
		AllowedChoices: []string{},
		BSONFieldName:  "template",
		ConvertedName:  "Template",
		Description:    `Template of the recipe to import.`,
		Exposed:        true,
		Name:           "template",
		Stored:         true,
		Type:           "string",
	},
	"TemplateHash": {
		AllowedChoices: []string{},
		BSONFieldName:  "templatehash",
		ConvertedName:  "TemplateHash",
		Description:    `A hash of the template.`,
		Exposed:        true,
		Name:           "templateHash",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

RecipeAttributesMap represents the map of attribute for Recipe.

View Source
var RecipeIdentity = elemental.Identity{
	Name:     "recipe",
	Category: "recipes",
	Package:  "ignis",
	Private:  false,
}

RecipeIdentity represents the Identity of the object.

View Source
var RecipeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"deploymentmode": {
		AllowedChoices: []string{"Unrestricted", "Unique", "NamespaceUnique"},
		BSONFieldName:  "deploymentmode",
		ConvertedName:  "DeploymentMode",
		DefaultValue:   RecipeDeploymentModeUnrestricted,
		Description: `Defines the deployment mode of the recipe. If ` + "`" + `Unrestricted` + "`" + `, the recipe can be
deployed multiple times in the current namespace and below. If ` + "`" + `Unique` + "`" + `,only one
deployment is allowed in the current namespace and its child namespaces. If
` + "`" + `NamespaceUnique` + "`" + `, only one deployment is allowed in the current namespace.`,
		Exposed: true,
		Name:    "deploymentMode",
		Stored:  true,
		Type:    "enum",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"icon": {
		AllowedChoices: []string{},
		BSONFieldName:  "icon",
		ConvertedName:  "Icon",
		Description:    `Contains a base64-encoded image for the recipe.`,
		Exposed:        true,
		Name:           "icon",
		Stored:         true,
		Type:           "string",
	},
	"key": {
		AllowedChoices: []string{},
		BSONFieldName:  "key",
		ConvertedName:  "Key",
		Description:    `The unique key of the recipe.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"label": {
		AllowedChoices: []string{},
		BSONFieldName:  "label",
		ConvertedName:  "Label",
		CreationOnly:   true,
		DefaultValue:   "magicpanda",
		Description:    `Defines the recipe.`,
		Exposed:        true,
		Name:           "label",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"longdescription": {
		AllowedChoices: []string{},
		BSONFieldName:  "longdescription",
		ConvertedName:  "LongDescription",
		Description:    `Provides a long description of the recipe.`,
		Exposed:        true,
		Name:           "longDescription",
		Stored:         true,
		Type:           "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"options": {
		AllowedChoices: []string{},
		BSONFieldName:  "options",
		ConvertedName:  "Options",
		Description:    `Options of the recipe.`,
		Exposed:        true,
		Name:           "options",
		Stored:         true,
		SubType:        "recipeoptions",
		Type:           "ref",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"steps": {
		AllowedChoices: []string{},
		BSONFieldName:  "steps",
		ConvertedName:  "Steps",
		Description:    `Contains all the steps with parameters to follow for the recipe.`,
		Exposed:        true,
		Name:           "steps",
		Stored:         true,
		SubType:        "uistep",
		Type:           "refList",
	},
	"successfullmessage": {
		AllowedChoices: []string{},
		BSONFieldName:  "successfullmessage",
		ConvertedName:  "SuccessfullMessage",
		Description:    `A string message presented upon success (optional).`,
		Exposed:        true,
		Name:           "successfullMessage",
		Stored:         true,
		Type:           "string",
	},
	"targetidentities": {
		AllowedChoices: []string{},
		BSONFieldName:  "targetidentities",
		ConvertedName:  "TargetIdentities",
		Description:    `Contains the list of identities the recipes will try to create.`,
		Exposed:        true,
		Name:           "targetIdentities",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"template": {
		AllowedChoices: []string{},
		BSONFieldName:  "template",
		ConvertedName:  "Template",
		Description:    `Template of the recipe to import.`,
		Exposed:        true,
		Name:           "template",
		Stored:         true,
		Type:           "string",
	},
	"templatehash": {
		AllowedChoices: []string{},
		BSONFieldName:  "templatehash",
		ConvertedName:  "TemplateHash",
		Description:    `A hash of the template.`,
		Exposed:        true,
		Name:           "templateHash",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

RecipeLowerCaseAttributesMap represents the map of attribute for Recipe.

View Source
var RemoteProcessorAttributesMap = map[string]elemental.AttributeSpecification{
	"Claims": {
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `Represents the claims of the currently managed object.`,
		Exposed:        true,
		Name:           "claims",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"Input": {
		AllowedChoices: []string{},
		ConvertedName:  "Input",
		Description:    `Represents data received from the service.`,
		Exposed:        true,
		Name:           "input",
		Required:       true,
		SubType:        "json.RawMessage",
		Type:           "external",
	},
	"Mode": {
		AllowedChoices: []string{"Post", "Pre"},
		ConvertedName:  "Mode",
		Description:    `Defines the hook's type.`,
		Exposed:        true,
		Name:           "mode",
		Type:           "enum",
	},
	"Namespace": {
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Represents the current namespace.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"Operation": {
		AllowedChoices: []string{},
		ConvertedName:  "Operation",
		Description:    `Defines the operation that is currently handled by the service.`,
		Exposed:        true,
		Name:           "operation",
		Required:       true,
		SubType:        "elemental.Operation",
		Type:           "external",
	},
	"Output": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Output",
		Description:    `Returns ` + "`" + `OutputData` + "`" + ` filled with the processor information.`,
		Exposed:        true,
		Name:           "output",
		ReadOnly:       true,
		SubType:        "_elemental_identifiable",
		Type:           "external",
	},
	"RequestID": {
		AllowedChoices: []string{},
		BSONFieldName:  "requestid",
		ConvertedName:  "RequestID",
		Description:    `Gives the ID of the request coming from the main server.`,
		Exposed:        true,
		Name:           "requestID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"TargetIdentity": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetIdentity",
		Description:    `Represents the identity name of the managed object.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Type:           "string",
	},
}

RemoteProcessorAttributesMap represents the map of attribute for RemoteProcessor.

View Source
var RemoteProcessorIdentity = elemental.Identity{
	Name:     "remoteprocessor",
	Category: "remoteprocessors",
	Package:  "rufus",
	Private:  false,
}

RemoteProcessorIdentity represents the Identity of the object.

View Source
var RemoteProcessorLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"claims": {
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `Represents the claims of the currently managed object.`,
		Exposed:        true,
		Name:           "claims",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"input": {
		AllowedChoices: []string{},
		ConvertedName:  "Input",
		Description:    `Represents data received from the service.`,
		Exposed:        true,
		Name:           "input",
		Required:       true,
		SubType:        "json.RawMessage",
		Type:           "external",
	},
	"mode": {
		AllowedChoices: []string{"Post", "Pre"},
		ConvertedName:  "Mode",
		Description:    `Defines the hook's type.`,
		Exposed:        true,
		Name:           "mode",
		Type:           "enum",
	},
	"namespace": {
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Represents the current namespace.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"operation": {
		AllowedChoices: []string{},
		ConvertedName:  "Operation",
		Description:    `Defines the operation that is currently handled by the service.`,
		Exposed:        true,
		Name:           "operation",
		Required:       true,
		SubType:        "elemental.Operation",
		Type:           "external",
	},
	"output": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Output",
		Description:    `Returns ` + "`" + `OutputData` + "`" + ` filled with the processor information.`,
		Exposed:        true,
		Name:           "output",
		ReadOnly:       true,
		SubType:        "_elemental_identifiable",
		Type:           "external",
	},
	"requestid": {
		AllowedChoices: []string{},
		BSONFieldName:  "requestid",
		ConvertedName:  "RequestID",
		Description:    `Gives the ID of the request coming from the main server.`,
		Exposed:        true,
		Name:           "requestID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"targetidentity": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetIdentity",
		Description:    `Represents the identity name of the managed object.`,
		Exposed:        true,
		Name:           "targetIdentity",
		Required:       true,
		Type:           "string",
	},
}

RemoteProcessorLowerCaseAttributesMap represents the map of attribute for RemoteProcessor.

View Source
var RenderTemplateAttributesMap = map[string]elemental.AttributeSpecification{
	"Output": {
		AllowedChoices: []string{},
		ConvertedName:  "Output",
		Description:    `Holds the rendered template.`,
		Exposed:        true,
		Name:           "output",
		Type:           "string",
	},
	"Parameters": {
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Template": {
		AllowedChoices: []string{},
		ConvertedName:  "Template",
		Description:    `Template of the recipe.`,
		Exposed:        true,
		Name:           "template",
		Type:           "string",
	},
}

RenderTemplateAttributesMap represents the map of attribute for RenderTemplate.

View Source
var RenderTemplateIdentity = elemental.Identity{
	Name:     "rendertemplate",
	Category: "rendertemplates",
	Package:  "ignis",
	Private:  false,
}

RenderTemplateIdentity represents the Identity of the object.

View Source
var RenderTemplateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"output": {
		AllowedChoices: []string{},
		ConvertedName:  "Output",
		Description:    `Holds the rendered template.`,
		Exposed:        true,
		Name:           "output",
		Type:           "string",
	},
	"parameters": {
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"template": {
		AllowedChoices: []string{},
		ConvertedName:  "Template",
		Description:    `Template of the recipe.`,
		Exposed:        true,
		Name:           "template",
		Type:           "string",
	},
}

RenderTemplateLowerCaseAttributesMap represents the map of attribute for RenderTemplate.

View Source
var RenderedPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"Certificate": {
		AllowedChoices: []string{},
		ConvertedName:  "Certificate",
		Deprecated:     true,
		Description: `The certificate associated with this processing unit. It will identify the
processing unit to any internal or external services.`,
		Exposed:  true,
		Name:     "certificate",
		ReadOnly: true,
		Type:     "string",
	},
	"DatapathType": {
		AllowedChoices: []string{"Default", "Aporeto", "EnvoyAuthorizer"},
		Autogenerated:  true,
		ConvertedName:  "DatapathType",
		Deprecated:     true,
		Description: `The datapath type that this processing unit must implement according to
the rendered policy:
- ` + "`" + `Default` + "`" + `: This policy is not making a decision for the datapath.
- ` + "`" + `Aporeto` + "`" + `: The enforcer is managing and handling the datapath.
- ` + "`" + `EnvoyAuthorizer` + "`" + `: The enforcer is serving Envoy-compatible gRPC APIs
that for example can be used by an Envoy proxy to use the Microsegmentation PKI
and implement Microsegmentation network policies. NOTE: The enforcer is not
owning the datapath in this case. It is merely providing an authorizer API.`,
		Exposed:  true,
		Name:     "datapathType",
		ReadOnly: true,
		Type:     "enum",
	},
	"DefaultPUIncomingTrafficAction": {
		AllowedChoices: []string{"Allow", "Reject"},
		ConvertedName:  "DefaultPUIncomingTrafficAction",
		DefaultValue:   RenderedPolicyDefaultPUIncomingTrafficActionReject,
		Description:    `Describes the default for incoming traffic.`,
		Exposed:        true,
		Name:           "defaultPUIncomingTrafficAction",
		Type:           "enum",
	},
	"DefaultPUOutgoingTrafficAction": {
		AllowedChoices: []string{"Allow", "Reject"},
		ConvertedName:  "DefaultPUOutgoingTrafficAction",
		DefaultValue:   RenderedPolicyDefaultPUOutgoingTrafficActionReject,
		Description:    `Describes the default for outgoing traffic.`,
		Exposed:        true,
		Name:           "defaultPUOutgoingTrafficAction",
		Type:           "enum",
	},
	"DependendServices": {
		AllowedChoices: []string{},
		ConvertedName:  "DependendServices",
		Description:    `The list of services that this processing unit depends on.`,
		Exposed:        true,
		Name:           "dependendServices",
		SubType:        "service",
		Type:           "refList",
	},
	"EgressPolicies": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "EgressPolicies",
		Deprecated:     true,
		Description:    `Lists all the egress policies attached to processing unit.`,
		Exposed:        true,
		Name:           "egressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"ExposedServices": {
		AllowedChoices: []string{},
		ConvertedName:  "ExposedServices",
		Description:    `The list of services that this processing unit is implementing.`,
		Exposed:        true,
		Name:           "exposedServices",
		SubType:        "service",
		Type:           "refList",
	},
	"HashedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "HashedTags",
		Description:    `Contains the list of all tags and their hashed that have been used.`,
		Exposed:        true,
		Name:           "hashedTags",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"IngressPolicies": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IngressPolicies",
		Deprecated:     true,
		Description:    `Lists all the ingress policies attached to the processing unit.`,
		Exposed:        true,
		Name:           "ingressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"MatchingTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "MatchingTags",
		Deprecated:     true,
		Description:    `Contains the list of tags that matched the policies.`,
		Exposed:        true,
		Name:           "matchingTags",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"ProcessingUnit": {
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnit",
		CreationOnly:   true,
		Deprecated:     true,
		Description: `Can be set during a ` + "`" + `POST` + "`" + ` operation to render a policy on a processing unit
that has not been created yet.`,
		Exposed: true,
		Name:    "processingUnit",
		SubType: "processingunit",
		Type:    "ref",
	},
	"ProcessingUnitID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ProcessingUnitID",
		Deprecated:     true,
		Description:    `Identifier of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		ReadOnly:       true,
		Type:           "string",
	},
	"ProcessingUnitTags": {
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitTags",
		CreationOnly:   true,
		Description: `Can be set during a ` + "`" + `POST` + "`" + ` operation to render a policy on a processing unit
tags.`,
		Exposed: true,
		Name:    "processingUnitTags",
		SubType: "string",
		Type:    "list",
	},
	"RendererVersion": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RendererVersion",
		Description:    `Indicates the version of the engine used to render the policies.`,
		Exposed:        true,
		Name:           "rendererVersion",
		ReadOnly:       true,
		Type:           "integer",
	},
	"RuleSetPolicies": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RuleSetPolicies",
		Description:    `Lists all the rule set policies attached to processing unit.`,
		Exposed:        true,
		Name:           "ruleSetPolicies",
		ReadOnly:       true,
		SubType:        "policyrule",
		Type:           "refList",
	},
	"Scopes": {
		AllowedChoices: []string{},
		BSONFieldName:  "scopes",
		ConvertedName:  "Scopes",
		Description: `The set of scopes granted to this processing unit that has to be
present in HTTP requests.`,
		Exposed: true,
		Name:    "scopes",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"WireTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "WireTags",
		Description:    `Contains the list of tags that must go on the wire.`,
		Exposed:        true,
		Name:           "wireTags",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

RenderedPolicyAttributesMap represents the map of attribute for RenderedPolicy.

View Source
var RenderedPolicyIdentity = elemental.Identity{
	Name:     "renderedpolicy",
	Category: "renderedpolicies",
	Package:  "squall",
	Private:  false,
}

RenderedPolicyIdentity represents the Identity of the object.

View Source
var RenderedPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"certificate": {
		AllowedChoices: []string{},
		ConvertedName:  "Certificate",
		Deprecated:     true,
		Description: `The certificate associated with this processing unit. It will identify the
processing unit to any internal or external services.`,
		Exposed:  true,
		Name:     "certificate",
		ReadOnly: true,
		Type:     "string",
	},
	"datapathtype": {
		AllowedChoices: []string{"Default", "Aporeto", "EnvoyAuthorizer"},
		Autogenerated:  true,
		ConvertedName:  "DatapathType",
		Deprecated:     true,
		Description: `The datapath type that this processing unit must implement according to
the rendered policy:
- ` + "`" + `Default` + "`" + `: This policy is not making a decision for the datapath.
- ` + "`" + `Aporeto` + "`" + `: The enforcer is managing and handling the datapath.
- ` + "`" + `EnvoyAuthorizer` + "`" + `: The enforcer is serving Envoy-compatible gRPC APIs
that for example can be used by an Envoy proxy to use the Microsegmentation PKI
and implement Microsegmentation network policies. NOTE: The enforcer is not
owning the datapath in this case. It is merely providing an authorizer API.`,
		Exposed:  true,
		Name:     "datapathType",
		ReadOnly: true,
		Type:     "enum",
	},
	"defaultpuincomingtrafficaction": {
		AllowedChoices: []string{"Allow", "Reject"},
		ConvertedName:  "DefaultPUIncomingTrafficAction",
		DefaultValue:   RenderedPolicyDefaultPUIncomingTrafficActionReject,
		Description:    `Describes the default for incoming traffic.`,
		Exposed:        true,
		Name:           "defaultPUIncomingTrafficAction",
		Type:           "enum",
	},
	"defaultpuoutgoingtrafficaction": {
		AllowedChoices: []string{"Allow", "Reject"},
		ConvertedName:  "DefaultPUOutgoingTrafficAction",
		DefaultValue:   RenderedPolicyDefaultPUOutgoingTrafficActionReject,
		Description:    `Describes the default for outgoing traffic.`,
		Exposed:        true,
		Name:           "defaultPUOutgoingTrafficAction",
		Type:           "enum",
	},
	"dependendservices": {
		AllowedChoices: []string{},
		ConvertedName:  "DependendServices",
		Description:    `The list of services that this processing unit depends on.`,
		Exposed:        true,
		Name:           "dependendServices",
		SubType:        "service",
		Type:           "refList",
	},
	"egresspolicies": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "EgressPolicies",
		Deprecated:     true,
		Description:    `Lists all the egress policies attached to processing unit.`,
		Exposed:        true,
		Name:           "egressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"exposedservices": {
		AllowedChoices: []string{},
		ConvertedName:  "ExposedServices",
		Description:    `The list of services that this processing unit is implementing.`,
		Exposed:        true,
		Name:           "exposedServices",
		SubType:        "service",
		Type:           "refList",
	},
	"hashedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "HashedTags",
		Description:    `Contains the list of all tags and their hashed that have been used.`,
		Exposed:        true,
		Name:           "hashedTags",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"ingresspolicies": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IngressPolicies",
		Deprecated:     true,
		Description:    `Lists all the ingress policies attached to the processing unit.`,
		Exposed:        true,
		Name:           "ingressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"matchingtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "MatchingTags",
		Deprecated:     true,
		Description:    `Contains the list of tags that matched the policies.`,
		Exposed:        true,
		Name:           "matchingTags",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"processingunit": {
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnit",
		CreationOnly:   true,
		Deprecated:     true,
		Description: `Can be set during a ` + "`" + `POST` + "`" + ` operation to render a policy on a processing unit
that has not been created yet.`,
		Exposed: true,
		Name:    "processingUnit",
		SubType: "processingunit",
		Type:    "ref",
	},
	"processingunitid": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ProcessingUnitID",
		Deprecated:     true,
		Description:    `Identifier of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		ReadOnly:       true,
		Type:           "string",
	},
	"processingunittags": {
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitTags",
		CreationOnly:   true,
		Description: `Can be set during a ` + "`" + `POST` + "`" + ` operation to render a policy on a processing unit
tags.`,
		Exposed: true,
		Name:    "processingUnitTags",
		SubType: "string",
		Type:    "list",
	},
	"rendererversion": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RendererVersion",
		Description:    `Indicates the version of the engine used to render the policies.`,
		Exposed:        true,
		Name:           "rendererVersion",
		ReadOnly:       true,
		Type:           "integer",
	},
	"rulesetpolicies": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RuleSetPolicies",
		Description:    `Lists all the rule set policies attached to processing unit.`,
		Exposed:        true,
		Name:           "ruleSetPolicies",
		ReadOnly:       true,
		SubType:        "policyrule",
		Type:           "refList",
	},
	"scopes": {
		AllowedChoices: []string{},
		BSONFieldName:  "scopes",
		ConvertedName:  "Scopes",
		Description: `The set of scopes granted to this processing unit that has to be
present in HTTP requests.`,
		Exposed: true,
		Name:    "scopes",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"wiretags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "WireTags",
		Description:    `Contains the list of tags that must go on the wire.`,
		Exposed:        true,
		Name:           "wireTags",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

RenderedPolicyLowerCaseAttributesMap represents the map of attribute for RenderedPolicy.

View Source
var ReportAttributesMap = map[string]elemental.AttributeSpecification{
	"Fields": {
		AllowedChoices: []string{},
		ConvertedName:  "Fields",
		Description:    `TSDB Fields to set for the report.`,
		Exposed:        true,
		Name:           "fields",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Kind": {
		AllowedChoices: []string{"Audit", "Enforcer", "FileAccess", "Flow", "ProcessingUnit", "Syscall", "Claims"},
		ConvertedName:  "Kind",
		Description:    `Kind contains the kind of report.`,
		Exposed:        true,
		Name:           "kind",
		Type:           "enum",
	},
	"Tags": {
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `Tags contains the tags associated to the data point.`,
		Exposed:        true,
		Name:           "tags",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Timestamp contains the time for the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"Value": {
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `Value contains the value for the report.`,
		Exposed:        true,
		Name:           "value",
		Type:           "float",
	},
}

ReportAttributesMap represents the map of attribute for Report.

View Source
var ReportIdentity = elemental.Identity{
	Name:     "report",
	Category: "reports",
	Package:  "zack",
	Private:  false,
}

ReportIdentity represents the Identity of the object.

View Source
var ReportLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"fields": {
		AllowedChoices: []string{},
		ConvertedName:  "Fields",
		Description:    `TSDB Fields to set for the report.`,
		Exposed:        true,
		Name:           "fields",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"kind": {
		AllowedChoices: []string{"Audit", "Enforcer", "FileAccess", "Flow", "ProcessingUnit", "Syscall", "Claims"},
		ConvertedName:  "Kind",
		Description:    `Kind contains the kind of report.`,
		Exposed:        true,
		Name:           "kind",
		Type:           "enum",
	},
	"tags": {
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `Tags contains the tags associated to the data point.`,
		Exposed:        true,
		Name:           "tags",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"timestamp": {
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Timestamp contains the time for the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"value": {
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `Value contains the value for the report.`,
		Exposed:        true,
		Name:           "value",
		Type:           "float",
	},
}

ReportLowerCaseAttributesMap represents the map of attribute for Report.

View Source
var ReportsQueryAttributesMap = map[string]elemental.AttributeSpecification{
	"DNSLookupReports": {
		AllowedChoices: []string{},
		ConvertedName:  "DNSLookupReports",
		Description:    `List of DNSLookupReports.`,
		Exposed:        true,
		Name:           "DNSLookupReports",
		SubType:        "dnslookupreport",
		Type:           "refList",
	},
	"ConnectionExceptionReports": {
		AllowedChoices: []string{},
		ConvertedName:  "ConnectionExceptionReports",
		Description:    `List of ConnectionExceptionReports.`,
		Exposed:        true,
		Name:           "connectionExceptionReports",
		SubType:        "connectionexceptionreport",
		Type:           "refList",
	},
	"CounterReports": {
		AllowedChoices: []string{},
		ConvertedName:  "CounterReports",
		Description:    `List of CounterReports.`,
		Exposed:        true,
		Name:           "counterReports",
		SubType:        "counterreport",
		Type:           "refList",
	},
	"EnforcerReports": {
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerReports",
		Description:    `List of EnforcerReports.`,
		Exposed:        true,
		Name:           "enforcerReports",
		SubType:        "enforcerreport",
		Type:           "refList",
	},
	"EventLogs": {
		AllowedChoices: []string{},
		ConvertedName:  "EventLogs",
		Description:    `List of EventLogs.`,
		Exposed:        true,
		Name:           "eventLogs",
		SubType:        "eventlog",
		Type:           "refList",
	},
	"FlowReports": {
		AllowedChoices: []string{},
		ConvertedName:  "FlowReports",
		Description:    `List of FlowReports.`,
		Exposed:        true,
		Name:           "flowReports",
		SubType:        "flowreport",
		Type:           "refList",
	},
	"PacketReports": {
		AllowedChoices: []string{},
		ConvertedName:  "PacketReports",
		Description:    `List of PacketReports.`,
		Exposed:        true,
		Name:           "packetReports",
		SubType:        "packetreport",
		Type:           "refList",
	},
	"Report": {
		AllowedChoices: []string{"Flows", "Enforcers", "EventLogs", "Packets", "Counters", "DNSLookups", "ConnectionExceptions"},
		ConvertedName:  "Report",
		DefaultValue:   ReportsQueryReportFlows,
		Description:    `Name of the report type to query.`,
		Exposed:        true,
		Name:           "report",
		Type:           "enum",
	},
}

ReportsQueryAttributesMap represents the map of attribute for ReportsQuery.

View Source
var ReportsQueryIdentity = elemental.Identity{
	Name:     "reportsquery",
	Category: "reportsqueries",
	Package:  "jenova",
	Private:  false,
}

ReportsQueryIdentity represents the Identity of the object.

View Source
var ReportsQueryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"dnslookupreports": {
		AllowedChoices: []string{},
		ConvertedName:  "DNSLookupReports",
		Description:    `List of DNSLookupReports.`,
		Exposed:        true,
		Name:           "DNSLookupReports",
		SubType:        "dnslookupreport",
		Type:           "refList",
	},
	"connectionexceptionreports": {
		AllowedChoices: []string{},
		ConvertedName:  "ConnectionExceptionReports",
		Description:    `List of ConnectionExceptionReports.`,
		Exposed:        true,
		Name:           "connectionExceptionReports",
		SubType:        "connectionexceptionreport",
		Type:           "refList",
	},
	"counterreports": {
		AllowedChoices: []string{},
		ConvertedName:  "CounterReports",
		Description:    `List of CounterReports.`,
		Exposed:        true,
		Name:           "counterReports",
		SubType:        "counterreport",
		Type:           "refList",
	},
	"enforcerreports": {
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerReports",
		Description:    `List of EnforcerReports.`,
		Exposed:        true,
		Name:           "enforcerReports",
		SubType:        "enforcerreport",
		Type:           "refList",
	},
	"eventlogs": {
		AllowedChoices: []string{},
		ConvertedName:  "EventLogs",
		Description:    `List of EventLogs.`,
		Exposed:        true,
		Name:           "eventLogs",
		SubType:        "eventlog",
		Type:           "refList",
	},
	"flowreports": {
		AllowedChoices: []string{},
		ConvertedName:  "FlowReports",
		Description:    `List of FlowReports.`,
		Exposed:        true,
		Name:           "flowReports",
		SubType:        "flowreport",
		Type:           "refList",
	},
	"packetreports": {
		AllowedChoices: []string{},
		ConvertedName:  "PacketReports",
		Description:    `List of PacketReports.`,
		Exposed:        true,
		Name:           "packetReports",
		SubType:        "packetreport",
		Type:           "refList",
	},
	"report": {
		AllowedChoices: []string{"Flows", "Enforcers", "EventLogs", "Packets", "Counters", "DNSLookups", "ConnectionExceptions"},
		ConvertedName:  "Report",
		DefaultValue:   ReportsQueryReportFlows,
		Description:    `Name of the report type to query.`,
		Exposed:        true,
		Name:           "report",
		Type:           "enum",
	},
}

ReportsQueryLowerCaseAttributesMap represents the map of attribute for ReportsQuery.

View Source
var RevocationAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID contains the ID of the revocation.`,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationDate": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationdate",
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description: `Contains the certificate expiration date. This will be used to clean up revoked
certificates that have expired.`,
		Exposed: true,
		Name:    "expirationDate",
		Stored:  true,
		Type:    "time",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"RevokeDate": {
		AllowedChoices: []string{},
		BSONFieldName:  "revokedate",
		ConvertedName:  "RevokeDate",
		Description:    `Set time from when the certificate will be revoked.`,
		Exposed:        true,
		Name:           "revokeDate",
		Stored:         true,
		Type:           "time",
	},
	"SerialNumber": {
		AllowedChoices: []string{},
		BSONFieldName:  "serialnumber",
		ConvertedName:  "SerialNumber",
		CreationOnly:   true,
		Description:    `SerialNumber of the revoked certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		Stored:         true,
		Type:           "string",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		CreationOnly:   true,
		Description:    `Subject of the certificate related to the revocation.`,
		Exposed:        true,
		Name:           "subject",
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

RevocationAttributesMap represents the map of attribute for Revocation.

View Source
var RevocationIdentity = elemental.Identity{
	Name:     "revocation",
	Category: "revocations",
	Package:  "barret",
	Private:  true,
}

RevocationIdentity represents the Identity of the object.

View Source
var RevocationLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `ID contains the ID of the revocation.`,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationdate": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationdate",
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description: `Contains the certificate expiration date. This will be used to clean up revoked
certificates that have expired.`,
		Exposed: true,
		Name:    "expirationDate",
		Stored:  true,
		Type:    "time",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"revokedate": {
		AllowedChoices: []string{},
		BSONFieldName:  "revokedate",
		ConvertedName:  "RevokeDate",
		Description:    `Set time from when the certificate will be revoked.`,
		Exposed:        true,
		Name:           "revokeDate",
		Stored:         true,
		Type:           "time",
	},
	"serialnumber": {
		AllowedChoices: []string{},
		BSONFieldName:  "serialnumber",
		ConvertedName:  "SerialNumber",
		CreationOnly:   true,
		Description:    `SerialNumber of the revoked certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		Stored:         true,
		Type:           "string",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		CreationOnly:   true,
		Description:    `Subject of the certificate related to the revocation.`,
		Exposed:        true,
		Name:           "subject",
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

RevocationLowerCaseAttributesMap represents the map of attribute for Revocation.

View Source
var RoleAttributesMap = map[string]elemental.AttributeSpecification{
	"Authorizations": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Authorizations",
		Description:    `Authorizations of the role.`,
		Exposed:        true,
		Name:           "authorizations",
		ReadOnly:       true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"Description": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Description",
		Description:    `Description of the role.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Type:           "string",
	},
	"Key": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Key of the role.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `Name of the role.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
	"Private": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Private",
		Description:    `Set to ` + "`" + `true` + "`" + ` to make the role private and hidden from the UI.`,
		Exposed:        true,
		Name:           "private",
		ReadOnly:       true,
		Type:           "boolean",
	},
}

RoleAttributesMap represents the map of attribute for Role.

View Source
var RoleIdentity = elemental.Identity{
	Name:     "role",
	Category: "roles",
	Package:  "cid",
	Private:  false,
}

RoleIdentity represents the Identity of the object.

View Source
var RoleLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"authorizations": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Authorizations",
		Description:    `Authorizations of the role.`,
		Exposed:        true,
		Name:           "authorizations",
		ReadOnly:       true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"description": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Description",
		Description:    `Description of the role.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Type:           "string",
	},
	"key": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Key of the role.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `Name of the role.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
	"private": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Private",
		Description:    `Set to ` + "`" + `true` + "`" + ` to make the role private and hidden from the UI.`,
		Exposed:        true,
		Name:           "private",
		ReadOnly:       true,
		Type:           "boolean",
	},
}

RoleLowerCaseAttributesMap represents the map of attribute for Role.

View Source
var RootAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
}

RootAttributesMap represents the map of attribute for Root.

View Source
var RootIdentity = elemental.Identity{
	Name:     "root",
	Category: "root",
	Package:  "root",
	Private:  false,
}

RootIdentity represents the Identity of the object.

View Source
var RootLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
}

RootLowerCaseAttributesMap represents the map of attribute for Root.

View Source
var SAMLProviderAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"IDPCertificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "idpcertificate",
		ConvertedName:  "IDPCertificate",
		Description:    `Identity provider certificate in PEM format.`,
		Exposed:        true,
		Name:           "IDPCertificate",
		Stored:         true,
		Type:           "string",
	},
	"IDPIssuer": {
		AllowedChoices: []string{},
		BSONFieldName:  "idpissuer",
		ConvertedName:  "IDPIssuer",
		Description:    `Identity Provider Issuer (also called Entity ID).`,
		Exposed:        true,
		Name:           "IDPIssuer",
		Stored:         true,
		Type:           "string",
	},
	"IDPMetadata": {
		AllowedChoices: []string{},
		ConvertedName:  "IDPMetadata",
		Description: `Pass some XML data containing the IDP metadata that can be used for automatic
configuration. If you pass this attribute, every other one will be overwritten
with the data contained in the metadata file.`,
		Exposed: true,
		Name:    "IDPMetadata",
		Type:    "string",
	},
	"IDPURL": {
		AllowedChoices: []string{},
		BSONFieldName:  "idpurl",
		ConvertedName:  "IDPURL",
		Description:    `URL of the identity provider.`,
		Exposed:        true,
		Name:           "IDPURL",
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"Default": {
		AllowedChoices: []string{},
		BSONFieldName:  "default",
		ConvertedName:  "Default",
		Description: `If set, this will be the default SAML provider. There can be only one default
provider in your account. When logging in with SAML, if no provider name is
given, the default will be used.`,
		Exposed: true,
		Name:    "default",
		Stored:  true,
		Type:    "boolean",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subjects": {
		AllowedChoices: []string{},
		BSONFieldName:  "subjects",
		ConvertedName:  "Subjects",
		Description:    `List of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

SAMLProviderAttributesMap represents the map of attribute for SAMLProvider.

View Source
var SAMLProviderIdentity = elemental.Identity{
	Name:     "samlprovider",
	Category: "samlproviders",
	Package:  "cactuar",
	Private:  false,
}

SAMLProviderIdentity represents the Identity of the object.

View Source
var SAMLProviderLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"idpcertificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "idpcertificate",
		ConvertedName:  "IDPCertificate",
		Description:    `Identity provider certificate in PEM format.`,
		Exposed:        true,
		Name:           "IDPCertificate",
		Stored:         true,
		Type:           "string",
	},
	"idpissuer": {
		AllowedChoices: []string{},
		BSONFieldName:  "idpissuer",
		ConvertedName:  "IDPIssuer",
		Description:    `Identity Provider Issuer (also called Entity ID).`,
		Exposed:        true,
		Name:           "IDPIssuer",
		Stored:         true,
		Type:           "string",
	},
	"idpmetadata": {
		AllowedChoices: []string{},
		ConvertedName:  "IDPMetadata",
		Description: `Pass some XML data containing the IDP metadata that can be used for automatic
configuration. If you pass this attribute, every other one will be overwritten
with the data contained in the metadata file.`,
		Exposed: true,
		Name:    "IDPMetadata",
		Type:    "string",
	},
	"idpurl": {
		AllowedChoices: []string{},
		BSONFieldName:  "idpurl",
		ConvertedName:  "IDPURL",
		Description:    `URL of the identity provider.`,
		Exposed:        true,
		Name:           "IDPURL",
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"default": {
		AllowedChoices: []string{},
		BSONFieldName:  "default",
		ConvertedName:  "Default",
		Description: `If set, this will be the default SAML provider. There can be only one default
provider in your account. When logging in with SAML, if no provider name is
given, the default will be used.`,
		Exposed: true,
		Name:    "default",
		Stored:  true,
		Type:    "boolean",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subjects": {
		AllowedChoices: []string{},
		BSONFieldName:  "subjects",
		ConvertedName:  "Subjects",
		Description:    `List of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

SAMLProviderLowerCaseAttributesMap represents the map of attribute for SAMLProvider.

View Source
var SSHAuthorityAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Alg": {
		AllowedChoices: []string{"RSA", "ECDSA"},
		BSONFieldName:  "alg",
		ConvertedName:  "Alg",
		DefaultValue:   SSHAuthorityAlgECDSA,
		Description:    `Algorithm to use for the CA.`,
		Exposed:        true,
		Name:           "alg",
		Stored:         true,
		Type:           "enum",
	},
	"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",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"PrivateKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "privatekey",
		ConvertedName:  "PrivateKey",
		Description:    `Contains the private key of the CA.`,
		Encrypted:      true,
		Name:           "privateKey",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"PublicKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "publickey",
		ConvertedName:  "PublicKey",
		Description:    `Contains the public key of the CA.`,
		Exposed:        true,
		Name:           "publicKey",
		ReadOnly:       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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

SSHAuthorityAttributesMap represents the map of attribute for SSHAuthority.

View Source
var SSHAuthorityIdentity = elemental.Identity{
	Name:     "sshauthority",
	Category: "sshauthorities",
	Package:  "barret",
	Private:  true,
}

SSHAuthorityIdentity represents the Identity of the object.

View Source
var SSHAuthorityLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"alg": {
		AllowedChoices: []string{"RSA", "ECDSA"},
		BSONFieldName:  "alg",
		ConvertedName:  "Alg",
		DefaultValue:   SSHAuthorityAlgECDSA,
		Description:    `Algorithm to use for the CA.`,
		Exposed:        true,
		Name:           "alg",
		Stored:         true,
		Type:           "enum",
	},
	"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",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"privatekey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "privatekey",
		ConvertedName:  "PrivateKey",
		Description:    `Contains the private key of the CA.`,
		Encrypted:      true,
		Name:           "privateKey",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"publickey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "publickey",
		ConvertedName:  "PublicKey",
		Description:    `Contains the public key of the CA.`,
		Exposed:        true,
		Name:           "publicKey",
		ReadOnly:       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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

SSHAuthorityLowerCaseAttributesMap represents the map of attribute for SSHAuthority.

View Source
var SSHAuthorizationPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AuthorizedSubnets": {
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizedSubnets",
		Description: `If set, the SSH authorization will only be valid if the request comes from one
the declared subnets.`,
		Exposed: true,
		Name:    "authorizedSubnets",
		SubType: "string",
		Type:    "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the SSH authorization will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Extensions": {
		AllowedChoices: []string{},
		ConvertedName:  "Extensions",
		Description: `The list of permissions to apply to the OpenSSH certificate. You can check the
list of
standard extensions at
<https://github.com/openssh/openssh-portable/blob/38e83e4f219c752ebb1560633b73f06f0392018b/PROTOCOL.certkeys#L281>.`,
		Exposed: true,
		Name:    "extensions",
		SubType: "string",
		Type:    "list",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"ForceCommand": {
		AllowedChoices: []string{},
		ConvertedName:  "ForceCommand",
		Description: `Specify a single command that the user can issue on the remote host. This can be
useful
for issuing single-purpose certificates; ensuring that users stay in their home
directories
(` + "`" + `internal-sftp` + "`" + `); and restricting users to a bash shell (` + "`" + `/bin/bash` + "`" + `),
preventing them
from running arbitrary and unlogged commands such as ` + "`" + `scp` + "`" + `, ` + "`" + `rsync` + "`" + `, ` + "`" + `-essh` + "`" + `,
and ` + "`" + `sftp` + "`" + `.
Refer to the [FreeBSD
documentation](https://www.freebsd.org/cgi/man.cgi?sshd_config(5))
for more information.`,
		Exposed: true,
		Name:    "forceCommand",
		Type:    "string",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description: `Contains the tag expression identifying the enforcers on the hosts the ` + "`" + `subject` + "`" + `
is allowed to access.`,
		Exposed:   true,
		Name:      "object",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"Principals": {
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description: `On systems without an enforcer, you must provide the name of the Linux user.
Otherwise, Microsegmentation will automatically populate this field and adding a
value here is optional and not used during the authorization. However, the value
becomes a tag associated with the SSH processing unit, which could be useful.`,
		Exposed: true,
		Name:    "principals",
		SubType: "string",
		Type:    "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RequireSystemAccountMatching": {
		AllowedChoices: []string{},
		BSONFieldName:  "requiresystemaccountmatching",
		ConvertedName:  "RequireSystemAccountMatching",
		Description:    `If selected, the system account will be used to log into the resource.`,
		Exposed:        true,
		Name:           "requireSystemAccountMatching",
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `Contains the tag expression that identifies the user or group of users that
should be
allowed to access the remote hosts. If the user authenticates against an OIDC
provider,
these tags correspond to claims in the ID token.`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "1h",
		Description:    `Set the validity of the delivered SSH certificate.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
}

SSHAuthorizationPolicyAttributesMap represents the map of attribute for SSHAuthorizationPolicy.

View Source
var SSHAuthorizationPolicyIdentity = elemental.Identity{
	Name:     "sshauthorizationpolicy",
	Category: "sshauthorizationpolicies",
	Package:  "squall",
	Private:  false,
}

SSHAuthorizationPolicyIdentity represents the Identity of the object.

View Source
var SSHAuthorizationPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"authorizedsubnets": {
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizedSubnets",
		Description: `If set, the SSH authorization will only be valid if the request comes from one
the declared subnets.`,
		Exposed: true,
		Name:    "authorizedSubnets",
		SubType: "string",
		Type:    "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the SSH authorization will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"extensions": {
		AllowedChoices: []string{},
		ConvertedName:  "Extensions",
		Description: `The list of permissions to apply to the OpenSSH certificate. You can check the
list of
standard extensions at
<https://github.com/openssh/openssh-portable/blob/38e83e4f219c752ebb1560633b73f06f0392018b/PROTOCOL.certkeys#L281>.`,
		Exposed: true,
		Name:    "extensions",
		SubType: "string",
		Type:    "list",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"forcecommand": {
		AllowedChoices: []string{},
		ConvertedName:  "ForceCommand",
		Description: `Specify a single command that the user can issue on the remote host. This can be
useful
for issuing single-purpose certificates; ensuring that users stay in their home
directories
(` + "`" + `internal-sftp` + "`" + `); and restricting users to a bash shell (` + "`" + `/bin/bash` + "`" + `),
preventing them
from running arbitrary and unlogged commands such as ` + "`" + `scp` + "`" + `, ` + "`" + `rsync` + "`" + `, ` + "`" + `-essh` + "`" + `,
and ` + "`" + `sftp` + "`" + `.
Refer to the [FreeBSD
documentation](https://www.freebsd.org/cgi/man.cgi?sshd_config(5))
for more information.`,
		Exposed: true,
		Name:    "forceCommand",
		Type:    "string",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description: `Contains the tag expression identifying the enforcers on the hosts the ` + "`" + `subject` + "`" + `
is allowed to access.`,
		Exposed:   true,
		Name:      "object",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"principals": {
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description: `On systems without an enforcer, you must provide the name of the Linux user.
Otherwise, Microsegmentation will automatically populate this field and adding a
value here is optional and not used during the authorization. However, the value
becomes a tag associated with the SSH processing unit, which could be useful.`,
		Exposed: true,
		Name:    "principals",
		SubType: "string",
		Type:    "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"requiresystemaccountmatching": {
		AllowedChoices: []string{},
		BSONFieldName:  "requiresystemaccountmatching",
		ConvertedName:  "RequireSystemAccountMatching",
		Description:    `If selected, the system account will be used to log into the resource.`,
		Exposed:        true,
		Name:           "requireSystemAccountMatching",
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `Contains the tag expression that identifies the user or group of users that
should be
allowed to access the remote hosts. If the user authenticates against an OIDC
provider,
these tags correspond to claims in the ID token.`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "1h",
		Description:    `Set the validity of the delivered SSH certificate.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
}

SSHAuthorizationPolicyLowerCaseAttributesMap represents the map of attribute for SSHAuthorizationPolicy.

View Source
var SSHCertificateAttributesMap = map[string]elemental.AttributeSpecification{
	"Certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Contains the signed SSH certificate in OpenSSH format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"Extensions": {
		AllowedChoices: []string{},
		ConvertedName:  "Extensions",
		Description:    `List of extensions to set in the SSH certificate.`,
		Exposed:        true,
		Name:           "extensions",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Options": {
		AllowedChoices: []string{},
		ConvertedName:  "Options",
		Description:    `List of options to set in the SSH certificate.`,
		Exposed:        true,
		Name:           "options",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Principals": {
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description:    `List of principals to set in the SSH certificate.`,
		Exposed:        true,
		Name:           "principals",
		SubType:        "string",
		Type:           "list",
	},
	"PublicKey": {
		AllowedChoices: []string{},
		ConvertedName:  "PublicKey",
		Description:    `Contains the public key to sign in OpenSSH format.`,
		Exposed:        true,
		Name:           "publicKey",
		Required:       true,
		Type:           "string",
	},
	"SignerID": {
		AllowedChoices: []string{},
		ConvertedName:  "SignerID",
		Description:    `The identifier of the CA to use to sign the certificate.`,
		Exposed:        true,
		Name:           "signerID",
		Required:       true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{"User", "Host"},
		ConvertedName:  "Type",
		DefaultValue:   SSHCertificateTypeUser,
		Description:    `Type of SSH certificate.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "1h",
		Description:    `Set the validity of the SSH certificate.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
}

SSHCertificateAttributesMap represents the map of attribute for SSHCertificate.

View Source
var SSHCertificateIdentity = elemental.Identity{
	Name:     "sshcertificate",
	Category: "sshcertificates",
	Package:  "barret",
	Private:  true,
}

SSHCertificateIdentity represents the Identity of the object.

View Source
var SSHCertificateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Contains the signed SSH certificate in OpenSSH format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"extensions": {
		AllowedChoices: []string{},
		ConvertedName:  "Extensions",
		Description:    `List of extensions to set in the SSH certificate.`,
		Exposed:        true,
		Name:           "extensions",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"options": {
		AllowedChoices: []string{},
		ConvertedName:  "Options",
		Description:    `List of options to set in the SSH certificate.`,
		Exposed:        true,
		Name:           "options",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"principals": {
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description:    `List of principals to set in the SSH certificate.`,
		Exposed:        true,
		Name:           "principals",
		SubType:        "string",
		Type:           "list",
	},
	"publickey": {
		AllowedChoices: []string{},
		ConvertedName:  "PublicKey",
		Description:    `Contains the public key to sign in OpenSSH format.`,
		Exposed:        true,
		Name:           "publicKey",
		Required:       true,
		Type:           "string",
	},
	"signerid": {
		AllowedChoices: []string{},
		ConvertedName:  "SignerID",
		Description:    `The identifier of the CA to use to sign the certificate.`,
		Exposed:        true,
		Name:           "signerID",
		Required:       true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{"User", "Host"},
		ConvertedName:  "Type",
		DefaultValue:   SSHCertificateTypeUser,
		Description:    `Type of SSH certificate.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "1h",
		Description:    `Set the validity of the SSH certificate.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
}

SSHCertificateLowerCaseAttributesMap represents the map of attribute for SSHCertificate.

View Source
var SSHIdentityAttributesMap = map[string]elemental.AttributeSpecification{
	"Certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Contains the signed SSH certificate in OpenSSH format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"PublicKey": {
		AllowedChoices: []string{},
		ConvertedName:  "PublicKey",
		Description: `Contains the public key to sign in OpenSSH format. You can generate an SSH
public key with the standard ` + "`" + `ssh-keygen` + "`" + ` tool.`,
		Exposed:  true,
		Name:     "publicKey",
		Required: true,
		Type:     "string",
	},
	"SystemAccount": {
		AllowedChoices: []string{},
		ConvertedName:  "SystemAccount",
		Description:    `Define the targeted system account name.`,
		Exposed:        true,
		Name:           "systemAccount",
		Type:           "string",
	},
}

SSHIdentityAttributesMap represents the map of attribute for SSHIdentity.

View Source
var SSHIdentityIdentity = elemental.Identity{
	Name:     "sshidentity",
	Category: "sshidentities",
	Package:  "cactuar",
	Private:  false,
}

SSHIdentityIdentity represents the Identity of the object.

View Source
var SSHIdentityLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Contains the signed SSH certificate in OpenSSH format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"publickey": {
		AllowedChoices: []string{},
		ConvertedName:  "PublicKey",
		Description: `Contains the public key to sign in OpenSSH format. You can generate an SSH
public key with the standard ` + "`" + `ssh-keygen` + "`" + ` tool.`,
		Exposed:  true,
		Name:     "publicKey",
		Required: true,
		Type:     "string",
	},
	"systemaccount": {
		AllowedChoices: []string{},
		ConvertedName:  "SystemAccount",
		Description:    `Define the targeted system account name.`,
		Exposed:        true,
		Name:           "systemAccount",
		Type:           "string",
	},
}

SSHIdentityLowerCaseAttributesMap represents the map of attribute for SSHIdentity.

View Source
var SandboxAttributesMap = map[string]elemental.AttributeSpecification{
	"URL": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "URL",
		Description:    `Contains a link to directly connect the UI to your API sandbox.`,
		Exposed:        true,
		Name:           "URL",
		ReadOnly:       true,
		Type:           "string",
	},
	"Credentials": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Credentials",
		Description:    `The app credential data.`,
		Exposed:        true,
		Name:           "credentials",
		Orderable:      true,
		ReadOnly:       true,
		SubType:        "credential",
		Transient:      true,
		Type:           "ref",
	},
	"Lifetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Lifetime",
		Description:    `Contains the lifetime of the sandbox namespace.`,
		Exposed:        true,
		Name:           "lifetime",
		ReadOnly:       true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Contains the name of the sandbox namespace that has been created.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
}

SandboxAttributesMap represents the map of attribute for Sandbox.

View Source
var SandboxIdentity = elemental.Identity{
	Name:     "sandbox",
	Category: "sandboxes",
	Package:  "service",
	Private:  false,
}

SandboxIdentity represents the Identity of the object.

View Source
var SandboxLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"url": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "URL",
		Description:    `Contains a link to directly connect the UI to your API sandbox.`,
		Exposed:        true,
		Name:           "URL",
		ReadOnly:       true,
		Type:           "string",
	},
	"credentials": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Credentials",
		Description:    `The app credential data.`,
		Exposed:        true,
		Name:           "credentials",
		Orderable:      true,
		ReadOnly:       true,
		SubType:        "credential",
		Transient:      true,
		Type:           "ref",
	},
	"lifetime": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Lifetime",
		Description:    `Contains the lifetime of the sandbox namespace.`,
		Exposed:        true,
		Name:           "lifetime",
		ReadOnly:       true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Contains the name of the sandbox namespace that has been created.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
}

SandboxLowerCaseAttributesMap represents the map of attribute for Sandbox.

View Source
var SearchAttributesMap = map[string]elemental.AttributeSpecification{
	"Object": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Object",
		Description:    `Contains the matched object.`,
		Exposed:        true,
		Name:           "object",
		ReadOnly:       true,
		Type:           "object",
	},
	"ObjectID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectID",
		Description:    `Contains the ID of the match.`,
		Exposed:        true,
		Name:           "objectID",
		ReadOnly:       true,
		Type:           "string",
	},
	"ObjectIdentity": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectIdentity",
		Description:    `Contains the identity of the match.`,
		Exposed:        true,
		Name:           "objectIdentity",
		ReadOnly:       true,
		Type:           "string",
	},
	"ObjectNamespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectNamespace",
		Description:    `Contains the namespace of the match.`,
		Exposed:        true,
		Name:           "objectNamespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"Score": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Score",
		Description:    `Contains the score of the match.`,
		Exposed:        true,
		Name:           "score",
		ReadOnly:       true,
		Type:           "float",
	},
}

SearchAttributesMap represents the map of attribute for Search.

View Source
var SearchIdentity = elemental.Identity{
	Name:     "search",
	Category: "search",
	Package:  "gogole",
	Private:  false,
}

SearchIdentity represents the Identity of the object.

View Source
var SearchLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"object": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Object",
		Description:    `Contains the matched object.`,
		Exposed:        true,
		Name:           "object",
		ReadOnly:       true,
		Type:           "object",
	},
	"objectid": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectID",
		Description:    `Contains the ID of the match.`,
		Exposed:        true,
		Name:           "objectID",
		ReadOnly:       true,
		Type:           "string",
	},
	"objectidentity": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectIdentity",
		Description:    `Contains the identity of the match.`,
		Exposed:        true,
		Name:           "objectIdentity",
		ReadOnly:       true,
		Type:           "string",
	},
	"objectnamespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectNamespace",
		Description:    `Contains the namespace of the match.`,
		Exposed:        true,
		Name:           "objectNamespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"score": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Score",
		Description:    `Contains the score of the match.`,
		Exposed:        true,
		Name:           "score",
		ReadOnly:       true,
		Type:           "float",
	},
}

SearchLowerCaseAttributesMap represents the map of attribute for Search.

View Source
var ServiceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"IPs": {
		AllowedChoices: []string{},
		BSONFieldName:  "ips",
		ConvertedName:  "IPs",
		Description: `The list of IP addresses where the service can be accessed. This is an optional
attribute and is only required if no host names are provided. The system will
automatically resolve IP addresses from host names otherwise.`,
		Exposed: true,
		Name:    "IPs",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"JWTSigningCertificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "jwtsigningcertificate",
		ConvertedName:  "JWTSigningCertificate",
		Description: `PEM-encoded certificate that will be used to validate the user's JSON web token
(JWT)
in HTTP requests. This is an optional field, needed only if the
` + "`" + `authorizationType` + "`" + `
is set to ` + "`" + `JWT` + "`" + `.`,
		Exposed: true,
		Name:    "JWTSigningCertificate",
		Stored:  true,
		Type:    "string",
	},
	"MTLSCertificateAuthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "mtlscertificateauthority",
		ConvertedName:  "MTLSCertificateAuthority",
		Description: `PEM-encoded certificate authority to use to verify client certificates. This
only applies if ` + "`" + `authorizationType` + "`" + ` is set to ` + "`" + `MTLS` + "`" + `. If it is not set,
Microsegmentation Console's public signing certificate authority will be used.`,
		Exposed: true,
		Name:    "MTLSCertificateAuthority",
		Stored:  true,
		Type:    "string",
	},
	"OIDCCallbackURL": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidccallbackurl",
		ConvertedName:  "OIDCCallbackURL",
		Description: `This is an advanced setting. Optional OIDC callback URL. If you don't set it,
the enforcer will autodiscover it. It will be
` + "`" + `https://<hosts[0]|IPs[0]>/aporeto/oidc/callback` + "`" + `.`,
		Exposed: true,
		Name:    "OIDCCallbackURL",
		Stored:  true,
		Type:    "string",
	},
	"OIDCClientID": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidcclientid",
		ConvertedName:  "OIDCClientID",
		Description:    `OIDC Client ID. Only has effect if the ` + "`" + `authorizationType` + "`" + ` is set to ` + "`" + `OIDC` + "`" + `.`,
		Exposed:        true,
		Name:           "OIDCClientID",
		Stored:         true,
		Type:           "string",
	},
	"OIDCClientSecret": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidcclientsecret",
		ConvertedName:  "OIDCClientSecret",
		Description:    `OIDC Client Secret. Only has effect if the ` + "`" + `authorizationType` + "`" + ` is set to ` + "`" + `OIDC` + "`" + `.`,
		Exposed:        true,
		Name:           "OIDCClientSecret",
		Stored:         true,
		Type:           "string",
	},
	"OIDCProviderURL": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidcproviderurl",
		ConvertedName:  "OIDCProviderURL",
		Description: `OIDC discovery endpoint. Only has effect if the ` + "`" + `authorizationType` + "`" + `
is set to ` + "`" + `OIDC` + "`" + `.`,
		Exposed: true,
		Name:    "OIDCProviderURL",
		Stored:  true,
		Type:    "string",
	},
	"OIDCScopes": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidcscopes",
		ConvertedName:  "OIDCScopes",
		Description: `Configures the scopes you want to request from the OIDC provider. Only has
effect
if ` + "`" + `authorizationType` + "`" + ` is set to ` + "`" + `OIDC` + "`" + `.`,
		Exposed: true,
		Name:    "OIDCScopes",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"TLSCertificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "tlscertificate",
		ConvertedName:  "TLSCertificate",
		Description: `PEM-encoded certificate to expose to the clients for TLS. Only has effect and
required if ` + "`" + `TLSType` + "`" + ` is set to ` + "`" + `External` + "`" + `.`,
		Exposed: true,
		Name:    "TLSCertificate",
		Stored:  true,
		Type:    "string",
	},
	"TLSCertificateKey": {
		AllowedChoices: []string{},
		BSONFieldName:  "tlscertificatekey",
		ConvertedName:  "TLSCertificateKey",
		Description: `PEM-encoded certificate key associated with ` + "`" + `TLSCertificate` + "`" + `. Only has effect
and required if ` + "`" + `TLSType` + "`" + ` is set to ` + "`" + `External` + "`" + `.`,
		Encrypted: true,
		Exposed:   true,
		Name:      "TLSCertificateKey",
		Stored:    true,
		Type:      "string",
	},
	"TLSType": {
		AllowedChoices: []string{"Aporeto", "LetsEncrypt", "External", "None"},
		BSONFieldName:  "tlstype",
		ConvertedName:  "TLSType",
		DefaultValue:   ServiceTLSTypeAporeto,
		Description: `Set how to provide a server certificate to the service.

- ` + "`" + `Aporeto` + "`" + `: Generate a certificate signed by the Microsegmentation
Console public CA.
- ` + "`" + `LetsEncrypt` + "`" + `: Issue a certificate from Let's Encrypt.
- ` + "`" + `External` + "`" + `: Let you define your own certificate and key to use.
- ` + "`" + `None` + "`" + `: TLS is disabled (not recommended).`,
		Exposed: true,
		Name:    "TLSType",
		Stored:  true,
		Type:    "enum",
	},
	"AllAPITags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allapitags",
		ConvertedName:  "AllAPITags",
		Description:    `This is a set of all API tags for matching in the database.`,
		Name:           "allAPITags",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AllProcessingUnitsTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allprocessingunitstags",
		ConvertedName:  "AllProcessingUnitsTags",
		Description:    `This is a set of all selector tags for matching in the database.`,
		Name:           "allProcessingUnitsTags",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"Archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AuthorizationType": {
		AllowedChoices: []string{"None", "JWT", "OIDC", "MTLS"},
		BSONFieldName:  "authorizationtype",
		ConvertedName:  "AuthorizationType",
		DefaultValue:   ServiceAuthorizationTypeNone,
		Description: `Defines the user authorization type that should be used.

- ` + "`" + `None` + "`" + ` (default): No authorization.
- ` + "`" + `JWT` + "`" + `:  Configures a simple JWT verification from the HTTP ` + "`" + `Authorization` + "`" + `
header.
- ` + "`" + `OIDC` + "`" + `: Configures OIDC authorization. You must then set
` + "`" + `OIDCClientID` + "`" + `,` + "`" + `OIDCClientSecret` + "`" + `, ` + "`" + `OIDCProviderURL` + "`" + `.
- ` + "`" + `MTLS` + "`" + `: Configures client certificate authorization. Then you can optionally
use ` + "`" + `MTLSCertificateAuthority` + "`" + `, otherwise Microsegmentation Console's public
signing certificate will be used.`,
		Exposed: true,
		Name:    "authorizationType",
		Stored:  true,
		Type:    "enum",
	},
	"ClaimsToHTTPHeaderMappings": {
		AllowedChoices: []string{},
		BSONFieldName:  "claimstohttpheadermappings",
		ConvertedName:  "ClaimsToHTTPHeaderMappings",
		Description: `Defines a list of mappings between claims and HTTP headers. When these mappings
are defined, the enforcer will copy the values of the claims to the
corresponding HTTP headers.`,
		Exposed: true,
		Name:    "claimsToHTTPHeaderMappings",
		Stored:  true,
		SubType: "claimmapping",
		Type:    "refList",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Endpoints": {
		AllowedChoices: []string{},
		ConvertedName:  "Endpoints",
		Description: `Resolves the API endpoints that the service is exposing. Only valid during
policy rendering.`,
		Exposed:  true,
		Name:     "endpoints",
		ReadOnly: true,
		SubType:  "endpoint",
		Type:     "refList",
	},
	"ExposedAPIs": {
		AllowedChoices: []string{},
		BSONFieldName:  "exposedapis",
		ConvertedName:  "ExposedAPIs",
		Description: `Contains a tag expression that will determine which APIs a service is exposing.
The APIs can be defined as the ` + "`" + `RESTAPISpec` + "`" + ` or similar specifications for other
layer 7 protocols.`,
		Exposed: true,
		Name:    "exposedAPIs",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"ExposedPort": {
		AllowedChoices: []string{},
		BSONFieldName:  "exposedport",
		ConvertedName:  "ExposedPort",
		Description: `The port that the service can be accessed on. Note that this is different from
the ` + "`" + `port` + "`" + ` attribute that describes the port that the service is actually
listening on. For example if a load balancer is used, the ` + "`" + `exposedPort` + "`" + ` is
the port that the load balancer is listening for the service, whereas the
port that the implementation is listening on can be different.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "exposedPort",
		Required: true,
		Stored:   true,
		Type:     "integer",
	},
	"ExposedServiceIsTLS": {
		AllowedChoices: []string{},
		BSONFieldName:  "exposedserviceistls",
		ConvertedName:  "ExposedServiceIsTLS",
		Description: `Indicates that the exposed service is TLS. This means that the enforcer has to
initiate a TLS session in order to forward traffic to the service.`,
		Exposed:    true,
		Filterable: true,
		Name:       "exposedServiceIsTLS",
		Orderable:  true,
		Stored:     true,
		Type:       "boolean",
	},
	"External": {
		AllowedChoices: []string{},
		BSONFieldName:  "external",
		ConvertedName:  "External",
		Description:    `Indicates if this is an external service.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "external",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"Hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description:    `The host names that the service can be accessed on.`,
		Exposed:        true,
		Name:           "hosts",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Port": {
		AllowedChoices: []string{},
		BSONFieldName:  "port",
		ConvertedName:  "Port",
		Description: `The port that the implementation of the service is listening to. It can be
different than ` + "`" + `exposedPort` + "`" + `. This is needed for port mapping use cases
where there are private and public ports.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "port",
		Stored:   true,
		Type:     "integer",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ProxyProtocolEnabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "proxyprotocolenabled",
		ConvertedName:  "ProxyProtocolEnabled",
		Description:    `Enable trust in proxy protocols header.`,
		Exposed:        true,
		Name:           "proxyProtocolEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"ProxyProtocolSubnets": {
		AllowedChoices: []string{},
		BSONFieldName:  "proxyprotocolsubnets",
		ConvertedName:  "ProxyProtocolSubnets",
		Description:    `Only allow proxy protocols from the given subnets .`,
		Exposed:        true,
		Name:           "proxyProtocolSubnets",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"PublicApplicationPort": {
		AllowedChoices: []string{},
		BSONFieldName:  "publicapplicationport",
		ConvertedName:  "PublicApplicationPort",
		Description: `A new virtual port that the service can be accessed on using HTTPS. Since the
enforcer transparently inserts TLS in the application path, you might want
to declare a new port where the enforcer listens for TLS. However, the
application does not need to be modified and the enforcer will map the
traffic to the correct application port. This is useful when
an application is being accessed from a public network.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "publicApplicationPort",
		Stored:   true,
		Type:     "integer",
	},
	"RedirectURLOnAuthorizationFailure": {
		AllowedChoices: []string{},
		BSONFieldName:  "redirecturlonauthorizationfailure",
		ConvertedName:  "RedirectURLOnAuthorizationFailure",
		Description: `If this is set, the user will be redirected to that URL in case of any
authorization failure, allowing you to provide a nice message to the user.
The query parameter ` + "`" + `?failure_message=<message>` + "`" + ` will be added to that
URL explaining the possible reason for the failure.`,
		Exposed: true,
		Name:    "redirectURLOnAuthorizationFailure",
		Stored:  true,
		Type:    "string",
	},
	"Selectors": {
		AllowedChoices: []string{},
		BSONFieldName:  "selectors",
		ConvertedName:  "Selectors",
		Description: `A tag or tag expression that identifies the processing unit that implements this
particular service.`,
		Exposed: true,
		Name:    "selectors",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"TrustedCertificateAuthorities": {
		AllowedChoices: []string{},
		BSONFieldName:  "trustedcertificateauthorities",
		ConvertedName:  "TrustedCertificateAuthorities",
		Description: `PEM-encoded certificate authorities to trust when additional hops are needed. It
must be set if the service must reach a service marked as ` + "`" + `external` + "`" + ` or must go
through an additional TLS termination point like a layer 7 load balancer.`,
		Exposed: true,
		Name:    "trustedCertificateAuthorities",
		Stored:  true,
		Type:    "string",
	},
	"Type": {
		AllowedChoices: []string{"HTTP", "TCP", "KubernetesSecrets", "VaultSecrets"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   ServiceTypeHTTP,
		Description:    `Type of service.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ServiceAttributesMap represents the map of attribute for Service.

View Source
var ServiceCertificateAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Fingerprint": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "fingerprint",
		ConvertedName:  "Fingerprint",
		Description:    `The fingerprint of the public key.`,
		Exposed:        true,
		Name:           "fingerprint",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Private": {
		AllowedChoices: []string{},
		BSONFieldName:  "private",
		ConvertedName:  "Private",
		Description:    `Private key in PEM format.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "private",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Public": {
		AllowedChoices: []string{},
		BSONFieldName:  "public",
		ConvertedName:  "Public",
		Description:    `Public key in PEM format.`,
		Exposed:        true,
		Name:           "public",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ServiceCertificateAttributesMap represents the map of attribute for ServiceCertificate.

View Source
var ServiceCertificateIdentity = elemental.Identity{
	Name:     "servicecertificate",
	Category: "servicecertificates",
	Package:  "squall",
	Private:  false,
}

ServiceCertificateIdentity represents the Identity of the object.

View Source
var ServiceCertificateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"fingerprint": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "fingerprint",
		ConvertedName:  "Fingerprint",
		Description:    `The fingerprint of the public key.`,
		Exposed:        true,
		Name:           "fingerprint",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"private": {
		AllowedChoices: []string{},
		BSONFieldName:  "private",
		ConvertedName:  "Private",
		Description:    `Private key in PEM format.`,
		Encrypted:      true,
		Exposed:        true,
		Name:           "private",
		Required:       true,
		Secret:         true,
		Stored:         true,
		Transient:      true,
		Type:           "string",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"public": {
		AllowedChoices: []string{},
		BSONFieldName:  "public",
		ConvertedName:  "Public",
		Description:    `Public key in PEM format.`,
		Exposed:        true,
		Name:           "public",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ServiceCertificateLowerCaseAttributesMap represents the map of attribute for ServiceCertificate.

View Source
var ServiceDependencyPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `Object of the service dependency.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject of the service dependency.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

ServiceDependencyPolicyAttributesMap represents the map of attribute for ServiceDependencyPolicy.

View Source
var ServiceDependencyPolicyIdentity = elemental.Identity{
	Name:     "servicedependencypolicy",
	Category: "servicedependencypolicies",
	Package:  "squall",
	Private:  false,
}

ServiceDependencyPolicyIdentity represents the Identity of the object.

View Source
var ServiceDependencyPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `Object of the service dependency.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject of the service dependency.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

ServiceDependencyPolicyLowerCaseAttributesMap represents the map of attribute for ServiceDependencyPolicy.

View Source
var ServiceIdentity = elemental.Identity{
	Name:     "service",
	Category: "services",
	Package:  "squall",
	Private:  false,
}

ServiceIdentity represents the Identity of the object.

View Source
var ServiceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ips": {
		AllowedChoices: []string{},
		BSONFieldName:  "ips",
		ConvertedName:  "IPs",
		Description: `The list of IP addresses where the service can be accessed. This is an optional
attribute and is only required if no host names are provided. The system will
automatically resolve IP addresses from host names otherwise.`,
		Exposed: true,
		Name:    "IPs",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"jwtsigningcertificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "jwtsigningcertificate",
		ConvertedName:  "JWTSigningCertificate",
		Description: `PEM-encoded certificate that will be used to validate the user's JSON web token
(JWT)
in HTTP requests. This is an optional field, needed only if the
` + "`" + `authorizationType` + "`" + `
is set to ` + "`" + `JWT` + "`" + `.`,
		Exposed: true,
		Name:    "JWTSigningCertificate",
		Stored:  true,
		Type:    "string",
	},
	"mtlscertificateauthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "mtlscertificateauthority",
		ConvertedName:  "MTLSCertificateAuthority",
		Description: `PEM-encoded certificate authority to use to verify client certificates. This
only applies if ` + "`" + `authorizationType` + "`" + ` is set to ` + "`" + `MTLS` + "`" + `. If it is not set,
Microsegmentation Console's public signing certificate authority will be used.`,
		Exposed: true,
		Name:    "MTLSCertificateAuthority",
		Stored:  true,
		Type:    "string",
	},
	"oidccallbackurl": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidccallbackurl",
		ConvertedName:  "OIDCCallbackURL",
		Description: `This is an advanced setting. Optional OIDC callback URL. If you don't set it,
the enforcer will autodiscover it. It will be
` + "`" + `https://<hosts[0]|IPs[0]>/aporeto/oidc/callback` + "`" + `.`,
		Exposed: true,
		Name:    "OIDCCallbackURL",
		Stored:  true,
		Type:    "string",
	},
	"oidcclientid": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidcclientid",
		ConvertedName:  "OIDCClientID",
		Description:    `OIDC Client ID. Only has effect if the ` + "`" + `authorizationType` + "`" + ` is set to ` + "`" + `OIDC` + "`" + `.`,
		Exposed:        true,
		Name:           "OIDCClientID",
		Stored:         true,
		Type:           "string",
	},
	"oidcclientsecret": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidcclientsecret",
		ConvertedName:  "OIDCClientSecret",
		Description:    `OIDC Client Secret. Only has effect if the ` + "`" + `authorizationType` + "`" + ` is set to ` + "`" + `OIDC` + "`" + `.`,
		Exposed:        true,
		Name:           "OIDCClientSecret",
		Stored:         true,
		Type:           "string",
	},
	"oidcproviderurl": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidcproviderurl",
		ConvertedName:  "OIDCProviderURL",
		Description: `OIDC discovery endpoint. Only has effect if the ` + "`" + `authorizationType` + "`" + `
is set to ` + "`" + `OIDC` + "`" + `.`,
		Exposed: true,
		Name:    "OIDCProviderURL",
		Stored:  true,
		Type:    "string",
	},
	"oidcscopes": {
		AllowedChoices: []string{},
		BSONFieldName:  "oidcscopes",
		ConvertedName:  "OIDCScopes",
		Description: `Configures the scopes you want to request from the OIDC provider. Only has
effect
if ` + "`" + `authorizationType` + "`" + ` is set to ` + "`" + `OIDC` + "`" + `.`,
		Exposed: true,
		Name:    "OIDCScopes",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
	"tlscertificate": {
		AllowedChoices: []string{},
		BSONFieldName:  "tlscertificate",
		ConvertedName:  "TLSCertificate",
		Description: `PEM-encoded certificate to expose to the clients for TLS. Only has effect and
required if ` + "`" + `TLSType` + "`" + ` is set to ` + "`" + `External` + "`" + `.`,
		Exposed: true,
		Name:    "TLSCertificate",
		Stored:  true,
		Type:    "string",
	},
	"tlscertificatekey": {
		AllowedChoices: []string{},
		BSONFieldName:  "tlscertificatekey",
		ConvertedName:  "TLSCertificateKey",
		Description: `PEM-encoded certificate key associated with ` + "`" + `TLSCertificate` + "`" + `. Only has effect
and required if ` + "`" + `TLSType` + "`" + ` is set to ` + "`" + `External` + "`" + `.`,
		Encrypted: true,
		Exposed:   true,
		Name:      "TLSCertificateKey",
		Stored:    true,
		Type:      "string",
	},
	"tlstype": {
		AllowedChoices: []string{"Aporeto", "LetsEncrypt", "External", "None"},
		BSONFieldName:  "tlstype",
		ConvertedName:  "TLSType",
		DefaultValue:   ServiceTLSTypeAporeto,
		Description: `Set how to provide a server certificate to the service.

- ` + "`" + `Aporeto` + "`" + `: Generate a certificate signed by the Microsegmentation
Console public CA.
- ` + "`" + `LetsEncrypt` + "`" + `: Issue a certificate from Let's Encrypt.
- ` + "`" + `External` + "`" + `: Let you define your own certificate and key to use.
- ` + "`" + `None` + "`" + `: TLS is disabled (not recommended).`,
		Exposed: true,
		Name:    "TLSType",
		Stored:  true,
		Type:    "enum",
	},
	"allapitags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allapitags",
		ConvertedName:  "AllAPITags",
		Description:    `This is a set of all API tags for matching in the database.`,
		Name:           "allAPITags",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"allprocessingunitstags": {
		AllowedChoices: []string{},
		BSONFieldName:  "allprocessingunitstags",
		ConvertedName:  "AllProcessingUnitsTags",
		Description:    `This is a set of all selector tags for matching in the database.`,
		Name:           "allProcessingUnitsTags",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"archived": {
		AllowedChoices: []string{},
		BSONFieldName:  "archived",
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"authorizationtype": {
		AllowedChoices: []string{"None", "JWT", "OIDC", "MTLS"},
		BSONFieldName:  "authorizationtype",
		ConvertedName:  "AuthorizationType",
		DefaultValue:   ServiceAuthorizationTypeNone,
		Description: `Defines the user authorization type that should be used.

- ` + "`" + `None` + "`" + ` (default): No authorization.
- ` + "`" + `JWT` + "`" + `:  Configures a simple JWT verification from the HTTP ` + "`" + `Authorization` + "`" + `
header.
- ` + "`" + `OIDC` + "`" + `: Configures OIDC authorization. You must then set
` + "`" + `OIDCClientID` + "`" + `,` + "`" + `OIDCClientSecret` + "`" + `, ` + "`" + `OIDCProviderURL` + "`" + `.
- ` + "`" + `MTLS` + "`" + `: Configures client certificate authorization. Then you can optionally
use ` + "`" + `MTLSCertificateAuthority` + "`" + `, otherwise Microsegmentation Console's public
signing certificate will be used.`,
		Exposed: true,
		Name:    "authorizationType",
		Stored:  true,
		Type:    "enum",
	},
	"claimstohttpheadermappings": {
		AllowedChoices: []string{},
		BSONFieldName:  "claimstohttpheadermappings",
		ConvertedName:  "ClaimsToHTTPHeaderMappings",
		Description: `Defines a list of mappings between claims and HTTP headers. When these mappings
are defined, the enforcer will copy the values of the claims to the
corresponding HTTP headers.`,
		Exposed: true,
		Name:    "claimsToHTTPHeaderMappings",
		Stored:  true,
		SubType: "claimmapping",
		Type:    "refList",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"endpoints": {
		AllowedChoices: []string{},
		ConvertedName:  "Endpoints",
		Description: `Resolves the API endpoints that the service is exposing. Only valid during
policy rendering.`,
		Exposed:  true,
		Name:     "endpoints",
		ReadOnly: true,
		SubType:  "endpoint",
		Type:     "refList",
	},
	"exposedapis": {
		AllowedChoices: []string{},
		BSONFieldName:  "exposedapis",
		ConvertedName:  "ExposedAPIs",
		Description: `Contains a tag expression that will determine which APIs a service is exposing.
The APIs can be defined as the ` + "`" + `RESTAPISpec` + "`" + ` or similar specifications for other
layer 7 protocols.`,
		Exposed: true,
		Name:    "exposedAPIs",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"exposedport": {
		AllowedChoices: []string{},
		BSONFieldName:  "exposedport",
		ConvertedName:  "ExposedPort",
		Description: `The port that the service can be accessed on. Note that this is different from
the ` + "`" + `port` + "`" + ` attribute that describes the port that the service is actually
listening on. For example if a load balancer is used, the ` + "`" + `exposedPort` + "`" + ` is
the port that the load balancer is listening for the service, whereas the
port that the implementation is listening on can be different.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "exposedPort",
		Required: true,
		Stored:   true,
		Type:     "integer",
	},
	"exposedserviceistls": {
		AllowedChoices: []string{},
		BSONFieldName:  "exposedserviceistls",
		ConvertedName:  "ExposedServiceIsTLS",
		Description: `Indicates that the exposed service is TLS. This means that the enforcer has to
initiate a TLS session in order to forward traffic to the service.`,
		Exposed:    true,
		Filterable: true,
		Name:       "exposedServiceIsTLS",
		Orderable:  true,
		Stored:     true,
		Type:       "boolean",
	},
	"external": {
		AllowedChoices: []string{},
		BSONFieldName:  "external",
		ConvertedName:  "External",
		Description:    `Indicates if this is an external service.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "external",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"hosts": {
		AllowedChoices: []string{},
		BSONFieldName:  "hosts",
		ConvertedName:  "Hosts",
		Description:    `The host names that the service can be accessed on.`,
		Exposed:        true,
		Name:           "hosts",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"port": {
		AllowedChoices: []string{},
		BSONFieldName:  "port",
		ConvertedName:  "Port",
		Description: `The port that the implementation of the service is listening to. It can be
different than ` + "`" + `exposedPort` + "`" + `. This is needed for port mapping use cases
where there are private and public ports.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "port",
		Stored:   true,
		Type:     "integer",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"proxyprotocolenabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "proxyprotocolenabled",
		ConvertedName:  "ProxyProtocolEnabled",
		Description:    `Enable trust in proxy protocols header.`,
		Exposed:        true,
		Name:           "proxyProtocolEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"proxyprotocolsubnets": {
		AllowedChoices: []string{},
		BSONFieldName:  "proxyprotocolsubnets",
		ConvertedName:  "ProxyProtocolSubnets",
		Description:    `Only allow proxy protocols from the given subnets .`,
		Exposed:        true,
		Name:           "proxyProtocolSubnets",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"publicapplicationport": {
		AllowedChoices: []string{},
		BSONFieldName:  "publicapplicationport",
		ConvertedName:  "PublicApplicationPort",
		Description: `A new virtual port that the service can be accessed on using HTTPS. Since the
enforcer transparently inserts TLS in the application path, you might want
to declare a new port where the enforcer listens for TLS. However, the
application does not need to be modified and the enforcer will map the
traffic to the correct application port. This is useful when
an application is being accessed from a public network.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "publicApplicationPort",
		Stored:   true,
		Type:     "integer",
	},
	"redirecturlonauthorizationfailure": {
		AllowedChoices: []string{},
		BSONFieldName:  "redirecturlonauthorizationfailure",
		ConvertedName:  "RedirectURLOnAuthorizationFailure",
		Description: `If this is set, the user will be redirected to that URL in case of any
authorization failure, allowing you to provide a nice message to the user.
The query parameter ` + "`" + `?failure_message=<message>` + "`" + ` will be added to that
URL explaining the possible reason for the failure.`,
		Exposed: true,
		Name:    "redirectURLOnAuthorizationFailure",
		Stored:  true,
		Type:    "string",
	},
	"selectors": {
		AllowedChoices: []string{},
		BSONFieldName:  "selectors",
		ConvertedName:  "Selectors",
		Description: `A tag or tag expression that identifies the processing unit that implements this
particular service.`,
		Exposed: true,
		Name:    "selectors",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"trustedcertificateauthorities": {
		AllowedChoices: []string{},
		BSONFieldName:  "trustedcertificateauthorities",
		ConvertedName:  "TrustedCertificateAuthorities",
		Description: `PEM-encoded certificate authorities to trust when additional hops are needed. It
must be set if the service must reach a service marked as ` + "`" + `external` + "`" + ` or must go
through an additional TLS termination point like a layer 7 load balancer.`,
		Exposed: true,
		Name:    "trustedCertificateAuthorities",
		Stored:  true,
		Type:    "string",
	},
	"type": {
		AllowedChoices: []string{"HTTP", "TCP", "KubernetesSecrets", "VaultSecrets"},
		BSONFieldName:  "type",
		ConvertedName:  "Type",
		DefaultValue:   ServiceTypeHTTP,
		Description:    `Type of service.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

ServiceLowerCaseAttributesMap represents the map of attribute for Service.

View Source
var ServicePublicationAttributesMap = map[string]elemental.AttributeSpecification{
	"Service": {
		AllowedChoices: []string{},
		ConvertedName:  "Service",
		Description:    `The service object that will be published.`,
		Exposed:        true,
		Name:           "service",
		Required:       true,
		SubType:        "service",
		Type:           "ref",
	},
}

ServicePublicationAttributesMap represents the map of attribute for ServicePublication.

View Source
var ServicePublicationIdentity = elemental.Identity{
	Name:     "servicepublication",
	Category: "servicepublications",
	Package:  "squall",
	Private:  false,
}

ServicePublicationIdentity represents the Identity of the object.

View Source
var ServicePublicationLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"service": {
		AllowedChoices: []string{},
		ConvertedName:  "Service",
		Description:    `The service object that will be published.`,
		Exposed:        true,
		Name:           "service",
		Required:       true,
		SubType:        "service",
		Type:           "ref",
	},
}

ServicePublicationLowerCaseAttributesMap represents the map of attribute for ServicePublication.

View Source
var ServiceTokenAttributesMap = map[string]elemental.AttributeSpecification{
	"Audience": {
		AllowedChoices: []string{},
		ConvertedName:  "Audience",
		Description: `If given, the issued token will only be valid for the audience provided. If
empty, the audience will be resolved from the policies. If no audience can be
resolved, the request will be rejected with an error.`,
		Exposed: true,
		Name:    "audience",
		Type:    "string",
	},
	"ObjectID": {
		AllowedChoices: []string{},
		ConvertedName:  "ObjectID",
		Description:    `ID of the object you want to issue a token for.`,
		Exposed:        true,
		Name:           "objectID",
		Type:           "string",
	},
	"SessionID": {
		AllowedChoices: []string{},
		ConvertedName:  "SessionID",
		Description:    `Provides the session ID of the enforcer when retrieving a datapath certificate.`,
		Exposed:        true,
		Name:           "sessionID",
		Type:           "string",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token is the signed JWT service token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{"ProcessingUnit", "Service"},
		ConvertedName:  "Type",
		DefaultValue:   ServiceTokenTypeService,
		Description:    `Type of token request.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "15m",
		Description: `Validity configures the max validity time for a token. If it is bigger than the
configured max validity, it will be capped.`,
		Exposed:   true,
		Name:      "validity",
		Orderable: true,
		Type:      "string",
	},
}

ServiceTokenAttributesMap represents the map of attribute for ServiceToken.

View Source
var ServiceTokenIdentity = elemental.Identity{
	Name:     "servicetoken",
	Category: "servicetoken",
	Package:  "cactuar",
	Private:  false,
}

ServiceTokenIdentity represents the Identity of the object.

View Source
var ServiceTokenLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"audience": {
		AllowedChoices: []string{},
		ConvertedName:  "Audience",
		Description: `If given, the issued token will only be valid for the audience provided. If
empty, the audience will be resolved from the policies. If no audience can be
resolved, the request will be rejected with an error.`,
		Exposed: true,
		Name:    "audience",
		Type:    "string",
	},
	"objectid": {
		AllowedChoices: []string{},
		ConvertedName:  "ObjectID",
		Description:    `ID of the object you want to issue a token for.`,
		Exposed:        true,
		Name:           "objectID",
		Type:           "string",
	},
	"sessionid": {
		AllowedChoices: []string{},
		ConvertedName:  "SessionID",
		Description:    `Provides the session ID of the enforcer when retrieving a datapath certificate.`,
		Exposed:        true,
		Name:           "sessionID",
		Type:           "string",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token is the signed JWT service token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{"ProcessingUnit", "Service"},
		ConvertedName:  "Type",
		DefaultValue:   ServiceTokenTypeService,
		Description:    `Type of token request.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "15m",
		Description: `Validity configures the max validity time for a token. If it is bigger than the
configured max validity, it will be capped.`,
		Exposed:   true,
		Name:      "validity",
		Orderable: true,
		Type:      "string",
	},
}

ServiceTokenLowerCaseAttributesMap represents the map of attribute for ServiceToken.

View Source
var SquallTagAttributesMap = map[string]elemental.AttributeSpecification{
	"Count": {
		AllowedChoices: []string{},
		BSONFieldName:  "count",
		ConvertedName:  "Count",
		Description:    `Number of time this tag is used.`,
		Exposed:        true,
		Name:           "count",
		Stored:         true,
		Type:           "integer",
	},
	"Namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `namespace containing these tags.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"Value": {
		AllowedChoices: []string{},
		BSONFieldName:  "value",
		ConvertedName:  "Value",
		Description:    `Value of the tag.`,
		Exposed:        true,
		Name:           "value",
		Stored:         true,
		Type:           "string",
	},
}

SquallTagAttributesMap represents the map of attribute for SquallTag.

View Source
var SquallTagIdentity = elemental.Identity{
	Name:     "squalltag",
	Category: "squalltags",
	Package:  "squall",
	Private:  true,
}

SquallTagIdentity represents the Identity of the object.

View Source
var SquallTagLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"count": {
		AllowedChoices: []string{},
		BSONFieldName:  "count",
		ConvertedName:  "Count",
		Description:    `Number of time this tag is used.`,
		Exposed:        true,
		Name:           "count",
		Stored:         true,
		Type:           "integer",
	},
	"namespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `namespace containing these tags.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"value": {
		AllowedChoices: []string{},
		BSONFieldName:  "value",
		ConvertedName:  "Value",
		Description:    `Value of the tag.`,
		Exposed:        true,
		Name:           "value",
		Stored:         true,
		Type:           "string",
	},
}

SquallTagLowerCaseAttributesMap represents the map of attribute for SquallTag.

View Source
var StatsInfoAttributesMap = map[string]elemental.AttributeSpecification{
	"Fields": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Fields",
		Description:    `Contains the list of fields. You cannot group by these fields.`,
		Exposed:        true,
		Name:           "fields",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Measurement": {
		AllowedChoices: []string{"Flows", "Audit", "Enforcers", "Files", "EventLogs", "Counters", "Accesses", "Packets", "DNSLookups", "PingReports", "ConnectionExceptions"},
		ConvertedName:  "Measurement",
		DefaultValue:   StatsInfoMeasurementFlows,
		Description:    `Name of the measurement.`,
		Exposed:        true,
		Name:           "measurement",
		Type:           "enum",
	},
	"Tags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Tags",
		Description:    `Contains the list of tags. You can group by these tags.`,
		Exposed:        true,
		Name:           "tags",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

StatsInfoAttributesMap represents the map of attribute for StatsInfo.

View Source
var StatsInfoIdentity = elemental.Identity{
	Name:     "statsinfo",
	Category: "statsinfo",
	Package:  "jenova",
	Private:  false,
}

StatsInfoIdentity represents the Identity of the object.

View Source
var StatsInfoLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"fields": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Fields",
		Description:    `Contains the list of fields. You cannot group by these fields.`,
		Exposed:        true,
		Name:           "fields",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"measurement": {
		AllowedChoices: []string{"Flows", "Audit", "Enforcers", "Files", "EventLogs", "Counters", "Accesses", "Packets", "DNSLookups", "PingReports", "ConnectionExceptions"},
		ConvertedName:  "Measurement",
		DefaultValue:   StatsInfoMeasurementFlows,
		Description:    `Name of the measurement.`,
		Exposed:        true,
		Name:           "measurement",
		Type:           "enum",
	},
	"tags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Tags",
		Description:    `Contains the list of tags. You can group by these tags.`,
		Exposed:        true,
		Name:           "tags",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

StatsInfoLowerCaseAttributesMap represents the map of attribute for StatsInfo.

View Source
var StatsQueryAttributesMap = map[string]elemental.AttributeSpecification{
	"Descending": {
		AllowedChoices: []string{},
		ConvertedName:  "Descending",
		Description:    `If set, the results will be order by time from the most recent to the oldest.`,
		Exposed:        true,
		Name:           "descending",
		Type:           "boolean",
	},
	"Fields": {
		AllowedChoices: []string{},
		ConvertedName:  "Fields",
		Description: `List of fields to extract. If you don't pass anything, all available fields will
be returned. It is also possible to use a function like ` + "`" + `sum(value)` + "`" + `.`,
		Exposed: true,
		Name:    "fields",
		SubType: "string",
		Type:    "list",
	},
	"Filter": {
		AllowedChoices: []string{},
		ConvertedName:  "Filter",
		Description:    `Apply a filter to the query.`,
		Exposed:        true,
		Name:           "filter",
		Type:           "string",
	},
	"Groups": {
		AllowedChoices: []string{},
		ConvertedName:  "Groups",
		Description: `Group results by the provided values. Note that not all fields can be used to
group the results.`,
		Exposed: true,
		Name:    "groups",
		SubType: "string",
		Type:    "list",
	},
	"Limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   -1,
		Description:    `Limits the number of results. ` + "`" + `-1` + "`" + ` means no limit.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"Measurement": {
		AllowedChoices: []string{"Flows", "Audit", "Enforcers", "Files", "EventLogs", "Packets", "EnforcerTraces", "Counters", "Accesses", "DNSLookups", "PingReports", "ConnectionExceptions"},
		ConvertedName:  "Measurement",
		DefaultValue:   StatsQueryMeasurementFlows,
		Description:    `Name of the measurement.`,
		Exposed:        true,
		Name:           "measurement",
		Type:           "enum",
	},
	"Offset": {
		AllowedChoices: []string{},
		ConvertedName:  "Offset",
		DefaultValue:   -1,
		Description:    `Offsets the results. -1 means no offset.`,
		Exposed:        true,
		Name:           "offset",
		Type:           "integer",
	},
	"Results": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Results",
		Description:    `Contains the result of the query.`,
		Exposed:        true,
		Name:           "results",
		ReadOnly:       true,
		SubType:        "timeseriesqueryresults",
		Type:           "refList",
	},
}

StatsQueryAttributesMap represents the map of attribute for StatsQuery.

View Source
var StatsQueryIdentity = elemental.Identity{
	Name:     "statsquery",
	Category: "statsqueries",
	Package:  "jenova",
	Private:  false,
}

StatsQueryIdentity represents the Identity of the object.

View Source
var StatsQueryLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"descending": {
		AllowedChoices: []string{},
		ConvertedName:  "Descending",
		Description:    `If set, the results will be order by time from the most recent to the oldest.`,
		Exposed:        true,
		Name:           "descending",
		Type:           "boolean",
	},
	"fields": {
		AllowedChoices: []string{},
		ConvertedName:  "Fields",
		Description: `List of fields to extract. If you don't pass anything, all available fields will
be returned. It is also possible to use a function like ` + "`" + `sum(value)` + "`" + `.`,
		Exposed: true,
		Name:    "fields",
		SubType: "string",
		Type:    "list",
	},
	"filter": {
		AllowedChoices: []string{},
		ConvertedName:  "Filter",
		Description:    `Apply a filter to the query.`,
		Exposed:        true,
		Name:           "filter",
		Type:           "string",
	},
	"groups": {
		AllowedChoices: []string{},
		ConvertedName:  "Groups",
		Description: `Group results by the provided values. Note that not all fields can be used to
group the results.`,
		Exposed: true,
		Name:    "groups",
		SubType: "string",
		Type:    "list",
	},
	"limit": {
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   -1,
		Description:    `Limits the number of results. ` + "`" + `-1` + "`" + ` means no limit.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"measurement": {
		AllowedChoices: []string{"Flows", "Audit", "Enforcers", "Files", "EventLogs", "Packets", "EnforcerTraces", "Counters", "Accesses", "DNSLookups", "PingReports", "ConnectionExceptions"},
		ConvertedName:  "Measurement",
		DefaultValue:   StatsQueryMeasurementFlows,
		Description:    `Name of the measurement.`,
		Exposed:        true,
		Name:           "measurement",
		Type:           "enum",
	},
	"offset": {
		AllowedChoices: []string{},
		ConvertedName:  "Offset",
		DefaultValue:   -1,
		Description:    `Offsets the results. -1 means no offset.`,
		Exposed:        true,
		Name:           "offset",
		Type:           "integer",
	},
	"results": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Results",
		Description:    `Contains the result of the query.`,
		Exposed:        true,
		Name:           "results",
		ReadOnly:       true,
		SubType:        "timeseriesqueryresults",
		Type:           "refList",
	},
}

StatsQueryLowerCaseAttributesMap represents the map of attribute for StatsQuery.

View Source
var SuggestedPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"NetworkAccessPolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "networkaccesspolicies",
		ConvertedName:  "NetworkAccessPolicies",
		Description:    `List of suggested network policies.`,
		Exposed:        true,
		Name:           "networkAccessPolicies",
		Orderable:      true,
		Stored:         true,
		SubType:        "networkaccesspolicy",
		Type:           "refList",
	},
}

SuggestedPolicyAttributesMap represents the map of attribute for SuggestedPolicy.

View Source
var SuggestedPolicyIdentity = elemental.Identity{
	Name:     "suggestedpolicy",
	Category: "suggestedpolicies",
	Package:  "jenova",
	Private:  false,
}

SuggestedPolicyIdentity represents the Identity of the object.

View Source
var SuggestedPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"networkaccesspolicies": {
		AllowedChoices: []string{},
		BSONFieldName:  "networkaccesspolicies",
		ConvertedName:  "NetworkAccessPolicies",
		Description:    `List of suggested network policies.`,
		Exposed:        true,
		Name:           "networkAccessPolicies",
		Orderable:      true,
		Stored:         true,
		SubType:        "networkaccesspolicy",
		Type:           "refList",
	},
}

SuggestedPolicyLowerCaseAttributesMap represents the map of attribute for SuggestedPolicy.

View Source
var TagAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Count": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "count",
		ConvertedName:  "Count",
		Description:    `Represents the number of times the tag is used.`,
		Exposed:        true,
		Name:           "count",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Value": {
		AllowedChoices: []string{},
		BSONFieldName:  "value",
		ConvertedName:  "Value",
		CreationOnly:   true,
		Description:    `Represents the value of the tag.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
}

TagAttributesMap represents the map of attribute for Tag.

View Source
var TagIdentity = elemental.Identity{
	Name:     "tag",
	Category: "tags",
	Package:  "tagle",
	Private:  false,
}

TagIdentity represents the Identity of the object.

View Source
var TagInjectAttributesMap = map[string]elemental.AttributeSpecification{
	"AddedTags": {
		AllowedChoices: []string{},
		ConvertedName:  "AddedTags",
		Description:    `List of tags to be added.`,
		Exposed:        true,
		Name:           "addedTags",
		SubType:        "map[string]int",
		Type:           "external",
	},
	"RemovedTags": {
		AllowedChoices: []string{},
		ConvertedName:  "RemovedTags",
		Description:    `List of tags to be removed.`,
		Exposed:        true,
		Name:           "removedTags",
		SubType:        "map[string]int",
		Type:           "external",
	},
	"TargetNamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `List of tags to inject.`,
		Exposed:        true,
		Name:           "targetNamespace",
		Required:       true,
		Type:           "string",
	},
}

TagInjectAttributesMap represents the map of attribute for TagInject.

View Source
var TagInjectIdentity = elemental.Identity{
	Name:     "taginject",
	Category: "taginjects",
	Package:  "tagle",
	Private:  true,
}

TagInjectIdentity represents the Identity of the object.

View Source
var TagInjectLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"addedtags": {
		AllowedChoices: []string{},
		ConvertedName:  "AddedTags",
		Description:    `List of tags to be added.`,
		Exposed:        true,
		Name:           "addedTags",
		SubType:        "map[string]int",
		Type:           "external",
	},
	"removedtags": {
		AllowedChoices: []string{},
		ConvertedName:  "RemovedTags",
		Description:    `List of tags to be removed.`,
		Exposed:        true,
		Name:           "removedTags",
		SubType:        "map[string]int",
		Type:           "external",
	},
	"targetnamespace": {
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `List of tags to inject.`,
		Exposed:        true,
		Name:           "targetNamespace",
		Required:       true,
		Type:           "string",
	},
}

TagInjectLowerCaseAttributesMap represents the map of attribute for TagInject.

View Source
var TagLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"count": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "count",
		ConvertedName:  "Count",
		Description:    `Represents the number of times the tag is used.`,
		Exposed:        true,
		Name:           "count",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"value": {
		AllowedChoices: []string{},
		BSONFieldName:  "value",
		ConvertedName:  "Value",
		CreationOnly:   true,
		Description:    `Represents the value of the tag.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
}

TagLowerCaseAttributesMap represents the map of attribute for Tag.

View Source
var TagPrefixAttributesMap = map[string]elemental.AttributeSpecification{
	"Prefixes": {
		AllowedChoices: []string{},
		BSONFieldName:  "prefixes",
		ConvertedName:  "Prefixes",
		Description: `List of tag prefixes that will be used to suggest policies. Only these tags will
be transmitted on the wire.`,
		Exposed: true,
		Name:    "prefixes",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
}

TagPrefixAttributesMap represents the map of attribute for TagPrefix.

View Source
var TagPrefixIdentity = elemental.Identity{
	Name:     "tagprefix",
	Category: "tagprefixes",
	Package:  "squall",
	Private:  false,
}

TagPrefixIdentity represents the Identity of the object.

View Source
var TagPrefixLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"prefixes": {
		AllowedChoices: []string{},
		BSONFieldName:  "prefixes",
		ConvertedName:  "Prefixes",
		Description: `List of tag prefixes that will be used to suggest policies. Only these tags will
be transmitted on the wire.`,
		Exposed: true,
		Name:    "prefixes",
		Stored:  true,
		SubType: "string",
		Type:    "list",
	},
}

TagPrefixLowerCaseAttributesMap represents the map of attribute for TagPrefix.

View Source
var TagValueAttributesMap = map[string]elemental.AttributeSpecification{
	"Key": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `The requested key.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Type:           "string",
	},
	"Values": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Values",
		Description:    `List of all values.`,
		Exposed:        true,
		Name:           "values",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

TagValueAttributesMap represents the map of attribute for TagValue.

View Source
var TagValueIdentity = elemental.Identity{
	Name:     "tagvalue",
	Category: "tagvalues",
	Package:  "tagle",
	Private:  false,
}

TagValueIdentity represents the Identity of the object.

View Source
var TagValueLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"key": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `The requested key.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Type:           "string",
	},
	"values": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Values",
		Description:    `List of all values.`,
		Exposed:        true,
		Name:           "values",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
}

TagValueLowerCaseAttributesMap represents the map of attribute for TagValue.

View Source
var TenantAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"ExternalID": {
		AllowedChoices: []string{},
		ConvertedName:  "ExternalID",
		Description:    `The external ID of the tenant.`,
		Exposed:        true,
		Name:           "externalID",
		Required:       true,
		Transient:      true,
		Type:           "string",
	},
	"Name": {
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the tenant.`,
		Exposed:        true,
		MaxLength:      231,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
}

TenantAttributesMap represents the map of attribute for Tenant.

View Source
var TenantIdentity = elemental.Identity{
	Name:     "tenant",
	Category: "tenants",
	Package:  "karl",
	Private:  false,
}

TenantIdentity represents the Identity of the object.

View Source
var TenantLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"externalid": {
		AllowedChoices: []string{},
		ConvertedName:  "ExternalID",
		Description:    `The external ID of the tenant.`,
		Exposed:        true,
		Name:           "externalID",
		Required:       true,
		Transient:      true,
		Type:           "string",
	},
	"name": {
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `The name of the tenant.`,
		Exposed:        true,
		MaxLength:      231,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
}

TenantLowerCaseAttributesMap represents the map of attribute for Tenant.

View Source
var TextIndexAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `raw text data that are indexed.`,
		Name:           "data",
		Stored:         true,
		Type:           "string",
	},
	"Date": {
		AllowedChoices: []string{},
		BSONFieldName:  "date",
		ConvertedName:  "Date",
		Description:    `Date of the last indexing.`,
		Name:           "date",
		Stored:         true,
		Type:           "time",
	},
	"ObjectID": {
		AllowedChoices: []string{},
		BSONFieldName:  "objectid",
		ConvertedName:  "ObjectID",
		Description:    `Contains the ID of the match.`,
		Name:           "objectID",
		Stored:         true,
		Type:           "string",
	},
	"ObjectIdentity": {
		AllowedChoices: []string{},
		BSONFieldName:  "objectidentity",
		ConvertedName:  "ObjectIdentity",
		Description:    `Contains the identity of the match.`,
		Name:           "objectIdentity",
		Stored:         true,
		Type:           "string",
	},
	"ObjectNamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "objectnamespace",
		ConvertedName:  "ObjectNamespace",
		Description:    `Contains the namespace of the match.`,
		Name:           "objectNamespace",
		Stored:         true,
		Type:           "string",
	},
	"Score": {
		AllowedChoices: []string{},
		BSONFieldName:  "score",
		ConvertedName:  "Score",
		Description:    `Contains a match score.`,
		Name:           "score",
		Stored:         true,
		Type:           "float",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

TextIndexAttributesMap represents the map of attribute for TextIndex.

View Source
var TextIndexIdentity = elemental.Identity{
	Name:     "textindex",
	Category: "textindexes",
	Package:  "gogole",
	Private:  true,
}

TextIndexIdentity represents the Identity of the object.

View Source
var TextIndexLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"data": {
		AllowedChoices: []string{},
		BSONFieldName:  "data",
		ConvertedName:  "Data",
		Description:    `raw text data that are indexed.`,
		Name:           "data",
		Stored:         true,
		Type:           "string",
	},
	"date": {
		AllowedChoices: []string{},
		BSONFieldName:  "date",
		ConvertedName:  "Date",
		Description:    `Date of the last indexing.`,
		Name:           "date",
		Stored:         true,
		Type:           "time",
	},
	"objectid": {
		AllowedChoices: []string{},
		BSONFieldName:  "objectid",
		ConvertedName:  "ObjectID",
		Description:    `Contains the ID of the match.`,
		Name:           "objectID",
		Stored:         true,
		Type:           "string",
	},
	"objectidentity": {
		AllowedChoices: []string{},
		BSONFieldName:  "objectidentity",
		ConvertedName:  "ObjectIdentity",
		Description:    `Contains the identity of the match.`,
		Name:           "objectIdentity",
		Stored:         true,
		Type:           "string",
	},
	"objectnamespace": {
		AllowedChoices: []string{},
		BSONFieldName:  "objectnamespace",
		ConvertedName:  "ObjectNamespace",
		Description:    `Contains the namespace of the match.`,
		Name:           "objectNamespace",
		Stored:         true,
		Type:           "string",
	},
	"score": {
		AllowedChoices: []string{},
		BSONFieldName:  "score",
		ConvertedName:  "Score",
		Description:    `Contains a match score.`,
		Name:           "score",
		Stored:         true,
		Type:           "float",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

TextIndexLowerCaseAttributesMap represents the map of attribute for TextIndex.

View Source
var TokenAttributesMap = map[string]elemental.AttributeSpecification{
	"Certificate": {
		AllowedChoices: []string{},
		ConvertedName:  "Certificate",
		CreationOnly:   true,
		Description:    `Certificate contains the client certificate to use to create a token.`,
		Exposed:        true,
		Name:           "certificate",
		Required:       true,
		Type:           "string",
	},
	"SigningKeyID": {
		AllowedChoices: []string{},
		BSONFieldName:  "signingkeyid",
		ConvertedName:  "SigningKeyID",
		Description:    `SigningKeyID holds the ID of the custom CA to use to sign the token.`,
		Exposed:        true,
		Name:           "signingKeyID",
		Stored:         true,
		Type:           "string",
	},
	"Tags": {
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		CreationOnly:   true,
		Description:    `Tags includes a list of tags that must be added to the token.`,
		Exposed:        true,
		Name:           "tags",
		SubType:        "string",
		Type:           "list",
	},
	"Token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token contains the generated token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"Validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		CreationOnly:   true,
		Description:    `Validity contains the token validity duration.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
}

TokenAttributesMap represents the map of attribute for Token.

View Source
var TokenIdentity = elemental.Identity{
	Name:     "token",
	Category: "tokens",
	Package:  "barret",
	Private:  true,
}

TokenIdentity represents the Identity of the object.

View Source
var TokenLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"certificate": {
		AllowedChoices: []string{},
		ConvertedName:  "Certificate",
		CreationOnly:   true,
		Description:    `Certificate contains the client certificate to use to create a token.`,
		Exposed:        true,
		Name:           "certificate",
		Required:       true,
		Type:           "string",
	},
	"signingkeyid": {
		AllowedChoices: []string{},
		BSONFieldName:  "signingkeyid",
		ConvertedName:  "SigningKeyID",
		Description:    `SigningKeyID holds the ID of the custom CA to use to sign the token.`,
		Exposed:        true,
		Name:           "signingKeyID",
		Stored:         true,
		Type:           "string",
	},
	"tags": {
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		CreationOnly:   true,
		Description:    `Tags includes a list of tags that must be added to the token.`,
		Exposed:        true,
		Name:           "tags",
		SubType:        "string",
		Type:           "list",
	},
	"token": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token contains the generated token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"validity": {
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		CreationOnly:   true,
		Description:    `Validity contains the token validity duration.`,
		Exposed:        true,
		Name:           "validity",
		Type:           "string",
	},
}

TokenLowerCaseAttributesMap represents the map of attribute for Token.

View Source
var TokenScopePolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"AllowedAudiences": {
		AllowedChoices: []string{},
		BSONFieldName:  "allowedaudiences",
		ConvertedName:  "AllowedAudiences",
		Description: `A list of audience values that are allowed when issuing a service token. An
empty list will allow any audience values.`,
		Exposed:   true,
		Name:      "allowedAudiences",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssignedAudience": {
		AllowedChoices: []string{},
		BSONFieldName:  "assignedaudience",
		ConvertedName:  "AssignedAudience",
		Description: `The audience that should be assigned to a request if the caller is not
requesting any specific audience.`,
		Exposed:   true,
		Name:      "assignedAudience",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"AssignedScopes": {
		AllowedChoices: []string{},
		BSONFieldName:  "assignedscopes",
		ConvertedName:  "AssignedScopes",
		Description:    `The list of scopes that the policy will assign.`,
		Exposed:        true,
		Name:           "assignedScopes",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"InheritedClaimKeys": {
		AllowedChoices: []string{},
		BSONFieldName:  "inheritedclaimkeys",
		ConvertedName:  "InheritedClaimKeys",
		Description: `A list of claim keys that should be inherited from the claims of the caller to
the assigned token. In this case, some of the caller claims will be propagated
to resolved token.`,
		Exposed:   true,
		Name:      "inheritedClaimKeys",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Defines the selection criteria that this policy must match on identity
and scope request information.`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		Stored:    true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

TokenScopePolicyAttributesMap represents the map of attribute for TokenScopePolicy.

View Source
var TokenScopePolicyIdentity = elemental.Identity{
	Name:     "tokenscopepolicy",
	Category: "tokenscopepolicies",
	Package:  "squall",
	Private:  false,
}

TokenScopePolicyIdentity represents the Identity of the object.

View Source
var TokenScopePolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"allowedaudiences": {
		AllowedChoices: []string{},
		BSONFieldName:  "allowedaudiences",
		ConvertedName:  "AllowedAudiences",
		Description: `A list of audience values that are allowed when issuing a service token. An
empty list will allow any audience values.`,
		Exposed:   true,
		Name:      "allowedAudiences",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"assignedaudience": {
		AllowedChoices: []string{},
		BSONFieldName:  "assignedaudience",
		ConvertedName:  "AssignedAudience",
		Description: `The audience that should be assigned to a request if the caller is not
requesting any specific audience.`,
		Exposed:   true,
		Name:      "assignedAudience",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"assignedscopes": {
		AllowedChoices: []string{},
		BSONFieldName:  "assignedscopes",
		ConvertedName:  "AssignedScopes",
		Description:    `The list of scopes that the policy will assign.`,
		Exposed:        true,
		Name:           "assignedScopes",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"fallback": {
		AllowedChoices: []string{},
		BSONFieldName:  "fallback",
		ConvertedName:  "Fallback",
		Description: `Indicates that this is fallback policy. It will only be
applied if no other policies have been resolved. If the policy is also
propagated it will become a fallback for children namespaces.`,
		Exposed:   true,
		Getter:    true,
		Name:      "fallback",
		Orderable: true,
		Setter:    true,
		Stored:    true,
		Type:      "boolean",
	},
	"inheritedclaimkeys": {
		AllowedChoices: []string{},
		BSONFieldName:  "inheritedclaimkeys",
		ConvertedName:  "InheritedClaimKeys",
		Description: `A list of claim keys that should be inherited from the claims of the caller to
the assigned token. In this case, some of the caller claims will be propagated
to resolved token.`,
		Exposed:   true,
		Name:      "inheritedClaimKeys",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		BSONFieldName:  "subject",
		ConvertedName:  "Subject",
		Description: `Defines the selection criteria that this policy must match on identity
and scope request information.`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		Stored:    true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

TokenScopePolicyLowerCaseAttributesMap represents the map of attribute for TokenScopePolicy.

View Source
var TriggerAttributesMap = map[string]elemental.AttributeSpecification{
	"Payload": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Payload",
		Description:    `Contains the remote ` + "`" + `POST` + "`" + ` payload.`,
		Name:           "payload",
		Type:           "string",
	},
}

TriggerAttributesMap represents the map of attribute for Trigger.

View Source
var TriggerIdentity = elemental.Identity{
	Name:     "trigger",
	Category: "triggers",
	Package:  "sephiroth",
	Private:  false,
}

TriggerIdentity represents the Identity of the object.

View Source
var TriggerLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"payload": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Payload",
		Description:    `Contains the remote ` + "`" + `POST` + "`" + ` payload.`,
		Name:           "payload",
		Type:           "string",
	},
}

TriggerLowerCaseAttributesMap represents the map of attribute for Trigger.

View Source
var TrustedCAAttributesMap = map[string]elemental.AttributeSpecification{
	"Certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description: `The private certificate of the corresponding type associated with this
namespace.`,
		Exposed:  true,
		Name:     "certificate",
		ReadOnly: true,
		Type:     "string",
	},
	"Controller": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Controller",
		Description:    `The controller that this certificate or CA was issued from.`,
		Exposed:        true,
		Name:           "controller",
		ReadOnly:       true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `The namespace that this certificate or CA was defined at.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"NamespaceID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NamespaceID",
		Description:    `The ID of namespace that this certificate or CA was defined at.`,
		Exposed:        true,
		Name:           "namespaceID",
		ReadOnly:       true,
		Type:           "string",
	},
	"Serialnumber": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Serialnumber",
		Description:    `SerialNumber is the serial number of the certificate.`,
		Exposed:        true,
		Name:           "serialnumber",
		ReadOnly:       true,
		Type:           "string",
	},
	"Type": {
		AllowedChoices: []string{"X509", "SSH", "JWT"},
		Autogenerated:  true,
		ConvertedName:  "Type",
		Description:    `Type of the certificate.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Type:           "enum",
	},
}

TrustedCAAttributesMap represents the map of attribute for TrustedCA.

View Source
var TrustedCAIdentity = elemental.Identity{
	Name:     "trustedca",
	Category: "trustedcas",
	Package:  "squall",
	Private:  false,
}

TrustedCAIdentity represents the Identity of the object.

View Source
var TrustedCALowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description: `The private certificate of the corresponding type associated with this
namespace.`,
		Exposed:  true,
		Name:     "certificate",
		ReadOnly: true,
		Type:     "string",
	},
	"controller": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Controller",
		Description:    `The controller that this certificate or CA was issued from.`,
		Exposed:        true,
		Name:           "controller",
		ReadOnly:       true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `The namespace that this certificate or CA was defined at.`,
		Exposed:        true,
		Name:           "namespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"namespaceid": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NamespaceID",
		Description:    `The ID of namespace that this certificate or CA was defined at.`,
		Exposed:        true,
		Name:           "namespaceID",
		ReadOnly:       true,
		Type:           "string",
	},
	"serialnumber": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Serialnumber",
		Description:    `SerialNumber is the serial number of the certificate.`,
		Exposed:        true,
		Name:           "serialnumber",
		ReadOnly:       true,
		Type:           "string",
	},
	"type": {
		AllowedChoices: []string{"X509", "SSH", "JWT"},
		Autogenerated:  true,
		ConvertedName:  "Type",
		Description:    `Type of the certificate.`,
		Exposed:        true,
		Name:           "type",
		ReadOnly:       true,
		Type:           "enum",
	},
}

TrustedCALowerCaseAttributesMap represents the map of attribute for TrustedCA.

View Source
var TrustedNamespaceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CertificateAuthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description:    `Contains the PEM block of the certificate authority trusted namespace.`,
		Exposed:        true,
		Name:           "certificateAuthority",
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RemoteController": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "remotecontroller",
		ConvertedName:  "RemoteController",
		Description:    `The controller declared in the certificate authority.`,
		Exposed:        true,
		Name:           "remoteController",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"RemoteNamespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "remotenamespace",
		ConvertedName:  "RemoteNamespace",
		Description:    `The namespace declared in the certificate authority.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"SerialNumber": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "serialnumber",
		ConvertedName:  "SerialNumber",
		Description:    `The serial number of the CA.`,
		Exposed:        true,
		Name:           "serialNumber",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

TrustedNamespaceAttributesMap represents the map of attribute for TrustedNamespace.

View Source
var TrustedNamespaceIdentity = elemental.Identity{
	Name:     "trustednamespace",
	Category: "trustednamespaces",
	Package:  "squall",
	Private:  false,
}

TrustedNamespaceIdentity represents the Identity of the object.

View Source
var TrustedNamespaceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"certificateauthority": {
		AllowedChoices: []string{},
		BSONFieldName:  "certificateauthority",
		ConvertedName:  "CertificateAuthority",
		Description:    `Contains the PEM block of the certificate authority trusted namespace.`,
		Exposed:        true,
		Name:           "certificateAuthority",
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		DefaultValue:   true,
		Description:    `Propagates the object to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"remotecontroller": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "remotecontroller",
		ConvertedName:  "RemoteController",
		Description:    `The controller declared in the certificate authority.`,
		Exposed:        true,
		Name:           "remoteController",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"remotenamespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "remotenamespace",
		ConvertedName:  "RemoteNamespace",
		Description:    `The namespace declared in the certificate authority.`,
		Exposed:        true,
		Name:           "remoteNamespace",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"serialnumber": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "serialnumber",
		ConvertedName:  "SerialNumber",
		Description:    `The serial number of the CA.`,
		Exposed:        true,
		Name:           "serialNumber",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

TrustedNamespaceLowerCaseAttributesMap represents the map of attribute for TrustedNamespace.

View Source
var UserAccessPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"ActiveDuration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"ActiveSchedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"AllowedSudoUsers": {
		AllowedChoices: []string{},
		ConvertedName:  "AllowedSudoUsers",
		Description:    `Indicates the list of user who can use ` + "`" + `sudo` + "`" + ` commands.`,
		Exposed:        true,
		Name:           "allowedSudoUsers",
		SubType:        "string",
		Type:           "list",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description: `Contains the tag expression matching the enforcers the subject is allowed
to connect to.`,
		Exposed:   true,
		Name:      "object",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `Contains the tag expression the tags need to match for the policy to
apply.`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

UserAccessPolicyAttributesMap represents the map of attribute for UserAccessPolicy.

View Source
var UserAccessPolicyIdentity = elemental.Identity{
	Name:     "useraccesspolicy",
	Category: "useraccesspolicies",
	Package:  "squall",
	Private:  false,
}

UserAccessPolicyIdentity represents the Identity of the object.

View Source
var UserAccessPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"activeduration": {
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		BSONFieldName:  "activeduration",
		ConvertedName:  "ActiveDuration",
		Description: `Defines for how long the policy will be active according to the
` + "`" + `activeSchedule` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeDuration",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"activeschedule": {
		AllowedChoices: []string{},
		BSONFieldName:  "activeschedule",
		ConvertedName:  "ActiveSchedule",
		Description: `Defines when the policy should be active using the cron notation.
The policy will be active for the given ` + "`" + `activeDuration` + "`" + `.`,
		Exposed: true,
		Getter:  true,
		Name:    "activeSchedule",
		Setter:  true,
		Stored:  true,
		Type:    "string",
	},
	"allowedsudousers": {
		AllowedChoices: []string{},
		ConvertedName:  "AllowedSudoUsers",
		Description:    `Indicates the list of user who can use ` + "`" + `sudo` + "`" + ` commands.`,
		Exposed:        true,
		Name:           "allowedSudoUsers",
		SubType:        "string",
		Type:           "list",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		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 object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": {
		AllowedChoices: []string{},
		BSONFieldName:  "disabled",
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": {
		AllowedChoices: []string{},
		BSONFieldName:  "expirationtime",
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be automatically deleted after the given time.`,
		Exposed:        true,
		Getter:         true,
		Name:           "expirationTime",
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"metadata": {
		AllowedChoices: []string{},
		BSONFieldName:  "metadata",
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Contains tags that can only be set during creation, must all start
with the '@' prefix, and should only be used by external systems.`,
		Exposed:    true,
		Filterable: true,
		Getter:     true,
		Name:       "metadata",
		Setter:     true,
		Stored:     true,
		SubType:    "string",
		Type:       "list",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"object": {
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description: `Contains the tag expression matching the enforcers the subject is allowed
to connect to.`,
		Exposed:   true,
		Name:      "object",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": {
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `Contains the tag expression the tags need to match for the policy to
apply.`,
		Exposed:   true,
		Name:      "subject",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		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",
	},
}

UserAccessPolicyLowerCaseAttributesMap represents the map of attribute for UserAccessPolicy.

View Source
var ValidateRQLAttributesMap = map[string]elemental.AttributeSpecification{
	"Error": {
		AllowedChoices: []string{},
		ConvertedName:  "Error",
		Description:    `The error message if the query fails validation.`,
		Exposed:        true,
		Name:           "error",
		Type:           "string",
	},
	"PolicyType": {
		AllowedChoices: []string{},
		ConvertedName:  "PolicyType",
		Description:    `The type of the policy.`,
		Exposed:        true,
		Name:           "policyType",
		Type:           "string",
	},
	"PrismaID": {
		AllowedChoices: []string{},
		ConvertedName:  "PrismaID",
		Description:    `The Prisma Cloud ID.`,
		Exposed:        true,
		Name:           "prismaID",
		Type:           "integer",
	},
	"Query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query to validate.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"SearchType": {
		AllowedChoices: []string{},
		ConvertedName:  "SearchType",
		Description:    `The search type.`,
		Exposed:        true,
		Name:           "searchType",
		Type:           "string",
	},
	"Status": {
		AllowedChoices: []string{},
		ConvertedName:  "Status",
		Description:    `The http status code of the response.`,
		Exposed:        true,
		Name:           "status",
		Type:           "integer",
	},
	"Timestamp": {
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `The timestamp of the query in nanoseconds.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "integer",
	},
}

ValidateRQLAttributesMap represents the map of attribute for ValidateRQL.

View Source
var ValidateRQLIdentity = elemental.Identity{
	Name:     "validaterql",
	Category: "validaterql",
	Package:  "larl",
	Private:  false,
}

ValidateRQLIdentity represents the Identity of the object.

View Source
var ValidateRQLLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"error": {
		AllowedChoices: []string{},
		ConvertedName:  "Error",
		Description:    `The error message if the query fails validation.`,
		Exposed:        true,
		Name:           "error",
		Type:           "string",
	},
	"policytype": {
		AllowedChoices: []string{},
		ConvertedName:  "PolicyType",
		Description:    `The type of the policy.`,
		Exposed:        true,
		Name:           "policyType",
		Type:           "string",
	},
	"prismaid": {
		AllowedChoices: []string{},
		ConvertedName:  "PrismaID",
		Description:    `The Prisma Cloud ID.`,
		Exposed:        true,
		Name:           "prismaID",
		Type:           "integer",
	},
	"query": {
		AllowedChoices: []string{},
		ConvertedName:  "Query",
		Description:    `The query to validate.`,
		Exposed:        true,
		Name:           "query",
		Required:       true,
		Type:           "string",
	},
	"searchtype": {
		AllowedChoices: []string{},
		ConvertedName:  "SearchType",
		Description:    `The search type.`,
		Exposed:        true,
		Name:           "searchType",
		Type:           "string",
	},
	"status": {
		AllowedChoices: []string{},
		ConvertedName:  "Status",
		Description:    `The http status code of the response.`,
		Exposed:        true,
		Name:           "status",
		Type:           "integer",
	},
	"timestamp": {
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `The timestamp of the query in nanoseconds.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "integer",
	},
}

ValidateRQLLowerCaseAttributesMap represents the map of attribute for ValidateRQL.

View Source
var ValidateUIParameterAttributesMap = map[string]elemental.AttributeSpecification{
	"Errors": {
		AllowedChoices: []string{},
		ConvertedName:  "Errors",
		Description:    `Contains the list of errors.`,
		Exposed:        true,
		Name:           "errors",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `List of parameters to validate.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "uiparameter",
		Type:           "refList",
	},
	"Values": {
		AllowedChoices: []string{},
		ConvertedName:  "Values",
		Description:    `Contains the computed values.`,
		Exposed:        true,
		Name:           "values",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
}

ValidateUIParameterAttributesMap represents the map of attribute for ValidateUIParameter.

View Source
var ValidateUIParameterIdentity = elemental.Identity{
	Name:     "validateuiparameter",
	Category: "validateuiparameters",
	Package:  "ignis",
	Private:  false,
}

ValidateUIParameterIdentity represents the Identity of the object.

View Source
var ValidateUIParameterLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"errors": {
		AllowedChoices: []string{},
		ConvertedName:  "Errors",
		Description:    `Contains the list of errors.`,
		Exposed:        true,
		Name:           "errors",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"parameters": {
		AllowedChoices: []string{},
		BSONFieldName:  "parameters",
		ConvertedName:  "Parameters",
		Description:    `List of parameters to validate.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "uiparameter",
		Type:           "refList",
	},
	"values": {
		AllowedChoices: []string{},
		ConvertedName:  "Values",
		Description:    `Contains the computed values.`,
		Exposed:        true,
		Name:           "values",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
}

ValidateUIParameterLowerCaseAttributesMap represents the map of attribute for ValidateUIParameter.

View Source
var VulnerabilityAttributesMap = map[string]elemental.AttributeSpecification{
	"CVSS2Score": {
		AllowedChoices: []string{},
		BSONFieldName:  "cvss2score",
		ConvertedName:  "CVSS2Score",
		CreationOnly:   true,
		Description:    `Common Vulnerability Scoring System (CVSS) version 2 score.`,
		Exposed:        true,
		Name:           "CVSS2Score",
		Stored:         true,
		Type:           "float",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssociatedTags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CreateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Link": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "link",
		ConvertedName:  "Link",
		CreationOnly:   true,
		Description:    `The URL that refers to the vulnerability.`,
		Exposed:        true,
		Name:           "link",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"Propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Severity": {
		AllowedChoices: []string{},
		BSONFieldName:  "severity",
		ConvertedName:  "Severity",
		CreationOnly:   true,
		Description:    `Refers to the security vulnerability level.`,
		Exposed:        true,
		Name:           "severity",
		Required:       true,
		Stored:         true,
		SubType:        "_vulnerability_level",
		Type:           "external",
	},
	"UpdateIdempotencyKey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"Zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

VulnerabilityAttributesMap represents the map of attribute for Vulnerability.

View Source
var VulnerabilityIdentity = elemental.Identity{
	Name:     "vulnerability",
	Category: "vulnerabilities",
	Package:  "squall",
	Private:  false,
}

VulnerabilityIdentity represents the Identity of the object.

View Source
var VulnerabilityLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"cvss2score": {
		AllowedChoices: []string{},
		BSONFieldName:  "cvss2score",
		ConvertedName:  "CVSS2Score",
		CreationOnly:   true,
		Description:    `Common Vulnerability Scoring System (CVSS) version 2 score.`,
		Exposed:        true,
		Name:           "CVSS2Score",
		Stored:         true,
		Type:           "float",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "_id",
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": {
		AllowedChoices: []string{},
		BSONFieldName:  "annotations",
		ConvertedName:  "Annotations",
		Description:    `Stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"associatedtags": {
		AllowedChoices: []string{},
		BSONFieldName:  "associatedtags",
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"createidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "createidempotencykey",
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"description": {
		AllowedChoices: []string{},
		BSONFieldName:  "description",
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"link": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "link",
		ConvertedName:  "Link",
		CreationOnly:   true,
		Description:    `The URL that refers to the vulnerability.`,
		Exposed:        true,
		Name:           "link",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": {
		AllowedChoices: []string{},
		BSONFieldName:  "migrationslog",
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": {
		AllowedChoices: []string{},
		BSONFieldName:  "name",
		ConvertedName:  "Name",
		Description:    `Name of the entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		MaxLength:      256,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "namespace",
		ConvertedName:  "Namespace",
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "normalizedtags",
		ConvertedName:  "NormalizedTags",
		Description:    `Contains the list of normalized tags of the entities.`,
		Exposed:        true,
		Getter:         true,
		Name:           "normalizedTags",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Transient:      true,
		Type:           "list",
	},
	"propagate": {
		AllowedChoices: []string{},
		BSONFieldName:  "propagate",
		ConvertedName:  "Propagate",
		Description:    `Propagates the policy to all of its children.`,
		Exposed:        true,
		Getter:         true,
		Name:           "propagate",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protected": {
		AllowedChoices: []string{},
		BSONFieldName:  "protected",
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"severity": {
		AllowedChoices: []string{},
		BSONFieldName:  "severity",
		ConvertedName:  "Severity",
		CreationOnly:   true,
		Description:    `Refers to the security vulnerability level.`,
		Exposed:        true,
		Name:           "severity",
		Required:       true,
		Stored:         true,
		SubType:        "_vulnerability_level",
		Type:           "external",
	},
	"updateidempotencykey": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "updateidempotencykey",
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zhash",
		ConvertedName:  "ZHash",
		Description: `geographical hash of the data. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zHash",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
	"zone": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		BSONFieldName:  "zone",
		ConvertedName:  "Zone",
		Description:    `Logical storage zone. Used for sharding.`,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

VulnerabilityLowerCaseAttributesMap represents the map of attribute for Vulnerability.

View Source
var X509CertificateAttributesMap = map[string]elemental.AttributeSpecification{
	"CSR": {
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		CreationOnly:   true,
		Description:    `Contains the Certificate Signing Request (CSR) as a PEM-encoded string.`,
		Exposed:        true,
		Name:           "CSR",
		Required:       true,
		Type:           "string",
	},
	"ID": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID contains the identifier of the certificate.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Type:           "string",
	},
	"Certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Certificate contains the certificate data in PEM format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"ExpirationDate": {
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description:    `ExpirationDate contains the requested expiration date.`,
		Exposed:        true,
		Name:           "expirationDate",
		SubType:        "string",
		Type:           "time",
	},
	"Extensions": {
		AllowedChoices: []string{},
		ConvertedName:  "Extensions",
		CreationOnly:   true,
		Description: `Extensions to add to the certificate. It must contains ASN1-encoded bytes,
themselves encoded in base64.`,
		Exposed: true,
		Name:    "extensions",
		SubType: "[]byte",
		Type:    "external",
	},
	"Signer": {
		AllowedChoices: []string{"Public", "Namespace", "System"},
		ConvertedName:  "Signer",
		DefaultValue:   X509CertificateSignerPublic,
		Description:    `Selects what CA should sign the certificate.`,
		Exposed:        true,
		Name:           "signer",
		Type:           "enum",
	},
	"SignerID": {
		AllowedChoices: []string{},
		ConvertedName:  "SignerID",
		Description: `Selects the ID of the CA that should sign the certificate when signer is set to
Namespace.`,
		Exposed: true,
		Name:    "signerID",
		Type:    "string",
	},
	"SubjectOverride": {
		AllowedChoices: []string{},
		ConvertedName:  "SubjectOverride",
		CreationOnly:   true,
		Description:    `Additional subject information to use to override the ones in the CSR.`,
		Exposed:        true,
		Name:           "subjectOverride",
		SubType:        "pkixname",
		Type:           "ref",
	},
	"Unrevocable": {
		AllowedChoices: []string{},
		ConvertedName:  "Unrevocable",
		Description: `If set to true, the certificate is considered short lived and it will not be
possible to revoke it.`,
		Exposed: true,
		Name:    "unrevocable",
		Type:    "boolean",
	},
	"Usage": {
		AllowedChoices: []string{"Client", "Server", "ServerClient"},
		ConvertedName:  "Usage",
		DefaultValue:   X509CertificateUsageClient,
		Description:    `Usage defines the requested key usage.`,
		Exposed:        true,
		Name:           "usage",
		Type:           "enum",
	},
}

X509CertificateAttributesMap represents the map of attribute for X509Certificate.

View Source
var X509CertificateCheckAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID contains the certificate serialNumber.`,
		Exposed:        true,
		Identifier:     true,
		Name:           "ID",
		Required:       true,
		Type:           "string",
	},
}

X509CertificateCheckAttributesMap represents the map of attribute for X509CertificateCheck.

View Source
var X509CertificateCheckIdentity = elemental.Identity{
	Name:     "x509certificatecheck",
	Category: "x509certificatechecks",
	Package:  "barret",
	Private:  true,
}

X509CertificateCheckIdentity represents the Identity of the object.

View Source
var X509CertificateCheckLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": {
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID contains the certificate serialNumber.`,
		Exposed:        true,
		Identifier:     true,
		Name:           "ID",
		Required:       true,
		Type:           "string",
	},
}

X509CertificateCheckLowerCaseAttributesMap represents the map of attribute for X509CertificateCheck.

View Source
var X509CertificateIdentity = elemental.Identity{
	Name:     "x509certificate",
	Category: "x509certificates",
	Package:  "barret",
	Private:  true,
}

X509CertificateIdentity represents the Identity of the object.

View Source
var X509CertificateLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"csr": {
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		CreationOnly:   true,
		Description:    `Contains the Certificate Signing Request (CSR) as a PEM-encoded string.`,
		Exposed:        true,
		Name:           "CSR",
		Required:       true,
		Type:           "string",
	},
	"id": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID contains the identifier of the certificate.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Type:           "string",
	},
	"certificate": {
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Certificate contains the certificate data in PEM format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"expirationdate": {
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description:    `ExpirationDate contains the requested expiration date.`,
		Exposed:        true,
		Name:           "expirationDate",
		SubType:        "string",
		Type:           "time",
	},
	"extensions": {
		AllowedChoices: []string{},
		ConvertedName:  "Extensions",
		CreationOnly:   true,
		Description: `Extensions to add to the certificate. It must contains ASN1-encoded bytes,
themselves encoded in base64.`,
		Exposed: true,
		Name:    "extensions",
		SubType: "[]byte",
		Type:    "external",
	},
	"signer": {
		AllowedChoices: []string{"Public", "Namespace", "System"},
		ConvertedName:  "Signer",
		DefaultValue:   X509CertificateSignerPublic,
		Description:    `Selects what CA should sign the certificate.`,
		Exposed:        true,
		Name:           "signer",
		Type:           "enum",
	},
	"signerid": {
		AllowedChoices: []string{},
		ConvertedName:  "SignerID",
		Description: `Selects the ID of the CA that should sign the certificate when signer is set to
Namespace.`,
		Exposed: true,
		Name:    "signerID",
		Type:    "string",
	},
	"subjectoverride": {
		AllowedChoices: []string{},
		ConvertedName:  "SubjectOverride",
		CreationOnly:   true,
		Description:    `Additional subject information to use to override the ones in the CSR.`,
		Exposed:        true,
		Name:           "subjectOverride",
		SubType:        "pkixname",
		Type:           "ref",
	},
	"unrevocable": {
		AllowedChoices: []string{},
		ConvertedName:  "Unrevocable",
		Description: `If set to true, the certificate is considered short lived and it will not be
possible to revoke it.`,
		Exposed: true,
		Name:    "unrevocable",
		Type:    "boolean",
	},
	"usage": {
		AllowedChoices: []string{"Client", "Server", "ServerClient"},
		ConvertedName:  "Usage",
		DefaultValue:   X509CertificateUsageClient,
		Description:    `Usage defines the requested key usage.`,
		Exposed:        true,
		Name:           "usage",
		Type:           "enum",
	},
}

X509CertificateLowerCaseAttributesMap represents the map of attribute for X509Certificate.

Functions

func AliasesForIdentity

func AliasesForIdentity(identity elemental.Identity) []string

AliasesForIdentity returns all the aliases for the given identity.

func AllIdentities

func AllIdentities() []elemental.Identity

AllIdentities returns all existing identities.

func IsAddressPrivate added in v1.101.0

func IsAddressPrivate(address string) (bool, error)

IsAddressPrivate will check an address and return true if it is part of the private RFC 1918 address spaces.

func IsCloudNetworkQueryFilterEmpty added in v1.101.0

func IsCloudNetworkQueryFilterEmpty(f *CloudNetworkQueryFilter) bool

IsCloudNetworkQueryFilterEmpty returns true of the CloudNetworkQueryFilter is empty of any values.

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 ValidateAPIAuthorizationPolicySubject added in v1.61.0

func ValidateAPIAuthorizationPolicySubject(attribute string, subject [][]string) error

ValidateAPIAuthorizationPolicySubject makes sure api authorization subject is at least secured a bit.

func ValidateAudience

func ValidateAudience(attribute string, audience string) error

ValidateAudience validates an audience string.

func ValidateAutomation added in v1.24.0

func ValidateAutomation(auto *Automation) error

ValidateAutomation validates an automation by checking for the following:

  • Exactly ONE action MUST be defined if the automation trigger type is set to "Webhook"

func ValidateCA added in v1.94.1

func ValidateCA(attribute string, pemdata string) error

ValidateCA verifies a string contains a PEM encoding a CA.

func ValidateCIDR added in v1.94.1

func ValidateCIDR(attribute string, network string) error

ValidateCIDR validates a CIDR.

func ValidateCIDRList added in v1.94.1

func ValidateCIDRList(attribute string, networks []string) error

ValidateCIDRList validates a list of CIDRS. The list cannot be empty

func ValidateCIDROrIP added in v1.101.0

func ValidateCIDROrIP(attribute string, network string) error

ValidateCIDROrIP validates that this is a valid IP address or CIDR.

func ValidateCIDROrIPList added in v1.101.0

func ValidateCIDROrIPList(attribute string, networks []string) error

ValidateCIDROrIPList validates a list of CIDRs or IPs.

func ValidateCachedFlowReport added in v1.94.1

func ValidateCachedFlowReport(cachedFlowReport *CachedFlowReport) error

ValidateCachedFlowReport validates a CachedFlowReport.

func ValidateCloudNetworkQueryEntity added in v1.101.0

func ValidateCloudNetworkQueryEntity(q *CloudNetworkQuery) error

ValidateCloudNetworkQueryEntity validates the CloudNetworkQuery entity and all the attribute relations.

func ValidateCloudNetworkQueryFilter added in v1.101.0

func ValidateCloudNetworkQueryFilter(attribute string, f *CloudNetworkQueryFilter) error

ValidateCloudNetworkQueryFilter validates the requirements of the CloudNetworkQueryFilter.

func ValidateCloudTag added in v1.101.0

func ValidateCloudTag(attribute string, tag string) error

ValidateCloudTag validates a single tag.

func ValidateCloudTagsExpression added in v1.101.0

func ValidateCloudTagsExpression(attribute string, tags [][]string) error

ValidateCloudTagsExpression validates the cloud tags provided by Prisma Cloud.

func ValidateConnectionExceptionReport added in v1.94.1

func ValidateConnectionExceptionReport(report *ConnectionExceptionReport) error

ValidateConnectionExceptionReport validates a ConnectionExceptionReport.

func ValidateCounterReport added in v1.94.1

func ValidateCounterReport(report *CounterReport) error

ValidateCounterReport validates a CounterReport.

func ValidateDNSLookupReport added in v1.94.1

func ValidateDNSLookupReport(report *DNSLookupReport) error

ValidateDNSLookupReport validates a DNSLookupReport.

func ValidateEachSubExpressionHasNoDuplicateTags added in v1.103.0

func ValidateEachSubExpressionHasNoDuplicateTags(attribute string, expression [][]string) error

ValidateEachSubExpressionHasNoDuplicateTags ensures that each sub expression in the given expression has unique tags

func ValidateEnforcerProfile

func ValidateEnforcerProfile(enforcerProfile *EnforcerProfile) error

ValidateEnforcerProfile validates a an enforcer profile.

func ValidateEnforcerReport added in v1.94.1

func ValidateEnforcerReport(report *EnforcerReport) error

ValidateEnforcerReport validates that an EnforcerReport for backwards compatibility as a result of the usage change of the 'ID' field.

func ValidateExpressionNotEmpty added in v1.103.0

func ValidateExpressionNotEmpty(attribute string, expression [][]string) error

ValidateExpressionNotEmpty validates that expression length is >= 1

func ValidateHTTPMethods

func ValidateHTTPMethods(attribute string, methods []string) error

ValidateHTTPMethods validates the attribute methods is a list of HTTP verbs.

func ValidateHTTPSURL added in v1.94.1

func ValidateHTTPSURL(attribute string, address string) error

ValidateHTTPSURL validates the URL to make sure it is in a validate format and is https.

func ValidateHookPolicy added in v1.94.1

func ValidateHookPolicy(policy *HookPolicy) error

ValidateHookPolicy validates a hook policy.

func ValidateHostServices

func ValidateHostServices(hs *HostService) error

ValidateHostServices validates a host service. Applies to the new API only.

func ValidateHostServicesNonOverlapPorts

func ValidateHostServicesNonOverlapPorts(svcs []string) error

ValidateHostServicesNonOverlapPorts validates a list of processing unit services has no overlap with any given parameter.

func ValidateICMPTypeCodeNotation added in v1.94.1

func ValidateICMPTypeCodeNotation(attribute string, protocol string, typeCode string) error

ValidateICMPTypeCodeNotation validates the type code for ICMP and ICMP6 Accepted notations: type/code with - Type is between 0 and 255. Only 1 type at a type (ex: 1,3 is not accepted) - Code can be between 0 and 255. Can be a combination of list (ex: 2,3) and range (2,3:35)

func ValidateIPAddress added in v1.101.0

func ValidateIPAddress(attribute string, network string) error

ValidateIPAddress validates that this is a valid IP address (not a CIDR).

func ValidateIPAddressList added in v1.101.0

func ValidateIPAddressList(attribute string, ips []string) error

ValidateIPAddressList validates that this is a valid list IP addresses.

func ValidateIdentity added in v1.84.0

func ValidateIdentity(attribute string, identity string) error

ValidateIdentity verifies the given string is a valid gaia identity.

func ValidateMetadata

func ValidateMetadata(attribute string, metadata []string) error

ValidateMetadata validates if a []string is a valid list of metadata.

func ValidateNativeID added in v1.101.0

func ValidateNativeID(attribute string, tag string) error

ValidateNativeID validates a single tag.

func ValidateNetworkOrHostnameList added in v1.94.1

func ValidateNetworkOrHostnameList(attribute string, networks []string) error

ValidateNetworkOrHostnameList validates a list of networks. The list cannot be empty

func ValidateNoDuplicateNetworkRules added in v1.103.0

func ValidateNoDuplicateNetworkRules(attribute string, rules []*NetworkRule) error

ValidateNoDuplicateNetworkRules ensures that all the given network rules are all unique

func ValidateNoDuplicateSubExpressions added in v1.103.0

func ValidateNoDuplicateSubExpressions(attribute string, expression [][]string) error

ValidateNoDuplicateSubExpressions ensures that all sub expressions are unique

func ValidateOptionalCIDR added in v1.101.0

func ValidateOptionalCIDR(attribute string, network string) error

ValidateOptionalCIDR validates an optional CIDR. It can be empty.

func ValidateOptionalCIDRList added in v1.94.1

func ValidateOptionalCIDRList(attribute string, networks []string) error

ValidateOptionalCIDRList validates a list of CIDRs. It can be empty.

func ValidateOptionalCIDRorIP added in v1.101.0

func ValidateOptionalCIDRorIP(attribute string, network string) error

ValidateOptionalCIDRorIP returns no error if the network is empty.

func ValidateOptionalCIDRorIPList added in v1.101.0

func ValidateOptionalCIDRorIPList(attribute string, networks []string) error

ValidateOptionalCIDRorIPList validates an optional list of CIDRs or IPs.

func ValidateOptionalIPAddress added in v1.101.0

func ValidateOptionalIPAddress(attribute string, network string) error

ValidateOptionalIPAddress validates that this is a valid IP address (not a CIDR) if it not empty.

func ValidateOptionalIPAddressList added in v1.101.0

func ValidateOptionalIPAddressList(attribute string, ips []string) error

ValidateOptionalIPAddressList validates that this is a valid IP address (not a CIDR) if it not empty.

func ValidateOptionalNetworkOrHostnameList added in v1.94.1

func ValidateOptionalNetworkOrHostnameList(attribute string, networks []string) error

ValidateOptionalNetworkOrHostnameList validates a list of networks. It can be empty.

func ValidateOptionalTimeDuration added in v1.94.1

func ValidateOptionalTimeDuration(attribute string, duration string) error

ValidateOptionalTimeDuration validates that the time duration provided is compliant with the go format. This function allows empty string as input.

func ValidateOrganizationalMetadata added in v1.94.1

func ValidateOrganizationalMetadata(attribute string, metadata []string) error

ValidateOrganizationalMetadata validates if a []string is a valid list of organizational metadata.

func ValidatePEM

func ValidatePEM(attribute string, pemdata string) error

ValidatePEM validates a string contains a PEM.

func ValidatePortString

func ValidatePortString(attribute string, portExp string) error

ValidatePortString validates a string represents a port or a range of port. valid: 443, 443:555

func ValidatePortStringList

func ValidatePortStringList(attribute string, ports []string) error

ValidatePortStringList validates a list of ports.

func ValidatePortsList added in v1.101.0

func ValidatePortsList(attribute string, ports []*portutils.PortsRange) error

ValidatePortsList validates a list of port ranges.

func ValidateProcessingUnitPolicy added in v1.94.1

func ValidateProcessingUnitPolicy(policy *ProcessingUnitPolicy) error

ValidateProcessingUnitPolicy validates a processing unit policy has no action and datapath set to default.

func ValidateProcessingUnitServicesList

func ValidateProcessingUnitServicesList(attribute string, svcs []*ProcessingUnitService) error

ValidateProcessingUnitServicesList validates a list of processing unit services.

func ValidateProcessingUnitServicesListWithoutOverlap

func ValidateProcessingUnitServicesListWithoutOverlap(attribute string, svcs []*ProcessingUnitService, cachePortsList map[int]*portutils.PortsList, cacheRanges map[int]*portutils.PortsRangeList) (map[int]*portutils.PortsList, map[int]*portutils.PortsRangeList, error)

ValidateProcessingUnitServicesListWithoutOverlap validates a list of processing unit services has no overlap with any given parameter.

func ValidateProtocol

func ValidateProtocol(attribute string, proto string) error

ValidateProtocol validates a string represents netwotk a protocol.

func ValidateProtocolList

func ValidateProtocolList(attribute string, protocols []string) error

ValidateProtocolList validates a list of protocols.

func ValidateSAMLProvider added in v1.49.0

func ValidateSAMLProvider(provider *SAMLProvider) error

ValidateSAMLProvider validate the given SAMLProvider

func ValidateSemVer added in v1.94.1

func ValidateSemVer(attribute, data string) error

ValidateSemVer validates a semantic version.

func ValidateServiceEntity

func ValidateServiceEntity(service *Service) error

ValidateServiceEntity validates a Service.

func ValidateServicePort added in v1.66.0

func ValidateServicePort(attribute string, servicePort string) error

ValidateServicePort validates a single serviceport.

func ValidateServicePorts added in v1.66.0

func ValidateServicePorts(attribute string, servicePorts []string) error

ValidateServicePorts validates a list of serviceports.

func ValidateStringListNotEmpty added in v1.94.1

func ValidateStringListNotEmpty(attribute string, slice []string) error

ValidateStringListNotEmpty validates the given string slice is not empty (or nil).

func ValidateSubExpressionsNotEmpty added in v1.103.0

func ValidateSubExpressionsNotEmpty(attribute string, expression [][]string) error

ValidateSubExpressionsNotEmpty validates that subexpression slices are not empty

func ValidateTag

func ValidateTag(attribute string, tag string) error

ValidateTag validates a single tag.

func ValidateTags

func ValidateTags(attribute string, tags []string) error

ValidateTags validates a list of tags are valid. Accepts those with reserved prefix.

func ValidateTagsExpression

func ValidateTagsExpression(attribute string, expression [][]string) error

ValidateTagsExpression validates an [][]string is a valid tag expression.

func ValidateTagsWithoutReservedPrefixes

func ValidateTagsWithoutReservedPrefixes(attribute string, tags []string) error

ValidateTagsWithoutReservedPrefixes a list of tags are valid. Refuse those with reserved prefix.

func ValidateTimeDuration

func ValidateTimeDuration(attribute string, duration string) error

ValidateTimeDuration validates that the time duration provided is compliant with the go format.

func ValidateUIParameters added in v1.94.1

func ValidateUIParameters(p *UIParameter) error

ValidateUIParameters validates a UIParameter.

func ValidateWriteOperations added in v1.73.0

func ValidateWriteOperations(attribute string, operations []string) error

ValidateWriteOperations verifies the given []string only contains any unique combination Create, Update or Delete.

func ValidateYAMLString added in v1.1.0

func ValidateYAMLString(attribute, data string) error

ValidateYAMLString validates the given data is a correct YAML string.

Types

type APIAuthorizationPoliciesList

type APIAuthorizationPoliciesList []*APIAuthorizationPolicy

APIAuthorizationPoliciesList represents a list of APIAuthorizationPolicies

func (APIAuthorizationPoliciesList) Append

Append appends the objects to the a new copy of the APIAuthorizationPoliciesList.

func (APIAuthorizationPoliciesList) Copy

Copy returns a pointer to a copy the APIAuthorizationPoliciesList.

func (APIAuthorizationPoliciesList) DefaultOrder

func (o APIAuthorizationPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (APIAuthorizationPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (APIAuthorizationPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (APIAuthorizationPoliciesList) ToSparse

ToSparse returns the APIAuthorizationPoliciesList converted to SparseAPIAuthorizationPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (APIAuthorizationPoliciesList) Version

func (o APIAuthorizationPoliciesList) Version() int

Version returns the version of the content.

type APIAuthorizationPolicy

type APIAuthorizationPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// This is a set of all subject tags for matching in the DB.
	AllSubjectTags []string `json:"-" msgpack:"-" bson:"allsubjecttags" mapstructure:"-,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// A list of roles assigned to the user.
	AuthorizedIdentities []string `` /* 132-byte string literal not displayed */

	// Defines the namespace the user is authorized to access.
	AuthorizedNamespace string `` /* 128-byte string literal not displayed */

	// If set, the API authorization will only be valid if the request comes from one
	// the declared subnets.
	AuthorizedSubnets []string `json:"authorizedSubnets" msgpack:"authorizedSubnets" bson:"authorizedsubnets" mapstructure:"authorizedSubnets,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// If set, the policy will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the api authorization to all of its children.
	Propagate bool `json:"-" msgpack:"-" bson:"propagate" mapstructure:"-,omitempty"`

	// If set to `true` while the policy is propagating, it won't be visible to
	// children
	// namespace, but still used for policy resolution.
	PropagationHidden bool `json:"propagationHidden" msgpack:"propagationHidden" bson:"propagationhidden" mapstructure:"propagationHidden,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// A tag or tag expression that identifies the authorized user(s).
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

APIAuthorizationPolicy represents the model of a apiauthorizationpolicy

func NewAPIAuthorizationPolicy

func NewAPIAuthorizationPolicy() *APIAuthorizationPolicy

NewAPIAuthorizationPolicy returns a new *APIAuthorizationPolicy

func (*APIAuthorizationPolicy) AttributeSpecifications

func (*APIAuthorizationPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*APIAuthorizationPolicy) BleveType added in v1.1.0

func (o *APIAuthorizationPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*APIAuthorizationPolicy) DeepCopy

DeepCopy returns a deep copy if the APIAuthorizationPolicy.

func (*APIAuthorizationPolicy) DeepCopyInto

func (o *APIAuthorizationPolicy) DeepCopyInto(out *APIAuthorizationPolicy)

DeepCopyInto copies the receiver into the given *APIAuthorizationPolicy.

func (*APIAuthorizationPolicy) DefaultOrder

func (o *APIAuthorizationPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*APIAuthorizationPolicy) Doc

func (o *APIAuthorizationPolicy) Doc() string

Doc returns the documentation for the object

func (*APIAuthorizationPolicy) GetActiveDuration

func (o *APIAuthorizationPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*APIAuthorizationPolicy) GetActiveSchedule

func (o *APIAuthorizationPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*APIAuthorizationPolicy) GetAnnotations

func (o *APIAuthorizationPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*APIAuthorizationPolicy) GetAssociatedTags

func (o *APIAuthorizationPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*APIAuthorizationPolicy) GetBSON added in v1.80.0

func (o *APIAuthorizationPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*APIAuthorizationPolicy) GetCreateIdempotencyKey

func (o *APIAuthorizationPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*APIAuthorizationPolicy) GetCreateTime

func (o *APIAuthorizationPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*APIAuthorizationPolicy) GetDescription

func (o *APIAuthorizationPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*APIAuthorizationPolicy) GetDisabled

func (o *APIAuthorizationPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*APIAuthorizationPolicy) GetExpirationTime

func (o *APIAuthorizationPolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*APIAuthorizationPolicy) GetFallback

func (o *APIAuthorizationPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*APIAuthorizationPolicy) GetMetadata

func (o *APIAuthorizationPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*APIAuthorizationPolicy) GetName

func (o *APIAuthorizationPolicy) GetName() string

GetName returns the Name of the receiver.

func (*APIAuthorizationPolicy) GetNamespace

func (o *APIAuthorizationPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*APIAuthorizationPolicy) GetNormalizedTags

func (o *APIAuthorizationPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*APIAuthorizationPolicy) GetPropagate

func (o *APIAuthorizationPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*APIAuthorizationPolicy) GetPropagationHidden

func (o *APIAuthorizationPolicy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*APIAuthorizationPolicy) GetProtected

func (o *APIAuthorizationPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*APIAuthorizationPolicy) GetUpdateIdempotencyKey

func (o *APIAuthorizationPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*APIAuthorizationPolicy) GetUpdateTime

func (o *APIAuthorizationPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*APIAuthorizationPolicy) GetZHash

func (o *APIAuthorizationPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*APIAuthorizationPolicy) GetZone

func (o *APIAuthorizationPolicy) GetZone() int

GetZone returns the Zone of the receiver.

func (*APIAuthorizationPolicy) Identifier

func (o *APIAuthorizationPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*APIAuthorizationPolicy) Identity

Identity returns the Identity of the object.

func (*APIAuthorizationPolicy) Patch

Patch apply the non nil value of a *SparseAPIAuthorizationPolicy to the object.

func (*APIAuthorizationPolicy) SetActiveDuration

func (o *APIAuthorizationPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*APIAuthorizationPolicy) SetActiveSchedule

func (o *APIAuthorizationPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*APIAuthorizationPolicy) SetAnnotations

func (o *APIAuthorizationPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*APIAuthorizationPolicy) SetAssociatedTags

func (o *APIAuthorizationPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*APIAuthorizationPolicy) SetBSON added in v1.80.0

func (o *APIAuthorizationPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*APIAuthorizationPolicy) SetCreateIdempotencyKey

func (o *APIAuthorizationPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*APIAuthorizationPolicy) SetCreateTime

func (o *APIAuthorizationPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*APIAuthorizationPolicy) SetDescription

func (o *APIAuthorizationPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*APIAuthorizationPolicy) SetDisabled

func (o *APIAuthorizationPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*APIAuthorizationPolicy) SetExpirationTime

func (o *APIAuthorizationPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*APIAuthorizationPolicy) SetFallback

func (o *APIAuthorizationPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*APIAuthorizationPolicy) SetIdentifier

func (o *APIAuthorizationPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*APIAuthorizationPolicy) SetMetadata

func (o *APIAuthorizationPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*APIAuthorizationPolicy) SetName

func (o *APIAuthorizationPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*APIAuthorizationPolicy) SetNamespace

func (o *APIAuthorizationPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*APIAuthorizationPolicy) SetNormalizedTags

func (o *APIAuthorizationPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*APIAuthorizationPolicy) SetPropagate

func (o *APIAuthorizationPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*APIAuthorizationPolicy) SetPropagationHidden

func (o *APIAuthorizationPolicy) SetPropagationHidden(propagationHidden bool)

SetPropagationHidden sets the property PropagationHidden of the receiver using the given value.

func (*APIAuthorizationPolicy) SetProtected

func (o *APIAuthorizationPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*APIAuthorizationPolicy) SetUpdateIdempotencyKey

func (o *APIAuthorizationPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*APIAuthorizationPolicy) SetUpdateTime

func (o *APIAuthorizationPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*APIAuthorizationPolicy) SetZHash

func (o *APIAuthorizationPolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*APIAuthorizationPolicy) SetZone

func (o *APIAuthorizationPolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*APIAuthorizationPolicy) SpecificationForAttribute

func (*APIAuthorizationPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*APIAuthorizationPolicy) String

func (o *APIAuthorizationPolicy) String() string

func (*APIAuthorizationPolicy) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*APIAuthorizationPolicy) Validate

func (o *APIAuthorizationPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*APIAuthorizationPolicy) ValueForAttribute

func (o *APIAuthorizationPolicy) ValueForAttribute(name string) interface{}

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 (*APIAuthorizationPolicy) Version

func (o *APIAuthorizationPolicy) Version() int

Version returns the hardcoded version of the model.

type APICheck

type APICheck struct {
	// Contains the results of the check.
	Authorized map[string]bool `json:"authorized" msgpack:"authorized" bson:"-" mapstructure:"authorized,omitempty"`

	// The namespace to use to check the API authorization.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	// The operation you want to check.
	Operation APICheckOperationValue `json:"operation" msgpack:"operation" bson:"operation" mapstructure:"operation,omitempty"`

	// Contains the list of identities you want to check the
	// authorization of.
	TargetIdentities []string `json:"targetIdentities" msgpack:"targetIdentities" bson:"-" mapstructure:"targetIdentities,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

APICheck represents the model of a apicheck

func NewAPICheck

func NewAPICheck() *APICheck

NewAPICheck returns a new *APICheck

func (*APICheck) AttributeSpecifications

func (*APICheck) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*APICheck) BleveType added in v1.1.0

func (o *APICheck) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*APICheck) DeepCopy

func (o *APICheck) DeepCopy() *APICheck

DeepCopy returns a deep copy if the APICheck.

func (*APICheck) DeepCopyInto

func (o *APICheck) DeepCopyInto(out *APICheck)

DeepCopyInto copies the receiver into the given *APICheck.

func (*APICheck) DefaultOrder

func (o *APICheck) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*APICheck) Doc

func (o *APICheck) Doc() string

Doc returns the documentation for the object

func (*APICheck) GetBSON added in v1.80.0

func (o *APICheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*APICheck) Identifier

func (o *APICheck) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*APICheck) Identity

func (o *APICheck) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*APICheck) Patch

func (o *APICheck) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAPICheck to the object.

func (*APICheck) SetBSON added in v1.80.0

func (o *APICheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*APICheck) SetIdentifier

func (o *APICheck) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*APICheck) SpecificationForAttribute

func (*APICheck) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*APICheck) String

func (o *APICheck) String() string

func (*APICheck) ToSparse

func (o *APICheck) 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 (*APICheck) Validate

func (o *APICheck) Validate() error

Validate valides the current information stored into the structure.

func (*APICheck) ValueForAttribute

func (o *APICheck) ValueForAttribute(name string) interface{}

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 (*APICheck) Version

func (o *APICheck) Version() int

Version returns the hardcoded version of the model.

type APICheckOperationValue

type APICheckOperationValue string

APICheckOperationValue represents the possible values for attribute "operation".

const (
	// APICheckOperationCreate represents the value Create.
	APICheckOperationCreate APICheckOperationValue = "Create"

	// APICheckOperationDelete represents the value Delete.
	APICheckOperationDelete APICheckOperationValue = "Delete"

	// APICheckOperationInfo represents the value Info.
	APICheckOperationInfo APICheckOperationValue = "Info"

	// APICheckOperationPatch represents the value Patch.
	APICheckOperationPatch APICheckOperationValue = "Patch"

	// APICheckOperationRetrieve represents the value Retrieve.
	APICheckOperationRetrieve APICheckOperationValue = "Retrieve"

	// APICheckOperationRetrieveMany represents the value RetrieveMany.
	APICheckOperationRetrieveMany APICheckOperationValue = "RetrieveMany"

	// APICheckOperationUpdate represents the value Update.
	APICheckOperationUpdate APICheckOperationValue = "Update"
)

type APIChecksList

type APIChecksList []*APICheck

APIChecksList represents a list of APIChecks

func (APIChecksList) Append

Append appends the objects to the a new copy of the APIChecksList.

func (APIChecksList) Copy

Copy returns a pointer to a copy the APIChecksList.

func (APIChecksList) DefaultOrder

func (o APIChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (APIChecksList) Identity

func (o APIChecksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (APIChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (APIChecksList) ToSparse

func (o APIChecksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the APIChecksList converted to SparseAPIChecksList. Objects in the list will only contain the given fields. No field means entire field set.

func (APIChecksList) Version

func (o APIChecksList) Version() int

Version returns the version of the content.

type AccessReport added in v1.1.0

type AccessReport struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Action applied to the access.
	Action AccessReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// Hash of the claims used to communicate.
	ClaimHash string `json:"claimHash,omitempty" msgpack:"claimHash,omitempty" bson:"b,omitempty" mapstructure:"claimHash,omitempty"`

	// Identifier of the enforcer.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"c,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer.
	EnforcerNamespace string `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// ID of the processing unit of the report.
	ProcessingUnitID string `` /* 131-byte string literal not displayed */

	// Name of the processing unit of the report.
	ProcessingUnitName string `` /* 137-byte string literal not displayed */

	// Namespace of the processing unit of the report.
	ProcessingUnitNamespace string `` /* 152-byte string literal not displayed */

	// This field is only set if `action` is set to `Reject`. It specifies the reason
	// for the rejection.
	Reason string `json:"reason,omitempty" msgpack:"reason,omitempty" bson:"h,omitempty" mapstructure:"reason,omitempty"`

	// Date of the report.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"i,omitempty" mapstructure:"timestamp,omitempty"`

	// Type of the report.
	Type AccessReportTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"j,omitempty" mapstructure:"type,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AccessReport represents the model of a accessreport

func NewAccessReport added in v1.1.0

func NewAccessReport() *AccessReport

NewAccessReport returns a new *AccessReport

func (*AccessReport) AttributeSpecifications added in v1.1.0

func (*AccessReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AccessReport) BleveType added in v1.1.0

func (o *AccessReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AccessReport) DeepCopy added in v1.1.0

func (o *AccessReport) DeepCopy() *AccessReport

DeepCopy returns a deep copy if the AccessReport.

func (*AccessReport) DeepCopyInto added in v1.1.0

func (o *AccessReport) DeepCopyInto(out *AccessReport)

DeepCopyInto copies the receiver into the given *AccessReport.

func (*AccessReport) DefaultOrder added in v1.1.0

func (o *AccessReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AccessReport) Doc added in v1.1.0

func (o *AccessReport) Doc() string

Doc returns the documentation for the object

func (*AccessReport) GetBSON added in v1.80.0

func (o *AccessReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AccessReport) GetMigrationsLog added in v1.94.1

func (o *AccessReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*AccessReport) GetZHash added in v1.94.1

func (o *AccessReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AccessReport) GetZone added in v1.94.1

func (o *AccessReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*AccessReport) Identifier added in v1.1.0

func (o *AccessReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AccessReport) Identity added in v1.1.0

func (o *AccessReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AccessReport) Patch added in v1.1.0

func (o *AccessReport) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAccessReport to the object.

func (*AccessReport) SetBSON added in v1.80.0

func (o *AccessReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AccessReport) SetIdentifier added in v1.1.0

func (o *AccessReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AccessReport) SetMigrationsLog added in v1.94.1

func (o *AccessReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*AccessReport) SetZHash added in v1.94.1

func (o *AccessReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AccessReport) SetZone added in v1.94.1

func (o *AccessReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AccessReport) SpecificationForAttribute added in v1.1.0

func (*AccessReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AccessReport) String added in v1.1.0

func (o *AccessReport) String() string

func (*AccessReport) ToSparse added in v1.1.0

func (o *AccessReport) 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 (*AccessReport) Validate added in v1.1.0

func (o *AccessReport) Validate() error

Validate valides the current information stored into the structure.

func (*AccessReport) ValueForAttribute added in v1.1.0

func (o *AccessReport) ValueForAttribute(name string) interface{}

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 (*AccessReport) Version added in v1.1.0

func (o *AccessReport) Version() int

Version returns the hardcoded version of the model.

type AccessReportActionValue added in v1.1.0

type AccessReportActionValue string

AccessReportActionValue represents the possible values for attribute "action".

const (
	// AccessReportActionAccept represents the value Accept.
	AccessReportActionAccept AccessReportActionValue = "Accept"

	// AccessReportActionReject represents the value Reject.
	AccessReportActionReject AccessReportActionValue = "Reject"
)

type AccessReportTypeValue added in v1.1.0

type AccessReportTypeValue string

AccessReportTypeValue represents the possible values for attribute "type".

const (
	// AccessReportTypeSSHLogin represents the value SSHLogin.
	AccessReportTypeSSHLogin AccessReportTypeValue = "SSHLogin"

	// AccessReportTypeSSHLogout represents the value SSHLogout.
	AccessReportTypeSSHLogout AccessReportTypeValue = "SSHLogout"

	// AccessReportTypeSudoEnter represents the value SudoEnter.
	AccessReportTypeSudoEnter AccessReportTypeValue = "SudoEnter"

	// AccessReportTypeSudoExit represents the value SudoExit.
	AccessReportTypeSudoExit AccessReportTypeValue = "SudoExit"
)

type AccessReportsList added in v1.1.0

type AccessReportsList []*AccessReport

AccessReportsList represents a list of AccessReports

func (AccessReportsList) Append added in v1.1.0

Append appends the objects to the a new copy of the AccessReportsList.

func (AccessReportsList) Copy added in v1.1.0

Copy returns a pointer to a copy the AccessReportsList.

func (AccessReportsList) DefaultOrder added in v1.1.0

func (o AccessReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AccessReportsList) Identity added in v1.1.0

func (o AccessReportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AccessReportsList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (AccessReportsList) ToSparse added in v1.1.0

func (o AccessReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AccessReportsList converted to SparseAccessReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AccessReportsList) Version added in v1.1.0

func (o AccessReportsList) Version() int

Version returns the version of the content.

type AccessibleNamespace added in v1.94.1

type AccessibleNamespace struct {
	// Name of the namespace that is accessible.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AccessibleNamespace represents the model of a accessiblenamespace

func NewAccessibleNamespace added in v1.94.1

func NewAccessibleNamespace() *AccessibleNamespace

NewAccessibleNamespace returns a new *AccessibleNamespace

func (*AccessibleNamespace) AttributeSpecifications added in v1.94.1

func (*AccessibleNamespace) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AccessibleNamespace) BleveType added in v1.94.1

func (o *AccessibleNamespace) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AccessibleNamespace) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the AccessibleNamespace.

func (*AccessibleNamespace) DeepCopyInto added in v1.94.1

func (o *AccessibleNamespace) DeepCopyInto(out *AccessibleNamespace)

DeepCopyInto copies the receiver into the given *AccessibleNamespace.

func (*AccessibleNamespace) DefaultOrder added in v1.94.1

func (o *AccessibleNamespace) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AccessibleNamespace) Doc added in v1.94.1

func (o *AccessibleNamespace) Doc() string

Doc returns the documentation for the object

func (*AccessibleNamespace) GetBSON added in v1.94.1

func (o *AccessibleNamespace) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AccessibleNamespace) Identifier added in v1.94.1

func (o *AccessibleNamespace) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AccessibleNamespace) Identity added in v1.94.1

func (o *AccessibleNamespace) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AccessibleNamespace) Patch added in v1.94.1

Patch apply the non nil value of a *SparseAccessibleNamespace to the object.

func (*AccessibleNamespace) SetBSON added in v1.94.1

func (o *AccessibleNamespace) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AccessibleNamespace) SetIdentifier added in v1.94.1

func (o *AccessibleNamespace) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AccessibleNamespace) SpecificationForAttribute added in v1.94.1

func (*AccessibleNamespace) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AccessibleNamespace) String added in v1.94.1

func (o *AccessibleNamespace) String() string

func (*AccessibleNamespace) ToSparse added in v1.94.1

func (o *AccessibleNamespace) 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 (*AccessibleNamespace) Validate added in v1.94.1

func (o *AccessibleNamespace) Validate() error

Validate valides the current information stored into the structure.

func (*AccessibleNamespace) ValueForAttribute added in v1.94.1

func (o *AccessibleNamespace) ValueForAttribute(name string) interface{}

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 (*AccessibleNamespace) Version added in v1.94.1

func (o *AccessibleNamespace) Version() int

Version returns the hardcoded version of the model.

type AccessibleNamespacesList added in v1.94.1

type AccessibleNamespacesList []*AccessibleNamespace

AccessibleNamespacesList represents a list of AccessibleNamespaces

func (AccessibleNamespacesList) Append added in v1.94.1

Append appends the objects to the a new copy of the AccessibleNamespacesList.

func (AccessibleNamespacesList) Copy added in v1.94.1

Copy returns a pointer to a copy the AccessibleNamespacesList.

func (AccessibleNamespacesList) DefaultOrder added in v1.94.1

func (o AccessibleNamespacesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AccessibleNamespacesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (AccessibleNamespacesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (AccessibleNamespacesList) ToSparse added in v1.94.1

ToSparse returns the AccessibleNamespacesList converted to SparseAccessibleNamespacesList. Objects in the list will only contain the given fields. No field means entire field set.

func (AccessibleNamespacesList) Version added in v1.94.1

func (o AccessibleNamespacesList) Version() int

Version returns the version of the content.

type Account

type Account struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Enable or disable two-factor authentication.
	OTPEnabled bool `json:"OTPEnabled" msgpack:"OTPEnabled" bson:"otpenabled" mapstructure:"OTPEnabled,omitempty"`

	// Returns the base64-encoded QR code for setting up two-factor authentication.
	OTPQRCode string `json:"OTPQRCode" msgpack:"OTPQRCode" bson:"-" mapstructure:"OTPQRCode,omitempty"`

	// Stores the two-factor authentication secret.
	OTPSecret string `json:"-" msgpack:"-" bson:"otpsecret" mapstructure:"-,omitempty"`

	// Holds the SSH certificate authority used by the account namespace.
	SSHCA string `json:"SSHCA" msgpack:"SSHCA" bson:"-" mapstructure:"SSHCA,omitempty"`

	// Set to `true` to renew the SSH certificate authority of the account namespace.
	SSHCARenew bool `json:"SSHCARenew" msgpack:"SSHCARenew" bson:"-" mapstructure:"SSHCARenew,omitempty"`

	// Defines if the account holder should have access to the system.
	AccessEnabled bool `json:"accessEnabled" msgpack:"accessEnabled" bson:"accessenabled" mapstructure:"accessEnabled,omitempty"`

	// Contains the expiration date of the activation token.
	ActivationExpiration time.Time `json:"-" msgpack:"-" bson:"activationexpiration" mapstructure:"-,omitempty"`

	// Contains the activation token.
	ActivationToken string `` /* 142-byte string literal not displayed */

	// Holds the ID of the associated API authorization.
	AssociatedAPIAuthPolicyID string `json:"-" msgpack:"-" bson:"associatedapiauthpolicyid" mapstructure:"-,omitempty"`

	// Contains a map of associated AWS enforcer policies.
	AssociatedAWSPolicies map[string]string `json:"-" msgpack:"-" bson:"associatedawspolicies" mapstructure:"-,omitempty"`

	// Contains the ID of the associated namespace.
	AssociatedNamespaceID string `json:"-" msgpack:"-" bson:"associatednamespaceid" mapstructure:"-,omitempty"`

	// Contains the plan key associated with this account.
	AssociatedPlanKey string `json:"associatedPlanKey" msgpack:"associatedPlanKey" bson:"associatedplankey" mapstructure:"associatedPlanKey,omitempty"`

	// Contains a map of the associated quotas.
	AssociatedQuotaPolicies map[string]string `json:"-" msgpack:"-" bson:"associatedquotapolicies" mapstructure:"-,omitempty"`

	// Company of the account user.
	Company string `json:"company" msgpack:"company" bson:"company" mapstructure:"company,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Email of the account holder.
	Email string `json:"email" msgpack:"email" bson:"email" mapstructure:"email,omitempty"`

	// Internally keeps track of the number of failed attempt.
	FailedAuth int `json:"-" msgpack:"-" bson:"failedauth" mapstructure:"-,omitempty"`

	// Internally keeps track of the time of the last failed attempt.
	FailedTime time.Time `json:"-" msgpack:"-" bson:"failedtime" mapstructure:"-,omitempty"`

	// First name of the account user.
	FirstName string `json:"firstName" msgpack:"firstName" bson:"firstname" mapstructure:"firstName,omitempty"`

	// Last name of the account user.
	LastName string `json:"lastName" msgpack:"lastName" bson:"lastname" mapstructure:"lastName,omitempty"`

	// The certificate authority used by this namespace.
	LocalCA string `json:"localCA" msgpack:"localCA" bson:"-" mapstructure:"localCA,omitempty"`

	// Set to `true` to renew the local certificate authority of the account namespace.
	LocalCARenew bool `json:"localCARenew" msgpack:"localCARenew" bson:"-" mapstructure:"localCARenew,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the account.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// New password for the account. If set the previous password must be given through
	// the property `password`.
	NewPassword string `json:"newPassword" msgpack:"newPassword" bson:"-" mapstructure:"newPassword,omitempty"`

	// Password for the account.
	Password string `json:"password" msgpack:"password" bson:"password" mapstructure:"password,omitempty"`

	// Contains the completely automated public Turing test (CAPTCHA)
	// validation if reCAPTCHA is enabled.
	ReCAPTCHAKey string `json:"reCAPTCHAKey" msgpack:"reCAPTCHAKey" bson:"-" mapstructure:"reCAPTCHAKey,omitempty"`

	// Contains the expiration time for resetting the password.
	ResetPasswordExpiration time.Time `json:"-" msgpack:"-" bson:"resetpasswordexpiration" mapstructure:"-,omitempty"`

	// Contains the token to use for resetting password.
	ResetPasswordToken string `json:"-" msgpack:"-" bson:"resetpasswordtoken" mapstructure:"-,omitempty"`

	// Status of the account.
	Status AccountStatusValue `json:"status" msgpack:"status" bson:"status" mapstructure:"status,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Account represents the model of a account

func NewAccount

func NewAccount() *Account

NewAccount returns a new *Account

func (*Account) AttributeSpecifications

func (*Account) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Account) BleveType added in v1.1.0

func (o *Account) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Account) DeepCopy

func (o *Account) DeepCopy() *Account

DeepCopy returns a deep copy if the Account.

func (*Account) DeepCopyInto

func (o *Account) DeepCopyInto(out *Account)

DeepCopyInto copies the receiver into the given *Account.

func (*Account) DefaultOrder

func (o *Account) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Account) Doc

func (o *Account) Doc() string

Doc returns the documentation for the object

func (*Account) GetBSON added in v1.80.0

func (o *Account) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Account) GetCreateTime

func (o *Account) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Account) GetMigrationsLog added in v1.30.0

func (o *Account) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Account) GetUpdateTime

func (o *Account) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Account) GetZHash added in v1.1.0

func (o *Account) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Account) GetZone added in v1.1.0

func (o *Account) GetZone() int

GetZone returns the Zone of the receiver.

func (*Account) Identifier

func (o *Account) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Account) Identity

func (o *Account) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Account) Patch

func (o *Account) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAccount to the object.

func (*Account) SetBSON added in v1.80.0

func (o *Account) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Account) SetCreateTime

func (o *Account) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Account) SetIdentifier

func (o *Account) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Account) SetMigrationsLog added in v1.30.0

func (o *Account) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Account) SetUpdateTime

func (o *Account) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Account) SetZHash added in v1.1.0

func (o *Account) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Account) SetZone added in v1.1.0

func (o *Account) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Account) SpecificationForAttribute

func (*Account) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Account) String

func (o *Account) String() string

func (*Account) ToSparse

func (o *Account) 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 (*Account) Validate

func (o *Account) Validate() error

Validate valides the current information stored into the structure.

func (*Account) ValueForAttribute

func (o *Account) ValueForAttribute(name string) interface{}

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 (*Account) Version

func (o *Account) Version() int

Version returns the hardcoded version of the model.

type AccountCheck

type AccountCheck struct {
	// ID of the account if validated.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// eventual otp.
	OTP string `json:"OTP" msgpack:"OTP" bson:"-" mapstructure:"OTP,omitempty"`

	// email of the account if validated.
	Email string `json:"email" msgpack:"email" bson:"-" mapstructure:"email,omitempty"`

	// Account name of email.
	Handle string `json:"handle" msgpack:"handle" bson:"-" mapstructure:"handle,omitempty"`

	// name of the account.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// provided password.
	Password string `json:"password" msgpack:"password" bson:"-" mapstructure:"password,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AccountCheck represents the model of a accountcheck

func NewAccountCheck

func NewAccountCheck() *AccountCheck

NewAccountCheck returns a new *AccountCheck

func (*AccountCheck) AttributeSpecifications

func (*AccountCheck) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AccountCheck) BleveType added in v1.1.0

func (o *AccountCheck) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AccountCheck) DeepCopy

func (o *AccountCheck) DeepCopy() *AccountCheck

DeepCopy returns a deep copy if the AccountCheck.

func (*AccountCheck) DeepCopyInto

func (o *AccountCheck) DeepCopyInto(out *AccountCheck)

DeepCopyInto copies the receiver into the given *AccountCheck.

func (*AccountCheck) DefaultOrder

func (o *AccountCheck) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AccountCheck) Doc

func (o *AccountCheck) Doc() string

Doc returns the documentation for the object

func (*AccountCheck) GetBSON added in v1.80.0

func (o *AccountCheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AccountCheck) Identifier

func (o *AccountCheck) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AccountCheck) Identity

func (o *AccountCheck) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AccountCheck) Patch

func (o *AccountCheck) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAccountCheck to the object.

func (*AccountCheck) SetBSON added in v1.80.0

func (o *AccountCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AccountCheck) SetIdentifier

func (o *AccountCheck) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AccountCheck) SpecificationForAttribute

func (*AccountCheck) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AccountCheck) String

func (o *AccountCheck) String() string

func (*AccountCheck) ToSparse

func (o *AccountCheck) 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 (*AccountCheck) Validate

func (o *AccountCheck) Validate() error

Validate valides the current information stored into the structure.

func (*AccountCheck) ValueForAttribute

func (o *AccountCheck) ValueForAttribute(name string) interface{}

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 (*AccountCheck) Version

func (o *AccountCheck) Version() int

Version returns the hardcoded version of the model.

type AccountChecksList

type AccountChecksList []*AccountCheck

AccountChecksList represents a list of AccountChecks

func (AccountChecksList) Append

Append appends the objects to the a new copy of the AccountChecksList.

func (AccountChecksList) Copy

Copy returns a pointer to a copy the AccountChecksList.

func (AccountChecksList) DefaultOrder

func (o AccountChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AccountChecksList) Identity

func (o AccountChecksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AccountChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (AccountChecksList) ToSparse

func (o AccountChecksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AccountChecksList converted to SparseAccountChecksList. Objects in the list will only contain the given fields. No field means entire field set.

func (AccountChecksList) Version

func (o AccountChecksList) Version() int

Version returns the version of the content.

type AccountStatusValue

type AccountStatusValue string

AccountStatusValue represents the possible values for attribute "status".

const (
	// AccountStatusActive represents the value Active.
	AccountStatusActive AccountStatusValue = "Active"

	// AccountStatusDisabled represents the value Disabled.
	AccountStatusDisabled AccountStatusValue = "Disabled"

	// AccountStatusInvited represents the value Invited.
	AccountStatusInvited AccountStatusValue = "Invited"

	// AccountStatusPending represents the value Pending.
	AccountStatusPending AccountStatusValue = "Pending"
)

type AccountsList

type AccountsList []*Account

AccountsList represents a list of Accounts

func (AccountsList) Append

Append appends the objects to the a new copy of the AccountsList.

func (AccountsList) Copy

Copy returns a pointer to a copy the AccountsList.

func (AccountsList) DefaultOrder

func (o AccountsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AccountsList) Identity

func (o AccountsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AccountsList) List

List converts the object to an elemental.IdentifiablesList.

func (AccountsList) ToSparse

func (o AccountsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AccountsList converted to SparseAccountsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AccountsList) Version

func (o AccountsList) Version() int

Version returns the version of the content.

type Activate

type Activate struct {
	// Contains the activation token.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Activate represents the model of a activate

func NewActivate

func NewActivate() *Activate

NewActivate returns a new *Activate

func (*Activate) AttributeSpecifications

func (*Activate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Activate) BleveType added in v1.1.0

func (o *Activate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Activate) DeepCopy

func (o *Activate) DeepCopy() *Activate

DeepCopy returns a deep copy if the Activate.

func (*Activate) DeepCopyInto

func (o *Activate) DeepCopyInto(out *Activate)

DeepCopyInto copies the receiver into the given *Activate.

func (*Activate) DefaultOrder

func (o *Activate) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Activate) Doc

func (o *Activate) Doc() string

Doc returns the documentation for the object

func (*Activate) GetBSON added in v1.80.0

func (o *Activate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Activate) Identifier

func (o *Activate) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Activate) Identity

func (o *Activate) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Activate) Patch

func (o *Activate) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseActivate to the object.

func (*Activate) SetBSON added in v1.80.0

func (o *Activate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Activate) SetIdentifier

func (o *Activate) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Activate) SpecificationForAttribute

func (*Activate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Activate) String

func (o *Activate) String() string

func (*Activate) ToSparse

func (o *Activate) 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 (*Activate) Validate

func (o *Activate) Validate() error

Validate valides the current information stored into the structure.

func (*Activate) ValueForAttribute

func (o *Activate) ValueForAttribute(name string) interface{}

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 (*Activate) Version

func (o *Activate) Version() int

Version returns the hardcoded version of the model.

type ActivatesList

type ActivatesList []*Activate

ActivatesList represents a list of Activates

func (ActivatesList) Append

Append appends the objects to the a new copy of the ActivatesList.

func (ActivatesList) Copy

Copy returns a pointer to a copy the ActivatesList.

func (ActivatesList) DefaultOrder

func (o ActivatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ActivatesList) Identity

func (o ActivatesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ActivatesList) List

List converts the object to an elemental.IdentifiablesList.

func (ActivatesList) ToSparse

func (o ActivatesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ActivatesList converted to SparseActivatesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ActivatesList) Version

func (o ActivatesList) Version() int

Version returns the version of the content.

type ActivitiesList

type ActivitiesList []*Activity

ActivitiesList represents a list of Activities

func (ActivitiesList) Append

Append appends the objects to the a new copy of the ActivitiesList.

func (ActivitiesList) Copy

Copy returns a pointer to a copy the ActivitiesList.

func (ActivitiesList) DefaultOrder

func (o ActivitiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ActivitiesList) Identity

func (o ActivitiesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ActivitiesList) List

List converts the object to an elemental.IdentifiablesList.

func (ActivitiesList) ToSparse

func (o ActivitiesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ActivitiesList converted to SparseActivitiesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ActivitiesList) Version

func (o ActivitiesList) Version() int

Version returns the version of the content.

type Activity

type Activity struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Claims of the user who performed the operation.
	Claims interface{} `json:"claims" msgpack:"claims" bson:"claims" mapstructure:"claims,omitempty"`

	// This is deprecated in favor of `diff`.
	Data interface{} `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

	// Time-date stamp of the notification.
	Date time.Time `json:"date" msgpack:"date" bson:"date" mapstructure:"date,omitempty"`

	// Contains the diff of the change.
	Diff string `json:"diff" msgpack:"diff" bson:"diff" mapstructure:"diff,omitempty"`

	// Contains the error.
	Error interface{} `json:"error" msgpack:"error" bson:"error" mapstructure:"error,omitempty"`

	// Message of the notification.
	Message string `json:"message" msgpack:"message" bson:"message" mapstructure:"message,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Describes what kind of operation the notification represents.
	Operation string `json:"operation" msgpack:"operation" bson:"operation" mapstructure:"operation,omitempty"`

	// This is deprecated in favor of `diff`.
	OriginalData interface{} `json:"originalData" msgpack:"originalData" bson:"originaldata" mapstructure:"originalData,omitempty"`

	// Contains meta information about the source.
	Source string `json:"source" msgpack:"source" bson:"source" mapstructure:"source,omitempty"`

	// The identity of the related object.
	TargetIdentity string `json:"targetIdentity" msgpack:"targetIdentity" bson:"targetidentity" mapstructure:"targetIdentity,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Activity represents the model of a activity

func NewActivity

func NewActivity() *Activity

NewActivity returns a new *Activity

func (*Activity) AttributeSpecifications

func (*Activity) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Activity) BleveType added in v1.1.0

func (o *Activity) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Activity) DeepCopy

func (o *Activity) DeepCopy() *Activity

DeepCopy returns a deep copy if the Activity.

func (*Activity) DeepCopyInto

func (o *Activity) DeepCopyInto(out *Activity)

DeepCopyInto copies the receiver into the given *Activity.

func (*Activity) DefaultOrder

func (o *Activity) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Activity) Doc

func (o *Activity) Doc() string

Doc returns the documentation for the object

func (*Activity) GetBSON added in v1.80.0

func (o *Activity) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Activity) GetMigrationsLog added in v1.30.0

func (o *Activity) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Activity) GetNamespace added in v1.1.0

func (o *Activity) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Activity) GetZHash

func (o *Activity) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Activity) GetZone

func (o *Activity) GetZone() int

GetZone returns the Zone of the receiver.

func (*Activity) Identifier

func (o *Activity) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Activity) Identity

func (o *Activity) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Activity) Patch

func (o *Activity) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseActivity to the object.

func (*Activity) SetBSON added in v1.80.0

func (o *Activity) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Activity) SetIdentifier

func (o *Activity) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Activity) SetMigrationsLog added in v1.30.0

func (o *Activity) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Activity) SetNamespace added in v1.1.0

func (o *Activity) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Activity) SetZHash

func (o *Activity) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Activity) SetZone

func (o *Activity) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Activity) SpecificationForAttribute

func (*Activity) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Activity) String

func (o *Activity) String() string

func (*Activity) ToSparse

func (o *Activity) 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 (*Activity) Validate

func (o *Activity) Validate() error

Validate valides the current information stored into the structure.

func (*Activity) ValueForAttribute

func (o *Activity) ValueForAttribute(name string) interface{}

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 (*Activity) Version

func (o *Activity) Version() int

Version returns the hardcoded version of the model.

type Alarm

type Alarm struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Content of the alarm.
	Content string `json:"content" msgpack:"content" bson:"content" mapstructure:"content,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Data represent user data related to the alarms.
	Data []map[string]string `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// A list of recipients that should be emailed when this alarm is
	// created.
	Emails []string `json:"emails" msgpack:"emails" bson:"emails" mapstructure:"emails,omitempty"`

	// Identifies the kind of alarm. If two alarms are created with the same
	// identifier, then only the occurrence will be incremented.
	Kind string `json:"kind" msgpack:"kind" bson:"kind" mapstructure:"kind,omitempty"`

	// Time and date of the alarm set by the enforcer.
	LastLocalTimestamp time.Time `json:"lastLocalTimestamp" msgpack:"lastLocalTimestamp" bson:"-" mapstructure:"lastLocalTimestamp,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Number of times this alarm has been seen.
	Occurrences []time.Time `json:"occurrences" msgpack:"occurrences" bson:"occurrences" mapstructure:"occurrences,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Status of the alarm.
	Status AlarmStatusValue `json:"status" msgpack:"status" bson:"status" mapstructure:"status,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Alarm represents the model of a alarm

func NewAlarm

func NewAlarm() *Alarm

NewAlarm returns a new *Alarm

func (*Alarm) AttributeSpecifications

func (*Alarm) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Alarm) BleveType added in v1.1.0

func (o *Alarm) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Alarm) DeepCopy

func (o *Alarm) DeepCopy() *Alarm

DeepCopy returns a deep copy if the Alarm.

func (*Alarm) DeepCopyInto

func (o *Alarm) DeepCopyInto(out *Alarm)

DeepCopyInto copies the receiver into the given *Alarm.

func (*Alarm) DefaultOrder

func (o *Alarm) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Alarm) Doc

func (o *Alarm) Doc() string

Doc returns the documentation for the object

func (*Alarm) GetAnnotations

func (o *Alarm) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Alarm) GetAssociatedTags

func (o *Alarm) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Alarm) GetBSON added in v1.80.0

func (o *Alarm) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Alarm) GetCreateIdempotencyKey

func (o *Alarm) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Alarm) GetCreateTime

func (o *Alarm) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Alarm) GetDescription

func (o *Alarm) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Alarm) GetMigrationsLog added in v1.30.0

func (o *Alarm) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Alarm) GetName

func (o *Alarm) GetName() string

GetName returns the Name of the receiver.

func (*Alarm) GetNamespace

func (o *Alarm) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Alarm) GetNormalizedTags

func (o *Alarm) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Alarm) GetProtected

func (o *Alarm) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Alarm) GetUpdateIdempotencyKey

func (o *Alarm) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Alarm) GetUpdateTime

func (o *Alarm) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Alarm) GetZHash

func (o *Alarm) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Alarm) GetZone

func (o *Alarm) GetZone() int

GetZone returns the Zone of the receiver.

func (*Alarm) Identifier

func (o *Alarm) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Alarm) Identity

func (o *Alarm) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Alarm) Patch

func (o *Alarm) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAlarm to the object.

func (*Alarm) SetAnnotations

func (o *Alarm) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Alarm) SetAssociatedTags

func (o *Alarm) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Alarm) SetBSON added in v1.80.0

func (o *Alarm) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Alarm) SetCreateIdempotencyKey

func (o *Alarm) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Alarm) SetCreateTime

func (o *Alarm) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Alarm) SetDescription

func (o *Alarm) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Alarm) SetIdentifier

func (o *Alarm) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Alarm) SetMigrationsLog added in v1.30.0

func (o *Alarm) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Alarm) SetName

func (o *Alarm) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Alarm) SetNamespace

func (o *Alarm) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Alarm) SetNormalizedTags

func (o *Alarm) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Alarm) SetProtected

func (o *Alarm) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Alarm) SetUpdateIdempotencyKey

func (o *Alarm) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Alarm) SetUpdateTime

func (o *Alarm) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Alarm) SetZHash

func (o *Alarm) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Alarm) SetZone

func (o *Alarm) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Alarm) SpecificationForAttribute

func (*Alarm) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Alarm) String

func (o *Alarm) String() string

func (*Alarm) ToSparse

func (o *Alarm) 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 (*Alarm) Validate

func (o *Alarm) Validate() error

Validate valides the current information stored into the structure.

func (*Alarm) ValueForAttribute

func (o *Alarm) ValueForAttribute(name string) interface{}

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 (*Alarm) Version

func (o *Alarm) Version() int

Version returns the hardcoded version of the model.

type AlarmStatusValue

type AlarmStatusValue string

AlarmStatusValue represents the possible values for attribute "status".

const (
	// AlarmStatusAcknowledged represents the value Acknowledged.
	AlarmStatusAcknowledged AlarmStatusValue = "Acknowledged"

	// AlarmStatusOpen represents the value Open.
	AlarmStatusOpen AlarmStatusValue = "Open"

	// AlarmStatusResolved represents the value Resolved.
	AlarmStatusResolved AlarmStatusValue = "Resolved"
)

type AlarmsList

type AlarmsList []*Alarm

AlarmsList represents a list of Alarms

func (AlarmsList) Append

Append appends the objects to the a new copy of the AlarmsList.

func (AlarmsList) Copy

Copy returns a pointer to a copy the AlarmsList.

func (AlarmsList) DefaultOrder

func (o AlarmsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AlarmsList) Identity

func (o AlarmsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AlarmsList) List

List converts the object to an elemental.IdentifiablesList.

func (AlarmsList) ToSparse

func (o AlarmsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AlarmsList converted to SparseAlarmsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AlarmsList) Version

func (o AlarmsList) Version() int

Version returns the version of the content.

type App

type App struct {
	// Set to `true` to indicate that the app is in a beta version.
	Beta bool `json:"beta" msgpack:"beta" bson:"-" mapstructure:"beta,omitempty"`

	// Category ID of the app.
	CategoryID string `json:"categoryID" msgpack:"categoryID" bson:"-" mapstructure:"categoryID,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Contains a base64-encoded image for the app.
	Icon string `json:"icon" msgpack:"icon" bson:"-" mapstructure:"icon,omitempty"`

	// Represents the latest version available of the app.
	LatestVersion string `json:"latestVersion" msgpack:"latestVersion" bson:"-" mapstructure:"latestVersion,omitempty"`

	// Contains a more detailed description of the app.
	LongDescription string `json:"longDescription" msgpack:"longDescription" bson:"-" mapstructure:"longDescription,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// List of steps that contain parameters.
	Steps []*UIStep `json:"steps" msgpack:"steps" bson:"steps" mapstructure:"steps,omitempty"`

	// Represents the title of the app.
	Title string `json:"title" msgpack:"title" bson:"-" mapstructure:"title,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

App represents the model of a app

func NewApp

func NewApp() *App

NewApp returns a new *App

func (*App) AttributeSpecifications

func (*App) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*App) BleveType added in v1.1.0

func (o *App) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*App) DeepCopy

func (o *App) DeepCopy() *App

DeepCopy returns a deep copy if the App.

func (*App) DeepCopyInto

func (o *App) DeepCopyInto(out *App)

DeepCopyInto copies the receiver into the given *App.

func (*App) DefaultOrder

func (o *App) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*App) Doc

func (o *App) Doc() string

Doc returns the documentation for the object

func (*App) GetBSON added in v1.80.0

func (o *App) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*App) GetDescription

func (o *App) GetDescription() string

GetDescription returns the Description of the receiver.

func (*App) GetName

func (o *App) GetName() string

GetName returns the Name of the receiver.

func (*App) Identifier

func (o *App) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*App) Identity

func (o *App) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*App) Patch

func (o *App) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseApp to the object.

func (*App) SetBSON added in v1.80.0

func (o *App) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*App) SetDescription

func (o *App) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*App) SetIdentifier

func (o *App) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*App) SetName

func (o *App) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*App) SpecificationForAttribute

func (*App) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*App) String

func (o *App) String() string

func (*App) ToSparse

func (o *App) 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 (*App) Validate

func (o *App) Validate() error

Validate valides the current information stored into the structure.

func (*App) ValueForAttribute

func (o *App) ValueForAttribute(name string) interface{}

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 (*App) Version

func (o *App) Version() int

Version returns the hardcoded version of the model.

type AppCredential

type AppCredential struct {
	// Contains a PEM-encoded certificate signing request (CSR). It can
	// only be set during a renew.
	//
	// - The CN **MUST** be `app:credential:<appcred-id>:<appcred-name>`
	// - The O **MUST** be the namespace of the app credential
	//
	// If you send anything else, the signing request will be rejected.
	CSR string `json:"CSR" msgpack:"CSR" bson:"-" mapstructure:"CSR,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// If set, the app credential will only be valid if the request comes from one
	// the declared subnets.
	AuthorizedSubnets []string `json:"authorizedSubnets" msgpack:"authorizedSubnets" bson:"authorizedsubnets" mapstructure:"authorizedSubnets,omitempty"`

	// The string representation of the certificate used by the app credential.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"certificate" mapstructure:"certificate,omitempty"`

	// Link to the certificate created for this app credential.
	CertificateSN string `json:"-" msgpack:"-" bson:"certificatesn" mapstructure:"-,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The app credential data.
	Credentials *Credential `json:"credentials" msgpack:"credentials" bson:"-" mapstructure:"credentials,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// The email address that will receive a copy of the app credential.
	Email string `json:"email" msgpack:"email" bson:"email" mapstructure:"email,omitempty"`

	// If set, this will limit the maximum validity of the token issued from this app
	// credential. This information will be embedded into the delivered certificate and
	// cannot be changed once set. In order to change it, you need to renew the
	// certificate.
	MaxIssuedTokenValidity string `` /* 140-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Contains the ID of the parent app credential if this is a derived app
	// credential.
	ParentIDs []string `json:"parentIDs" msgpack:"parentIDs" bson:"parentids" mapstructure:"parentIDs,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// List of roles to give the app credential.
	Roles []string `json:"roles" msgpack:"roles" bson:"roles" mapstructure:"roles,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AppCredential represents the model of a appcredential

func NewAppCredential

func NewAppCredential() *AppCredential

NewAppCredential returns a new *AppCredential

func (*AppCredential) AttributeSpecifications

func (*AppCredential) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AppCredential) BleveType added in v1.1.0

func (o *AppCredential) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AppCredential) DeepCopy

func (o *AppCredential) DeepCopy() *AppCredential

DeepCopy returns a deep copy if the AppCredential.

func (*AppCredential) DeepCopyInto

func (o *AppCredential) DeepCopyInto(out *AppCredential)

DeepCopyInto copies the receiver into the given *AppCredential.

func (*AppCredential) DefaultOrder

func (o *AppCredential) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AppCredential) Doc

func (o *AppCredential) Doc() string

Doc returns the documentation for the object

func (*AppCredential) GetAnnotations

func (o *AppCredential) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*AppCredential) GetAssociatedTags

func (o *AppCredential) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*AppCredential) GetBSON added in v1.80.0

func (o *AppCredential) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AppCredential) GetCreateIdempotencyKey

func (o *AppCredential) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*AppCredential) GetCreateTime

func (o *AppCredential) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*AppCredential) GetDescription

func (o *AppCredential) GetDescription() string

GetDescription returns the Description of the receiver.

func (*AppCredential) GetDisabled

func (o *AppCredential) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*AppCredential) GetMetadata

func (o *AppCredential) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*AppCredential) GetMigrationsLog added in v1.30.0

func (o *AppCredential) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*AppCredential) GetName

func (o *AppCredential) GetName() string

GetName returns the Name of the receiver.

func (*AppCredential) GetNamespace

func (o *AppCredential) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AppCredential) GetNormalizedTags

func (o *AppCredential) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*AppCredential) GetProtected

func (o *AppCredential) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*AppCredential) GetUpdateIdempotencyKey

func (o *AppCredential) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*AppCredential) GetUpdateTime

func (o *AppCredential) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*AppCredential) GetZHash

func (o *AppCredential) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AppCredential) GetZone

func (o *AppCredential) GetZone() int

GetZone returns the Zone of the receiver.

func (*AppCredential) Identifier

func (o *AppCredential) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AppCredential) Identity

func (o *AppCredential) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AppCredential) Patch

func (o *AppCredential) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAppCredential to the object.

func (*AppCredential) SetAnnotations

func (o *AppCredential) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*AppCredential) SetAssociatedTags

func (o *AppCredential) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*AppCredential) SetBSON added in v1.80.0

func (o *AppCredential) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AppCredential) SetCreateIdempotencyKey

func (o *AppCredential) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*AppCredential) SetCreateTime

func (o *AppCredential) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*AppCredential) SetDescription

func (o *AppCredential) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*AppCredential) SetDisabled

func (o *AppCredential) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*AppCredential) SetIdentifier

func (o *AppCredential) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AppCredential) SetMetadata

func (o *AppCredential) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*AppCredential) SetMigrationsLog added in v1.30.0

func (o *AppCredential) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*AppCredential) SetName

func (o *AppCredential) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*AppCredential) SetNamespace

func (o *AppCredential) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AppCredential) SetNormalizedTags

func (o *AppCredential) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*AppCredential) SetProtected

func (o *AppCredential) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*AppCredential) SetUpdateIdempotencyKey

func (o *AppCredential) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*AppCredential) SetUpdateTime

func (o *AppCredential) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*AppCredential) SetZHash

func (o *AppCredential) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AppCredential) SetZone

func (o *AppCredential) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AppCredential) SpecificationForAttribute

func (*AppCredential) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AppCredential) String

func (o *AppCredential) String() string

func (*AppCredential) ToSparse

func (o *AppCredential) 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 (*AppCredential) Validate

func (o *AppCredential) Validate() error

Validate valides the current information stored into the structure.

func (*AppCredential) ValueForAttribute

func (o *AppCredential) ValueForAttribute(name string) interface{}

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 (*AppCredential) Version

func (o *AppCredential) Version() int

Version returns the hardcoded version of the model.

type AppCredentialsList

type AppCredentialsList []*AppCredential

AppCredentialsList represents a list of AppCredentials

func (AppCredentialsList) Append

Append appends the objects to the a new copy of the AppCredentialsList.

func (AppCredentialsList) Copy

Copy returns a pointer to a copy the AppCredentialsList.

func (AppCredentialsList) DefaultOrder

func (o AppCredentialsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AppCredentialsList) Identity

func (o AppCredentialsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AppCredentialsList) List

List converts the object to an elemental.IdentifiablesList.

func (AppCredentialsList) ToSparse

func (o AppCredentialsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AppCredentialsList converted to SparseAppCredentialsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AppCredentialsList) Version

func (o AppCredentialsList) Version() int

Version returns the version of the content.

type AppsList

type AppsList []*App

AppsList represents a list of Apps

func (AppsList) Append

func (o AppsList) Append(objects ...elemental.Identifiable) elemental.Identifiables

Append appends the objects to the a new copy of the AppsList.

func (AppsList) Copy

func (o AppsList) Copy() elemental.Identifiables

Copy returns a pointer to a copy the AppsList.

func (AppsList) DefaultOrder

func (o AppsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AppsList) Identity

func (o AppsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AppsList) List

List converts the object to an elemental.IdentifiablesList.

func (AppsList) ToSparse

func (o AppsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AppsList converted to SparseAppsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AppsList) Version

func (o AppsList) Version() int

Version returns the version of the content.

type AuditProfile

type AuditProfile struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// List of audit rules associated with this profile.
	Rules types.AuditProfileRuleList `json:"rules" msgpack:"rules" bson:"rules" mapstructure:"rules,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AuditProfile represents the model of a auditprofile

func NewAuditProfile

func NewAuditProfile() *AuditProfile

NewAuditProfile returns a new *AuditProfile

func (*AuditProfile) AttributeSpecifications

func (*AuditProfile) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AuditProfile) BleveType added in v1.1.0

func (o *AuditProfile) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AuditProfile) DeepCopy

func (o *AuditProfile) DeepCopy() *AuditProfile

DeepCopy returns a deep copy if the AuditProfile.

func (*AuditProfile) DeepCopyInto

func (o *AuditProfile) DeepCopyInto(out *AuditProfile)

DeepCopyInto copies the receiver into the given *AuditProfile.

func (*AuditProfile) DefaultOrder

func (o *AuditProfile) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AuditProfile) Doc

func (o *AuditProfile) Doc() string

Doc returns the documentation for the object

func (*AuditProfile) GetAnnotations

func (o *AuditProfile) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*AuditProfile) GetAssociatedTags

func (o *AuditProfile) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*AuditProfile) GetBSON added in v1.80.0

func (o *AuditProfile) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AuditProfile) GetCreateIdempotencyKey

func (o *AuditProfile) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*AuditProfile) GetCreateTime

func (o *AuditProfile) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*AuditProfile) GetDescription

func (o *AuditProfile) GetDescription() string

GetDescription returns the Description of the receiver.

func (*AuditProfile) GetMetadata

func (o *AuditProfile) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*AuditProfile) GetMigrationsLog added in v1.30.0

func (o *AuditProfile) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*AuditProfile) GetName

func (o *AuditProfile) GetName() string

GetName returns the Name of the receiver.

func (*AuditProfile) GetNamespace

func (o *AuditProfile) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AuditProfile) GetNormalizedTags

func (o *AuditProfile) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*AuditProfile) GetPropagate

func (o *AuditProfile) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*AuditProfile) GetProtected

func (o *AuditProfile) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*AuditProfile) GetUpdateIdempotencyKey

func (o *AuditProfile) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*AuditProfile) GetUpdateTime

func (o *AuditProfile) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*AuditProfile) GetZHash

func (o *AuditProfile) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AuditProfile) GetZone

func (o *AuditProfile) GetZone() int

GetZone returns the Zone of the receiver.

func (*AuditProfile) Identifier

func (o *AuditProfile) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AuditProfile) Identity

func (o *AuditProfile) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AuditProfile) Patch

func (o *AuditProfile) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAuditProfile to the object.

func (*AuditProfile) SetAnnotations

func (o *AuditProfile) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*AuditProfile) SetAssociatedTags

func (o *AuditProfile) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*AuditProfile) SetBSON added in v1.80.0

func (o *AuditProfile) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AuditProfile) SetCreateIdempotencyKey

func (o *AuditProfile) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*AuditProfile) SetCreateTime

func (o *AuditProfile) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*AuditProfile) SetDescription

func (o *AuditProfile) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*AuditProfile) SetIdentifier

func (o *AuditProfile) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AuditProfile) SetMetadata

func (o *AuditProfile) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*AuditProfile) SetMigrationsLog added in v1.30.0

func (o *AuditProfile) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*AuditProfile) SetName

func (o *AuditProfile) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*AuditProfile) SetNamespace

func (o *AuditProfile) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AuditProfile) SetNormalizedTags

func (o *AuditProfile) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*AuditProfile) SetPropagate

func (o *AuditProfile) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*AuditProfile) SetProtected

func (o *AuditProfile) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*AuditProfile) SetUpdateIdempotencyKey

func (o *AuditProfile) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*AuditProfile) SetUpdateTime

func (o *AuditProfile) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*AuditProfile) SetZHash

func (o *AuditProfile) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AuditProfile) SetZone

func (o *AuditProfile) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AuditProfile) SpecificationForAttribute

func (*AuditProfile) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AuditProfile) String

func (o *AuditProfile) String() string

func (*AuditProfile) ToSparse

func (o *AuditProfile) 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 (*AuditProfile) Validate

func (o *AuditProfile) Validate() error

Validate valides the current information stored into the structure.

func (*AuditProfile) ValueForAttribute

func (o *AuditProfile) ValueForAttribute(name string) interface{}

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 (*AuditProfile) Version

func (o *AuditProfile) Version() int

Version returns the hardcoded version of the model.

type AuditProfileMappingPoliciesList

type AuditProfileMappingPoliciesList []*AuditProfileMappingPolicy

AuditProfileMappingPoliciesList represents a list of AuditProfileMappingPolicies

func (AuditProfileMappingPoliciesList) Append

Append appends the objects to the a new copy of the AuditProfileMappingPoliciesList.

func (AuditProfileMappingPoliciesList) Copy

Copy returns a pointer to a copy the AuditProfileMappingPoliciesList.

func (AuditProfileMappingPoliciesList) DefaultOrder

func (o AuditProfileMappingPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AuditProfileMappingPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (AuditProfileMappingPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (AuditProfileMappingPoliciesList) ToSparse

ToSparse returns the AuditProfileMappingPoliciesList converted to SparseAuditProfileMappingPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (AuditProfileMappingPoliciesList) Version

Version returns the version of the content.

type AuditProfileMappingPolicy

type AuditProfileMappingPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// The tag or tag expression that identifies the audit profile to be mapped.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// The tag or tag expression that identifies the enforcer(s) to implement the audit
	// profile.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AuditProfileMappingPolicy represents the model of a auditprofilemappingpolicy

func NewAuditProfileMappingPolicy

func NewAuditProfileMappingPolicy() *AuditProfileMappingPolicy

NewAuditProfileMappingPolicy returns a new *AuditProfileMappingPolicy

func (*AuditProfileMappingPolicy) AttributeSpecifications

func (*AuditProfileMappingPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AuditProfileMappingPolicy) BleveType added in v1.1.0

func (o *AuditProfileMappingPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AuditProfileMappingPolicy) DeepCopy

DeepCopy returns a deep copy if the AuditProfileMappingPolicy.

func (*AuditProfileMappingPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *AuditProfileMappingPolicy.

func (*AuditProfileMappingPolicy) DefaultOrder

func (o *AuditProfileMappingPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AuditProfileMappingPolicy) Doc

Doc returns the documentation for the object

func (*AuditProfileMappingPolicy) GetActiveDuration

func (o *AuditProfileMappingPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*AuditProfileMappingPolicy) GetActiveSchedule

func (o *AuditProfileMappingPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*AuditProfileMappingPolicy) GetAnnotations

func (o *AuditProfileMappingPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*AuditProfileMappingPolicy) GetAssociatedTags

func (o *AuditProfileMappingPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*AuditProfileMappingPolicy) GetBSON added in v1.80.0

func (o *AuditProfileMappingPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AuditProfileMappingPolicy) GetCreateIdempotencyKey

func (o *AuditProfileMappingPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*AuditProfileMappingPolicy) GetCreateTime

func (o *AuditProfileMappingPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*AuditProfileMappingPolicy) GetDescription

func (o *AuditProfileMappingPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*AuditProfileMappingPolicy) GetDisabled

func (o *AuditProfileMappingPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*AuditProfileMappingPolicy) GetFallback

func (o *AuditProfileMappingPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*AuditProfileMappingPolicy) GetMetadata

func (o *AuditProfileMappingPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*AuditProfileMappingPolicy) GetName

func (o *AuditProfileMappingPolicy) GetName() string

GetName returns the Name of the receiver.

func (*AuditProfileMappingPolicy) GetNamespace

func (o *AuditProfileMappingPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*AuditProfileMappingPolicy) GetNormalizedTags

func (o *AuditProfileMappingPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*AuditProfileMappingPolicy) GetPropagate

func (o *AuditProfileMappingPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*AuditProfileMappingPolicy) GetProtected

func (o *AuditProfileMappingPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*AuditProfileMappingPolicy) GetUpdateIdempotencyKey

func (o *AuditProfileMappingPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*AuditProfileMappingPolicy) GetUpdateTime

func (o *AuditProfileMappingPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*AuditProfileMappingPolicy) Identifier

func (o *AuditProfileMappingPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AuditProfileMappingPolicy) Identity

Identity returns the Identity of the object.

func (*AuditProfileMappingPolicy) Patch

Patch apply the non nil value of a *SparseAuditProfileMappingPolicy to the object.

func (*AuditProfileMappingPolicy) SetActiveDuration

func (o *AuditProfileMappingPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetActiveSchedule

func (o *AuditProfileMappingPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetAnnotations

func (o *AuditProfileMappingPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetAssociatedTags

func (o *AuditProfileMappingPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetBSON added in v1.80.0

func (o *AuditProfileMappingPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AuditProfileMappingPolicy) SetCreateIdempotencyKey

func (o *AuditProfileMappingPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetCreateTime

func (o *AuditProfileMappingPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetDescription

func (o *AuditProfileMappingPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetDisabled

func (o *AuditProfileMappingPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetFallback

func (o *AuditProfileMappingPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetIdentifier

func (o *AuditProfileMappingPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AuditProfileMappingPolicy) SetMetadata

func (o *AuditProfileMappingPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetName

func (o *AuditProfileMappingPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetNamespace

func (o *AuditProfileMappingPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetNormalizedTags

func (o *AuditProfileMappingPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetPropagate

func (o *AuditProfileMappingPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetProtected

func (o *AuditProfileMappingPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetUpdateIdempotencyKey

func (o *AuditProfileMappingPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*AuditProfileMappingPolicy) SetUpdateTime

func (o *AuditProfileMappingPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*AuditProfileMappingPolicy) SpecificationForAttribute

func (*AuditProfileMappingPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AuditProfileMappingPolicy) String

func (o *AuditProfileMappingPolicy) String() string

func (*AuditProfileMappingPolicy) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*AuditProfileMappingPolicy) Validate

func (o *AuditProfileMappingPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*AuditProfileMappingPolicy) ValueForAttribute

func (o *AuditProfileMappingPolicy) ValueForAttribute(name string) interface{}

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 (*AuditProfileMappingPolicy) Version

func (o *AuditProfileMappingPolicy) Version() int

Version returns the hardcoded version of the model.

type AuditProfilesList

type AuditProfilesList []*AuditProfile

AuditProfilesList represents a list of AuditProfiles

func (AuditProfilesList) Append

Append appends the objects to the a new copy of the AuditProfilesList.

func (AuditProfilesList) Copy

Copy returns a pointer to a copy the AuditProfilesList.

func (AuditProfilesList) DefaultOrder

func (o AuditProfilesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AuditProfilesList) Identity

func (o AuditProfilesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AuditProfilesList) List

List converts the object to an elemental.IdentifiablesList.

func (AuditProfilesList) ToSparse

func (o AuditProfilesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AuditProfilesList converted to SparseAuditProfilesList. Objects in the list will only contain the given fields. No field means entire field set.

func (AuditProfilesList) Version

func (o AuditProfilesList) Version() int

Version returns the version of the content.

type AuditReport

type AuditReport struct {
	// The login ID of the user who started the audited process.
	AUID string `json:"AUID,omitempty" msgpack:"AUID,omitempty" bson:"a,omitempty" mapstructure:"AUID,omitempty"`

	// Command working directory.
	CWD string `json:"CWD,omitempty" msgpack:"CWD,omitempty" bson:"b,omitempty" mapstructure:"CWD,omitempty"`

	// Effective group ID of the user who started the audited process.
	EGID int `json:"EGID,omitempty" msgpack:"EGID,omitempty" bson:"c,omitempty" mapstructure:"EGID,omitempty"`

	// Effective user ID of the user who started the audited process.
	EUID int `json:"EUID,omitempty" msgpack:"EUID,omitempty" bson:"d,omitempty" mapstructure:"EUID,omitempty"`

	// Path to the executable.
	EXE string `json:"EXE,omitempty" msgpack:"EXE,omitempty" bson:"e,omitempty" mapstructure:"EXE,omitempty"`

	// File system group ID of the user who started the audited process.
	FSGID int `json:"FSGID,omitempty" msgpack:"FSGID,omitempty" bson:"f,omitempty" mapstructure:"FSGID,omitempty"`

	// File system user ID of the user who started the audited process.
	FSUID int `json:"FSUID,omitempty" msgpack:"FSUID,omitempty" bson:"g,omitempty" mapstructure:"FSUID,omitempty"`

	// Full path of the file that was passed to the system call.
	FilePath string `json:"FilePath,omitempty" msgpack:"FilePath,omitempty" bson:"h,omitempty" mapstructure:"FilePath,omitempty"`

	// Group ID of the user who started the analyzed process.
	GID int `json:"GID,omitempty" msgpack:"GID,omitempty" bson:"i,omitempty" mapstructure:"GID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// File or directory permissions.
	PER int `json:"PER,omitempty" msgpack:"PER,omitempty" bson:"j,omitempty" mapstructure:"PER,omitempty"`

	// Process ID of the executable.
	PID int `json:"PID,omitempty" msgpack:"PID,omitempty" bson:"k,omitempty" mapstructure:"PID,omitempty"`

	// Process ID of the parent executable.
	PPID int `json:"PPID,omitempty" msgpack:"PPID,omitempty" bson:"l,omitempty" mapstructure:"PPID,omitempty"`

	// Set group ID of the user who started the audited process.
	SGID int `json:"SGID,omitempty" msgpack:"SGID,omitempty" bson:"m,omitempty" mapstructure:"SGID,omitempty"`

	// Set user ID of the user who started the audited process.
	SUID int `json:"SUID,omitempty" msgpack:"SUID,omitempty" bson:"n,omitempty" mapstructure:"SUID,omitempty"`

	// User ID.
	UID int `json:"UID,omitempty" msgpack:"UID,omitempty" bson:"o,omitempty" mapstructure:"UID,omitempty"`

	// First argument of the executed system call.
	A0 string `json:"a0,omitempty" msgpack:"a0,omitempty" bson:"p,omitempty" mapstructure:"a0,omitempty"`

	// Second argument of the executed system call.
	A1 string `json:"a1,omitempty" msgpack:"a1,omitempty" bson:"q,omitempty" mapstructure:"a1,omitempty"`

	// Third argument of the executed system call.
	A2 string `json:"a2,omitempty" msgpack:"a2,omitempty" bson:"r,omitempty" mapstructure:"a2,omitempty"`

	// Fourth argument of the executed system call.
	A3 string `json:"a3,omitempty" msgpack:"a3,omitempty" bson:"s,omitempty" mapstructure:"a3,omitempty"`

	// Architecture of the system of the monitored process.
	Arch string `json:"arch,omitempty" msgpack:"arch,omitempty" bson:"t,omitempty" mapstructure:"arch,omitempty"`

	// Arguments passed to the command.
	Arguments []string `json:"arguments,omitempty" msgpack:"arguments,omitempty" bson:"u,omitempty" mapstructure:"arguments,omitempty"`

	// ID of the audit profile that triggered the report.
	AuditProfileID string `json:"auditProfileID,omitempty" msgpack:"auditProfileID,omitempty" bson:"v,omitempty" mapstructure:"auditProfileID,omitempty"`

	// Namespace of the audit profile that triggered the report.
	AuditProfileNamespace string `` /* 146-byte string literal not displayed */

	// Command issued.
	Command string `json:"command,omitempty" msgpack:"command,omitempty" bson:"x,omitempty" mapstructure:"command,omitempty"`

	// ID of the enforcer reporting.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"y,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer reporting.
	EnforcerNamespace string `` /* 134-byte string literal not displayed */

	// Exit code of the executed system call.
	Exit int `json:"exit,omitempty" msgpack:"exit,omitempty" bson:"aa,omitempty" mapstructure:"exit,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// ID of the processing unit originating the report.
	ProcessingUnitID string `` /* 132-byte string literal not displayed */

	// Namespace of the processing unit originating the report.
	ProcessingUnitNamespace string `` /* 153-byte string literal not displayed */

	// Type of audit record.
	RecordType string `json:"recordType,omitempty" msgpack:"recordType,omitempty" bson:"ad,omitempty" mapstructure:"recordType,omitempty"`

	// Needs documentation.
	Sequence int `json:"sequence,omitempty" msgpack:"sequence,omitempty" bson:"ae,omitempty" mapstructure:"sequence,omitempty"`

	// Tells if the operation has been a success or a failure.
	Success bool `json:"success,omitempty" msgpack:"success,omitempty" bson:"af,omitempty" mapstructure:"success,omitempty"`

	// System call executed.
	Syscall string `json:"syscall,omitempty" msgpack:"syscall,omitempty" bson:"ag,omitempty" mapstructure:"syscall,omitempty"`

	// Date of the report.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"ah,omitempty" mapstructure:"timestamp,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AuditReport represents the model of a auditreport

func NewAuditReport

func NewAuditReport() *AuditReport

NewAuditReport returns a new *AuditReport

func (*AuditReport) AttributeSpecifications

func (*AuditReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AuditReport) BleveType added in v1.1.0

func (o *AuditReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AuditReport) DeepCopy

func (o *AuditReport) DeepCopy() *AuditReport

DeepCopy returns a deep copy if the AuditReport.

func (*AuditReport) DeepCopyInto

func (o *AuditReport) DeepCopyInto(out *AuditReport)

DeepCopyInto copies the receiver into the given *AuditReport.

func (*AuditReport) DefaultOrder

func (o *AuditReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AuditReport) Doc

func (o *AuditReport) Doc() string

Doc returns the documentation for the object

func (*AuditReport) GetBSON added in v1.80.0

func (o *AuditReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AuditReport) GetMigrationsLog added in v1.94.1

func (o *AuditReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*AuditReport) GetZHash added in v1.94.1

func (o *AuditReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AuditReport) GetZone added in v1.94.1

func (o *AuditReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*AuditReport) Identifier

func (o *AuditReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AuditReport) Identity

func (o *AuditReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AuditReport) Patch

func (o *AuditReport) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAuditReport to the object.

func (*AuditReport) SetBSON added in v1.80.0

func (o *AuditReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AuditReport) SetIdentifier

func (o *AuditReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AuditReport) SetMigrationsLog added in v1.94.1

func (o *AuditReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*AuditReport) SetZHash added in v1.94.1

func (o *AuditReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*AuditReport) SetZone added in v1.94.1

func (o *AuditReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*AuditReport) SpecificationForAttribute

func (*AuditReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AuditReport) String

func (o *AuditReport) String() string

func (*AuditReport) ToSparse

func (o *AuditReport) 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 (*AuditReport) Validate

func (o *AuditReport) Validate() error

Validate valides the current information stored into the structure.

func (*AuditReport) ValueForAttribute

func (o *AuditReport) ValueForAttribute(name string) interface{}

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 (*AuditReport) Version

func (o *AuditReport) Version() int

Version returns the hardcoded version of the model.

type AuditReportsList

type AuditReportsList []*AuditReport

AuditReportsList represents a list of AuditReports

func (AuditReportsList) Append

Append appends the objects to the a new copy of the AuditReportsList.

func (AuditReportsList) Copy

Copy returns a pointer to a copy the AuditReportsList.

func (AuditReportsList) DefaultOrder

func (o AuditReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AuditReportsList) Identity

func (o AuditReportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AuditReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (AuditReportsList) ToSparse

func (o AuditReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AuditReportsList converted to SparseAuditReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AuditReportsList) Version

func (o AuditReportsList) Version() int

Version returns the version of the content.

type Authn added in v1.34.0

type Authn struct {
	// The claims in the token.
	Claims *types.MidgardClaims `json:"claims" msgpack:"claims" bson:"-" mapstructure:"claims,omitempty"`

	// The token to verify. This is only used if a POST request is used.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Authn represents the model of a authn

func NewAuthn added in v1.34.0

func NewAuthn() *Authn

NewAuthn returns a new *Authn

func (*Authn) AttributeSpecifications added in v1.34.0

func (*Authn) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Authn) BleveType added in v1.34.0

func (o *Authn) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Authn) DeepCopy added in v1.34.0

func (o *Authn) DeepCopy() *Authn

DeepCopy returns a deep copy if the Authn.

func (*Authn) DeepCopyInto added in v1.34.0

func (o *Authn) DeepCopyInto(out *Authn)

DeepCopyInto copies the receiver into the given *Authn.

func (*Authn) DefaultOrder added in v1.34.0

func (o *Authn) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Authn) Doc added in v1.34.0

func (o *Authn) Doc() string

Doc returns the documentation for the object

func (*Authn) GetBSON added in v1.80.0

func (o *Authn) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Authn) Identifier added in v1.34.0

func (o *Authn) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Authn) Identity added in v1.34.0

func (o *Authn) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Authn) Patch added in v1.34.0

func (o *Authn) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAuthn to the object.

func (*Authn) SetBSON added in v1.80.0

func (o *Authn) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Authn) SetIdentifier added in v1.34.0

func (o *Authn) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Authn) SpecificationForAttribute added in v1.34.0

func (*Authn) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Authn) String added in v1.34.0

func (o *Authn) String() string

func (*Authn) ToSparse added in v1.34.0

func (o *Authn) 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 (*Authn) Validate added in v1.34.0

func (o *Authn) Validate() error

Validate valides the current information stored into the structure.

func (*Authn) ValueForAttribute added in v1.34.0

func (o *Authn) ValueForAttribute(name string) interface{}

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 (*Authn) Version added in v1.34.0

func (o *Authn) Version() int

Version returns the hardcoded version of the model.

type AuthnsList added in v1.34.0

type AuthnsList []*Authn

AuthnsList represents a list of Authns

func (AuthnsList) Append added in v1.34.0

Append appends the objects to the a new copy of the AuthnsList.

func (AuthnsList) Copy added in v1.34.0

Copy returns a pointer to a copy the AuthnsList.

func (AuthnsList) DefaultOrder added in v1.34.0

func (o AuthnsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AuthnsList) Identity added in v1.34.0

func (o AuthnsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AuthnsList) List added in v1.34.0

List converts the object to an elemental.IdentifiablesList.

func (AuthnsList) ToSparse added in v1.34.0

func (o AuthnsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AuthnsList converted to SparseAuthnsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AuthnsList) Version added in v1.34.0

func (o AuthnsList) Version() int

Version returns the version of the content.

type AuthoritiesList

type AuthoritiesList []*Authority

AuthoritiesList represents a list of Authorities

func (AuthoritiesList) Append

Append appends the objects to the a new copy of the AuthoritiesList.

func (AuthoritiesList) Copy

Copy returns a pointer to a copy the AuthoritiesList.

func (AuthoritiesList) DefaultOrder

func (o AuthoritiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AuthoritiesList) Identity

func (o AuthoritiesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AuthoritiesList) List

List converts the object to an elemental.IdentifiablesList.

func (AuthoritiesList) ToSparse

func (o AuthoritiesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AuthoritiesList converted to SparseAuthoritiesList. Objects in the list will only contain the given fields. No field means entire field set.

func (AuthoritiesList) Version

func (o AuthoritiesList) Version() int

Version returns the version of the content.

type Authority

type Authority struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Algorithm defines the signing algorithm to be used.
	Algorithm AuthorityAlgorithmValue `json:"algorithm" msgpack:"algorithm" bson:"algorithm" mapstructure:"algorithm,omitempty"`

	// PEM encoded certificate data.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"certificate" mapstructure:"certificate,omitempty"`

	// CommonName contains the common name of the certificate.
	CommonName string `json:"commonName" msgpack:"commonName" bson:"commonname" mapstructure:"commonName,omitempty"`

	// Date of expiration of the issued certificate.
	ExpirationDate time.Time `json:"expirationDate" msgpack:"expirationDate" bson:"expirationdate" mapstructure:"expirationDate,omitempty"`

	// Encrypted private key of the Authority.
	Key string `json:"-" msgpack:"-" bson:"key" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Organization field of the CA.
	Organization string `json:"organization" msgpack:"organization" bson:"organization" mapstructure:"organization,omitempty"`

	// serialNumber of the certificate.
	SerialNumber string `json:"serialNumber" msgpack:"serialNumber" bson:"serialnumber" mapstructure:"serialNumber,omitempty"`

	// Type of signing authority can be a CA or a JWT signing certificate.
	Type AuthorityTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Authority represents the model of a authority

func NewAuthority

func NewAuthority() *Authority

NewAuthority returns a new *Authority

func (*Authority) AttributeSpecifications

func (*Authority) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Authority) BleveType added in v1.1.0

func (o *Authority) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Authority) DecryptAttributes added in v1.57.0

func (o *Authority) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*Authority) DeepCopy

func (o *Authority) DeepCopy() *Authority

DeepCopy returns a deep copy if the Authority.

func (*Authority) DeepCopyInto

func (o *Authority) DeepCopyInto(out *Authority)

DeepCopyInto copies the receiver into the given *Authority.

func (*Authority) DefaultOrder

func (o *Authority) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Authority) Doc

func (o *Authority) Doc() string

Doc returns the documentation for the object

func (*Authority) EncryptAttributes added in v1.57.0

func (o *Authority) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*Authority) GetBSON added in v1.80.0

func (o *Authority) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Authority) GetMigrationsLog added in v1.30.0

func (o *Authority) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Authority) GetZHash added in v1.1.0

func (o *Authority) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Authority) GetZone added in v1.1.0

func (o *Authority) GetZone() int

GetZone returns the Zone of the receiver.

func (*Authority) Identifier

func (o *Authority) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Authority) Identity

func (o *Authority) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Authority) Patch

func (o *Authority) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAuthority to the object.

func (*Authority) SetBSON added in v1.80.0

func (o *Authority) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Authority) SetIdentifier

func (o *Authority) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Authority) SetMigrationsLog added in v1.30.0

func (o *Authority) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Authority) SetZHash added in v1.1.0

func (o *Authority) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Authority) SetZone added in v1.1.0

func (o *Authority) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Authority) SpecificationForAttribute

func (*Authority) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Authority) String

func (o *Authority) String() string

func (*Authority) ToSparse

func (o *Authority) 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 (*Authority) Validate

func (o *Authority) Validate() error

Validate valides the current information stored into the structure.

func (*Authority) ValueForAttribute

func (o *Authority) ValueForAttribute(name string) interface{}

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 (*Authority) Version

func (o *Authority) Version() int

Version returns the hardcoded version of the model.

type AuthorityAlgorithmValue added in v1.20.0

type AuthorityAlgorithmValue string

AuthorityAlgorithmValue represents the possible values for attribute "algorithm".

const (
	// AuthorityAlgorithmECDSA represents the value ECDSA.
	AuthorityAlgorithmECDSA AuthorityAlgorithmValue = "ECDSA"

	// AuthorityAlgorithmRSA represents the value RSA.
	AuthorityAlgorithmRSA AuthorityAlgorithmValue = "RSA"
)

type AuthorityTypeValue added in v1.20.0

type AuthorityTypeValue string

AuthorityTypeValue represents the possible values for attribute "type".

const (
	// AuthorityTypeCA represents the value CA.
	AuthorityTypeCA AuthorityTypeValue = "CA"

	// AuthorityTypeTokenSigning represents the value TokenSigning.
	AuthorityTypeTokenSigning AuthorityTypeValue = "TokenSigning"
)

type Authz added in v1.34.0

type Authz struct {
	// Contains the API Authorization policies if
	// the query parameter `forwardpolicyrules=true` is set.
	APIAuthorizationPolicies APIAuthorizationPoliciesList `` /* 145-byte string literal not displayed */

	// The list of verified claims.
	Claims []string `json:"claims" msgpack:"claims" bson:"-" mapstructure:"claims,omitempty"`

	// IP of the client.
	ClientIP string `json:"clientIP" msgpack:"clientIP" bson:"-" mapstructure:"clientIP,omitempty"`

	// Return an eventual error.
	Error string `json:"error,omitempty" msgpack:"error,omitempty" bson:"-" mapstructure:"error,omitempty"`

	// If the parameter permissions=1 is set, targetIdentity and targetOperation are
	// ignored and this attribute will contain all the permission for the given claims.
	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"`

	// The ID of the object to check permission for.
	TargetID string `json:"targetID" msgpack:"targetID" bson:"-" mapstructure:"targetID,omitempty"`

	// The namespace where to check permission from.
	TargetNamespace string `json:"targetNamespace" msgpack:"targetNamespace" bson:"-" mapstructure:"targetNamespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Authz represents the model of a authz

func NewAuthz added in v1.34.0

func NewAuthz() *Authz

NewAuthz returns a new *Authz

func (*Authz) AttributeSpecifications added in v1.34.0

func (*Authz) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Authz) BleveType added in v1.34.0

func (o *Authz) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Authz) DeepCopy added in v1.34.0

func (o *Authz) DeepCopy() *Authz

DeepCopy returns a deep copy if the Authz.

func (*Authz) DeepCopyInto added in v1.34.0

func (o *Authz) DeepCopyInto(out *Authz)

DeepCopyInto copies the receiver into the given *Authz.

func (*Authz) DefaultOrder added in v1.34.0

func (o *Authz) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Authz) Doc added in v1.34.0

func (o *Authz) Doc() string

Doc returns the documentation for the object

func (*Authz) GetBSON added in v1.80.0

func (o *Authz) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Authz) Identifier added in v1.34.0

func (o *Authz) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Authz) Identity added in v1.34.0

func (o *Authz) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Authz) Patch added in v1.34.0

func (o *Authz) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAuthz to the object.

func (*Authz) SetBSON added in v1.80.0

func (o *Authz) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Authz) SetIdentifier added in v1.34.0

func (o *Authz) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Authz) SpecificationForAttribute added in v1.34.0

func (*Authz) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Authz) String added in v1.34.0

func (o *Authz) String() string

func (*Authz) ToSparse added in v1.34.0

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) Validate added in v1.34.0

func (o *Authz) Validate() error

Validate valides the current information stored into the structure.

func (*Authz) ValueForAttribute added in v1.34.0

func (o *Authz) ValueForAttribute(name string) interface{}

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 (*Authz) Version added in v1.34.0

func (o *Authz) Version() int

Version returns the hardcoded version of the model.

type AuthzsList added in v1.34.0

type AuthzsList []*Authz

AuthzsList represents a list of Authzs

func (AuthzsList) Append added in v1.34.0

Append appends the objects to the a new copy of the AuthzsList.

func (AuthzsList) Copy added in v1.34.0

Copy returns a pointer to a copy the AuthzsList.

func (AuthzsList) DefaultOrder added in v1.34.0

func (o AuthzsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AuthzsList) Identity added in v1.34.0

func (o AuthzsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AuthzsList) List added in v1.34.0

List converts the object to an elemental.IdentifiablesList.

func (AuthzsList) ToSparse added in v1.34.0

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 added in v1.34.0

func (o AuthzsList) Version() int

Version returns the version of the content.

type Automation

type Automation struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Contains the code that will be executed if the condition is met.
	Actions []string `json:"actions" msgpack:"actions" bson:"actions" mapstructure:"actions,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Contains the Microsegmentation token used by the automation's HTTP client. This
	// token is
	// derived from the automation's app credential attribute.
	AporetoToken string `json:"-" msgpack:"-" bson:"aporetotoken" mapstructure:"-,omitempty"`

	// Contains the app credential associated with the automation which has its roles
	// deduced from the automation's entitlements.
	AppCredential string `json:"-" msgpack:"-" bson:"appcredential" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Condition contains the code that will be executed to decide if any action(s)
	// should be executed. Providing a condition for an automation with a
	// "Webhook" trigger type will have no impact as the condition will not be
	// evaluated. If no condition is defined, then the automation action(s) will be
	// executed; this behaves akin to a condition that always succeeds.
	Condition string `json:"condition" msgpack:"condition" bson:"condition" mapstructure:"condition,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Declares which operations are allowed on which identities.
	Entitlements map[string][]elemental.Operation `json:"entitlements" msgpack:"entitlements" bson:"entitlements" mapstructure:"entitlements,omitempty"`

	// Contains the error of the last run.
	Errors []string `json:"errors" msgpack:"errors" bson:"errors" mapstructure:"errors,omitempty"`

	// Contains the identity and operation an event must have to trigger the
	// automation.
	Events map[string][]elemental.EventType `json:"events" msgpack:"events" bson:"events" mapstructure:"events,omitempty"`

	// If set and the trigger is of type Time, the automation will be run at create or
	// update before being scheduled.
	ImmediateExecution bool `json:"immediateExecution" msgpack:"immediateExecution" bson:"immediateexecution" mapstructure:"immediateExecution,omitempty"`

	// The last successful execution tine.
	LastExecTime time.Time `json:"lastExecTime" msgpack:"lastExecTime" bson:"lastexectime" mapstructure:"lastExecTime,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Contains the computed parameters.
	Parameters map[string]interface{} `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Specifies when to run the automation. Must be in valid CRON format. This
	// only applies if the trigger is set to `Time`.
	Schedule string `json:"schedule" msgpack:"schedule" bson:"schedule" mapstructure:"schedule,omitempty"`

	// Signature to validate the authenticity of the object.
	Signature string `json:"signature" msgpack:"signature" bson:"signature" mapstructure:"signature,omitempty"`

	// Contains the standard output of the last run.
	Stdout string `json:"stdout" msgpack:"stdout" bson:"stdout" mapstructure:"stdout,omitempty"`

	// Holds the unique access token used as a password to trigger the
	// authentication. It will be visible only after creation.
	Token string `json:"token" msgpack:"token" bson:"token" mapstructure:"token,omitempty"`

	// If set to `true` a new token will be issued and the previous one invalidated.
	TokenRenew bool `json:"tokenRenew" msgpack:"tokenRenew" bson:"-" mapstructure:"tokenRenew,omitempty"`

	// Controls when the automation should be triggered.
	Trigger AutomationTriggerValue `json:"trigger" msgpack:"trigger" bson:"trigger" mapstructure:"trigger,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Automation represents the model of a automation

func NewAutomation

func NewAutomation() *Automation

NewAutomation returns a new *Automation

func (*Automation) AttributeSpecifications

func (*Automation) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Automation) BleveType added in v1.1.0

func (o *Automation) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Automation) DecryptAttributes added in v1.94.1

func (o *Automation) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*Automation) DeepCopy

func (o *Automation) DeepCopy() *Automation

DeepCopy returns a deep copy if the Automation.

func (*Automation) DeepCopyInto

func (o *Automation) DeepCopyInto(out *Automation)

DeepCopyInto copies the receiver into the given *Automation.

func (*Automation) DefaultOrder

func (o *Automation) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Automation) Doc

func (o *Automation) Doc() string

Doc returns the documentation for the object

func (*Automation) EncryptAttributes added in v1.94.1

func (o *Automation) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*Automation) GetAnnotations

func (o *Automation) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Automation) GetAssociatedTags

func (o *Automation) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Automation) GetBSON added in v1.80.0

func (o *Automation) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Automation) GetCreateIdempotencyKey

func (o *Automation) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Automation) GetCreateTime

func (o *Automation) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Automation) GetDescription

func (o *Automation) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Automation) GetDisabled

func (o *Automation) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*Automation) GetMigrationsLog added in v1.30.0

func (o *Automation) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Automation) GetName

func (o *Automation) GetName() string

GetName returns the Name of the receiver.

func (*Automation) GetNamespace

func (o *Automation) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Automation) GetNormalizedTags

func (o *Automation) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Automation) GetProtected

func (o *Automation) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Automation) GetSignature added in v1.94.1

func (o *Automation) GetSignature() string

GetSignature returns the Signature of the receiver.

func (*Automation) GetUpdateIdempotencyKey

func (o *Automation) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Automation) GetUpdateTime

func (o *Automation) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Automation) GetZHash

func (o *Automation) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Automation) GetZone

func (o *Automation) GetZone() int

GetZone returns the Zone of the receiver.

func (*Automation) Identifier

func (o *Automation) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Automation) Identity

func (o *Automation) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Automation) Patch

func (o *Automation) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseAutomation to the object.

func (*Automation) SetAnnotations

func (o *Automation) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Automation) SetAssociatedTags

func (o *Automation) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Automation) SetBSON added in v1.80.0

func (o *Automation) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Automation) SetCreateIdempotencyKey

func (o *Automation) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Automation) SetCreateTime

func (o *Automation) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Automation) SetDescription

func (o *Automation) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Automation) SetDisabled

func (o *Automation) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*Automation) SetIdentifier

func (o *Automation) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Automation) SetMigrationsLog added in v1.30.0

func (o *Automation) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Automation) SetName

func (o *Automation) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Automation) SetNamespace

func (o *Automation) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Automation) SetNormalizedTags

func (o *Automation) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Automation) SetProtected

func (o *Automation) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Automation) SetSignature added in v1.94.1

func (o *Automation) SetSignature(signature string)

SetSignature sets the property Signature of the receiver using the given value.

func (*Automation) SetUpdateIdempotencyKey

func (o *Automation) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Automation) SetUpdateTime

func (o *Automation) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Automation) SetZHash

func (o *Automation) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Automation) SetZone

func (o *Automation) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Automation) SpecificationForAttribute

func (*Automation) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Automation) String

func (o *Automation) String() string

func (*Automation) ToSparse

func (o *Automation) 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 (*Automation) Validate

func (o *Automation) Validate() error

Validate valides the current information stored into the structure.

func (*Automation) ValueForAttribute

func (o *Automation) ValueForAttribute(name string) interface{}

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 (*Automation) Version

func (o *Automation) Version() int

Version returns the hardcoded version of the model.

type AutomationTemplate

type AutomationTemplate struct {
	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Contains the entitlements needed for executing the function.
	Entitlements map[string][]elemental.Operation `json:"entitlements" msgpack:"entitlements" bson:"-" mapstructure:"entitlements,omitempty"`

	// Function contains the code.
	Function string `json:"function" msgpack:"function" bson:"-" mapstructure:"function,omitempty"`

	// Contains the unique identifier key for the template.
	Key string `json:"key" msgpack:"key" bson:"-" mapstructure:"key,omitempty"`

	// Represents the kind of template.
	Kind AutomationTemplateKindValue `json:"kind" msgpack:"kind" bson:"-" mapstructure:"kind,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Contains the computed parameters.
	Parameters map[string]interface{} `json:"parameters" msgpack:"parameters" bson:"-" mapstructure:"parameters,omitempty"`

	// Contains all the steps with parameters.
	Steps []*UIStep `json:"steps" msgpack:"steps" bson:"-" mapstructure:"steps,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

AutomationTemplate represents the model of a automationtemplate

func NewAutomationTemplate

func NewAutomationTemplate() *AutomationTemplate

NewAutomationTemplate returns a new *AutomationTemplate

func (*AutomationTemplate) AttributeSpecifications

func (*AutomationTemplate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*AutomationTemplate) BleveType added in v1.1.0

func (o *AutomationTemplate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AutomationTemplate) DeepCopy

func (o *AutomationTemplate) DeepCopy() *AutomationTemplate

DeepCopy returns a deep copy if the AutomationTemplate.

func (*AutomationTemplate) DeepCopyInto

func (o *AutomationTemplate) DeepCopyInto(out *AutomationTemplate)

DeepCopyInto copies the receiver into the given *AutomationTemplate.

func (*AutomationTemplate) DefaultOrder

func (o *AutomationTemplate) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*AutomationTemplate) Doc

func (o *AutomationTemplate) Doc() string

Doc returns the documentation for the object

func (*AutomationTemplate) GetBSON added in v1.80.0

func (o *AutomationTemplate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AutomationTemplate) GetDescription

func (o *AutomationTemplate) GetDescription() string

GetDescription returns the Description of the receiver.

func (*AutomationTemplate) GetName

func (o *AutomationTemplate) GetName() string

GetName returns the Name of the receiver.

func (*AutomationTemplate) Identifier

func (o *AutomationTemplate) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*AutomationTemplate) Identity

func (o *AutomationTemplate) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*AutomationTemplate) Patch

Patch apply the non nil value of a *SparseAutomationTemplate to the object.

func (*AutomationTemplate) SetBSON added in v1.80.0

func (o *AutomationTemplate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*AutomationTemplate) SetDescription

func (o *AutomationTemplate) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*AutomationTemplate) SetIdentifier

func (o *AutomationTemplate) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*AutomationTemplate) SetName

func (o *AutomationTemplate) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*AutomationTemplate) SpecificationForAttribute

func (*AutomationTemplate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AutomationTemplate) String

func (o *AutomationTemplate) String() string

func (*AutomationTemplate) ToSparse

func (o *AutomationTemplate) 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 (*AutomationTemplate) Validate

func (o *AutomationTemplate) Validate() error

Validate valides the current information stored into the structure.

func (*AutomationTemplate) ValueForAttribute

func (o *AutomationTemplate) ValueForAttribute(name string) interface{}

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 (*AutomationTemplate) Version

func (o *AutomationTemplate) Version() int

Version returns the hardcoded version of the model.

type AutomationTemplateKindValue

type AutomationTemplateKindValue string

AutomationTemplateKindValue represents the possible values for attribute "kind".

const (
	// AutomationTemplateKindAction represents the value Action.
	AutomationTemplateKindAction AutomationTemplateKindValue = "Action"

	// AutomationTemplateKindCondition represents the value Condition.
	AutomationTemplateKindCondition AutomationTemplateKindValue = "Condition"
)

type AutomationTemplatesList

type AutomationTemplatesList []*AutomationTemplate

AutomationTemplatesList represents a list of AutomationTemplates

func (AutomationTemplatesList) Append

Append appends the objects to the a new copy of the AutomationTemplatesList.

func (AutomationTemplatesList) Copy

Copy returns a pointer to a copy the AutomationTemplatesList.

func (AutomationTemplatesList) DefaultOrder

func (o AutomationTemplatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AutomationTemplatesList) Identity

Identity returns the identity of the objects in the list.

func (AutomationTemplatesList) List

List converts the object to an elemental.IdentifiablesList.

func (AutomationTemplatesList) ToSparse

func (o AutomationTemplatesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AutomationTemplatesList converted to SparseAutomationTemplatesList. Objects in the list will only contain the given fields. No field means entire field set.

func (AutomationTemplatesList) Version

func (o AutomationTemplatesList) Version() int

Version returns the version of the content.

type AutomationTriggerValue

type AutomationTriggerValue string

AutomationTriggerValue represents the possible values for attribute "trigger".

const (
	// AutomationTriggerEvent represents the value Event.
	AutomationTriggerEvent AutomationTriggerValue = "Event"

	// AutomationTriggerRemoteCall represents the value RemoteCall.
	AutomationTriggerRemoteCall AutomationTriggerValue = "RemoteCall"

	// AutomationTriggerTime represents the value Time.
	AutomationTriggerTime AutomationTriggerValue = "Time"

	// AutomationTriggerWebhook represents the value Webhook.
	AutomationTriggerWebhook AutomationTriggerValue = "Webhook"
)

type AutomationsList

type AutomationsList []*Automation

AutomationsList represents a list of Automations

func (AutomationsList) Append

Append appends the objects to the a new copy of the AutomationsList.

func (AutomationsList) Copy

Copy returns a pointer to a copy the AutomationsList.

func (AutomationsList) DefaultOrder

func (o AutomationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AutomationsList) Identity

func (o AutomationsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AutomationsList) List

List converts the object to an elemental.IdentifiablesList.

func (AutomationsList) ToSparse

func (o AutomationsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the AutomationsList converted to SparseAutomationsList. Objects in the list will only contain the given fields. No field means entire field set.

func (AutomationsList) Version

func (o AutomationsList) Version() int

Version returns the version of the content.

type CNSConfig added in v1.101.0

type CNSConfig struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// If `true` net effective permissions feature is enabled.
	EnableNetEffectivePermissions bool `` /* 168-byte string literal not displayed */

	// If `true` network security feature is enabled.
	EnableNetworkSecurity bool `` /* 136-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Unique Prisma ID identifying the CNS configuration.
	PrismaID string `json:"prismaID" msgpack:"prismaID" bson:"prismaid" mapstructure:"prismaID,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CNSConfig represents the model of a cnsconfig

func NewCNSConfig added in v1.101.0

func NewCNSConfig() *CNSConfig

NewCNSConfig returns a new *CNSConfig

func (*CNSConfig) AttributeSpecifications added in v1.101.0

func (*CNSConfig) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CNSConfig) BleveType added in v1.101.0

func (o *CNSConfig) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CNSConfig) DeepCopy added in v1.101.0

func (o *CNSConfig) DeepCopy() *CNSConfig

DeepCopy returns a deep copy if the CNSConfig.

func (*CNSConfig) DeepCopyInto added in v1.101.0

func (o *CNSConfig) DeepCopyInto(out *CNSConfig)

DeepCopyInto copies the receiver into the given *CNSConfig.

func (*CNSConfig) DefaultOrder added in v1.101.0

func (o *CNSConfig) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CNSConfig) Doc added in v1.101.0

func (o *CNSConfig) Doc() string

Doc returns the documentation for the object

func (*CNSConfig) GetAnnotations added in v1.101.0

func (o *CNSConfig) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CNSConfig) GetAssociatedTags added in v1.101.0

func (o *CNSConfig) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CNSConfig) GetBSON added in v1.101.0

func (o *CNSConfig) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CNSConfig) GetCreateIdempotencyKey added in v1.101.0

func (o *CNSConfig) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CNSConfig) GetCreateTime added in v1.101.0

func (o *CNSConfig) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CNSConfig) GetMigrationsLog added in v1.101.0

func (o *CNSConfig) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CNSConfig) GetNamespace added in v1.101.0

func (o *CNSConfig) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CNSConfig) GetNormalizedTags added in v1.101.0

func (o *CNSConfig) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CNSConfig) GetProtected added in v1.101.0

func (o *CNSConfig) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CNSConfig) GetUpdateIdempotencyKey added in v1.101.0

func (o *CNSConfig) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CNSConfig) GetUpdateTime added in v1.101.0

func (o *CNSConfig) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CNSConfig) GetZHash added in v1.101.0

func (o *CNSConfig) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CNSConfig) GetZone added in v1.101.0

func (o *CNSConfig) GetZone() int

GetZone returns the Zone of the receiver.

func (*CNSConfig) Identifier added in v1.101.0

func (o *CNSConfig) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CNSConfig) Identity added in v1.101.0

func (o *CNSConfig) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CNSConfig) Patch added in v1.101.0

func (o *CNSConfig) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCNSConfig to the object.

func (*CNSConfig) SetAnnotations added in v1.101.0

func (o *CNSConfig) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CNSConfig) SetAssociatedTags added in v1.101.0

func (o *CNSConfig) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CNSConfig) SetBSON added in v1.101.0

func (o *CNSConfig) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CNSConfig) SetCreateIdempotencyKey added in v1.101.0

func (o *CNSConfig) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CNSConfig) SetCreateTime added in v1.101.0

func (o *CNSConfig) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CNSConfig) SetIdentifier added in v1.101.0

func (o *CNSConfig) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CNSConfig) SetMigrationsLog added in v1.101.0

func (o *CNSConfig) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CNSConfig) SetNamespace added in v1.101.0

func (o *CNSConfig) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CNSConfig) SetNormalizedTags added in v1.101.0

func (o *CNSConfig) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CNSConfig) SetProtected added in v1.101.0

func (o *CNSConfig) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CNSConfig) SetUpdateIdempotencyKey added in v1.101.0

func (o *CNSConfig) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CNSConfig) SetUpdateTime added in v1.101.0

func (o *CNSConfig) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CNSConfig) SetZHash added in v1.101.0

func (o *CNSConfig) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CNSConfig) SetZone added in v1.101.0

func (o *CNSConfig) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CNSConfig) SpecificationForAttribute added in v1.101.0

func (*CNSConfig) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CNSConfig) String added in v1.101.0

func (o *CNSConfig) String() string

func (*CNSConfig) ToSparse added in v1.101.0

func (o *CNSConfig) 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 (*CNSConfig) Validate added in v1.101.0

func (o *CNSConfig) Validate() error

Validate valides the current information stored into the structure.

func (*CNSConfig) ValueForAttribute added in v1.101.0

func (o *CNSConfig) ValueForAttribute(name string) interface{}

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 (*CNSConfig) Version added in v1.101.0

func (o *CNSConfig) Version() int

Version returns the hardcoded version of the model.

type CNSConfigsList added in v1.101.0

type CNSConfigsList []*CNSConfig

CNSConfigsList represents a list of CNSConfigs

func (CNSConfigsList) Append added in v1.101.0

Append appends the objects to the a new copy of the CNSConfigsList.

func (CNSConfigsList) Copy added in v1.101.0

Copy returns a pointer to a copy the CNSConfigsList.

func (CNSConfigsList) DefaultOrder added in v1.101.0

func (o CNSConfigsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CNSConfigsList) Identity added in v1.101.0

func (o CNSConfigsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CNSConfigsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CNSConfigsList) ToSparse added in v1.101.0

func (o CNSConfigsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CNSConfigsList converted to SparseCNSConfigsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CNSConfigsList) Version added in v1.101.0

func (o CNSConfigsList) Version() int

Version returns the version of the content.

type CNSRQLQueriesList added in v1.103.0

type CNSRQLQueriesList []*CNSRQLQuery

CNSRQLQueriesList represents a list of CNSRQLQueries

func (CNSRQLQueriesList) Append added in v1.103.0

Append appends the objects to the a new copy of the CNSRQLQueriesList.

func (CNSRQLQueriesList) Copy added in v1.103.0

Copy returns a pointer to a copy the CNSRQLQueriesList.

func (CNSRQLQueriesList) DefaultOrder added in v1.103.0

func (o CNSRQLQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CNSRQLQueriesList) Identity added in v1.103.0

func (o CNSRQLQueriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CNSRQLQueriesList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (CNSRQLQueriesList) ToSparse added in v1.103.0

func (o CNSRQLQueriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CNSRQLQueriesList converted to SparseCNSRQLQueriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CNSRQLQueriesList) Version added in v1.103.0

func (o CNSRQLQueriesList) Version() int

Version returns the version of the content.

type CNSRQLQuery added in v1.103.0

type CNSRQLQuery struct {
	// ID of the query request.
	AlertID string `json:"alertID" msgpack:"alertID" bson:"-" mapstructure:"alertID,omitempty"`

	// The policy for which the alert was generated.
	PolicyID string `json:"policyID" msgpack:"policyID" bson:"-" mapstructure:"policyID,omitempty"`

	// The RQL query for the alert.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// Whether the response to request is valid.
	Valid bool `json:"valid,omitempty" msgpack:"valid,omitempty" bson:"-" mapstructure:"valid,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CNSRQLQuery represents the model of a cnsrqlquery

func NewCNSRQLQuery added in v1.103.0

func NewCNSRQLQuery() *CNSRQLQuery

NewCNSRQLQuery returns a new *CNSRQLQuery

func (*CNSRQLQuery) AttributeSpecifications added in v1.103.0

func (*CNSRQLQuery) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CNSRQLQuery) BleveType added in v1.103.0

func (o *CNSRQLQuery) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CNSRQLQuery) DeepCopy added in v1.103.0

func (o *CNSRQLQuery) DeepCopy() *CNSRQLQuery

DeepCopy returns a deep copy if the CNSRQLQuery.

func (*CNSRQLQuery) DeepCopyInto added in v1.103.0

func (o *CNSRQLQuery) DeepCopyInto(out *CNSRQLQuery)

DeepCopyInto copies the receiver into the given *CNSRQLQuery.

func (*CNSRQLQuery) DefaultOrder added in v1.103.0

func (o *CNSRQLQuery) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CNSRQLQuery) Doc added in v1.103.0

func (o *CNSRQLQuery) Doc() string

Doc returns the documentation for the object

func (*CNSRQLQuery) GetBSON added in v1.103.0

func (o *CNSRQLQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CNSRQLQuery) Identifier added in v1.103.0

func (o *CNSRQLQuery) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CNSRQLQuery) Identity added in v1.103.0

func (o *CNSRQLQuery) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CNSRQLQuery) Patch added in v1.103.0

func (o *CNSRQLQuery) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCNSRQLQuery to the object.

func (*CNSRQLQuery) SetBSON added in v1.103.0

func (o *CNSRQLQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CNSRQLQuery) SetIdentifier added in v1.103.0

func (o *CNSRQLQuery) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CNSRQLQuery) SpecificationForAttribute added in v1.103.0

func (*CNSRQLQuery) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CNSRQLQuery) String added in v1.103.0

func (o *CNSRQLQuery) String() string

func (*CNSRQLQuery) ToSparse added in v1.103.0

func (o *CNSRQLQuery) 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 (*CNSRQLQuery) Validate added in v1.103.0

func (o *CNSRQLQuery) Validate() error

Validate valides the current information stored into the structure.

func (*CNSRQLQuery) ValueForAttribute added in v1.103.0

func (o *CNSRQLQuery) ValueForAttribute(name string) interface{}

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 (*CNSRQLQuery) Version added in v1.103.0

func (o *CNSRQLQuery) Version() int

Version returns the hardcoded version of the model.

type CNSSearch added in v1.94.1

type CNSSearch struct {
	// ID of the search request.
	ID string `json:"id,omitempty" msgpack:"id,omitempty" bson:"-" mapstructure:"id,omitempty"`

	// The payload of the search results.
	Data *PCSearchResult `json:"data" msgpack:"data" bson:"-" mapstructure:"data,omitempty"`

	// Description of the search.
	Description string `json:"description,omitempty" msgpack:"description,omitempty" bson:"-" mapstructure:"description,omitempty"`

	// Absolute end time of search, in UNIX time.
	EndAbsolute int `json:"endAbsolute" msgpack:"endAbsolute" bson:"-" mapstructure:"endAbsolute,omitempty"`

	// The number of items to fetch.
	Limit int `json:"limit,omitempty" msgpack:"limit,omitempty" bson:"-" mapstructure:"limit,omitempty"`

	// Name of the RQL search request. Should set to be empty.
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// Represents the token to fetch next page.
	PageToken string `json:"pageToken,omitempty" msgpack:"pageToken,omitempty" bson:"-" mapstructure:"pageToken,omitempty"`

	// The cloud network query data that was created after the RQL was parsed.
	ParsedQuery map[string]interface{} `json:"parsedQuery" msgpack:"parsedQuery" bson:"-" mapstructure:"parsedQuery,omitempty"`

	// The RQL query.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// Indicates if the search has been saved.
	Saved bool `json:"saved,omitempty" msgpack:"saved,omitempty" bson:"-" mapstructure:"saved,omitempty"`

	// Type of search request. Should set to be network.
	SearchType string `json:"searchType,omitempty" msgpack:"searchType,omitempty" bson:"-" mapstructure:"searchType,omitempty"`

	// Absolute start time of search, in UNIX time.
	StartAbsolute int `json:"startAbsolute" msgpack:"startAbsolute" bson:"-" mapstructure:"startAbsolute,omitempty"`

	// Time range used by PC APIs. Its type is dynamic. Aporeto needs to pass this data
	// to PC backend.
	TimeRange *PCTimeRange `json:"timeRange" msgpack:"timeRange" bson:"-" mapstructure:"timeRange,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CNSSearch represents the model of a cnssearch

func NewCNSSearch added in v1.94.1

func NewCNSSearch() *CNSSearch

NewCNSSearch returns a new *CNSSearch

func (*CNSSearch) AttributeSpecifications added in v1.94.1

func (*CNSSearch) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CNSSearch) BleveType added in v1.94.1

func (o *CNSSearch) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CNSSearch) DeepCopy added in v1.94.1

func (o *CNSSearch) DeepCopy() *CNSSearch

DeepCopy returns a deep copy if the CNSSearch.

func (*CNSSearch) DeepCopyInto added in v1.94.1

func (o *CNSSearch) DeepCopyInto(out *CNSSearch)

DeepCopyInto copies the receiver into the given *CNSSearch.

func (*CNSSearch) DefaultOrder added in v1.94.1

func (o *CNSSearch) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CNSSearch) Doc added in v1.94.1

func (o *CNSSearch) Doc() string

Doc returns the documentation for the object

func (*CNSSearch) GetBSON added in v1.94.1

func (o *CNSSearch) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CNSSearch) Identifier added in v1.94.1

func (o *CNSSearch) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CNSSearch) Identity added in v1.94.1

func (o *CNSSearch) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CNSSearch) Patch added in v1.94.1

func (o *CNSSearch) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCNSSearch to the object.

func (*CNSSearch) SetBSON added in v1.94.1

func (o *CNSSearch) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CNSSearch) SetIdentifier added in v1.94.1

func (o *CNSSearch) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CNSSearch) SpecificationForAttribute added in v1.94.1

func (*CNSSearch) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CNSSearch) String added in v1.94.1

func (o *CNSSearch) String() string

func (*CNSSearch) ToSparse added in v1.94.1

func (o *CNSSearch) 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 (*CNSSearch) Validate added in v1.94.1

func (o *CNSSearch) Validate() error

Validate valides the current information stored into the structure.

func (*CNSSearch) ValueForAttribute added in v1.94.1

func (o *CNSSearch) ValueForAttribute(name string) interface{}

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 (*CNSSearch) Version added in v1.94.1

func (o *CNSSearch) Version() int

Version returns the hardcoded version of the model.

type CNSSearchesList added in v1.94.1

type CNSSearchesList []*CNSSearch

CNSSearchesList represents a list of CNSSearches

func (CNSSearchesList) Append added in v1.94.1

Append appends the objects to the a new copy of the CNSSearchesList.

func (CNSSearchesList) Copy added in v1.94.1

Copy returns a pointer to a copy the CNSSearchesList.

func (CNSSearchesList) DefaultOrder added in v1.94.1

func (o CNSSearchesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CNSSearchesList) Identity added in v1.94.1

func (o CNSSearchesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CNSSearchesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (CNSSearchesList) ToSparse added in v1.94.1

func (o CNSSearchesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CNSSearchesList converted to SparseCNSSearchesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CNSSearchesList) Version added in v1.94.1

func (o CNSSearchesList) Version() int

Version returns the version of the content.

type CNSSuggestion added in v1.94.1

type CNSSuggestion struct {
	// Required by Prisma Cloud. Always set to true.
	NeedsOffsetUpdate bool `json:"needsOffsetUpdate" msgpack:"needsOffsetUpdate" bson:"-" mapstructure:"needsOffsetUpdate,omitempty"`

	// The length of the RQL query part that is valid.
	Offset int `json:"offset" msgpack:"offset" bson:"-" mapstructure:"offset,omitempty"`

	// Prisma Cloud's RQL query.
	Query string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// List of query suggestions.
	Suggestions []string `json:"suggestions" msgpack:"suggestions" bson:"-" mapstructure:"suggestions,omitempty"`

	// Required by Prisma Cloud. Always set to false.
	Translate bool `json:"translate" msgpack:"translate" bson:"-" mapstructure:"translate,omitempty"`

	// The validity of the RQL query.
	Valid bool `json:"valid" msgpack:"valid" bson:"-" mapstructure:"valid,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CNSSuggestion represents the model of a cnssuggestion

func NewCNSSuggestion added in v1.94.1

func NewCNSSuggestion() *CNSSuggestion

NewCNSSuggestion returns a new *CNSSuggestion

func (*CNSSuggestion) AttributeSpecifications added in v1.94.1

func (*CNSSuggestion) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CNSSuggestion) BleveType added in v1.94.1

func (o *CNSSuggestion) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CNSSuggestion) DeepCopy added in v1.94.1

func (o *CNSSuggestion) DeepCopy() *CNSSuggestion

DeepCopy returns a deep copy if the CNSSuggestion.

func (*CNSSuggestion) DeepCopyInto added in v1.94.1

func (o *CNSSuggestion) DeepCopyInto(out *CNSSuggestion)

DeepCopyInto copies the receiver into the given *CNSSuggestion.

func (*CNSSuggestion) DefaultOrder added in v1.94.1

func (o *CNSSuggestion) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CNSSuggestion) Doc added in v1.94.1

func (o *CNSSuggestion) Doc() string

Doc returns the documentation for the object

func (*CNSSuggestion) GetBSON added in v1.94.1

func (o *CNSSuggestion) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CNSSuggestion) Identifier added in v1.94.1

func (o *CNSSuggestion) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CNSSuggestion) Identity added in v1.94.1

func (o *CNSSuggestion) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CNSSuggestion) Patch added in v1.94.1

func (o *CNSSuggestion) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCNSSuggestion to the object.

func (*CNSSuggestion) SetBSON added in v1.94.1

func (o *CNSSuggestion) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CNSSuggestion) SetIdentifier added in v1.94.1

func (o *CNSSuggestion) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CNSSuggestion) SpecificationForAttribute added in v1.94.1

func (*CNSSuggestion) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CNSSuggestion) String added in v1.94.1

func (o *CNSSuggestion) String() string

func (*CNSSuggestion) ToSparse added in v1.94.1

func (o *CNSSuggestion) 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 (*CNSSuggestion) Validate added in v1.94.1

func (o *CNSSuggestion) Validate() error

Validate valides the current information stored into the structure.

func (*CNSSuggestion) ValueForAttribute added in v1.94.1

func (o *CNSSuggestion) ValueForAttribute(name string) interface{}

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 (*CNSSuggestion) Version added in v1.94.1

func (o *CNSSuggestion) Version() int

Version returns the hardcoded version of the model.

type CNSSuggestionsList added in v1.94.1

type CNSSuggestionsList []*CNSSuggestion

CNSSuggestionsList represents a list of CNSSuggestions

func (CNSSuggestionsList) Append added in v1.94.1

Append appends the objects to the a new copy of the CNSSuggestionsList.

func (CNSSuggestionsList) Copy added in v1.94.1

Copy returns a pointer to a copy the CNSSuggestionsList.

func (CNSSuggestionsList) DefaultOrder added in v1.94.1

func (o CNSSuggestionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CNSSuggestionsList) Identity added in v1.94.1

func (o CNSSuggestionsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CNSSuggestionsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (CNSSuggestionsList) ToSparse added in v1.94.1

func (o CNSSuggestionsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CNSSuggestionsList converted to SparseCNSSuggestionsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CNSSuggestionsList) Version added in v1.94.1

func (o CNSSuggestionsList) Version() int

Version returns the version of the content.

type CachedFlowReport added in v1.94.1

type CachedFlowReport struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Action applied to the flow.
	Action CachedFlowReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// Identifier of the destination controller.
	DestinationController string `` /* 146-byte string literal not displayed */

	// ID of the destination.
	DestinationID string `json:"destinationID,omitempty" msgpack:"destinationID,omitempty" bson:"c,omitempty" mapstructure:"destinationID,omitempty"`

	// Destination IP address.
	DestinationIP string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"d,omitempty" mapstructure:"destinationIP,omitempty"`

	// Namespace of the destination. This is deprecated. Use `remoteNamespace`. This
	// property does nothing.
	DestinationNamespace string `` /* 143-byte string literal not displayed */

	// Identifier of the destination platform.
	DestinationPlatform string `` /* 140-byte string literal not displayed */

	// Port of the destination.
	DestinationPort int `` /* 128-byte string literal not displayed */

	// Destination type.
	DestinationType CachedFlowReportDestinationTypeValue `` /* 128-byte string literal not displayed */

	// This field is only set if `action` is set to `Reject`. It specifies the reason
	// for the rejection.
	DropReason string `json:"dropReason,omitempty" msgpack:"dropReason,omitempty" bson:"i,omitempty" mapstructure:"dropReason,omitempty"`

	// If `true`, the flow was encrypted.
	Encrypted bool `json:"encrypted,omitempty" msgpack:"encrypted,omitempty" bson:"j,omitempty" mapstructure:"encrypted,omitempty"`

	// ID of the enforcer where the report was collected.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"ak,omitempty" mapstructure:"enforcerID,omitempty"`

	// Indicates if the destination endpoint is an enforcer-local processing unit.
	IsLocalDestinationID bool `` /* 144-byte string literal not displayed */

	// Indicates if the source endpoint is an enforcer-local processing unit.
	IsLocalSourceID bool `` /* 129-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// This is here for backward compatibility.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"k,omitempty" mapstructure:"namespace,omitempty"`

	// If `true`, design mode is on.
	Observed bool `json:"observed,omitempty" msgpack:"observed,omitempty" bson:"l,omitempty" mapstructure:"observed,omitempty"`

	// Action observed on the flow.
	ObservedAction CachedFlowReportObservedActionValue `json:"observedAction,omitempty" msgpack:"observedAction,omitempty" bson:"m,omitempty" mapstructure:"observedAction,omitempty"`

	// Specifies the reason for a rejection. Only set if `observedAction` is set
	// to `Reject`.
	ObservedDropReason string `` /* 137-byte string literal not displayed */

	// Value of the encryption of the network policy that observed the flow.
	ObservedEncrypted bool `` /* 134-byte string literal not displayed */

	// ID of the network policy that observed the flow.
	ObservedPolicyID string `` /* 131-byte string literal not displayed */

	// Namespace of the network policy that observed the flow.
	ObservedPolicyNamespace string `` /* 152-byte string literal not displayed */

	// ID of the network policy that accepted the flow.
	PolicyID string `json:"policyID,omitempty" msgpack:"policyID,omitempty" bson:"r,omitempty" mapstructure:"policyID,omitempty"`

	// Namespace of the network policy that accepted the flow.
	PolicyNamespace string `` /* 128-byte string literal not displayed */

	// Protocol number.
	Protocol int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"t,omitempty" mapstructure:"protocol,omitempty"`

	// Namespace of the object at the other end of the flow.
	RemoteNamespace string `` /* 128-byte string literal not displayed */

	// ID of the network policy that accepted the flow at the remote endpoint.
	RemotePolicyID string `` /* 126-byte string literal not displayed */

	// Contains the eventual name assigned to the particular rule in the
	// NetworkRuleSetPolicy that acted on the flow.
	RuleName string `json:"ruleName,omitempty" msgpack:"ruleName,omitempty" bson:"ba,omitempty" mapstructure:"ruleName,omitempty"`

	// Hash of the claims used to communicate.
	ServiceClaimHash string `` /* 131-byte string literal not displayed */

	// ID of the service.
	ServiceID string `json:"serviceID,omitempty" msgpack:"serviceID,omitempty" bson:"w,omitempty" mapstructure:"serviceID,omitempty"`

	// Namespace of Service accessed.
	ServiceNamespace string `` /* 131-byte string literal not displayed */

	// ID of the service.
	ServiceType CachedFlowReportServiceTypeValue `json:"serviceType,omitempty" msgpack:"serviceType,omitempty" bson:"y,omitempty" mapstructure:"serviceType,omitempty"`

	// Service URL accessed.
	ServiceURL string `json:"serviceURL,omitempty" msgpack:"serviceURL,omitempty" bson:"z,omitempty" mapstructure:"serviceURL,omitempty"`

	// Identifier of the source controller.
	SourceController string `` /* 132-byte string literal not displayed */

	// ID of the source.
	SourceID string `json:"sourceID,omitempty" msgpack:"sourceID,omitempty" bson:"ab,omitempty" mapstructure:"sourceID,omitempty"`

	// Type of the source.
	SourceIP string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"ac,omitempty" mapstructure:"sourceIP,omitempty"`

	// Namespace of the source. This is deprecated. Use `remoteNamespace`. This
	// property does nothing.
	SourceNamespace string `` /* 129-byte string literal not displayed */

	// Identifier of the source platform.
	SourcePlatform string `` /* 126-byte string literal not displayed */

	// Type of the source.
	SourceType CachedFlowReportSourceTypeValue `json:"sourceType,omitempty" msgpack:"sourceType,omitempty" bson:"af,omitempty" mapstructure:"sourceType,omitempty"`

	// Time and date of the log.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"ag,omitempty" mapstructure:"timestamp,omitempty"`

	// Number of flows in the log.
	Value int `json:"value,omitempty" msgpack:"value,omitempty" bson:"ah,omitempty" mapstructure:"value,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CachedFlowReport represents the model of a cachedflowreport

func NewCachedFlowReport added in v1.94.1

func NewCachedFlowReport() *CachedFlowReport

NewCachedFlowReport returns a new *CachedFlowReport

func (*CachedFlowReport) AttributeSpecifications added in v1.94.1

func (*CachedFlowReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CachedFlowReport) BleveType added in v1.94.1

func (o *CachedFlowReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CachedFlowReport) DeepCopy added in v1.94.1

func (o *CachedFlowReport) DeepCopy() *CachedFlowReport

DeepCopy returns a deep copy if the CachedFlowReport.

func (*CachedFlowReport) DeepCopyInto added in v1.94.1

func (o *CachedFlowReport) DeepCopyInto(out *CachedFlowReport)

DeepCopyInto copies the receiver into the given *CachedFlowReport.

func (*CachedFlowReport) DefaultOrder added in v1.94.1

func (o *CachedFlowReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CachedFlowReport) Doc added in v1.94.1

func (o *CachedFlowReport) Doc() string

Doc returns the documentation for the object

func (*CachedFlowReport) GetBSON added in v1.94.1

func (o *CachedFlowReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CachedFlowReport) GetMigrationsLog added in v1.94.1

func (o *CachedFlowReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CachedFlowReport) GetZHash added in v1.94.1

func (o *CachedFlowReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CachedFlowReport) GetZone added in v1.94.1

func (o *CachedFlowReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*CachedFlowReport) Identifier added in v1.94.1

func (o *CachedFlowReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CachedFlowReport) Identity added in v1.94.1

func (o *CachedFlowReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CachedFlowReport) Patch added in v1.94.1

Patch apply the non nil value of a *SparseCachedFlowReport to the object.

func (*CachedFlowReport) SetBSON added in v1.94.1

func (o *CachedFlowReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CachedFlowReport) SetIdentifier added in v1.94.1

func (o *CachedFlowReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CachedFlowReport) SetMigrationsLog added in v1.94.1

func (o *CachedFlowReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CachedFlowReport) SetZHash added in v1.94.1

func (o *CachedFlowReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CachedFlowReport) SetZone added in v1.94.1

func (o *CachedFlowReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CachedFlowReport) SpecificationForAttribute added in v1.94.1

func (*CachedFlowReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CachedFlowReport) String added in v1.94.1

func (o *CachedFlowReport) String() string

func (*CachedFlowReport) ToSparse added in v1.94.1

func (o *CachedFlowReport) 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 (*CachedFlowReport) Validate added in v1.94.1

func (o *CachedFlowReport) Validate() error

Validate valides the current information stored into the structure.

func (*CachedFlowReport) ValueForAttribute added in v1.94.1

func (o *CachedFlowReport) ValueForAttribute(name string) interface{}

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 (*CachedFlowReport) Version added in v1.94.1

func (o *CachedFlowReport) Version() int

Version returns the hardcoded version of the model.

type CachedFlowReportActionValue added in v1.94.1

type CachedFlowReportActionValue string

CachedFlowReportActionValue represents the possible values for attribute "action".

const (
	// CachedFlowReportActionAccept represents the value Accept.
	CachedFlowReportActionAccept CachedFlowReportActionValue = "Accept"

	// CachedFlowReportActionReject represents the value Reject.
	CachedFlowReportActionReject CachedFlowReportActionValue = "Reject"
)

type CachedFlowReportDestinationTypeValue added in v1.94.1

type CachedFlowReportDestinationTypeValue string

CachedFlowReportDestinationTypeValue represents the possible values for attribute "destinationType".

const (
	// CachedFlowReportDestinationTypeClaims represents the value Claims.
	CachedFlowReportDestinationTypeClaims CachedFlowReportDestinationTypeValue = "Claims"

	// CachedFlowReportDestinationTypeExternalNetwork represents the value ExternalNetwork.
	CachedFlowReportDestinationTypeExternalNetwork CachedFlowReportDestinationTypeValue = "ExternalNetwork"

	// CachedFlowReportDestinationTypeProcessingUnit represents the value ProcessingUnit.
	CachedFlowReportDestinationTypeProcessingUnit CachedFlowReportDestinationTypeValue = "ProcessingUnit"
)

type CachedFlowReportObservedActionValue added in v1.94.1

type CachedFlowReportObservedActionValue string

CachedFlowReportObservedActionValue represents the possible values for attribute "observedAction".

const (
	// CachedFlowReportObservedActionAccept represents the value Accept.
	CachedFlowReportObservedActionAccept CachedFlowReportObservedActionValue = "Accept"

	// CachedFlowReportObservedActionNotApplicable represents the value NotApplicable.
	CachedFlowReportObservedActionNotApplicable CachedFlowReportObservedActionValue = "NotApplicable"

	// CachedFlowReportObservedActionReject represents the value Reject.
	CachedFlowReportObservedActionReject CachedFlowReportObservedActionValue = "Reject"
)

type CachedFlowReportServiceTypeValue added in v1.94.1

type CachedFlowReportServiceTypeValue string

CachedFlowReportServiceTypeValue represents the possible values for attribute "serviceType".

const (
	// CachedFlowReportServiceTypeHTTP represents the value HTTP.
	CachedFlowReportServiceTypeHTTP CachedFlowReportServiceTypeValue = "HTTP"

	// CachedFlowReportServiceTypeL3 represents the value L3.
	CachedFlowReportServiceTypeL3 CachedFlowReportServiceTypeValue = "L3"

	// CachedFlowReportServiceTypeNotApplicable represents the value NotApplicable.
	CachedFlowReportServiceTypeNotApplicable CachedFlowReportServiceTypeValue = "NotApplicable"

	// CachedFlowReportServiceTypeTCP represents the value TCP.
	CachedFlowReportServiceTypeTCP CachedFlowReportServiceTypeValue = "TCP"
)

type CachedFlowReportSourceTypeValue added in v1.94.1

type CachedFlowReportSourceTypeValue string

CachedFlowReportSourceTypeValue represents the possible values for attribute "sourceType".

const (
	// CachedFlowReportSourceTypeClaims represents the value Claims.
	CachedFlowReportSourceTypeClaims CachedFlowReportSourceTypeValue = "Claims"

	// CachedFlowReportSourceTypeExternalNetwork represents the value ExternalNetwork.
	CachedFlowReportSourceTypeExternalNetwork CachedFlowReportSourceTypeValue = "ExternalNetwork"

	// CachedFlowReportSourceTypeProcessingUnit represents the value ProcessingUnit.
	CachedFlowReportSourceTypeProcessingUnit CachedFlowReportSourceTypeValue = "ProcessingUnit"
)

type CachedFlowReportsList added in v1.94.1

type CachedFlowReportsList []*CachedFlowReport

CachedFlowReportsList represents a list of CachedFlowReports

func (CachedFlowReportsList) Append added in v1.94.1

Append appends the objects to the a new copy of the CachedFlowReportsList.

func (CachedFlowReportsList) Copy added in v1.94.1

Copy returns a pointer to a copy the CachedFlowReportsList.

func (CachedFlowReportsList) DefaultOrder added in v1.94.1

func (o CachedFlowReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CachedFlowReportsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (CachedFlowReportsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (CachedFlowReportsList) ToSparse added in v1.94.1

func (o CachedFlowReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CachedFlowReportsList converted to SparseCachedFlowReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CachedFlowReportsList) Version added in v1.94.1

func (o CachedFlowReportsList) Version() int

Version returns the version of the content.

type CategoriesList

type CategoriesList []*Category

CategoriesList represents a list of Categories

func (CategoriesList) Append

Append appends the objects to the a new copy of the CategoriesList.

func (CategoriesList) Copy

Copy returns a pointer to a copy the CategoriesList.

func (CategoriesList) DefaultOrder

func (o CategoriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CategoriesList) Identity

func (o CategoriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CategoriesList) List

List converts the object to an elemental.IdentifiablesList.

func (CategoriesList) ToSparse

func (o CategoriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CategoriesList converted to SparseCategoriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CategoriesList) Version

func (o CategoriesList) Version() int

Version returns the version of the content.

type Category

type Category struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Category represents the model of a category

func NewCategory

func NewCategory() *Category

NewCategory returns a new *Category

func (*Category) AttributeSpecifications

func (*Category) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Category) BleveType added in v1.1.0

func (o *Category) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Category) DeepCopy

func (o *Category) DeepCopy() *Category

DeepCopy returns a deep copy if the Category.

func (*Category) DeepCopyInto

func (o *Category) DeepCopyInto(out *Category)

DeepCopyInto copies the receiver into the given *Category.

func (*Category) DefaultOrder

func (o *Category) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Category) Doc

func (o *Category) Doc() string

Doc returns the documentation for the object

func (*Category) GetBSON added in v1.80.0

func (o *Category) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Category) GetDescription

func (o *Category) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Category) GetName

func (o *Category) GetName() string

GetName returns the Name of the receiver.

func (*Category) Identifier

func (o *Category) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Category) Identity

func (o *Category) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Category) Patch

func (o *Category) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCategory to the object.

func (*Category) SetBSON added in v1.80.0

func (o *Category) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Category) SetDescription

func (o *Category) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Category) SetIdentifier

func (o *Category) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Category) SetName

func (o *Category) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Category) SpecificationForAttribute

func (*Category) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Category) String

func (o *Category) String() string

func (*Category) ToSparse

func (o *Category) 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 (*Category) Validate

func (o *Category) Validate() error

Validate valides the current information stored into the structure.

func (*Category) ValueForAttribute

func (o *Category) ValueForAttribute(name string) interface{}

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 (*Category) Version

func (o *Category) Version() int

Version returns the hardcoded version of the model.

type ClaimMapping

type ClaimMapping struct {
	// The name of the claim to map to the HTTP header. header.
	ClaimName string `json:"claimName" msgpack:"claimName" bson:"claimname" mapstructure:"claimName,omitempty"`

	// The HTTP header that will be the destination of the mapped claim.
	TargetHTTPHeader string `json:"targetHTTPHeader" msgpack:"targetHTTPHeader" bson:"targethttpheader" mapstructure:"targetHTTPHeader,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ClaimMapping represents the model of a claimmapping

func NewClaimMapping

func NewClaimMapping() *ClaimMapping

NewClaimMapping returns a new *ClaimMapping

func (*ClaimMapping) BleveType added in v1.1.0

func (o *ClaimMapping) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ClaimMapping) DeepCopy

func (o *ClaimMapping) DeepCopy() *ClaimMapping

DeepCopy returns a deep copy if the ClaimMapping.

func (*ClaimMapping) DeepCopyInto

func (o *ClaimMapping) DeepCopyInto(out *ClaimMapping)

DeepCopyInto copies the receiver into the given *ClaimMapping.

func (*ClaimMapping) GetBSON added in v1.80.0

func (o *ClaimMapping) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ClaimMapping) SetBSON added in v1.80.0

func (o *ClaimMapping) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ClaimMapping) Validate

func (o *ClaimMapping) Validate() error

Validate valides the current information stored into the structure.

type Claims

type Claims struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Contains the raw JSON web token (JWT) claims.
	Content map[string]string `json:"content,omitempty" msgpack:"content,omitempty" bson:"content,omitempty" mapstructure:"content,omitempty"`

	// Contains the date of the first appearance of the claims.
	FirstSeen time.Time `json:"-" msgpack:"-" bson:"firstseen,omitempty" mapstructure:"-,omitempty"`

	// XXH64 hash of the claims content. It will be used as ID. To compute a correct
	// hash,
	// you must first clob `content` as an string array in the form `key=value`, sort
	// it
	// then apply the XXH64 function.
	Hash string `json:"hash" msgpack:"hash" bson:"hash" mapstructure:"hash,omitempty"`

	// Contains the date of the last appearance of the claims.
	LastSeen time.Time `json:"-" msgpack:"-" bson:"lastseen" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Claims represents the model of a claims

func NewClaims

func NewClaims() *Claims

NewClaims returns a new *Claims

func (*Claims) AttributeSpecifications

func (*Claims) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Claims) BleveType added in v1.1.0

func (o *Claims) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Claims) DeepCopy

func (o *Claims) DeepCopy() *Claims

DeepCopy returns a deep copy if the Claims.

func (*Claims) DeepCopyInto

func (o *Claims) DeepCopyInto(out *Claims)

DeepCopyInto copies the receiver into the given *Claims.

func (*Claims) DefaultOrder

func (o *Claims) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Claims) Doc

func (o *Claims) Doc() string

Doc returns the documentation for the object

func (*Claims) GetBSON added in v1.80.0

func (o *Claims) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Claims) GetMigrationsLog added in v1.30.0

func (o *Claims) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Claims) GetNamespace

func (o *Claims) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Claims) GetZHash

func (o *Claims) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Claims) GetZone

func (o *Claims) GetZone() int

GetZone returns the Zone of the receiver.

func (*Claims) Identifier

func (o *Claims) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Claims) Identity

func (o *Claims) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Claims) Patch

func (o *Claims) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseClaims to the object.

func (*Claims) SetBSON added in v1.80.0

func (o *Claims) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Claims) SetIdentifier

func (o *Claims) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Claims) SetMigrationsLog added in v1.30.0

func (o *Claims) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Claims) SetNamespace

func (o *Claims) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Claims) SetZHash

func (o *Claims) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Claims) SetZone

func (o *Claims) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Claims) SpecificationForAttribute

func (*Claims) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Claims) String

func (o *Claims) String() string

func (*Claims) ToSparse

func (o *Claims) 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 (*Claims) Validate

func (o *Claims) Validate() error

Validate valides the current information stored into the structure.

func (*Claims) ValueForAttribute

func (o *Claims) ValueForAttribute(name string) interface{}

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 (*Claims) Version

func (o *Claims) Version() int

Version returns the hardcoded version of the model.

type ClaimsList

type ClaimsList []*Claims

ClaimsList represents a list of Claims

func (ClaimsList) Append

Append appends the objects to the a new copy of the ClaimsList.

func (ClaimsList) Copy

Copy returns a pointer to a copy the ClaimsList.

func (ClaimsList) DefaultOrder

func (o ClaimsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ClaimsList) Identity

func (o ClaimsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ClaimsList) List

List converts the object to an elemental.IdentifiablesList.

func (ClaimsList) ToSparse

func (o ClaimsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ClaimsList converted to SparseClaimsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ClaimsList) Version

func (o ClaimsList) Version() int

Version returns the version of the content.

type ClauseMatch added in v1.84.0

type ClauseMatch struct {
	// The tag clause to resolve.
	Clauses [][]string `json:"clauses" msgpack:"clauses" bson:"clauses" mapstructure:"clauses,omitempty"`

	// Contains the matched objects.
	Match []map[string]interface{} `json:"match" msgpack:"match" bson:"-" mapstructure:"match,omitempty"`

	// The identity to render the clauses from.
	TargetIdentity string `json:"targetIdentity" msgpack:"targetIdentity" bson:"-" mapstructure:"targetIdentity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ClauseMatch represents the model of a clausesmatch

func NewClauseMatch added in v1.84.0

func NewClauseMatch() *ClauseMatch

NewClauseMatch returns a new *ClauseMatch

func (*ClauseMatch) AttributeSpecifications added in v1.84.0

func (*ClauseMatch) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ClauseMatch) BleveType added in v1.84.0

func (o *ClauseMatch) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ClauseMatch) DeepCopy added in v1.84.0

func (o *ClauseMatch) DeepCopy() *ClauseMatch

DeepCopy returns a deep copy if the ClauseMatch.

func (*ClauseMatch) DeepCopyInto added in v1.84.0

func (o *ClauseMatch) DeepCopyInto(out *ClauseMatch)

DeepCopyInto copies the receiver into the given *ClauseMatch.

func (*ClauseMatch) DefaultOrder added in v1.84.0

func (o *ClauseMatch) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ClauseMatch) Doc added in v1.84.0

func (o *ClauseMatch) Doc() string

Doc returns the documentation for the object

func (*ClauseMatch) GetBSON added in v1.84.0

func (o *ClauseMatch) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ClauseMatch) Identifier added in v1.84.0

func (o *ClauseMatch) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ClauseMatch) Identity added in v1.84.0

func (o *ClauseMatch) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ClauseMatch) Patch added in v1.84.0

func (o *ClauseMatch) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseClauseMatch to the object.

func (*ClauseMatch) SetBSON added in v1.84.0

func (o *ClauseMatch) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ClauseMatch) SetIdentifier added in v1.84.0

func (o *ClauseMatch) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ClauseMatch) SpecificationForAttribute added in v1.84.0

func (*ClauseMatch) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ClauseMatch) String added in v1.84.0

func (o *ClauseMatch) String() string

func (*ClauseMatch) ToSparse added in v1.84.0

func (o *ClauseMatch) 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 (*ClauseMatch) Validate added in v1.84.0

func (o *ClauseMatch) Validate() error

Validate valides the current information stored into the structure.

func (*ClauseMatch) ValueForAttribute added in v1.84.0

func (o *ClauseMatch) ValueForAttribute(name string) interface{}

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 (*ClauseMatch) Version added in v1.84.0

func (o *ClauseMatch) Version() int

Version returns the hardcoded version of the model.

type ClauseMatchesList added in v1.84.0

type ClauseMatchesList []*ClauseMatch

ClauseMatchesList represents a list of ClauseMatches

func (ClauseMatchesList) Append added in v1.84.0

Append appends the objects to the a new copy of the ClauseMatchesList.

func (ClauseMatchesList) Copy added in v1.84.0

Copy returns a pointer to a copy the ClauseMatchesList.

func (ClauseMatchesList) DefaultOrder added in v1.84.0

func (o ClauseMatchesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ClauseMatchesList) Identity added in v1.84.0

func (o ClauseMatchesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ClauseMatchesList) List added in v1.84.0

List converts the object to an elemental.IdentifiablesList.

func (ClauseMatchesList) ToSparse added in v1.84.0

func (o ClauseMatchesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ClauseMatchesList converted to SparseClauseMatchesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ClauseMatchesList) Version added in v1.84.0

func (o ClauseMatchesList) Version() int

Version returns the version of the content.

type CloudAccountCleaner added in v1.101.0

type CloudAccountCleaner struct {
	// The date after which objects must be cleaned.
	Date time.Time `json:"date" msgpack:"date" bson:"-" mapstructure:"date,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudAccountCleaner represents the model of a cloudaccountcleaner

func NewCloudAccountCleaner added in v1.101.0

func NewCloudAccountCleaner() *CloudAccountCleaner

NewCloudAccountCleaner returns a new *CloudAccountCleaner

func (*CloudAccountCleaner) AttributeSpecifications added in v1.101.0

func (*CloudAccountCleaner) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudAccountCleaner) BleveType added in v1.101.0

func (o *CloudAccountCleaner) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudAccountCleaner) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudAccountCleaner.

func (*CloudAccountCleaner) DeepCopyInto added in v1.101.0

func (o *CloudAccountCleaner) DeepCopyInto(out *CloudAccountCleaner)

DeepCopyInto copies the receiver into the given *CloudAccountCleaner.

func (*CloudAccountCleaner) DefaultOrder added in v1.101.0

func (o *CloudAccountCleaner) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudAccountCleaner) Doc added in v1.101.0

func (o *CloudAccountCleaner) Doc() string

Doc returns the documentation for the object

func (*CloudAccountCleaner) GetBSON added in v1.101.0

func (o *CloudAccountCleaner) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudAccountCleaner) Identifier added in v1.101.0

func (o *CloudAccountCleaner) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudAccountCleaner) Identity added in v1.101.0

func (o *CloudAccountCleaner) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudAccountCleaner) Patch added in v1.101.0

Patch apply the non nil value of a *SparseCloudAccountCleaner to the object.

func (*CloudAccountCleaner) SetBSON added in v1.101.0

func (o *CloudAccountCleaner) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudAccountCleaner) SetIdentifier added in v1.101.0

func (o *CloudAccountCleaner) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudAccountCleaner) SpecificationForAttribute added in v1.101.0

func (*CloudAccountCleaner) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudAccountCleaner) String added in v1.101.0

func (o *CloudAccountCleaner) String() string

func (*CloudAccountCleaner) ToSparse added in v1.101.0

func (o *CloudAccountCleaner) 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 (*CloudAccountCleaner) Validate added in v1.101.0

func (o *CloudAccountCleaner) Validate() error

Validate valides the current information stored into the structure.

func (*CloudAccountCleaner) ValueForAttribute added in v1.101.0

func (o *CloudAccountCleaner) ValueForAttribute(name string) interface{}

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 (*CloudAccountCleaner) Version added in v1.101.0

func (o *CloudAccountCleaner) Version() int

Version returns the hardcoded version of the model.

type CloudAccountCleanersList added in v1.101.0

type CloudAccountCleanersList []*CloudAccountCleaner

CloudAccountCleanersList represents a list of CloudAccountCleaners

func (CloudAccountCleanersList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudAccountCleanersList.

func (CloudAccountCleanersList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudAccountCleanersList.

func (CloudAccountCleanersList) DefaultOrder added in v1.101.0

func (o CloudAccountCleanersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudAccountCleanersList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (CloudAccountCleanersList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudAccountCleanersList) ToSparse added in v1.101.0

ToSparse returns the CloudAccountCleanersList converted to SparseCloudAccountCleanersList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudAccountCleanersList) Version added in v1.101.0

func (o CloudAccountCleanersList) Version() int

Version returns the version of the content.

type CloudAddress added in v1.101.0

type CloudAddress struct {
	// Designates IPv4 or IPv6.
	IPVersion CloudAddressIPVersionValue `json:"IPVersion" msgpack:"IPVersion" bson:"ipversion" mapstructure:"IPVersion,omitempty"`

	// Designates the IP address as the primary IP address.
	Primary bool `json:"primary" msgpack:"primary" bson:"primary" mapstructure:"primary,omitempty"`

	// The private DNS name associated with the address.
	PrivateDNSName string `json:"privateDNSName" msgpack:"privateDNSName" bson:"privatednsname" mapstructure:"privateDNSName,omitempty"`

	// The private IP address value.
	PrivateIP string `json:"privateIP" msgpack:"privateIP" bson:"privateip" mapstructure:"privateIP,omitempty"`

	// Internal representation of the private IP to accelerate operations. Not exposed
	// to users.
	PrivateNetwork *net.IPNet `` /* 138-byte string literal not displayed */

	// The private DNS name associated with the address.
	PublicDNSName string `json:"publicDNSName" msgpack:"publicDNSName" bson:"publicdnsname" mapstructure:"publicDNSName,omitempty"`

	// The private IP address value.
	PublicIP string `json:"publicIP" msgpack:"publicIP" bson:"publicip" mapstructure:"publicIP,omitempty"`

	// Internal representation of public IP addresses to accelerate operations. Not
	// exposed to users.
	PublicNetwork *net.IPNet `` /* 134-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudAddress represents the model of a cloudaddress

func NewCloudAddress added in v1.101.0

func NewCloudAddress() *CloudAddress

NewCloudAddress returns a new *CloudAddress

func (*CloudAddress) BleveType added in v1.101.0

func (o *CloudAddress) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudAddress) DeepCopy added in v1.101.0

func (o *CloudAddress) DeepCopy() *CloudAddress

DeepCopy returns a deep copy if the CloudAddress.

func (*CloudAddress) DeepCopyInto added in v1.101.0

func (o *CloudAddress) DeepCopyInto(out *CloudAddress)

DeepCopyInto copies the receiver into the given *CloudAddress.

func (*CloudAddress) GetBSON added in v1.101.0

func (o *CloudAddress) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudAddress) SetBSON added in v1.101.0

func (o *CloudAddress) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudAddress) Validate added in v1.101.0

func (o *CloudAddress) Validate() error

Validate valides the current information stored into the structure.

type CloudAddressIPVersionValue added in v1.101.0

type CloudAddressIPVersionValue string

CloudAddressIPVersionValue represents the possible values for attribute "IPVersion".

const (
	// CloudAddressIPVersionIPv4 represents the value IPv4.
	CloudAddressIPVersionIPv4 CloudAddressIPVersionValue = "IPv4"

	// CloudAddressIPVersionIPv6 represents the value IPv6.
	CloudAddressIPVersionIPv6 CloudAddressIPVersionValue = "IPv6"
)

type CloudAlert added in v1.101.0

type CloudAlert struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// The list of policies that apply to this alert.
	Cloudpolicies []string `json:"cloudpolicies" msgpack:"cloudpolicies" bson:"cloudpolicies" mapstructure:"cloudpolicies,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Type of notifications.
	Notifications []string `json:"notifications" msgpack:"notifications" bson:"notifications" mapstructure:"notifications,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Selector of namespaces where this alert rule must apply. If empty it applies to
	// current namespace.
	TargetSelector [][]string `json:"targetSelector" msgpack:"targetSelector" bson:"targetselector" mapstructure:"targetSelector,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudAlert represents the model of a cloudalert

func NewCloudAlert added in v1.101.0

func NewCloudAlert() *CloudAlert

NewCloudAlert returns a new *CloudAlert

func (*CloudAlert) AttributeSpecifications added in v1.101.0

func (*CloudAlert) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudAlert) BleveType added in v1.101.0

func (o *CloudAlert) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudAlert) DeepCopy added in v1.101.0

func (o *CloudAlert) DeepCopy() *CloudAlert

DeepCopy returns a deep copy if the CloudAlert.

func (*CloudAlert) DeepCopyInto added in v1.101.0

func (o *CloudAlert) DeepCopyInto(out *CloudAlert)

DeepCopyInto copies the receiver into the given *CloudAlert.

func (*CloudAlert) DefaultOrder added in v1.101.0

func (o *CloudAlert) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudAlert) Doc added in v1.101.0

func (o *CloudAlert) Doc() string

Doc returns the documentation for the object

func (*CloudAlert) GetAnnotations added in v1.101.0

func (o *CloudAlert) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudAlert) GetAssociatedTags added in v1.101.0

func (o *CloudAlert) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudAlert) GetBSON added in v1.101.0

func (o *CloudAlert) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudAlert) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudAlert) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudAlert) GetDescription added in v1.101.0

func (o *CloudAlert) GetDescription() string

GetDescription returns the Description of the receiver.

func (*CloudAlert) GetMigrationsLog added in v1.101.0

func (o *CloudAlert) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudAlert) GetName added in v1.101.0

func (o *CloudAlert) GetName() string

GetName returns the Name of the receiver.

func (*CloudAlert) GetNamespace added in v1.101.0

func (o *CloudAlert) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudAlert) GetNormalizedTags added in v1.101.0

func (o *CloudAlert) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudAlert) GetProtected added in v1.101.0

func (o *CloudAlert) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudAlert) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudAlert) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudAlert) GetZHash added in v1.101.0

func (o *CloudAlert) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudAlert) GetZone added in v1.101.0

func (o *CloudAlert) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudAlert) Identifier added in v1.101.0

func (o *CloudAlert) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudAlert) Identity added in v1.101.0

func (o *CloudAlert) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudAlert) Patch added in v1.101.0

func (o *CloudAlert) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudAlert to the object.

func (*CloudAlert) SetAnnotations added in v1.101.0

func (o *CloudAlert) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudAlert) SetAssociatedTags added in v1.101.0

func (o *CloudAlert) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudAlert) SetBSON added in v1.101.0

func (o *CloudAlert) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudAlert) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudAlert) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudAlert) SetDescription added in v1.101.0

func (o *CloudAlert) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*CloudAlert) SetIdentifier added in v1.101.0

func (o *CloudAlert) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudAlert) SetMigrationsLog added in v1.101.0

func (o *CloudAlert) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudAlert) SetName added in v1.101.0

func (o *CloudAlert) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudAlert) SetNamespace added in v1.101.0

func (o *CloudAlert) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudAlert) SetNormalizedTags added in v1.101.0

func (o *CloudAlert) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudAlert) SetProtected added in v1.101.0

func (o *CloudAlert) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudAlert) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudAlert) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudAlert) SetZHash added in v1.101.0

func (o *CloudAlert) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudAlert) SetZone added in v1.101.0

func (o *CloudAlert) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudAlert) SpecificationForAttribute added in v1.101.0

func (*CloudAlert) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudAlert) String added in v1.101.0

func (o *CloudAlert) String() string

func (*CloudAlert) ToSparse added in v1.101.0

func (o *CloudAlert) 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 (*CloudAlert) Validate added in v1.101.0

func (o *CloudAlert) Validate() error

Validate valides the current information stored into the structure.

func (*CloudAlert) ValueForAttribute added in v1.101.0

func (o *CloudAlert) ValueForAttribute(name string) interface{}

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 (*CloudAlert) Version added in v1.101.0

func (o *CloudAlert) Version() int

Version returns the hardcoded version of the model.

type CloudAlertRule added in v1.103.0

type CloudAlertRule struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines whether the Alert rule is enabled.
	Enabled bool `json:"enabled" msgpack:"enabled" bson:"enabled" mapstructure:"enabled,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Prisma Cloud Alert Rule id.
	PrismaCloudAlertRuleID string `` /* 140-byte string literal not displayed */

	// List of Policy IDs associated to an Alert rule.
	PrismaCloudPolicyIDs []string `` /* 132-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// List of regions where the Alert rule is enforced.
	Regions []string `json:"regions" msgpack:"regions" bson:"regions" mapstructure:"regions,omitempty"`

	// List of accounts associated to an Alert rule.
	TargetAccountIDs []string `json:"targetAccountIDs" msgpack:"targetAccountIDs" bson:"targetaccountids" mapstructure:"targetAccountIDs,omitempty"`

	// Prisma ID of the tenant in which the Alert Rule is created.
	TenantPrismaID string `json:"tenantPrismaID" msgpack:"tenantPrismaID" bson:"tenantprismaid" mapstructure:"tenantPrismaID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudAlertRule represents the model of a cloudalertrule

func NewCloudAlertRule added in v1.103.0

func NewCloudAlertRule() *CloudAlertRule

NewCloudAlertRule returns a new *CloudAlertRule

func (*CloudAlertRule) AttributeSpecifications added in v1.103.0

func (*CloudAlertRule) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudAlertRule) BleveType added in v1.103.0

func (o *CloudAlertRule) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudAlertRule) DeepCopy added in v1.103.0

func (o *CloudAlertRule) DeepCopy() *CloudAlertRule

DeepCopy returns a deep copy if the CloudAlertRule.

func (*CloudAlertRule) DeepCopyInto added in v1.103.0

func (o *CloudAlertRule) DeepCopyInto(out *CloudAlertRule)

DeepCopyInto copies the receiver into the given *CloudAlertRule.

func (*CloudAlertRule) DefaultOrder added in v1.103.0

func (o *CloudAlertRule) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudAlertRule) Doc added in v1.103.0

func (o *CloudAlertRule) Doc() string

Doc returns the documentation for the object

func (*CloudAlertRule) GetAnnotations added in v1.103.0

func (o *CloudAlertRule) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudAlertRule) GetAssociatedTags added in v1.103.0

func (o *CloudAlertRule) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudAlertRule) GetBSON added in v1.103.0

func (o *CloudAlertRule) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudAlertRule) GetCreateIdempotencyKey added in v1.103.0

func (o *CloudAlertRule) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudAlertRule) GetCreateTime added in v1.103.0

func (o *CloudAlertRule) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudAlertRule) GetDescription added in v1.103.0

func (o *CloudAlertRule) GetDescription() string

GetDescription returns the Description of the receiver.

func (*CloudAlertRule) GetMigrationsLog added in v1.103.0

func (o *CloudAlertRule) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudAlertRule) GetName added in v1.103.0

func (o *CloudAlertRule) GetName() string

GetName returns the Name of the receiver.

func (*CloudAlertRule) GetNamespace added in v1.103.0

func (o *CloudAlertRule) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudAlertRule) GetNormalizedTags added in v1.103.0

func (o *CloudAlertRule) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudAlertRule) GetProtected added in v1.103.0

func (o *CloudAlertRule) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudAlertRule) GetUpdateIdempotencyKey added in v1.103.0

func (o *CloudAlertRule) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudAlertRule) GetUpdateTime added in v1.103.0

func (o *CloudAlertRule) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudAlertRule) GetZHash added in v1.103.0

func (o *CloudAlertRule) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudAlertRule) GetZone added in v1.103.0

func (o *CloudAlertRule) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudAlertRule) Identifier added in v1.103.0

func (o *CloudAlertRule) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudAlertRule) Identity added in v1.103.0

func (o *CloudAlertRule) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudAlertRule) Patch added in v1.103.0

func (o *CloudAlertRule) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudAlertRule to the object.

func (*CloudAlertRule) SetAnnotations added in v1.103.0

func (o *CloudAlertRule) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudAlertRule) SetAssociatedTags added in v1.103.0

func (o *CloudAlertRule) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudAlertRule) SetBSON added in v1.103.0

func (o *CloudAlertRule) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudAlertRule) SetCreateIdempotencyKey added in v1.103.0

func (o *CloudAlertRule) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudAlertRule) SetCreateTime added in v1.103.0

func (o *CloudAlertRule) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudAlertRule) SetDescription added in v1.103.0

func (o *CloudAlertRule) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*CloudAlertRule) SetIdentifier added in v1.103.0

func (o *CloudAlertRule) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudAlertRule) SetMigrationsLog added in v1.103.0

func (o *CloudAlertRule) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudAlertRule) SetName added in v1.103.0

func (o *CloudAlertRule) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudAlertRule) SetNamespace added in v1.103.0

func (o *CloudAlertRule) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudAlertRule) SetNormalizedTags added in v1.103.0

func (o *CloudAlertRule) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudAlertRule) SetProtected added in v1.103.0

func (o *CloudAlertRule) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudAlertRule) SetUpdateIdempotencyKey added in v1.103.0

func (o *CloudAlertRule) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudAlertRule) SetUpdateTime added in v1.103.0

func (o *CloudAlertRule) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudAlertRule) SetZHash added in v1.103.0

func (o *CloudAlertRule) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudAlertRule) SetZone added in v1.103.0

func (o *CloudAlertRule) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudAlertRule) SpecificationForAttribute added in v1.103.0

func (*CloudAlertRule) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudAlertRule) String added in v1.103.0

func (o *CloudAlertRule) String() string

func (*CloudAlertRule) ToSparse added in v1.103.0

func (o *CloudAlertRule) 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 (*CloudAlertRule) Validate added in v1.103.0

func (o *CloudAlertRule) Validate() error

Validate valides the current information stored into the structure.

func (*CloudAlertRule) ValueForAttribute added in v1.103.0

func (o *CloudAlertRule) ValueForAttribute(name string) interface{}

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 (*CloudAlertRule) Version added in v1.103.0

func (o *CloudAlertRule) Version() int

Version returns the hardcoded version of the model.

type CloudAlertRulesList added in v1.103.0

type CloudAlertRulesList []*CloudAlertRule

CloudAlertRulesList represents a list of CloudAlertRules

func (CloudAlertRulesList) Append added in v1.103.0

Append appends the objects to the a new copy of the CloudAlertRulesList.

func (CloudAlertRulesList) Copy added in v1.103.0

Copy returns a pointer to a copy the CloudAlertRulesList.

func (CloudAlertRulesList) DefaultOrder added in v1.103.0

func (o CloudAlertRulesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudAlertRulesList) Identity added in v1.103.0

func (o CloudAlertRulesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CloudAlertRulesList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (CloudAlertRulesList) ToSparse added in v1.103.0

func (o CloudAlertRulesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudAlertRulesList converted to SparseCloudAlertRulesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudAlertRulesList) Version added in v1.103.0

func (o CloudAlertRulesList) Version() int

Version returns the version of the content.

type CloudAlertsList added in v1.101.0

type CloudAlertsList []*CloudAlert

CloudAlertsList represents a list of CloudAlerts

func (CloudAlertsList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudAlertsList.

func (CloudAlertsList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudAlertsList.

func (CloudAlertsList) DefaultOrder added in v1.101.0

func (o CloudAlertsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudAlertsList) Identity added in v1.101.0

func (o CloudAlertsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CloudAlertsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudAlertsList) ToSparse added in v1.101.0

func (o CloudAlertsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudAlertsList converted to SparseCloudAlertsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudAlertsList) Version added in v1.101.0

func (o CloudAlertsList) Version() int

Version returns the version of the content.

type CloudEndpoint added in v1.101.0

type CloudEndpoint struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags []string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"nativeid" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Endpoint related parameters.
	Parameters *CloudEndpointData `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences []string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudEndpoint represents the model of a cloudendpoint

func NewCloudEndpoint added in v1.101.0

func NewCloudEndpoint() *CloudEndpoint

NewCloudEndpoint returns a new *CloudEndpoint

func (*CloudEndpoint) AttributeSpecifications added in v1.101.0

func (*CloudEndpoint) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudEndpoint) BleveType added in v1.101.0

func (o *CloudEndpoint) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudEndpoint) DeepCopy added in v1.101.0

func (o *CloudEndpoint) DeepCopy() *CloudEndpoint

DeepCopy returns a deep copy if the CloudEndpoint.

func (*CloudEndpoint) DeepCopyInto added in v1.101.0

func (o *CloudEndpoint) DeepCopyInto(out *CloudEndpoint)

DeepCopyInto copies the receiver into the given *CloudEndpoint.

func (*CloudEndpoint) DefaultOrder added in v1.101.0

func (o *CloudEndpoint) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudEndpoint) Doc added in v1.101.0

func (o *CloudEndpoint) Doc() string

Doc returns the documentation for the object

func (*CloudEndpoint) GetAPIID added in v1.101.0

func (o *CloudEndpoint) GetAPIID() int

GetAPIID returns the APIID of the receiver.

func (*CloudEndpoint) GetAccountID added in v1.101.0

func (o *CloudEndpoint) GetAccountID() string

GetAccountID returns the AccountID of the receiver.

func (*CloudEndpoint) GetAnnotations added in v1.101.0

func (o *CloudEndpoint) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudEndpoint) GetAssociatedTags added in v1.101.0

func (o *CloudEndpoint) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudEndpoint) GetBSON added in v1.101.0

func (o *CloudEndpoint) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudEndpoint) GetCloudTags added in v1.101.0

func (o *CloudEndpoint) GetCloudTags() []string

GetCloudTags returns the CloudTags of the receiver.

func (*CloudEndpoint) GetCloudType added in v1.101.0

func (o *CloudEndpoint) GetCloudType() string

GetCloudType returns the CloudType of the receiver.

func (*CloudEndpoint) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudEndpoint) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudEndpoint) GetCreateTime added in v1.101.0

func (o *CloudEndpoint) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudEndpoint) GetCustomerID added in v1.101.0

func (o *CloudEndpoint) GetCustomerID() int

GetCustomerID returns the CustomerID of the receiver.

func (*CloudEndpoint) GetIngestionTime added in v1.101.0

func (o *CloudEndpoint) GetIngestionTime() time.Time

GetIngestionTime returns the IngestionTime of the receiver.

func (*CloudEndpoint) GetMigrationsLog added in v1.101.0

func (o *CloudEndpoint) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudEndpoint) GetName added in v1.101.0

func (o *CloudEndpoint) GetName() string

GetName returns the Name of the receiver.

func (*CloudEndpoint) GetNamespace added in v1.101.0

func (o *CloudEndpoint) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudEndpoint) GetNativeID added in v1.101.0

func (o *CloudEndpoint) GetNativeID() string

GetNativeID returns the NativeID of the receiver.

func (*CloudEndpoint) GetNormalizedTags added in v1.101.0

func (o *CloudEndpoint) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudEndpoint) GetPolicyReferences added in v1.101.0

func (o *CloudEndpoint) GetPolicyReferences() []string

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*CloudEndpoint) GetProtected added in v1.101.0

func (o *CloudEndpoint) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudEndpoint) GetRegionName added in v1.101.0

func (o *CloudEndpoint) GetRegionName() string

GetRegionName returns the RegionName of the receiver.

func (*CloudEndpoint) GetResourceID added in v1.101.0

func (o *CloudEndpoint) GetResourceID() int

GetResourceID returns the ResourceID of the receiver.

func (*CloudEndpoint) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudEndpoint) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudEndpoint) GetUpdateTime added in v1.101.0

func (o *CloudEndpoint) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudEndpoint) GetVPCID added in v1.101.0

func (o *CloudEndpoint) GetVPCID() string

GetVPCID returns the VPCID of the receiver.

func (*CloudEndpoint) GetZHash added in v1.101.0

func (o *CloudEndpoint) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudEndpoint) GetZone added in v1.101.0

func (o *CloudEndpoint) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudEndpoint) Identifier added in v1.101.0

func (o *CloudEndpoint) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudEndpoint) Identity added in v1.101.0

func (o *CloudEndpoint) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudEndpoint) Patch added in v1.101.0

func (o *CloudEndpoint) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudEndpoint to the object.

func (*CloudEndpoint) SetAPIID added in v1.101.0

func (o *CloudEndpoint) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the given value.

func (*CloudEndpoint) SetAccountID added in v1.101.0

func (o *CloudEndpoint) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the given value.

func (*CloudEndpoint) SetAnnotations added in v1.101.0

func (o *CloudEndpoint) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudEndpoint) SetAssociatedTags added in v1.101.0

func (o *CloudEndpoint) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudEndpoint) SetBSON added in v1.101.0

func (o *CloudEndpoint) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudEndpoint) SetCloudTags added in v1.101.0

func (o *CloudEndpoint) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the given value.

func (*CloudEndpoint) SetCloudType added in v1.101.0

func (o *CloudEndpoint) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the given value.

func (*CloudEndpoint) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudEndpoint) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudEndpoint) SetCreateTime added in v1.101.0

func (o *CloudEndpoint) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudEndpoint) SetCustomerID added in v1.101.0

func (o *CloudEndpoint) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the given value.

func (*CloudEndpoint) SetIdentifier added in v1.101.0

func (o *CloudEndpoint) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudEndpoint) SetIngestionTime added in v1.101.0

func (o *CloudEndpoint) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the given value.

func (*CloudEndpoint) SetMigrationsLog added in v1.101.0

func (o *CloudEndpoint) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudEndpoint) SetName added in v1.101.0

func (o *CloudEndpoint) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudEndpoint) SetNamespace added in v1.101.0

func (o *CloudEndpoint) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudEndpoint) SetNativeID added in v1.101.0

func (o *CloudEndpoint) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the given value.

func (*CloudEndpoint) SetNormalizedTags added in v1.101.0

func (o *CloudEndpoint) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudEndpoint) SetPolicyReferences added in v1.101.0

func (o *CloudEndpoint) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the given value.

func (*CloudEndpoint) SetProtected added in v1.101.0

func (o *CloudEndpoint) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudEndpoint) SetRegionName added in v1.101.0

func (o *CloudEndpoint) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the given value.

func (*CloudEndpoint) SetResourceID added in v1.101.0

func (o *CloudEndpoint) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the given value.

func (*CloudEndpoint) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudEndpoint) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudEndpoint) SetUpdateTime added in v1.101.0

func (o *CloudEndpoint) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudEndpoint) SetVPCID added in v1.101.0

func (o *CloudEndpoint) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the given value.

func (*CloudEndpoint) SetZHash added in v1.101.0

func (o *CloudEndpoint) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudEndpoint) SetZone added in v1.101.0

func (o *CloudEndpoint) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudEndpoint) SpecificationForAttribute added in v1.101.0

func (*CloudEndpoint) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudEndpoint) String added in v1.101.0

func (o *CloudEndpoint) String() string

func (*CloudEndpoint) ToSparse added in v1.101.0

func (o *CloudEndpoint) 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 (*CloudEndpoint) Validate added in v1.101.0

func (o *CloudEndpoint) Validate() error

Validate valides the current information stored into the structure.

func (*CloudEndpoint) ValueForAttribute added in v1.101.0

func (o *CloudEndpoint) ValueForAttribute(name string) interface{}

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 (*CloudEndpoint) Version added in v1.101.0

func (o *CloudEndpoint) Version() int

Version returns the hardcoded version of the model.

type CloudEndpointData added in v1.101.0

type CloudEndpointData struct {
	// Indicates that the endpoint is directly attached to the VPC. In this case the
	// attachedInterfaces is empty. In general this is only valid for endpoint type
	// Gateway and Peering Connection.
	VPCAttached bool `json:"VPCAttached" msgpack:"VPCAttached" bson:"vpcattached" mapstructure:"VPCAttached,omitempty"`

	// The list of VPCs that this endpoint is directly attached to.
	VPCAttachments []string `json:"VPCAttachments" msgpack:"VPCAttachments" bson:"vpcattachments" mapstructure:"VPCAttachments,omitempty"`

	// List of route tables associated with this endpoint. Depending on cloud provider
	// it can apply in some gateways.
	AssociatedRouteTables []string `` /* 136-byte string literal not displayed */

	// A list of interfaces attached with the endpoint. In some cases endpoints can
	// have more than one interface.
	AttachedInterfaces []string `json:"attachedInterfaces" msgpack:"attachedInterfaces" bson:"attachedinterfaces" mapstructure:"attachedInterfaces,omitempty"`

	// If the endpoint has multiple connections and forwarding can be enabled between
	// them.
	ForwardingEnabled bool `json:"forwardingEnabled" msgpack:"forwardingEnabled" bson:"forwardingenabled" mapstructure:"forwardingEnabled,omitempty"`

	// The imageID of running in the endpoint. Available for instances and
	// potentially other 3rd parties. This can be the AMI ID in AWS or corresponding
	// instance imageID in other clouds.
	ImageID string `json:"imageID,omitempty" msgpack:"imageID,omitempty" bson:"imageid,omitempty" mapstructure:"imageID,omitempty"`

	// Product related metadata associated with this endpoint.
	ProductInfo []*CloudEndpointDataProductInfo `` /* 126-byte string literal not displayed */

	// if the endpoint has a public IP we store the IP address in this field.
	PublicIPAddresses []string `json:"publicIPAddresses" msgpack:"publicIPAddresses" bson:"publicipaddresses" mapstructure:"publicIPAddresses,omitempty"`

	// Identifies the name of the service for service endpoints.
	ServiceName string `` /* 126-byte string literal not displayed */

	// Identifies the service type that this endpoint represents (example Gateway Load
	// Balancer).
	ServiceType CloudEndpointDataServiceTypeValue `json:"serviceType" msgpack:"serviceType" bson:"servicetype" mapstructure:"serviceType,omitempty"`

	// Type of the endpoint.
	Type CloudEndpointDataTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudEndpointData represents the model of a cloudendpointdata

func NewCloudEndpointData added in v1.101.0

func NewCloudEndpointData() *CloudEndpointData

NewCloudEndpointData returns a new *CloudEndpointData

func (*CloudEndpointData) BleveType added in v1.101.0

func (o *CloudEndpointData) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudEndpointData) DeepCopy added in v1.101.0

func (o *CloudEndpointData) DeepCopy() *CloudEndpointData

DeepCopy returns a deep copy if the CloudEndpointData.

func (*CloudEndpointData) DeepCopyInto added in v1.101.0

func (o *CloudEndpointData) DeepCopyInto(out *CloudEndpointData)

DeepCopyInto copies the receiver into the given *CloudEndpointData.

func (*CloudEndpointData) GetBSON added in v1.101.0

func (o *CloudEndpointData) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudEndpointData) SetBSON added in v1.101.0

func (o *CloudEndpointData) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudEndpointData) Validate added in v1.101.0

func (o *CloudEndpointData) Validate() error

Validate valides the current information stored into the structure.

type CloudEndpointDataProductInfo added in v1.101.0

type CloudEndpointDataProductInfo struct {
	// The ID of the corresponding product.
	ProductID string `json:"productID,omitempty" msgpack:"productID,omitempty" bson:"productid,omitempty" mapstructure:"productID,omitempty"`

	// The type of the product.
	Type string `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudEndpointDataProductInfo represents the model of a cloudendpointdataproductinfo

func NewCloudEndpointDataProductInfo added in v1.101.0

func NewCloudEndpointDataProductInfo() *CloudEndpointDataProductInfo

NewCloudEndpointDataProductInfo returns a new *CloudEndpointDataProductInfo

func (*CloudEndpointDataProductInfo) BleveType added in v1.101.0

func (o *CloudEndpointDataProductInfo) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudEndpointDataProductInfo) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudEndpointDataProductInfo.

func (*CloudEndpointDataProductInfo) DeepCopyInto added in v1.101.0

DeepCopyInto copies the receiver into the given *CloudEndpointDataProductInfo.

func (*CloudEndpointDataProductInfo) GetBSON added in v1.101.0

func (o *CloudEndpointDataProductInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudEndpointDataProductInfo) SetBSON added in v1.101.0

func (o *CloudEndpointDataProductInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudEndpointDataProductInfo) Validate added in v1.101.0

func (o *CloudEndpointDataProductInfo) Validate() error

Validate valides the current information stored into the structure.

type CloudEndpointDataServiceTypeValue added in v1.101.0

type CloudEndpointDataServiceTypeValue string

CloudEndpointDataServiceTypeValue represents the possible values for attribute "serviceType".

const (
	// CloudEndpointDataServiceTypeGateway represents the value Gateway.
	CloudEndpointDataServiceTypeGateway CloudEndpointDataServiceTypeValue = "Gateway"

	// CloudEndpointDataServiceTypeGatewayLoadBalancer represents the value GatewayLoadBalancer.
	CloudEndpointDataServiceTypeGatewayLoadBalancer CloudEndpointDataServiceTypeValue = "GatewayLoadBalancer"

	// CloudEndpointDataServiceTypeInterface represents the value Interface.
	CloudEndpointDataServiceTypeInterface CloudEndpointDataServiceTypeValue = "Interface"

	// CloudEndpointDataServiceTypeNotApplicable represents the value NotApplicable.
	CloudEndpointDataServiceTypeNotApplicable CloudEndpointDataServiceTypeValue = "NotApplicable"
)

type CloudEndpointDataTypeValue added in v1.101.0

type CloudEndpointDataTypeValue string

CloudEndpointDataTypeValue represents the possible values for attribute "type".

const (
	// CloudEndpointDataTypeGateway represents the value Gateway.
	CloudEndpointDataTypeGateway CloudEndpointDataTypeValue = "Gateway"

	// CloudEndpointDataTypeInstance represents the value Instance.
	CloudEndpointDataTypeInstance CloudEndpointDataTypeValue = "Instance"

	// CloudEndpointDataTypeLoadBalancer represents the value LoadBalancer.
	CloudEndpointDataTypeLoadBalancer CloudEndpointDataTypeValue = "LoadBalancer"

	// CloudEndpointDataTypeNATGateway represents the value NATGateway.
	CloudEndpointDataTypeNATGateway CloudEndpointDataTypeValue = "NATGateway"

	// CloudEndpointDataTypePeeringConnection represents the value PeeringConnection.
	CloudEndpointDataTypePeeringConnection CloudEndpointDataTypeValue = "PeeringConnection"

	// CloudEndpointDataTypeService represents the value Service.
	CloudEndpointDataTypeService CloudEndpointDataTypeValue = "Service"

	// CloudEndpointDataTypeTransitGateway represents the value TransitGateway.
	CloudEndpointDataTypeTransitGateway CloudEndpointDataTypeValue = "TransitGateway"
)

type CloudEndpointsList added in v1.101.0

type CloudEndpointsList []*CloudEndpoint

CloudEndpointsList represents a list of CloudEndpoints

func (CloudEndpointsList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudEndpointsList.

func (CloudEndpointsList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudEndpointsList.

func (CloudEndpointsList) DefaultOrder added in v1.101.0

func (o CloudEndpointsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudEndpointsList) Identity added in v1.101.0

func (o CloudEndpointsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CloudEndpointsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudEndpointsList) ToSparse added in v1.101.0

func (o CloudEndpointsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudEndpointsList converted to SparseCloudEndpointsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudEndpointsList) Version added in v1.101.0

func (o CloudEndpointsList) Version() int

Version returns the version of the content.

type CloudGraph added in v1.101.0

type CloudGraph struct {
	// The edges of the map.
	InternalEdges map[string]*CloudGraphEdge `json:"internalEdges" msgpack:"internalEdges" bson:"-" mapstructure:"internalEdges,omitempty"`

	// Refers to the nodes of the map.
	Nodes map[string]*CloudGraphNode `json:"nodes" msgpack:"nodes" bson:"-" mapstructure:"nodes,omitempty"`

	// The set of paths from the given source to the given destination. Only provided
	// when the query type is NetworkPath.
	Paths [][]*CloudPathElement `json:"paths" msgpack:"paths" bson:"-" mapstructure:"paths,omitempty"`

	// The edges of the map.
	PublicEdges map[string]*CloudGraphEdge `json:"publicEdges" msgpack:"publicEdges" bson:"-" mapstructure:"publicEdges,omitempty"`

	// The cloud network query that should be used. This requires a POST operation on
	// the object.
	Query *CloudNetworkQuery `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// The set of destinations that have been discovered based on the query and their
	// associated verdicts.
	SourceDestinationMap map[string]map[string]*CloudNetworkQueryDestination `json:"sourceDestinationMap" msgpack:"sourceDestinationMap" bson:"-" mapstructure:"sourceDestinationMap,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudGraph represents the model of a cloudgraph

func NewCloudGraph added in v1.101.0

func NewCloudGraph() *CloudGraph

NewCloudGraph returns a new *CloudGraph

func (*CloudGraph) AttributeSpecifications added in v1.101.0

func (*CloudGraph) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudGraph) BleveType added in v1.101.0

func (o *CloudGraph) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudGraph) DeepCopy added in v1.101.0

func (o *CloudGraph) DeepCopy() *CloudGraph

DeepCopy returns a deep copy if the CloudGraph.

func (*CloudGraph) DeepCopyInto added in v1.101.0

func (o *CloudGraph) DeepCopyInto(out *CloudGraph)

DeepCopyInto copies the receiver into the given *CloudGraph.

func (*CloudGraph) DefaultOrder added in v1.101.0

func (o *CloudGraph) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudGraph) Doc added in v1.101.0

func (o *CloudGraph) Doc() string

Doc returns the documentation for the object

func (*CloudGraph) GetBSON added in v1.101.0

func (o *CloudGraph) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudGraph) Identifier added in v1.101.0

func (o *CloudGraph) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudGraph) Identity added in v1.101.0

func (o *CloudGraph) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudGraph) Patch added in v1.101.0

func (o *CloudGraph) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudGraph to the object.

func (*CloudGraph) SetBSON added in v1.101.0

func (o *CloudGraph) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudGraph) SetIdentifier added in v1.101.0

func (o *CloudGraph) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudGraph) SpecificationForAttribute added in v1.101.0

func (*CloudGraph) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudGraph) String added in v1.101.0

func (o *CloudGraph) String() string

func (*CloudGraph) ToSparse added in v1.101.0

func (o *CloudGraph) 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 (*CloudGraph) Validate added in v1.101.0

func (o *CloudGraph) Validate() error

Validate valides the current information stored into the structure.

func (*CloudGraph) ValueForAttribute added in v1.101.0

func (o *CloudGraph) ValueForAttribute(name string) interface{}

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 (*CloudGraph) Version added in v1.101.0

func (o *CloudGraph) Version() int

Version returns the hardcoded version of the model.

type CloudGraphEdge added in v1.101.0

type CloudGraphEdge struct {
	// Provides the level of the tree that this edge belongs in order to assist with
	// ordering.
	Level int `json:"level" msgpack:"level" bson:"level" mapstructure:"level,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudGraphEdge represents the model of a cloudgraphedge

func NewCloudGraphEdge added in v1.101.0

func NewCloudGraphEdge() *CloudGraphEdge

NewCloudGraphEdge returns a new *CloudGraphEdge

func (*CloudGraphEdge) BleveType added in v1.101.0

func (o *CloudGraphEdge) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudGraphEdge) DeepCopy added in v1.101.0

func (o *CloudGraphEdge) DeepCopy() *CloudGraphEdge

DeepCopy returns a deep copy if the CloudGraphEdge.

func (*CloudGraphEdge) DeepCopyInto added in v1.101.0

func (o *CloudGraphEdge) DeepCopyInto(out *CloudGraphEdge)

DeepCopyInto copies the receiver into the given *CloudGraphEdge.

func (*CloudGraphEdge) GetBSON added in v1.101.0

func (o *CloudGraphEdge) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudGraphEdge) SetBSON added in v1.101.0

func (o *CloudGraphEdge) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudGraphEdge) Validate added in v1.101.0

func (o *CloudGraphEdge) Validate() error

Validate valides the current information stored into the structure.

type CloudGraphNode added in v1.101.0

type CloudGraphNode struct {
	// Details about the node if the query type requests full details.
	NodeData *CloudNode `json:"nodeData,omitempty" msgpack:"nodeData,omitempty" bson:"-" mapstructure:"nodeData,omitempty"`

	// The type of the node as a string.
	Type string `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudGraphNode represents the model of a cloudgraphnode

func NewCloudGraphNode added in v1.101.0

func NewCloudGraphNode() *CloudGraphNode

NewCloudGraphNode returns a new *CloudGraphNode

func (*CloudGraphNode) BleveType added in v1.101.0

func (o *CloudGraphNode) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudGraphNode) DeepCopy added in v1.101.0

func (o *CloudGraphNode) DeepCopy() *CloudGraphNode

DeepCopy returns a deep copy if the CloudGraphNode.

func (*CloudGraphNode) DeepCopyInto added in v1.101.0

func (o *CloudGraphNode) DeepCopyInto(out *CloudGraphNode)

DeepCopyInto copies the receiver into the given *CloudGraphNode.

func (*CloudGraphNode) GetBSON added in v1.101.0

func (o *CloudGraphNode) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudGraphNode) SetBSON added in v1.101.0

func (o *CloudGraphNode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudGraphNode) Validate added in v1.101.0

func (o *CloudGraphNode) Validate() error

Validate valides the current information stored into the structure.

type CloudGraphNodeAction added in v1.101.0

type CloudGraphNodeAction struct {
	// The action that is been applied for the particular destination.
	Action string `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

	// The ID of the policies that were used in the path.
	PolicyID string `json:"policyID" msgpack:"policyID" bson:"-" mapstructure:"policyID,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudGraphNodeAction represents the model of a cloudgraphnodeaction

func NewCloudGraphNodeAction added in v1.101.0

func NewCloudGraphNodeAction() *CloudGraphNodeAction

NewCloudGraphNodeAction returns a new *CloudGraphNodeAction

func (*CloudGraphNodeAction) BleveType added in v1.101.0

func (o *CloudGraphNodeAction) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudGraphNodeAction) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudGraphNodeAction.

func (*CloudGraphNodeAction) DeepCopyInto added in v1.101.0

func (o *CloudGraphNodeAction) DeepCopyInto(out *CloudGraphNodeAction)

DeepCopyInto copies the receiver into the given *CloudGraphNodeAction.

func (*CloudGraphNodeAction) GetBSON added in v1.101.0

func (o *CloudGraphNodeAction) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudGraphNodeAction) SetBSON added in v1.101.0

func (o *CloudGraphNodeAction) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudGraphNodeAction) Validate added in v1.101.0

func (o *CloudGraphNodeAction) Validate() error

Validate valides the current information stored into the structure.

type CloudGraphsList added in v1.101.0

type CloudGraphsList []*CloudGraph

CloudGraphsList represents a list of CloudGraphs

func (CloudGraphsList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudGraphsList.

func (CloudGraphsList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudGraphsList.

func (CloudGraphsList) DefaultOrder added in v1.101.0

func (o CloudGraphsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudGraphsList) Identity added in v1.101.0

func (o CloudGraphsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CloudGraphsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudGraphsList) ToSparse added in v1.101.0

func (o CloudGraphsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudGraphsList converted to SparseCloudGraphsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudGraphsList) Version added in v1.101.0

func (o CloudGraphsList) Version() int

Version returns the version of the content.

type CloudInterfaceData added in v1.101.0

type CloudInterfaceData struct {
	// List of IP addresses/subnets (IPv4 or IPv6) associated with the
	// interface.
	Addresses []*CloudAddress `json:"addresses" msgpack:"addresses" bson:"addresses" mapstructure:"addresses,omitempty"`

	// Attachment type describes where this interface is attached to (Instance, Load
	// Balancer, Gateway, etc).
	AttachmentType CloudInterfaceDataAttachmentTypeValue `json:"attachmentType" msgpack:"attachmentType" bson:"attachmenttype" mapstructure:"attachmentType,omitempty"`

	// Availability zone of the interface.
	AvailabilityZone string `json:"availabilityZone" msgpack:"availabilityZone" bson:"availabilityzone" mapstructure:"availabilityZone,omitempty"`

	// If the interface is of type or external, the relatedObjectID identifies the
	// related service or gateway.
	RelatedObjectID string `json:"relatedObjectID" msgpack:"relatedObjectID" bson:"relatedobjectid" mapstructure:"relatedObjectID,omitempty"`

	// The route table that must be used for this interface. Applies to Transit
	// Gateways and other special types.
	RouteTableID string `json:"routeTableID" msgpack:"routeTableID" bson:"routetableid" mapstructure:"routeTableID,omitempty"`

	// Security tags associated with the instance.
	SecurityTags []string `json:"securityTags" msgpack:"securityTags" bson:"securitytags" mapstructure:"securityTags,omitempty"`

	// ID of subnet associated with this interface.
	Subnets []string `json:"subnets" msgpack:"subnets" bson:"subnets" mapstructure:"subnets,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudInterfaceData represents the model of a cloudinterfacedata

func NewCloudInterfaceData added in v1.101.0

func NewCloudInterfaceData() *CloudInterfaceData

NewCloudInterfaceData returns a new *CloudInterfaceData

func (*CloudInterfaceData) BleveType added in v1.101.0

func (o *CloudInterfaceData) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudInterfaceData) DeepCopy added in v1.101.0

func (o *CloudInterfaceData) DeepCopy() *CloudInterfaceData

DeepCopy returns a deep copy if the CloudInterfaceData.

func (*CloudInterfaceData) DeepCopyInto added in v1.101.0

func (o *CloudInterfaceData) DeepCopyInto(out *CloudInterfaceData)

DeepCopyInto copies the receiver into the given *CloudInterfaceData.

func (*CloudInterfaceData) GetBSON added in v1.101.0

func (o *CloudInterfaceData) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudInterfaceData) SetBSON added in v1.101.0

func (o *CloudInterfaceData) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudInterfaceData) Validate added in v1.101.0

func (o *CloudInterfaceData) Validate() error

Validate valides the current information stored into the structure.

type CloudInterfaceDataAttachmentTypeValue added in v1.101.0

type CloudInterfaceDataAttachmentTypeValue string

CloudInterfaceDataAttachmentTypeValue represents the possible values for attribute "attachmentType".

const (
	// CloudInterfaceDataAttachmentTypeAPIGatewayManaged represents the value APIGatewayManaged.
	CloudInterfaceDataAttachmentTypeAPIGatewayManaged CloudInterfaceDataAttachmentTypeValue = "APIGatewayManaged"

	// CloudInterfaceDataAttachmentTypeEFA represents the value EFA.
	CloudInterfaceDataAttachmentTypeEFA CloudInterfaceDataAttachmentTypeValue = "EFA"

	// CloudInterfaceDataAttachmentTypeGateway represents the value Gateway.
	CloudInterfaceDataAttachmentTypeGateway CloudInterfaceDataAttachmentTypeValue = "Gateway"

	// CloudInterfaceDataAttachmentTypeGatewayLoadBalancer represents the value GatewayLoadBalancer.
	CloudInterfaceDataAttachmentTypeGatewayLoadBalancer CloudInterfaceDataAttachmentTypeValue = "GatewayLoadBalancer"

	// CloudInterfaceDataAttachmentTypeGatewayLoadBalancerEndpoint represents the value GatewayLoadBalancerEndpoint.
	CloudInterfaceDataAttachmentTypeGatewayLoadBalancerEndpoint CloudInterfaceDataAttachmentTypeValue = "GatewayLoadBalancerEndpoint"

	// CloudInterfaceDataAttachmentTypeInstance represents the value Instance.
	CloudInterfaceDataAttachmentTypeInstance CloudInterfaceDataAttachmentTypeValue = "Instance"

	// CloudInterfaceDataAttachmentTypeLambda represents the value Lambda.
	CloudInterfaceDataAttachmentTypeLambda CloudInterfaceDataAttachmentTypeValue = "Lambda"

	// CloudInterfaceDataAttachmentTypeLoadBalancer represents the value LoadBalancer.
	CloudInterfaceDataAttachmentTypeLoadBalancer CloudInterfaceDataAttachmentTypeValue = "LoadBalancer"

	// CloudInterfaceDataAttachmentTypeNetworkLoadBalancer represents the value NetworkLoadBalancer.
	CloudInterfaceDataAttachmentTypeNetworkLoadBalancer CloudInterfaceDataAttachmentTypeValue = "NetworkLoadBalancer"

	// CloudInterfaceDataAttachmentTypeService represents the value Service.
	CloudInterfaceDataAttachmentTypeService CloudInterfaceDataAttachmentTypeValue = "Service"

	// CloudInterfaceDataAttachmentTypeTransitGatewayVPCAttachment represents the value TransitGatewayVPCAttachment.
	CloudInterfaceDataAttachmentTypeTransitGatewayVPCAttachment CloudInterfaceDataAttachmentTypeValue = "TransitGatewayVPCAttachment"

	// CloudInterfaceDataAttachmentTypeUnsupportedService represents the value UnsupportedService.
	CloudInterfaceDataAttachmentTypeUnsupportedService CloudInterfaceDataAttachmentTypeValue = "UnsupportedService"

	// CloudInterfaceDataAttachmentTypeVPCEndpoint represents the value VPCEndpoint.
	CloudInterfaceDataAttachmentTypeVPCEndpoint CloudInterfaceDataAttachmentTypeValue = "VPCEndpoint"
)

type CloudManagedNetwork added in v1.101.0

type CloudManagedNetwork struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags []string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// List of CIDRs.
	Entries []string `json:"entries" msgpack:"entries" bson:"entries" mapstructure:"entries,omitempty"`

	// The time that the object was first ingested.
	IngestionTime time.Time `` /* 134-byte string literal not displayed */

	// Internal unique key for a resource to guarantee no overlaps at write.
	Key string `json:"-" msgpack:"-" bson:"key" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"nativeid" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences []string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// Internal representation of entries to accelerate processing. Not visible to
	// users.
	StoredEntries []*net.IPNet `json:"-" msgpack:"-" bson:"storedentries" mapstructure:"-,omitempty"`

	// The type of cloud managed network.
	Type CloudManagedNetworkTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudManagedNetwork represents the model of a cloudmanagednetwork

func NewCloudManagedNetwork added in v1.101.0

func NewCloudManagedNetwork() *CloudManagedNetwork

NewCloudManagedNetwork returns a new *CloudManagedNetwork

func (*CloudManagedNetwork) AttributeSpecifications added in v1.101.0

func (*CloudManagedNetwork) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudManagedNetwork) BleveType added in v1.101.0

func (o *CloudManagedNetwork) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudManagedNetwork) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudManagedNetwork.

func (*CloudManagedNetwork) DeepCopyInto added in v1.101.0

func (o *CloudManagedNetwork) DeepCopyInto(out *CloudManagedNetwork)

DeepCopyInto copies the receiver into the given *CloudManagedNetwork.

func (*CloudManagedNetwork) DefaultOrder added in v1.101.0

func (o *CloudManagedNetwork) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudManagedNetwork) Doc added in v1.101.0

func (o *CloudManagedNetwork) Doc() string

Doc returns the documentation for the object

func (*CloudManagedNetwork) GetAPIID added in v1.101.0

func (o *CloudManagedNetwork) GetAPIID() int

GetAPIID returns the APIID of the receiver.

func (*CloudManagedNetwork) GetAccountID added in v1.101.0

func (o *CloudManagedNetwork) GetAccountID() string

GetAccountID returns the AccountID of the receiver.

func (*CloudManagedNetwork) GetAnnotations added in v1.101.0

func (o *CloudManagedNetwork) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudManagedNetwork) GetAssociatedTags added in v1.101.0

func (o *CloudManagedNetwork) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudManagedNetwork) GetBSON added in v1.101.0

func (o *CloudManagedNetwork) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudManagedNetwork) GetCloudTags added in v1.101.0

func (o *CloudManagedNetwork) GetCloudTags() []string

GetCloudTags returns the CloudTags of the receiver.

func (*CloudManagedNetwork) GetCloudType added in v1.101.0

func (o *CloudManagedNetwork) GetCloudType() string

GetCloudType returns the CloudType of the receiver.

func (*CloudManagedNetwork) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudManagedNetwork) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudManagedNetwork) GetCreateTime added in v1.101.0

func (o *CloudManagedNetwork) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudManagedNetwork) GetCustomerID added in v1.101.0

func (o *CloudManagedNetwork) GetCustomerID() int

GetCustomerID returns the CustomerID of the receiver.

func (*CloudManagedNetwork) GetIngestionTime added in v1.101.0

func (o *CloudManagedNetwork) GetIngestionTime() time.Time

GetIngestionTime returns the IngestionTime of the receiver.

func (*CloudManagedNetwork) GetMigrationsLog added in v1.101.0

func (o *CloudManagedNetwork) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudManagedNetwork) GetName added in v1.101.0

func (o *CloudManagedNetwork) GetName() string

GetName returns the Name of the receiver.

func (*CloudManagedNetwork) GetNamespace added in v1.101.0

func (o *CloudManagedNetwork) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudManagedNetwork) GetNativeID added in v1.101.0

func (o *CloudManagedNetwork) GetNativeID() string

GetNativeID returns the NativeID of the receiver.

func (*CloudManagedNetwork) GetNormalizedTags added in v1.101.0

func (o *CloudManagedNetwork) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudManagedNetwork) GetPolicyReferences added in v1.101.0

func (o *CloudManagedNetwork) GetPolicyReferences() []string

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*CloudManagedNetwork) GetProtected added in v1.101.0

func (o *CloudManagedNetwork) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudManagedNetwork) GetRegionName added in v1.101.0

func (o *CloudManagedNetwork) GetRegionName() string

GetRegionName returns the RegionName of the receiver.

func (*CloudManagedNetwork) GetResourceID added in v1.101.0

func (o *CloudManagedNetwork) GetResourceID() int

GetResourceID returns the ResourceID of the receiver.

func (*CloudManagedNetwork) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudManagedNetwork) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudManagedNetwork) GetUpdateTime added in v1.101.0

func (o *CloudManagedNetwork) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudManagedNetwork) GetVPCID added in v1.101.0

func (o *CloudManagedNetwork) GetVPCID() string

GetVPCID returns the VPCID of the receiver.

func (*CloudManagedNetwork) GetZHash added in v1.101.0

func (o *CloudManagedNetwork) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudManagedNetwork) GetZone added in v1.101.0

func (o *CloudManagedNetwork) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudManagedNetwork) Identifier added in v1.101.0

func (o *CloudManagedNetwork) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudManagedNetwork) Identity added in v1.101.0

func (o *CloudManagedNetwork) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudManagedNetwork) Patch added in v1.101.0

Patch apply the non nil value of a *SparseCloudManagedNetwork to the object.

func (*CloudManagedNetwork) SetAPIID added in v1.101.0

func (o *CloudManagedNetwork) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the given value.

func (*CloudManagedNetwork) SetAccountID added in v1.101.0

func (o *CloudManagedNetwork) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the given value.

func (*CloudManagedNetwork) SetAnnotations added in v1.101.0

func (o *CloudManagedNetwork) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudManagedNetwork) SetAssociatedTags added in v1.101.0

func (o *CloudManagedNetwork) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudManagedNetwork) SetBSON added in v1.101.0

func (o *CloudManagedNetwork) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudManagedNetwork) SetCloudTags added in v1.101.0

func (o *CloudManagedNetwork) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the given value.

func (*CloudManagedNetwork) SetCloudType added in v1.101.0

func (o *CloudManagedNetwork) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the given value.

func (*CloudManagedNetwork) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudManagedNetwork) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudManagedNetwork) SetCreateTime added in v1.101.0

func (o *CloudManagedNetwork) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudManagedNetwork) SetCustomerID added in v1.101.0

func (o *CloudManagedNetwork) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the given value.

func (*CloudManagedNetwork) SetIdentifier added in v1.101.0

func (o *CloudManagedNetwork) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudManagedNetwork) SetIngestionTime added in v1.101.0

func (o *CloudManagedNetwork) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the given value.

func (*CloudManagedNetwork) SetMigrationsLog added in v1.101.0

func (o *CloudManagedNetwork) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudManagedNetwork) SetName added in v1.101.0

func (o *CloudManagedNetwork) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudManagedNetwork) SetNamespace added in v1.101.0

func (o *CloudManagedNetwork) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudManagedNetwork) SetNativeID added in v1.101.0

func (o *CloudManagedNetwork) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the given value.

func (*CloudManagedNetwork) SetNormalizedTags added in v1.101.0

func (o *CloudManagedNetwork) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudManagedNetwork) SetPolicyReferences added in v1.101.0

func (o *CloudManagedNetwork) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the given value.

func (*CloudManagedNetwork) SetProtected added in v1.101.0

func (o *CloudManagedNetwork) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudManagedNetwork) SetRegionName added in v1.101.0

func (o *CloudManagedNetwork) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the given value.

func (*CloudManagedNetwork) SetResourceID added in v1.101.0

func (o *CloudManagedNetwork) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the given value.

func (*CloudManagedNetwork) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudManagedNetwork) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudManagedNetwork) SetUpdateTime added in v1.101.0

func (o *CloudManagedNetwork) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudManagedNetwork) SetVPCID added in v1.101.0

func (o *CloudManagedNetwork) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the given value.

func (*CloudManagedNetwork) SetZHash added in v1.101.0

func (o *CloudManagedNetwork) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudManagedNetwork) SetZone added in v1.101.0

func (o *CloudManagedNetwork) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudManagedNetwork) SpecificationForAttribute added in v1.101.0

func (*CloudManagedNetwork) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudManagedNetwork) String added in v1.101.0

func (o *CloudManagedNetwork) String() string

func (*CloudManagedNetwork) ToSparse added in v1.101.0

func (o *CloudManagedNetwork) 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 (*CloudManagedNetwork) Validate added in v1.101.0

func (o *CloudManagedNetwork) Validate() error

Validate valides the current information stored into the structure.

func (*CloudManagedNetwork) ValueForAttribute added in v1.101.0

func (o *CloudManagedNetwork) ValueForAttribute(name string) interface{}

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 (*CloudManagedNetwork) Version added in v1.101.0

func (o *CloudManagedNetwork) Version() int

Version returns the hardcoded version of the model.

type CloudManagedNetworkTypeValue added in v1.101.0

type CloudManagedNetworkTypeValue string

CloudManagedNetworkTypeValue represents the possible values for attribute "type".

const (
	// CloudManagedNetworkTypeAWSElasticIPs represents the value AWSElasticIPs.
	CloudManagedNetworkTypeAWSElasticIPs CloudManagedNetworkTypeValue = "AWSElasticIPs"

	// CloudManagedNetworkTypeAWSPrefixLists represents the value AWSPrefixLists.
	CloudManagedNetworkTypeAWSPrefixLists CloudManagedNetworkTypeValue = "AWSPrefixLists"

	// CloudManagedNetworkTypeCustom represents the value Custom.
	CloudManagedNetworkTypeCustom CloudManagedNetworkTypeValue = "Custom"

	// CloudManagedNetworkTypeEnterprise represents the value Enterprise.
	CloudManagedNetworkTypeEnterprise CloudManagedNetworkTypeValue = "Enterprise"

	// CloudManagedNetworkTypeGCP represents the value GCP.
	CloudManagedNetworkTypeGCP CloudManagedNetworkTypeValue = "GCP"
)

type CloudManagedNetworksList added in v1.101.0

type CloudManagedNetworksList []*CloudManagedNetwork

CloudManagedNetworksList represents a list of CloudManagedNetworks

func (CloudManagedNetworksList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudManagedNetworksList.

func (CloudManagedNetworksList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudManagedNetworksList.

func (CloudManagedNetworksList) DefaultOrder added in v1.101.0

func (o CloudManagedNetworksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudManagedNetworksList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (CloudManagedNetworksList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudManagedNetworksList) ToSparse added in v1.101.0

ToSparse returns the CloudManagedNetworksList converted to SparseCloudManagedNetworksList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudManagedNetworksList) Version added in v1.101.0

func (o CloudManagedNetworksList) Version() int

Version returns the version of the content.

type CloudNetworkInterface added in v1.101.0

type CloudNetworkInterface struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags []string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"nativeid" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Cloud network interface related parameters.
	Parameters *CloudInterfaceData `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences []string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudNetworkInterface represents the model of a cloudnetworkinterface

func NewCloudNetworkInterface added in v1.101.0

func NewCloudNetworkInterface() *CloudNetworkInterface

NewCloudNetworkInterface returns a new *CloudNetworkInterface

func (*CloudNetworkInterface) AttributeSpecifications added in v1.101.0

func (*CloudNetworkInterface) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudNetworkInterface) BleveType added in v1.101.0

func (o *CloudNetworkInterface) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudNetworkInterface) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudNetworkInterface.

func (*CloudNetworkInterface) DeepCopyInto added in v1.101.0

func (o *CloudNetworkInterface) DeepCopyInto(out *CloudNetworkInterface)

DeepCopyInto copies the receiver into the given *CloudNetworkInterface.

func (*CloudNetworkInterface) DefaultOrder added in v1.101.0

func (o *CloudNetworkInterface) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudNetworkInterface) Doc added in v1.101.0

func (o *CloudNetworkInterface) Doc() string

Doc returns the documentation for the object

func (*CloudNetworkInterface) GetAPIID added in v1.101.0

func (o *CloudNetworkInterface) GetAPIID() int

GetAPIID returns the APIID of the receiver.

func (*CloudNetworkInterface) GetAccountID added in v1.101.0

func (o *CloudNetworkInterface) GetAccountID() string

GetAccountID returns the AccountID of the receiver.

func (*CloudNetworkInterface) GetAnnotations added in v1.101.0

func (o *CloudNetworkInterface) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudNetworkInterface) GetAssociatedTags added in v1.101.0

func (o *CloudNetworkInterface) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudNetworkInterface) GetBSON added in v1.101.0

func (o *CloudNetworkInterface) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkInterface) GetCloudTags added in v1.101.0

func (o *CloudNetworkInterface) GetCloudTags() []string

GetCloudTags returns the CloudTags of the receiver.

func (*CloudNetworkInterface) GetCloudType added in v1.101.0

func (o *CloudNetworkInterface) GetCloudType() string

GetCloudType returns the CloudType of the receiver.

func (*CloudNetworkInterface) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudNetworkInterface) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudNetworkInterface) GetCreateTime added in v1.101.0

func (o *CloudNetworkInterface) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudNetworkInterface) GetCustomerID added in v1.101.0

func (o *CloudNetworkInterface) GetCustomerID() int

GetCustomerID returns the CustomerID of the receiver.

func (*CloudNetworkInterface) GetIngestionTime added in v1.101.0

func (o *CloudNetworkInterface) GetIngestionTime() time.Time

GetIngestionTime returns the IngestionTime of the receiver.

func (*CloudNetworkInterface) GetMigrationsLog added in v1.101.0

func (o *CloudNetworkInterface) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudNetworkInterface) GetName added in v1.101.0

func (o *CloudNetworkInterface) GetName() string

GetName returns the Name of the receiver.

func (*CloudNetworkInterface) GetNamespace added in v1.101.0

func (o *CloudNetworkInterface) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudNetworkInterface) GetNativeID added in v1.101.0

func (o *CloudNetworkInterface) GetNativeID() string

GetNativeID returns the NativeID of the receiver.

func (*CloudNetworkInterface) GetNormalizedTags added in v1.101.0

func (o *CloudNetworkInterface) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudNetworkInterface) GetPolicyReferences added in v1.101.0

func (o *CloudNetworkInterface) GetPolicyReferences() []string

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*CloudNetworkInterface) GetProtected added in v1.101.0

func (o *CloudNetworkInterface) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudNetworkInterface) GetRegionName added in v1.101.0

func (o *CloudNetworkInterface) GetRegionName() string

GetRegionName returns the RegionName of the receiver.

func (*CloudNetworkInterface) GetResourceID added in v1.101.0

func (o *CloudNetworkInterface) GetResourceID() int

GetResourceID returns the ResourceID of the receiver.

func (*CloudNetworkInterface) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudNetworkInterface) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudNetworkInterface) GetUpdateTime added in v1.101.0

func (o *CloudNetworkInterface) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudNetworkInterface) GetVPCID added in v1.101.0

func (o *CloudNetworkInterface) GetVPCID() string

GetVPCID returns the VPCID of the receiver.

func (*CloudNetworkInterface) GetZHash added in v1.101.0

func (o *CloudNetworkInterface) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudNetworkInterface) GetZone added in v1.101.0

func (o *CloudNetworkInterface) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudNetworkInterface) Identifier added in v1.101.0

func (o *CloudNetworkInterface) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudNetworkInterface) Identity added in v1.101.0

Identity returns the Identity of the object.

func (*CloudNetworkInterface) Patch added in v1.101.0

Patch apply the non nil value of a *SparseCloudNetworkInterface to the object.

func (*CloudNetworkInterface) SetAPIID added in v1.101.0

func (o *CloudNetworkInterface) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the given value.

func (*CloudNetworkInterface) SetAccountID added in v1.101.0

func (o *CloudNetworkInterface) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the given value.

func (*CloudNetworkInterface) SetAnnotations added in v1.101.0

func (o *CloudNetworkInterface) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudNetworkInterface) SetAssociatedTags added in v1.101.0

func (o *CloudNetworkInterface) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudNetworkInterface) SetBSON added in v1.101.0

func (o *CloudNetworkInterface) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkInterface) SetCloudTags added in v1.101.0

func (o *CloudNetworkInterface) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the given value.

func (*CloudNetworkInterface) SetCloudType added in v1.101.0

func (o *CloudNetworkInterface) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the given value.

func (*CloudNetworkInterface) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudNetworkInterface) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudNetworkInterface) SetCreateTime added in v1.101.0

func (o *CloudNetworkInterface) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudNetworkInterface) SetCustomerID added in v1.101.0

func (o *CloudNetworkInterface) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the given value.

func (*CloudNetworkInterface) SetIdentifier added in v1.101.0

func (o *CloudNetworkInterface) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudNetworkInterface) SetIngestionTime added in v1.101.0

func (o *CloudNetworkInterface) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the given value.

func (*CloudNetworkInterface) SetMigrationsLog added in v1.101.0

func (o *CloudNetworkInterface) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudNetworkInterface) SetName added in v1.101.0

func (o *CloudNetworkInterface) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudNetworkInterface) SetNamespace added in v1.101.0

func (o *CloudNetworkInterface) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudNetworkInterface) SetNativeID added in v1.101.0

func (o *CloudNetworkInterface) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the given value.

func (*CloudNetworkInterface) SetNormalizedTags added in v1.101.0

func (o *CloudNetworkInterface) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudNetworkInterface) SetPolicyReferences added in v1.101.0

func (o *CloudNetworkInterface) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the given value.

func (*CloudNetworkInterface) SetProtected added in v1.101.0

func (o *CloudNetworkInterface) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudNetworkInterface) SetRegionName added in v1.101.0

func (o *CloudNetworkInterface) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the given value.

func (*CloudNetworkInterface) SetResourceID added in v1.101.0

func (o *CloudNetworkInterface) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the given value.

func (*CloudNetworkInterface) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudNetworkInterface) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudNetworkInterface) SetUpdateTime added in v1.101.0

func (o *CloudNetworkInterface) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudNetworkInterface) SetVPCID added in v1.101.0

func (o *CloudNetworkInterface) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the given value.

func (*CloudNetworkInterface) SetZHash added in v1.101.0

func (o *CloudNetworkInterface) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudNetworkInterface) SetZone added in v1.101.0

func (o *CloudNetworkInterface) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudNetworkInterface) SpecificationForAttribute added in v1.101.0

func (*CloudNetworkInterface) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudNetworkInterface) String added in v1.101.0

func (o *CloudNetworkInterface) String() string

func (*CloudNetworkInterface) ToSparse added in v1.101.0

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*CloudNetworkInterface) Validate added in v1.101.0

func (o *CloudNetworkInterface) Validate() error

Validate valides the current information stored into the structure.

func (*CloudNetworkInterface) ValueForAttribute added in v1.101.0

func (o *CloudNetworkInterface) ValueForAttribute(name string) interface{}

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 (*CloudNetworkInterface) Version added in v1.101.0

func (o *CloudNetworkInterface) Version() int

Version returns the hardcoded version of the model.

type CloudNetworkInterfacesList added in v1.101.0

type CloudNetworkInterfacesList []*CloudNetworkInterface

CloudNetworkInterfacesList represents a list of CloudNetworkInterfaces

func (CloudNetworkInterfacesList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudNetworkInterfacesList.

func (CloudNetworkInterfacesList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudNetworkInterfacesList.

func (CloudNetworkInterfacesList) DefaultOrder added in v1.101.0

func (o CloudNetworkInterfacesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudNetworkInterfacesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (CloudNetworkInterfacesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudNetworkInterfacesList) ToSparse added in v1.101.0

ToSparse returns the CloudNetworkInterfacesList converted to SparseCloudNetworkInterfacesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudNetworkInterfacesList) Version added in v1.101.0

func (o CloudNetworkInterfacesList) Version() int

Version returns the version of the content.

type CloudNetworkQueriesList added in v1.101.0

type CloudNetworkQueriesList []*CloudNetworkQuery

CloudNetworkQueriesList represents a list of CloudNetworkQueries

func (CloudNetworkQueriesList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudNetworkQueriesList.

func (CloudNetworkQueriesList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudNetworkQueriesList.

func (CloudNetworkQueriesList) DefaultOrder added in v1.101.0

func (o CloudNetworkQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudNetworkQueriesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (CloudNetworkQueriesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudNetworkQueriesList) ToSparse added in v1.101.0

func (o CloudNetworkQueriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudNetworkQueriesList converted to SparseCloudNetworkQueriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudNetworkQueriesList) Version added in v1.101.0

func (o CloudNetworkQueriesList) Version() int

Version returns the version of the content.

type CloudNetworkQuery added in v1.101.0

type CloudNetworkQuery struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Group the instances generated by the query into VPCs or subnets so that when
	// alerts can be raised against the grouped resource.
	AlertOn CloudNetworkQueryAlertOnValue `json:"alertOn" msgpack:"alertOn" bson:"alerton" mapstructure:"alertOn,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// The destination IP of a trace route request. Might not always be an endpoint.
	DestinationIP string `json:"destinationIP" msgpack:"destinationIP" bson:"destinationip" mapstructure:"destinationIP,omitempty"`

	// A filter for selecting destinations for the query.
	DestinationSelector *CloudNetworkQueryFilter `` /* 128-byte string literal not displayed */

	// Filters the results based on the effective action. 'Allowed' means
	// that a destination is both reachable and allowed by security rules.
	// 'Denied' means that the destination is reachable through routing,
	// but traffic is blocked through one or more security rules. 'Reachable'
	// returns all destinations that are reachable from the selected sources
	// irrespective of the security rules.
	EffectiveAction CloudNetworkQueryEffectiveActionValue `json:"effectiveAction" msgpack:"effectiveAction" bson:"effectiveaction" mapstructure:"effectiveAction,omitempty"`

	// If set, the evaluation will exclude enterprise IPs from the effective
	// permissions.
	ExcludeEnterpriseIPs bool `` /* 132-byte string literal not displayed */

	// List of networks that should be a excluded from the calculation if the source or
	// destination is a network.
	ExcludedNetworks []string `json:"excludedNetworks" msgpack:"excludedNetworks" bson:"excludednetworks" mapstructure:"excludedNetworks,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Represents the ports and protocols this policy applies to. Protocol/ports are
	// defined as tcp/80, udp/22. For protocols that do not have ports, the port
	// designation
	// is not allowed.
	ProtocolPorts []string `json:"protocolPorts" msgpack:"protocolPorts" bson:"protocolports" mapstructure:"protocolPorts,omitempty"`

	// The RQL string for this query as a reference.
	RawRQL string `json:"-" msgpack:"-" bson:"rawrql" mapstructure:"-,omitempty"`

	// The source IP of a trace route request. Might not be always and endpoint.
	SourceIP string `json:"sourceIP" msgpack:"sourceIP" bson:"sourceip" mapstructure:"sourceIP,omitempty"`

	// A filter for selecting the sources of the request.
	SourceSelector *CloudNetworkQueryFilter `json:"sourceSelector" msgpack:"sourceSelector" bson:"sourceselector" mapstructure:"sourceSelector,omitempty"`

	// Indicates the type of results that should be provided by the query.
	Type CloudNetworkQueryTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudNetworkQuery represents the model of a cloudnetworkquery

func NewCloudNetworkQuery added in v1.101.0

func NewCloudNetworkQuery() *CloudNetworkQuery

NewCloudNetworkQuery returns a new *CloudNetworkQuery

func (*CloudNetworkQuery) AttributeSpecifications added in v1.101.0

func (*CloudNetworkQuery) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudNetworkQuery) BleveType added in v1.101.0

func (o *CloudNetworkQuery) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudNetworkQuery) DeepCopy added in v1.101.0

func (o *CloudNetworkQuery) DeepCopy() *CloudNetworkQuery

DeepCopy returns a deep copy if the CloudNetworkQuery.

func (*CloudNetworkQuery) DeepCopyInto added in v1.101.0

func (o *CloudNetworkQuery) DeepCopyInto(out *CloudNetworkQuery)

DeepCopyInto copies the receiver into the given *CloudNetworkQuery.

func (*CloudNetworkQuery) DefaultOrder added in v1.101.0

func (o *CloudNetworkQuery) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudNetworkQuery) Doc added in v1.101.0

func (o *CloudNetworkQuery) Doc() string

Doc returns the documentation for the object

func (*CloudNetworkQuery) GetAnnotations added in v1.101.0

func (o *CloudNetworkQuery) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudNetworkQuery) GetAssociatedTags added in v1.101.0

func (o *CloudNetworkQuery) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudNetworkQuery) GetBSON added in v1.101.0

func (o *CloudNetworkQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkQuery) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudNetworkQuery) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudNetworkQuery) GetDescription added in v1.101.0

func (o *CloudNetworkQuery) GetDescription() string

GetDescription returns the Description of the receiver.

func (*CloudNetworkQuery) GetMigrationsLog added in v1.101.0

func (o *CloudNetworkQuery) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudNetworkQuery) GetName added in v1.101.0

func (o *CloudNetworkQuery) GetName() string

GetName returns the Name of the receiver.

func (*CloudNetworkQuery) GetNamespace added in v1.101.0

func (o *CloudNetworkQuery) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudNetworkQuery) GetNormalizedTags added in v1.101.0

func (o *CloudNetworkQuery) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudNetworkQuery) GetProtected added in v1.101.0

func (o *CloudNetworkQuery) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudNetworkQuery) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudNetworkQuery) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudNetworkQuery) GetZHash added in v1.101.0

func (o *CloudNetworkQuery) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudNetworkQuery) GetZone added in v1.101.0

func (o *CloudNetworkQuery) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudNetworkQuery) Identifier added in v1.101.0

func (o *CloudNetworkQuery) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudNetworkQuery) Identity added in v1.101.0

func (o *CloudNetworkQuery) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudNetworkQuery) Patch added in v1.101.0

Patch apply the non nil value of a *SparseCloudNetworkQuery to the object.

func (*CloudNetworkQuery) SetAnnotations added in v1.101.0

func (o *CloudNetworkQuery) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudNetworkQuery) SetAssociatedTags added in v1.101.0

func (o *CloudNetworkQuery) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudNetworkQuery) SetBSON added in v1.101.0

func (o *CloudNetworkQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkQuery) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudNetworkQuery) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudNetworkQuery) SetDescription added in v1.101.0

func (o *CloudNetworkQuery) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*CloudNetworkQuery) SetIdentifier added in v1.101.0

func (o *CloudNetworkQuery) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudNetworkQuery) SetMigrationsLog added in v1.101.0

func (o *CloudNetworkQuery) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudNetworkQuery) SetName added in v1.101.0

func (o *CloudNetworkQuery) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudNetworkQuery) SetNamespace added in v1.101.0

func (o *CloudNetworkQuery) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudNetworkQuery) SetNormalizedTags added in v1.101.0

func (o *CloudNetworkQuery) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudNetworkQuery) SetProtected added in v1.101.0

func (o *CloudNetworkQuery) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudNetworkQuery) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudNetworkQuery) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudNetworkQuery) SetZHash added in v1.101.0

func (o *CloudNetworkQuery) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudNetworkQuery) SetZone added in v1.101.0

func (o *CloudNetworkQuery) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudNetworkQuery) SpecificationForAttribute added in v1.101.0

func (*CloudNetworkQuery) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudNetworkQuery) String added in v1.101.0

func (o *CloudNetworkQuery) String() string

func (*CloudNetworkQuery) ToSparse added in v1.101.0

func (o *CloudNetworkQuery) 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 (*CloudNetworkQuery) Validate added in v1.101.0

func (o *CloudNetworkQuery) Validate() error

Validate valides the current information stored into the structure.

func (*CloudNetworkQuery) ValueForAttribute added in v1.101.0

func (o *CloudNetworkQuery) ValueForAttribute(name string) interface{}

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 (*CloudNetworkQuery) Version added in v1.101.0

func (o *CloudNetworkQuery) Version() int

Version returns the hardcoded version of the model.

type CloudNetworkQueryAlertOnValue added in v1.103.0

type CloudNetworkQueryAlertOnValue string

CloudNetworkQueryAlertOnValue represents the possible values for attribute "alertOn".

const (
	// CloudNetworkQueryAlertOnDestSubnet represents the value DestSubnet.
	CloudNetworkQueryAlertOnDestSubnet CloudNetworkQueryAlertOnValue = "DestSubnet"

	// CloudNetworkQueryAlertOnDestVPC represents the value DestVPC.
	CloudNetworkQueryAlertOnDestVPC CloudNetworkQueryAlertOnValue = "DestVPC"

	// CloudNetworkQueryAlertOnNone represents the value None.
	CloudNetworkQueryAlertOnNone CloudNetworkQueryAlertOnValue = "None"

	// CloudNetworkQueryAlertOnSourceSubnet represents the value SourceSubnet.
	CloudNetworkQueryAlertOnSourceSubnet CloudNetworkQueryAlertOnValue = "SourceSubnet"

	// CloudNetworkQueryAlertOnSourceVPC represents the value SourceVPC.
	CloudNetworkQueryAlertOnSourceVPC CloudNetworkQueryAlertOnValue = "SourceVPC"
)

type CloudNetworkQueryDestination added in v1.101.0

type CloudNetworkQueryDestination struct {
	// Returns the native ID of the indirect node.
	IndirectNodeID string `json:"indirectNodeID,omitempty" msgpack:"indirectNodeID,omitempty" bson:"-" mapstructure:"indirectNodeID,omitempty"`

	// Returns true if this is an indirect path through an forwarding entities.
	IsIndirect bool `json:"isIndirect" msgpack:"isIndirect" bson:"-" mapstructure:"isIndirect,omitempty"`

	// Returns true if the destination is reachable through routing.
	Reachable bool `json:"reachable" msgpack:"reachable" bson:"-" mapstructure:"reachable,omitempty"`

	// Returns the type of the destination.
	Type CloudNetworkQueryDestinationTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	// Returns the network security verdict for the destination.
	Verdict string `json:"verdict" msgpack:"verdict" bson:"-" mapstructure:"verdict,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudNetworkQueryDestination represents the model of a cloudnetworkquerydestination

func NewCloudNetworkQueryDestination added in v1.101.0

func NewCloudNetworkQueryDestination() *CloudNetworkQueryDestination

NewCloudNetworkQueryDestination returns a new *CloudNetworkQueryDestination

func (*CloudNetworkQueryDestination) BleveType added in v1.101.0

func (o *CloudNetworkQueryDestination) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudNetworkQueryDestination) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudNetworkQueryDestination.

func (*CloudNetworkQueryDestination) DeepCopyInto added in v1.101.0

DeepCopyInto copies the receiver into the given *CloudNetworkQueryDestination.

func (*CloudNetworkQueryDestination) GetBSON added in v1.101.0

func (o *CloudNetworkQueryDestination) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkQueryDestination) SetBSON added in v1.101.0

func (o *CloudNetworkQueryDestination) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkQueryDestination) Validate added in v1.101.0

func (o *CloudNetworkQueryDestination) Validate() error

Validate valides the current information stored into the structure.

type CloudNetworkQueryDestinationTypeValue added in v1.101.0

type CloudNetworkQueryDestinationTypeValue string

CloudNetworkQueryDestinationTypeValue represents the possible values for attribute "type".

const (
	// CloudNetworkQueryDestinationTypeInstance represents the value Instance.
	CloudNetworkQueryDestinationTypeInstance CloudNetworkQueryDestinationTypeValue = "Instance"

	// CloudNetworkQueryDestinationTypeInterface represents the value Interface.
	CloudNetworkQueryDestinationTypeInterface CloudNetworkQueryDestinationTypeValue = "Interface"

	// CloudNetworkQueryDestinationTypeLoadBalancer represents the value LoadBalancer.
	CloudNetworkQueryDestinationTypeLoadBalancer CloudNetworkQueryDestinationTypeValue = "LoadBalancer"

	// CloudNetworkQueryDestinationTypePublicIP represents the value PublicIP.
	CloudNetworkQueryDestinationTypePublicIP CloudNetworkQueryDestinationTypeValue = "PublicIP"
)

type CloudNetworkQueryEffectiveActionValue added in v1.101.0

type CloudNetworkQueryEffectiveActionValue string

CloudNetworkQueryEffectiveActionValue represents the possible values for attribute "effectiveAction".

const (
	// CloudNetworkQueryEffectiveActionAllowed represents the value Allowed.
	CloudNetworkQueryEffectiveActionAllowed CloudNetworkQueryEffectiveActionValue = "Allowed"

	// CloudNetworkQueryEffectiveActionDenied represents the value Denied.
	CloudNetworkQueryEffectiveActionDenied CloudNetworkQueryEffectiveActionValue = "Denied"

	// CloudNetworkQueryEffectiveActionReachable represents the value Reachable.
	CloudNetworkQueryEffectiveActionReachable CloudNetworkQueryEffectiveActionValue = "Reachable"
)

type CloudNetworkQueryFilter added in v1.101.0

type CloudNetworkQueryFilter struct {
	// The VPC ID of the target resources.
	VPCIDs []string `json:"VPCIDs,omitempty" msgpack:"VPCIDs,omitempty" bson:"vpcids,omitempty" mapstructure:"VPCIDs,omitempty"`

	// The accounts that the search must apply to. These are the actually IDs of the
	// account as provided by the cloud provider. One or more IDs can be included.
	AccountIDs []string `json:"accountIDs,omitempty" msgpack:"accountIDs,omitempty" bson:"accountids,omitempty" mapstructure:"accountIDs,omitempty"`

	// The cloud types that the search must apply to.
	CloudTypes []string `json:"cloudTypes,omitempty" msgpack:"cloudTypes,omitempty" bson:"cloudtypes,omitempty" mapstructure:"cloudTypes,omitempty"`

	// A list of imageIDs that endpoints can be filtered with. Applies only to
	// resourceType Endpoint.
	ImageIDs []string `json:"imageIDs,omitempty" msgpack:"imageIDs,omitempty" bson:"imageids,omitempty" mapstructure:"imageIDs,omitempty"`

	// The exact object that the search applies. If ObjectIDs are defined, the rest of
	// the fields are ignored. An object ID can refer to an instance, VPC endpoint, or
	// network interface.
	ObjectIDs []string `json:"objectIDs,omitempty" msgpack:"objectIDs,omitempty" bson:"objectids,omitempty" mapstructure:"objectIDs,omitempty"`

	// Restricts the query on only endpoints with the given productInfoType.
	ProductInfoType string `` /* 142-byte string literal not displayed */

	// Restricts the query to only endpoints with the provided productInfoValue. Does
	// not apply to other resource types.
	ProductInfoValue string `` /* 146-byte string literal not displayed */

	// The region that the search must apply to.
	Regions []string `json:"regions,omitempty" msgpack:"regions,omitempty" bson:"regions,omitempty" mapstructure:"regions,omitempty"`

	// The type of endpoint resource. The resource type is a mandatory field and a
	// query cannot span multiple resource types.
	ResourceType CloudNetworkQueryFilterResourceTypeValue `json:"resourceType" msgpack:"resourceType" bson:"resourcetype" mapstructure:"resourceType,omitempty"`

	// The list of security tags associated with the targets of the query. Security
	// tags refer to security groups in AWS or network tags in GCP. So they can have
	// different meaning depending on the target cloud.
	SecurityTags []string `` /* 130-byte string literal not displayed */

	// Identifies a list of service names that should be taken into account. This is
	// only valid with a resource type equal to Service.
	ServiceNames []string `` /* 130-byte string literal not displayed */

	// Identifies the owner of the service that the resource is attached to. Field is
	// not valid if the resource type is not an interface.
	ServiceOwners []string `` /* 134-byte string literal not displayed */

	// Identifies the type of service that the interface is attached to. Field is not
	// valid if the resource type is not an
	// interface.
	ServiceTypes []string `` /* 130-byte string literal not displayed */

	// The subnets where the resources must reside. A subnet parameter can only be
	// provided for a network interface resource type.
	Subnets []string `json:"subnets,omitempty" msgpack:"subnets,omitempty" bson:"subnets,omitempty" mapstructure:"subnets,omitempty"`

	// A list of tags that select the same of endpoints for the query. These tags refer
	// to the tags attached to the resources in the cloud provider definitions.
	Tags []string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"tags,omitempty" mapstructure:"tags,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudNetworkQueryFilter represents the model of a cloudnetworkqueryfilter

func NewCloudNetworkQueryFilter added in v1.101.0

func NewCloudNetworkQueryFilter() *CloudNetworkQueryFilter

NewCloudNetworkQueryFilter returns a new *CloudNetworkQueryFilter

func (*CloudNetworkQueryFilter) BleveType added in v1.101.0

func (o *CloudNetworkQueryFilter) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudNetworkQueryFilter) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudNetworkQueryFilter.

func (*CloudNetworkQueryFilter) DeepCopyInto added in v1.101.0

func (o *CloudNetworkQueryFilter) DeepCopyInto(out *CloudNetworkQueryFilter)

DeepCopyInto copies the receiver into the given *CloudNetworkQueryFilter.

func (*CloudNetworkQueryFilter) GetBSON added in v1.101.0

func (o *CloudNetworkQueryFilter) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkQueryFilter) SetBSON added in v1.101.0

func (o *CloudNetworkQueryFilter) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkQueryFilter) Validate added in v1.101.0

func (o *CloudNetworkQueryFilter) Validate() error

Validate valides the current information stored into the structure.

type CloudNetworkQueryFilterResourceTypeValue added in v1.101.0

type CloudNetworkQueryFilterResourceTypeValue string

CloudNetworkQueryFilterResourceTypeValue represents the possible values for attribute "resourceType".

const (
	// CloudNetworkQueryFilterResourceTypeInstance represents the value Instance.
	CloudNetworkQueryFilterResourceTypeInstance CloudNetworkQueryFilterResourceTypeValue = "Instance"

	// CloudNetworkQueryFilterResourceTypeInterface represents the value Interface.
	CloudNetworkQueryFilterResourceTypeInterface CloudNetworkQueryFilterResourceTypeValue = "Interface"

	// CloudNetworkQueryFilterResourceTypeProcessingUnit represents the value ProcessingUnit.
	CloudNetworkQueryFilterResourceTypeProcessingUnit CloudNetworkQueryFilterResourceTypeValue = "ProcessingUnit"

	// CloudNetworkQueryFilterResourceTypeService represents the value Service.
	CloudNetworkQueryFilterResourceTypeService CloudNetworkQueryFilterResourceTypeValue = "Service"
)

type CloudNetworkQueryTypeValue added in v1.101.0

type CloudNetworkQueryTypeValue string

CloudNetworkQueryTypeValue represents the possible values for attribute "type".

const (
	// CloudNetworkQueryTypeCompressedGraph represents the value CompressedGraph.
	CloudNetworkQueryTypeCompressedGraph CloudNetworkQueryTypeValue = "CompressedGraph"

	// CloudNetworkQueryTypeFullGraph represents the value FullGraph.
	CloudNetworkQueryTypeFullGraph CloudNetworkQueryTypeValue = "FullGraph"

	// CloudNetworkQueryTypeNetworkPath represents the value NetworkPath.
	CloudNetworkQueryTypeNetworkPath CloudNetworkQueryTypeValue = "NetworkPath"

	// CloudNetworkQueryTypeSummary represents the value Summary.
	CloudNetworkQueryTypeSummary CloudNetworkQueryTypeValue = "Summary"
)

type CloudNetworkRule added in v1.101.0

type CloudNetworkRule struct {
	// Defines the action to apply to a flow.
	// - `Allow`: allows the defined traffic.
	// - `Reject`: rejects the defined traffic; useful in conjunction with an allow all
	// policy.
	Action CloudNetworkRuleActionValue `json:"action" msgpack:"action" bson:"action" mapstructure:"action,omitempty"`

	// A list of IP CIDRS that identify remote endpoints.
	Networks []string `json:"networks,omitempty" msgpack:"networks,omitempty" bson:"networks,omitempty" mapstructure:"networks,omitempty"`

	// Identifies the set of remote workloads that the rule relates to. The selector
	// will identify both processing units as well as external networks that match the
	// selector.
	Object [][]string `json:"object" msgpack:"object" bson:"object" mapstructure:"object,omitempty"`

	// Priority of the rule. Available only for cloud ACLs.
	Priority int `json:"priority,omitempty" msgpack:"priority,omitempty" bson:"priority,omitempty" mapstructure:"priority,omitempty"`

	// Represents the ports and protocols this policy applies to. Protocol/ports are
	// defined as tcp/80, udp/22. For protocols that do not have ports, the port
	// designation
	// is not allowed.
	ProtocolPorts []string `json:"protocolPorts" msgpack:"protocolPorts" bson:"protocolports" mapstructure:"protocolPorts,omitempty"`

	// An internal representation of the networks to increase performance. Not visible
	// to end users.
	StoredNetworks []*net.IPNet `` /* 138-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudNetworkRule represents the model of a cloudnetworkrule

func NewCloudNetworkRule added in v1.101.0

func NewCloudNetworkRule() *CloudNetworkRule

NewCloudNetworkRule returns a new *CloudNetworkRule

func (*CloudNetworkRule) BleveType added in v1.101.0

func (o *CloudNetworkRule) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudNetworkRule) DeepCopy added in v1.101.0

func (o *CloudNetworkRule) DeepCopy() *CloudNetworkRule

DeepCopy returns a deep copy if the CloudNetworkRule.

func (*CloudNetworkRule) DeepCopyInto added in v1.101.0

func (o *CloudNetworkRule) DeepCopyInto(out *CloudNetworkRule)

DeepCopyInto copies the receiver into the given *CloudNetworkRule.

func (*CloudNetworkRule) GetBSON added in v1.101.0

func (o *CloudNetworkRule) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkRule) SetBSON added in v1.101.0

func (o *CloudNetworkRule) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkRule) Validate added in v1.101.0

func (o *CloudNetworkRule) Validate() error

Validate valides the current information stored into the structure.

type CloudNetworkRuleActionValue added in v1.101.0

type CloudNetworkRuleActionValue string

CloudNetworkRuleActionValue represents the possible values for attribute "action".

const (
	// CloudNetworkRuleActionAllow represents the value Allow.
	CloudNetworkRuleActionAllow CloudNetworkRuleActionValue = "Allow"

	// CloudNetworkRuleActionReject represents the value Reject.
	CloudNetworkRuleActionReject CloudNetworkRuleActionValue = "Reject"
)

type CloudNetworkRuleSet added in v1.101.0

type CloudNetworkRuleSet struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags []string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime time.Time `` /* 134-byte string literal not displayed */

	// Internal unique key for a resource to guarantee no overlaps at write.
	Key string `json:"-" msgpack:"-" bson:"key" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"nativeid" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Cloud network ruleset data.
	Parameters *CloudNetworkRuleSetData `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences []string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudNetworkRuleSet represents the model of a cloudnetworkruleset

func NewCloudNetworkRuleSet added in v1.101.0

func NewCloudNetworkRuleSet() *CloudNetworkRuleSet

NewCloudNetworkRuleSet returns a new *CloudNetworkRuleSet

func (*CloudNetworkRuleSet) AttributeSpecifications added in v1.101.0

func (*CloudNetworkRuleSet) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudNetworkRuleSet) BleveType added in v1.101.0

func (o *CloudNetworkRuleSet) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudNetworkRuleSet) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudNetworkRuleSet.

func (*CloudNetworkRuleSet) DeepCopyInto added in v1.101.0

func (o *CloudNetworkRuleSet) DeepCopyInto(out *CloudNetworkRuleSet)

DeepCopyInto copies the receiver into the given *CloudNetworkRuleSet.

func (*CloudNetworkRuleSet) DefaultOrder added in v1.101.0

func (o *CloudNetworkRuleSet) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudNetworkRuleSet) Doc added in v1.101.0

func (o *CloudNetworkRuleSet) Doc() string

Doc returns the documentation for the object

func (*CloudNetworkRuleSet) GetAPIID added in v1.101.0

func (o *CloudNetworkRuleSet) GetAPIID() int

GetAPIID returns the APIID of the receiver.

func (*CloudNetworkRuleSet) GetAccountID added in v1.101.0

func (o *CloudNetworkRuleSet) GetAccountID() string

GetAccountID returns the AccountID of the receiver.

func (*CloudNetworkRuleSet) GetAnnotations added in v1.101.0

func (o *CloudNetworkRuleSet) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudNetworkRuleSet) GetAssociatedTags added in v1.101.0

func (o *CloudNetworkRuleSet) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudNetworkRuleSet) GetBSON added in v1.101.0

func (o *CloudNetworkRuleSet) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkRuleSet) GetCloudTags added in v1.101.0

func (o *CloudNetworkRuleSet) GetCloudTags() []string

GetCloudTags returns the CloudTags of the receiver.

func (*CloudNetworkRuleSet) GetCloudType added in v1.101.0

func (o *CloudNetworkRuleSet) GetCloudType() string

GetCloudType returns the CloudType of the receiver.

func (*CloudNetworkRuleSet) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudNetworkRuleSet) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudNetworkRuleSet) GetCreateTime added in v1.101.0

func (o *CloudNetworkRuleSet) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudNetworkRuleSet) GetCustomerID added in v1.101.0

func (o *CloudNetworkRuleSet) GetCustomerID() int

GetCustomerID returns the CustomerID of the receiver.

func (*CloudNetworkRuleSet) GetIngestionTime added in v1.101.0

func (o *CloudNetworkRuleSet) GetIngestionTime() time.Time

GetIngestionTime returns the IngestionTime of the receiver.

func (*CloudNetworkRuleSet) GetMigrationsLog added in v1.101.0

func (o *CloudNetworkRuleSet) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudNetworkRuleSet) GetName added in v1.101.0

func (o *CloudNetworkRuleSet) GetName() string

GetName returns the Name of the receiver.

func (*CloudNetworkRuleSet) GetNamespace added in v1.101.0

func (o *CloudNetworkRuleSet) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudNetworkRuleSet) GetNativeID added in v1.101.0

func (o *CloudNetworkRuleSet) GetNativeID() string

GetNativeID returns the NativeID of the receiver.

func (*CloudNetworkRuleSet) GetNormalizedTags added in v1.101.0

func (o *CloudNetworkRuleSet) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudNetworkRuleSet) GetPolicyReferences added in v1.101.0

func (o *CloudNetworkRuleSet) GetPolicyReferences() []string

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*CloudNetworkRuleSet) GetProtected added in v1.101.0

func (o *CloudNetworkRuleSet) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudNetworkRuleSet) GetRegionName added in v1.101.0

func (o *CloudNetworkRuleSet) GetRegionName() string

GetRegionName returns the RegionName of the receiver.

func (*CloudNetworkRuleSet) GetResourceID added in v1.101.0

func (o *CloudNetworkRuleSet) GetResourceID() int

GetResourceID returns the ResourceID of the receiver.

func (*CloudNetworkRuleSet) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudNetworkRuleSet) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudNetworkRuleSet) GetUpdateTime added in v1.101.0

func (o *CloudNetworkRuleSet) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudNetworkRuleSet) GetVPCID added in v1.101.0

func (o *CloudNetworkRuleSet) GetVPCID() string

GetVPCID returns the VPCID of the receiver.

func (*CloudNetworkRuleSet) GetZHash added in v1.101.0

func (o *CloudNetworkRuleSet) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudNetworkRuleSet) GetZone added in v1.101.0

func (o *CloudNetworkRuleSet) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudNetworkRuleSet) Identifier added in v1.101.0

func (o *CloudNetworkRuleSet) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudNetworkRuleSet) Identity added in v1.101.0

func (o *CloudNetworkRuleSet) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudNetworkRuleSet) Patch added in v1.101.0

Patch apply the non nil value of a *SparseCloudNetworkRuleSet to the object.

func (*CloudNetworkRuleSet) SetAPIID added in v1.101.0

func (o *CloudNetworkRuleSet) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the given value.

func (*CloudNetworkRuleSet) SetAccountID added in v1.101.0

func (o *CloudNetworkRuleSet) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the given value.

func (*CloudNetworkRuleSet) SetAnnotations added in v1.101.0

func (o *CloudNetworkRuleSet) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudNetworkRuleSet) SetAssociatedTags added in v1.101.0

func (o *CloudNetworkRuleSet) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudNetworkRuleSet) SetBSON added in v1.101.0

func (o *CloudNetworkRuleSet) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkRuleSet) SetCloudTags added in v1.101.0

func (o *CloudNetworkRuleSet) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the given value.

func (*CloudNetworkRuleSet) SetCloudType added in v1.101.0

func (o *CloudNetworkRuleSet) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the given value.

func (*CloudNetworkRuleSet) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudNetworkRuleSet) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudNetworkRuleSet) SetCreateTime added in v1.101.0

func (o *CloudNetworkRuleSet) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudNetworkRuleSet) SetCustomerID added in v1.101.0

func (o *CloudNetworkRuleSet) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the given value.

func (*CloudNetworkRuleSet) SetIdentifier added in v1.101.0

func (o *CloudNetworkRuleSet) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudNetworkRuleSet) SetIngestionTime added in v1.101.0

func (o *CloudNetworkRuleSet) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the given value.

func (*CloudNetworkRuleSet) SetMigrationsLog added in v1.101.0

func (o *CloudNetworkRuleSet) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudNetworkRuleSet) SetName added in v1.101.0

func (o *CloudNetworkRuleSet) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudNetworkRuleSet) SetNamespace added in v1.101.0

func (o *CloudNetworkRuleSet) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudNetworkRuleSet) SetNativeID added in v1.101.0

func (o *CloudNetworkRuleSet) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the given value.

func (*CloudNetworkRuleSet) SetNormalizedTags added in v1.101.0

func (o *CloudNetworkRuleSet) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudNetworkRuleSet) SetPolicyReferences added in v1.101.0

func (o *CloudNetworkRuleSet) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the given value.

func (*CloudNetworkRuleSet) SetProtected added in v1.101.0

func (o *CloudNetworkRuleSet) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudNetworkRuleSet) SetRegionName added in v1.101.0

func (o *CloudNetworkRuleSet) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the given value.

func (*CloudNetworkRuleSet) SetResourceID added in v1.101.0

func (o *CloudNetworkRuleSet) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the given value.

func (*CloudNetworkRuleSet) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudNetworkRuleSet) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudNetworkRuleSet) SetUpdateTime added in v1.101.0

func (o *CloudNetworkRuleSet) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudNetworkRuleSet) SetVPCID added in v1.101.0

func (o *CloudNetworkRuleSet) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the given value.

func (*CloudNetworkRuleSet) SetZHash added in v1.101.0

func (o *CloudNetworkRuleSet) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudNetworkRuleSet) SetZone added in v1.101.0

func (o *CloudNetworkRuleSet) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudNetworkRuleSet) SpecificationForAttribute added in v1.101.0

func (*CloudNetworkRuleSet) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudNetworkRuleSet) String added in v1.101.0

func (o *CloudNetworkRuleSet) String() string

func (*CloudNetworkRuleSet) ToSparse added in v1.101.0

func (o *CloudNetworkRuleSet) 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 (*CloudNetworkRuleSet) Validate added in v1.101.0

func (o *CloudNetworkRuleSet) Validate() error

Validate valides the current information stored into the structure.

func (*CloudNetworkRuleSet) ValueForAttribute added in v1.101.0

func (o *CloudNetworkRuleSet) ValueForAttribute(name string) interface{}

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 (*CloudNetworkRuleSet) Version added in v1.101.0

func (o *CloudNetworkRuleSet) Version() int

Version returns the hardcoded version of the model.

type CloudNetworkRuleSetData added in v1.101.0

type CloudNetworkRuleSetData struct {
	// Internal field storing all the subject tags.
	AllSubjectTags []string `json:"-" msgpack:"-" bson:"allsubjecttags" mapstructure:"-,omitempty"`

	// The set of rules to apply to incoming traffic (traffic coming to the Processing
	// Unit matching the subject).
	IncomingRules []*CloudNetworkRule `json:"incomingRules" msgpack:"incomingRules" bson:"incomingrules" mapstructure:"incomingRules,omitempty"`

	// The set of rules to apply to outgoing traffic (traffic coming from the
	// Processing Unit matching the subject).
	OutgoingRules []*CloudNetworkRule `json:"outgoingRules" msgpack:"outgoingRules" bson:"outgoingrules" mapstructure:"outgoingRules,omitempty"`

	// A tag expression identifying used to match processing units to which this policy
	// applies to.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// Type identifies if this is a security group rule set or ACL.
	Type CloudNetworkRuleSetDataTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudNetworkRuleSetData represents the model of a cloudnetworkrulesetdata

func NewCloudNetworkRuleSetData added in v1.101.0

func NewCloudNetworkRuleSetData() *CloudNetworkRuleSetData

NewCloudNetworkRuleSetData returns a new *CloudNetworkRuleSetData

func (*CloudNetworkRuleSetData) BleveType added in v1.101.0

func (o *CloudNetworkRuleSetData) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudNetworkRuleSetData) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudNetworkRuleSetData.

func (*CloudNetworkRuleSetData) DeepCopyInto added in v1.101.0

func (o *CloudNetworkRuleSetData) DeepCopyInto(out *CloudNetworkRuleSetData)

DeepCopyInto copies the receiver into the given *CloudNetworkRuleSetData.

func (*CloudNetworkRuleSetData) GetBSON added in v1.101.0

func (o *CloudNetworkRuleSetData) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkRuleSetData) SetBSON added in v1.101.0

func (o *CloudNetworkRuleSetData) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNetworkRuleSetData) Validate added in v1.101.0

func (o *CloudNetworkRuleSetData) Validate() error

Validate valides the current information stored into the structure.

type CloudNetworkRuleSetDataTypeValue added in v1.101.0

type CloudNetworkRuleSetDataTypeValue string

CloudNetworkRuleSetDataTypeValue represents the possible values for attribute "type".

const (
	// CloudNetworkRuleSetDataTypeACL represents the value ACL.
	CloudNetworkRuleSetDataTypeACL CloudNetworkRuleSetDataTypeValue = "ACL"

	// CloudNetworkRuleSetDataTypeSecurityGroup represents the value SecurityGroup.
	CloudNetworkRuleSetDataTypeSecurityGroup CloudNetworkRuleSetDataTypeValue = "SecurityGroup"
)

type CloudNetworkRuleSetsList added in v1.101.0

type CloudNetworkRuleSetsList []*CloudNetworkRuleSet

CloudNetworkRuleSetsList represents a list of CloudNetworkRuleSets

func (CloudNetworkRuleSetsList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudNetworkRuleSetsList.

func (CloudNetworkRuleSetsList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudNetworkRuleSetsList.

func (CloudNetworkRuleSetsList) DefaultOrder added in v1.101.0

func (o CloudNetworkRuleSetsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudNetworkRuleSetsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (CloudNetworkRuleSetsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudNetworkRuleSetsList) ToSparse added in v1.101.0

ToSparse returns the CloudNetworkRuleSetsList converted to SparseCloudNetworkRuleSetsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudNetworkRuleSetsList) Version added in v1.101.0

func (o CloudNetworkRuleSetsList) Version() int

Version returns the version of the content.

type CloudNode added in v1.101.0

type CloudNode struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// The list of attachments for this node.
	Attachments []string `` /* 126-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags []string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime time.Time `` /* 134-byte string literal not displayed */

	// Internal unique key for a resource to guarantee no overlaps at write.
	Key string `json:"-" msgpack:"-" bson:"key" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"nativeid" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// The cloud attributes of the object.
	Parameters map[string]interface{} `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences []string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// A reference to a related object.
	RelatedObjectID string `` /* 142-byte string literal not displayed */

	// Prisma Cloud Resource ID.
	ResourceID int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// List of security tags associated with the node.
	SecurityTags []string `` /* 130-byte string literal not displayed */

	// The sub-type of the object as found in the parameters. Used for indexing.
	SubType string `json:"subType,omitempty" msgpack:"subType,omitempty" bson:"subtype,omitempty" mapstructure:"subType,omitempty"`

	// Type of the endpoint.
	Type CloudNodeTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudNode represents the model of a cloudnode

func NewCloudNode added in v1.101.0

func NewCloudNode() *CloudNode

NewCloudNode returns a new *CloudNode

func (*CloudNode) AttributeSpecifications added in v1.101.0

func (*CloudNode) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudNode) BleveType added in v1.101.0

func (o *CloudNode) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudNode) DeepCopy added in v1.101.0

func (o *CloudNode) DeepCopy() *CloudNode

DeepCopy returns a deep copy if the CloudNode.

func (*CloudNode) DeepCopyInto added in v1.101.0

func (o *CloudNode) DeepCopyInto(out *CloudNode)

DeepCopyInto copies the receiver into the given *CloudNode.

func (*CloudNode) DefaultOrder added in v1.101.0

func (o *CloudNode) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudNode) Doc added in v1.101.0

func (o *CloudNode) Doc() string

Doc returns the documentation for the object

func (*CloudNode) GetAPIID added in v1.101.0

func (o *CloudNode) GetAPIID() int

GetAPIID returns the APIID of the receiver.

func (*CloudNode) GetAccountID added in v1.101.0

func (o *CloudNode) GetAccountID() string

GetAccountID returns the AccountID of the receiver.

func (*CloudNode) GetAnnotations added in v1.101.0

func (o *CloudNode) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudNode) GetAssociatedTags added in v1.101.0

func (o *CloudNode) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudNode) GetAttachments added in v1.101.0

func (o *CloudNode) GetAttachments() []string

GetAttachments returns the Attachments of the receiver.

func (*CloudNode) GetBSON added in v1.101.0

func (o *CloudNode) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNode) GetCloudTags added in v1.101.0

func (o *CloudNode) GetCloudTags() []string

GetCloudTags returns the CloudTags of the receiver.

func (*CloudNode) GetCloudType added in v1.101.0

func (o *CloudNode) GetCloudType() string

GetCloudType returns the CloudType of the receiver.

func (*CloudNode) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudNode) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudNode) GetCreateTime added in v1.101.0

func (o *CloudNode) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudNode) GetCustomerID added in v1.101.0

func (o *CloudNode) GetCustomerID() int

GetCustomerID returns the CustomerID of the receiver.

func (*CloudNode) GetIngestionTime added in v1.101.0

func (o *CloudNode) GetIngestionTime() time.Time

GetIngestionTime returns the IngestionTime of the receiver.

func (*CloudNode) GetMigrationsLog added in v1.101.0

func (o *CloudNode) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudNode) GetName added in v1.101.0

func (o *CloudNode) GetName() string

GetName returns the Name of the receiver.

func (*CloudNode) GetNamespace added in v1.101.0

func (o *CloudNode) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudNode) GetNativeID added in v1.101.0

func (o *CloudNode) GetNativeID() string

GetNativeID returns the NativeID of the receiver.

func (*CloudNode) GetNormalizedTags added in v1.101.0

func (o *CloudNode) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudNode) GetParameters added in v1.101.0

func (o *CloudNode) GetParameters() map[string]interface{}

GetParameters returns the Parameters of the receiver.

func (*CloudNode) GetPolicyReferences added in v1.101.0

func (o *CloudNode) GetPolicyReferences() []string

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*CloudNode) GetProtected added in v1.101.0

func (o *CloudNode) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudNode) GetRegionName added in v1.101.0

func (o *CloudNode) GetRegionName() string

GetRegionName returns the RegionName of the receiver.

func (*CloudNode) GetResourceID added in v1.101.0

func (o *CloudNode) GetResourceID() int

GetResourceID returns the ResourceID of the receiver.

func (*CloudNode) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudNode) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudNode) GetUpdateTime added in v1.101.0

func (o *CloudNode) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudNode) GetVPCID added in v1.101.0

func (o *CloudNode) GetVPCID() string

GetVPCID returns the VPCID of the receiver.

func (*CloudNode) GetZHash added in v1.101.0

func (o *CloudNode) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudNode) GetZone added in v1.101.0

func (o *CloudNode) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudNode) Identifier added in v1.101.0

func (o *CloudNode) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudNode) Identity added in v1.101.0

func (o *CloudNode) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudNode) Patch added in v1.101.0

func (o *CloudNode) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudNode to the object.

func (*CloudNode) SetAPIID added in v1.101.0

func (o *CloudNode) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the given value.

func (*CloudNode) SetAccountID added in v1.101.0

func (o *CloudNode) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the given value.

func (*CloudNode) SetAnnotations added in v1.101.0

func (o *CloudNode) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudNode) SetAssociatedTags added in v1.101.0

func (o *CloudNode) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudNode) SetAttachments added in v1.101.0

func (o *CloudNode) SetAttachments(attachments []string)

SetAttachments sets the property Attachments of the receiver using the given value.

func (*CloudNode) SetBSON added in v1.101.0

func (o *CloudNode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudNode) SetCloudTags added in v1.101.0

func (o *CloudNode) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the given value.

func (*CloudNode) SetCloudType added in v1.101.0

func (o *CloudNode) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the given value.

func (*CloudNode) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudNode) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudNode) SetCreateTime added in v1.101.0

func (o *CloudNode) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudNode) SetCustomerID added in v1.101.0

func (o *CloudNode) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the given value.

func (*CloudNode) SetIdentifier added in v1.101.0

func (o *CloudNode) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudNode) SetIngestionTime added in v1.101.0

func (o *CloudNode) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the given value.

func (*CloudNode) SetMigrationsLog added in v1.101.0

func (o *CloudNode) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudNode) SetName added in v1.101.0

func (o *CloudNode) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudNode) SetNamespace added in v1.101.0

func (o *CloudNode) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudNode) SetNativeID added in v1.101.0

func (o *CloudNode) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the given value.

func (*CloudNode) SetNormalizedTags added in v1.101.0

func (o *CloudNode) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudNode) SetParameters added in v1.101.0

func (o *CloudNode) SetParameters(parameters map[string]interface{})

SetParameters sets the property Parameters of the receiver using the given value.

func (*CloudNode) SetPolicyReferences added in v1.101.0

func (o *CloudNode) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the given value.

func (*CloudNode) SetProtected added in v1.101.0

func (o *CloudNode) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudNode) SetRegionName added in v1.101.0

func (o *CloudNode) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the given value.

func (*CloudNode) SetResourceID added in v1.101.0

func (o *CloudNode) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the given value.

func (*CloudNode) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudNode) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudNode) SetUpdateTime added in v1.101.0

func (o *CloudNode) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudNode) SetVPCID added in v1.101.0

func (o *CloudNode) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the given value.

func (*CloudNode) SetZHash added in v1.101.0

func (o *CloudNode) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudNode) SetZone added in v1.101.0

func (o *CloudNode) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudNode) SpecificationForAttribute added in v1.101.0

func (*CloudNode) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudNode) String added in v1.101.0

func (o *CloudNode) String() string

func (*CloudNode) ToSparse added in v1.101.0

func (o *CloudNode) 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 (*CloudNode) Validate added in v1.101.0

func (o *CloudNode) Validate() error

Validate valides the current information stored into the structure.

func (*CloudNode) ValueForAttribute added in v1.101.0

func (o *CloudNode) ValueForAttribute(name string) interface{}

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 (*CloudNode) Version added in v1.101.0

func (o *CloudNode) Version() int

Version returns the hardcoded version of the model.

type CloudNodeTypeValue added in v1.101.0

type CloudNodeTypeValue string

CloudNodeTypeValue represents the possible values for attribute "type".

const (
	// CloudNodeTypeEndpoint represents the value Endpoint.
	CloudNodeTypeEndpoint CloudNodeTypeValue = "Endpoint"

	// CloudNodeTypeInterface represents the value Interface.
	CloudNodeTypeInterface CloudNodeTypeValue = "Interface"

	// CloudNodeTypeNetworkRuleSet represents the value NetworkRuleSet.
	CloudNodeTypeNetworkRuleSet CloudNodeTypeValue = "NetworkRuleSet"

	// CloudNodeTypeRouteTable represents the value RouteTable.
	CloudNodeTypeRouteTable CloudNodeTypeValue = "RouteTable"

	// CloudNodeTypeSubnet represents the value Subnet.
	CloudNodeTypeSubnet CloudNodeTypeValue = "Subnet"

	// CloudNodeTypeVPC represents the value VPC.
	CloudNodeTypeVPC CloudNodeTypeValue = "VPC"
)

type CloudNodesList added in v1.101.0

type CloudNodesList []*CloudNode

CloudNodesList represents a list of CloudNodes

func (CloudNodesList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudNodesList.

func (CloudNodesList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudNodesList.

func (CloudNodesList) DefaultOrder added in v1.101.0

func (o CloudNodesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudNodesList) Identity added in v1.101.0

func (o CloudNodesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CloudNodesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudNodesList) ToSparse added in v1.101.0

func (o CloudNodesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudNodesList converted to SparseCloudNodesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudNodesList) Version added in v1.101.0

func (o CloudNodesList) Version() int

Version returns the version of the content.

type CloudPathElement added in v1.103.0

type CloudPathElement struct {
	// The native ID of the node.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"-" mapstructure:"nativeID,omitempty"`

	// The policy ID used at this node of the path.
	Policy *CloudGraphNodeAction `json:"policy,omitempty" msgpack:"policy,omitempty" bson:"-" mapstructure:"policy,omitempty"`

	// The route table ID used for the route calculation.
	RouteTables map[string]string `json:"routeTables,omitempty" msgpack:"routeTables,omitempty" bson:"-" mapstructure:"routeTables,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudPathElement represents the model of a cloudpathelement

func NewCloudPathElement added in v1.103.0

func NewCloudPathElement() *CloudPathElement

NewCloudPathElement returns a new *CloudPathElement

func (*CloudPathElement) BleveType added in v1.103.0

func (o *CloudPathElement) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudPathElement) DeepCopy added in v1.103.0

func (o *CloudPathElement) DeepCopy() *CloudPathElement

DeepCopy returns a deep copy if the CloudPathElement.

func (*CloudPathElement) DeepCopyInto added in v1.103.0

func (o *CloudPathElement) DeepCopyInto(out *CloudPathElement)

DeepCopyInto copies the receiver into the given *CloudPathElement.

func (*CloudPathElement) GetBSON added in v1.103.0

func (o *CloudPathElement) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudPathElement) SetBSON added in v1.103.0

func (o *CloudPathElement) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudPathElement) Validate added in v1.103.0

func (o *CloudPathElement) Validate() error

Validate valides the current information stored into the structure.

type CloudPoliciesList added in v1.101.0

type CloudPoliciesList []*CloudPolicy

CloudPoliciesList represents a list of CloudPolicies

func (CloudPoliciesList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudPoliciesList.

func (CloudPoliciesList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudPoliciesList.

func (CloudPoliciesList) DefaultOrder added in v1.101.0

func (o CloudPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudPoliciesList) Identity added in v1.101.0

func (o CloudPoliciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CloudPoliciesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudPoliciesList) ToSparse added in v1.101.0

func (o CloudPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudPoliciesList converted to SparseCloudPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudPoliciesList) Version added in v1.101.0

func (o CloudPoliciesList) Version() int

Version returns the version of the content.

type CloudPolicy added in v1.101.0

type CloudPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// The actual RQL query that is associated to the policy.
	RQLQuery string `json:"RQLQuery" msgpack:"RQLQuery" bson:"rqlquery" mapstructure:"RQLQuery,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Reference to the corresponding Prisma Cloud Policy ID.
	PrismaCloudPolicyID string `` /* 128-byte string literal not displayed */

	// The query ID that this policy refers to. This is auto-calculated since it is
	// derived from the parent.
	PrismaCloudQueryID string `json:"prismaCloudQueryID" msgpack:"prismaCloudQueryID" bson:"-" mapstructure:"prismaCloudQueryID,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// The severity of a policy violation.
	Severity CloudPolicySeverityValue `json:"severity" msgpack:"severity" bson:"severity" mapstructure:"severity,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudPolicy represents the model of a cloudpolicy

func NewCloudPolicy added in v1.101.0

func NewCloudPolicy() *CloudPolicy

NewCloudPolicy returns a new *CloudPolicy

func (*CloudPolicy) AttributeSpecifications added in v1.101.0

func (*CloudPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudPolicy) BleveType added in v1.101.0

func (o *CloudPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudPolicy) DeepCopy added in v1.101.0

func (o *CloudPolicy) DeepCopy() *CloudPolicy

DeepCopy returns a deep copy if the CloudPolicy.

func (*CloudPolicy) DeepCopyInto added in v1.101.0

func (o *CloudPolicy) DeepCopyInto(out *CloudPolicy)

DeepCopyInto copies the receiver into the given *CloudPolicy.

func (*CloudPolicy) DefaultOrder added in v1.101.0

func (o *CloudPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudPolicy) Doc added in v1.101.0

func (o *CloudPolicy) Doc() string

Doc returns the documentation for the object

func (*CloudPolicy) GetAnnotations added in v1.101.0

func (o *CloudPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudPolicy) GetAssociatedTags added in v1.101.0

func (o *CloudPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudPolicy) GetBSON added in v1.101.0

func (o *CloudPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudPolicy) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudPolicy) GetCreateTime added in v1.103.0

func (o *CloudPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudPolicy) GetDescription added in v1.101.0

func (o *CloudPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*CloudPolicy) GetMigrationsLog added in v1.101.0

func (o *CloudPolicy) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudPolicy) GetName added in v1.101.0

func (o *CloudPolicy) GetName() string

GetName returns the Name of the receiver.

func (*CloudPolicy) GetNamespace added in v1.101.0

func (o *CloudPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudPolicy) GetNormalizedTags added in v1.101.0

func (o *CloudPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudPolicy) GetProtected added in v1.101.0

func (o *CloudPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudPolicy) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudPolicy) GetUpdateTime added in v1.103.0

func (o *CloudPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudPolicy) GetZHash added in v1.101.0

func (o *CloudPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudPolicy) GetZone added in v1.101.0

func (o *CloudPolicy) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudPolicy) Identifier added in v1.101.0

func (o *CloudPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudPolicy) Identity added in v1.101.0

func (o *CloudPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudPolicy) Patch added in v1.101.0

func (o *CloudPolicy) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudPolicy to the object.

func (*CloudPolicy) SetAnnotations added in v1.101.0

func (o *CloudPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudPolicy) SetAssociatedTags added in v1.101.0

func (o *CloudPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudPolicy) SetBSON added in v1.101.0

func (o *CloudPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudPolicy) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudPolicy) SetCreateTime added in v1.103.0

func (o *CloudPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudPolicy) SetDescription added in v1.101.0

func (o *CloudPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*CloudPolicy) SetIdentifier added in v1.101.0

func (o *CloudPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudPolicy) SetMigrationsLog added in v1.101.0

func (o *CloudPolicy) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudPolicy) SetName added in v1.101.0

func (o *CloudPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudPolicy) SetNamespace added in v1.101.0

func (o *CloudPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudPolicy) SetNormalizedTags added in v1.101.0

func (o *CloudPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudPolicy) SetProtected added in v1.101.0

func (o *CloudPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudPolicy) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudPolicy) SetUpdateTime added in v1.103.0

func (o *CloudPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudPolicy) SetZHash added in v1.101.0

func (o *CloudPolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudPolicy) SetZone added in v1.101.0

func (o *CloudPolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudPolicy) SpecificationForAttribute added in v1.101.0

func (*CloudPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudPolicy) String added in v1.101.0

func (o *CloudPolicy) String() string

func (*CloudPolicy) ToSparse added in v1.101.0

func (o *CloudPolicy) 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 (*CloudPolicy) Validate added in v1.101.0

func (o *CloudPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*CloudPolicy) ValueForAttribute added in v1.101.0

func (o *CloudPolicy) ValueForAttribute(name string) interface{}

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 (*CloudPolicy) Version added in v1.101.0

func (o *CloudPolicy) Version() int

Version returns the hardcoded version of the model.

type CloudPolicySeverityValue added in v1.101.0

type CloudPolicySeverityValue string

CloudPolicySeverityValue represents the possible values for attribute "severity".

const (
	// CloudPolicySeverityHigh represents the value High.
	CloudPolicySeverityHigh CloudPolicySeverityValue = "High"

	// CloudPolicySeverityLow represents the value Low.
	CloudPolicySeverityLow CloudPolicySeverityValue = "Low"

	// CloudPolicySeverityMedium represents the value Medium.
	CloudPolicySeverityMedium CloudPolicySeverityValue = "Medium"
)

type CloudRoute added in v1.101.0

type CloudRoute struct {
	// The Destination CIDR for the route.
	DestinationIPv4CIDR string `` /* 128-byte string literal not displayed */

	// The destination IPV6 CIDR for the route.
	DestinationIPv6CIDR string `` /* 128-byte string literal not displayed */

	// The destination is identified as a prefix list ID.
	DestinationPrefixListID string `` /* 144-byte string literal not displayed */

	// The ID of the next hop object.
	NextHopID string `json:"nextHopID" msgpack:"nextHopID" bson:"nexthopid" mapstructure:"nextHopID,omitempty"`

	// The type of the next hop.
	NextHopType CloudRouteNextHopTypeValue `json:"nextHopType" msgpack:"nextHopType" bson:"nexthoptype" mapstructure:"nextHopType,omitempty"`

	// Internal representation of IPv4 networks.
	StoredDestinationIPv4CIDR *net.IPNet `` /* 182-byte string literal not displayed */

	// Internal representation of IPv6 networks.
	StoredDestinationIPv6CIDR *net.IPNet `` /* 182-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudRoute represents the model of a cloudroute

func NewCloudRoute added in v1.101.0

func NewCloudRoute() *CloudRoute

NewCloudRoute returns a new *CloudRoute

func (*CloudRoute) BleveType added in v1.101.0

func (o *CloudRoute) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudRoute) DeepCopy added in v1.101.0

func (o *CloudRoute) DeepCopy() *CloudRoute

DeepCopy returns a deep copy if the CloudRoute.

func (*CloudRoute) DeepCopyInto added in v1.101.0

func (o *CloudRoute) DeepCopyInto(out *CloudRoute)

DeepCopyInto copies the receiver into the given *CloudRoute.

func (*CloudRoute) GetBSON added in v1.101.0

func (o *CloudRoute) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudRoute) SetBSON added in v1.101.0

func (o *CloudRoute) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudRoute) Validate added in v1.101.0

func (o *CloudRoute) Validate() error

Validate valides the current information stored into the structure.

type CloudRouteData added in v1.101.0

type CloudRouteData struct {
	// The gateway that this route table is associated with.
	GatewayID string `json:"gatewayID" msgpack:"gatewayID" bson:"gatewayid" mapstructure:"gatewayID,omitempty"`

	// Indicates that this is the default route table for the VPC.
	MainTable bool `json:"mainTable" msgpack:"mainTable" bson:"maintable" mapstructure:"mainTable,omitempty"`

	// Routes associated with this route table.
	Routelist []*CloudRoute `json:"routelist" msgpack:"routelist" bson:"routelist" mapstructure:"routelist,omitempty"`

	// The list of subnets that this route table is associated with.
	SubnetAssociations []string `json:"subnetAssociations" msgpack:"subnetAssociations" bson:"subnetassociations" mapstructure:"subnetAssociations,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudRouteData represents the model of a cloudroutedata

func NewCloudRouteData added in v1.101.0

func NewCloudRouteData() *CloudRouteData

NewCloudRouteData returns a new *CloudRouteData

func (*CloudRouteData) BleveType added in v1.101.0

func (o *CloudRouteData) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudRouteData) DeepCopy added in v1.101.0

func (o *CloudRouteData) DeepCopy() *CloudRouteData

DeepCopy returns a deep copy if the CloudRouteData.

func (*CloudRouteData) DeepCopyInto added in v1.101.0

func (o *CloudRouteData) DeepCopyInto(out *CloudRouteData)

DeepCopyInto copies the receiver into the given *CloudRouteData.

func (*CloudRouteData) GetBSON added in v1.101.0

func (o *CloudRouteData) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudRouteData) SetBSON added in v1.101.0

func (o *CloudRouteData) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudRouteData) Validate added in v1.101.0

func (o *CloudRouteData) Validate() error

Validate valides the current information stored into the structure.

type CloudRouteNextHopTypeValue added in v1.101.0

type CloudRouteNextHopTypeValue string

CloudRouteNextHopTypeValue represents the possible values for attribute "nextHopType".

const (
	// CloudRouteNextHopTypeEgressOnlyGateway represents the value EgressOnlyGateway.
	CloudRouteNextHopTypeEgressOnlyGateway CloudRouteNextHopTypeValue = "EgressOnlyGateway"

	// CloudRouteNextHopTypeGateway represents the value Gateway.
	CloudRouteNextHopTypeGateway CloudRouteNextHopTypeValue = "Gateway"

	// CloudRouteNextHopTypeInstance represents the value Instance.
	CloudRouteNextHopTypeInstance CloudRouteNextHopTypeValue = "Instance"

	// CloudRouteNextHopTypeLocalGateway represents the value LocalGateway.
	CloudRouteNextHopTypeLocalGateway CloudRouteNextHopTypeValue = "LocalGateway"

	// CloudRouteNextHopTypeNATGateway represents the value NATGateway.
	CloudRouteNextHopTypeNATGateway CloudRouteNextHopTypeValue = "NATGateway"

	// CloudRouteNextHopTypeNetworkInterface represents the value NetworkInterface.
	CloudRouteNextHopTypeNetworkInterface CloudRouteNextHopTypeValue = "NetworkInterface"

	// CloudRouteNextHopTypeTransitGateway represents the value TransitGateway.
	CloudRouteNextHopTypeTransitGateway CloudRouteNextHopTypeValue = "TransitGateway"

	// CloudRouteNextHopTypeTransitGatewayAttachment represents the value TransitGatewayAttachment.
	CloudRouteNextHopTypeTransitGatewayAttachment CloudRouteNextHopTypeValue = "TransitGatewayAttachment"

	// CloudRouteNextHopTypeVPCPeeringConnection represents the value VPCPeeringConnection.
	CloudRouteNextHopTypeVPCPeeringConnection CloudRouteNextHopTypeValue = "VPCPeeringConnection"
)

type CloudRouteTable added in v1.101.0

type CloudRouteTable struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags []string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"nativeid" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Route table related parameters.
	Parameters *CloudRouteData `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences []string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudRouteTable represents the model of a cloudroutetable

func NewCloudRouteTable added in v1.101.0

func NewCloudRouteTable() *CloudRouteTable

NewCloudRouteTable returns a new *CloudRouteTable

func (*CloudRouteTable) AttributeSpecifications added in v1.101.0

func (*CloudRouteTable) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudRouteTable) BleveType added in v1.101.0

func (o *CloudRouteTable) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudRouteTable) DeepCopy added in v1.101.0

func (o *CloudRouteTable) DeepCopy() *CloudRouteTable

DeepCopy returns a deep copy if the CloudRouteTable.

func (*CloudRouteTable) DeepCopyInto added in v1.101.0

func (o *CloudRouteTable) DeepCopyInto(out *CloudRouteTable)

DeepCopyInto copies the receiver into the given *CloudRouteTable.

func (*CloudRouteTable) DefaultOrder added in v1.101.0

func (o *CloudRouteTable) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudRouteTable) Doc added in v1.101.0

func (o *CloudRouteTable) Doc() string

Doc returns the documentation for the object

func (*CloudRouteTable) GetAPIID added in v1.101.0

func (o *CloudRouteTable) GetAPIID() int

GetAPIID returns the APIID of the receiver.

func (*CloudRouteTable) GetAccountID added in v1.101.0

func (o *CloudRouteTable) GetAccountID() string

GetAccountID returns the AccountID of the receiver.

func (*CloudRouteTable) GetAnnotations added in v1.101.0

func (o *CloudRouteTable) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudRouteTable) GetAssociatedTags added in v1.101.0

func (o *CloudRouteTable) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudRouteTable) GetBSON added in v1.101.0

func (o *CloudRouteTable) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudRouteTable) GetCloudTags added in v1.101.0

func (o *CloudRouteTable) GetCloudTags() []string

GetCloudTags returns the CloudTags of the receiver.

func (*CloudRouteTable) GetCloudType added in v1.101.0

func (o *CloudRouteTable) GetCloudType() string

GetCloudType returns the CloudType of the receiver.

func (*CloudRouteTable) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudRouteTable) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudRouteTable) GetCreateTime added in v1.101.0

func (o *CloudRouteTable) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudRouteTable) GetCustomerID added in v1.101.0

func (o *CloudRouteTable) GetCustomerID() int

GetCustomerID returns the CustomerID of the receiver.

func (*CloudRouteTable) GetIngestionTime added in v1.101.0

func (o *CloudRouteTable) GetIngestionTime() time.Time

GetIngestionTime returns the IngestionTime of the receiver.

func (*CloudRouteTable) GetMigrationsLog added in v1.101.0

func (o *CloudRouteTable) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudRouteTable) GetName added in v1.101.0

func (o *CloudRouteTable) GetName() string

GetName returns the Name of the receiver.

func (*CloudRouteTable) GetNamespace added in v1.101.0

func (o *CloudRouteTable) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudRouteTable) GetNativeID added in v1.101.0

func (o *CloudRouteTable) GetNativeID() string

GetNativeID returns the NativeID of the receiver.

func (*CloudRouteTable) GetNormalizedTags added in v1.101.0

func (o *CloudRouteTable) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudRouteTable) GetPolicyReferences added in v1.101.0

func (o *CloudRouteTable) GetPolicyReferences() []string

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*CloudRouteTable) GetProtected added in v1.101.0

func (o *CloudRouteTable) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudRouteTable) GetRegionName added in v1.101.0

func (o *CloudRouteTable) GetRegionName() string

GetRegionName returns the RegionName of the receiver.

func (*CloudRouteTable) GetResourceID added in v1.101.0

func (o *CloudRouteTable) GetResourceID() int

GetResourceID returns the ResourceID of the receiver.

func (*CloudRouteTable) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudRouteTable) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudRouteTable) GetUpdateTime added in v1.101.0

func (o *CloudRouteTable) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudRouteTable) GetVPCID added in v1.101.0

func (o *CloudRouteTable) GetVPCID() string

GetVPCID returns the VPCID of the receiver.

func (*CloudRouteTable) GetZHash added in v1.101.0

func (o *CloudRouteTable) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudRouteTable) GetZone added in v1.101.0

func (o *CloudRouteTable) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudRouteTable) Identifier added in v1.101.0

func (o *CloudRouteTable) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudRouteTable) Identity added in v1.101.0

func (o *CloudRouteTable) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudRouteTable) Patch added in v1.101.0

func (o *CloudRouteTable) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudRouteTable to the object.

func (*CloudRouteTable) SetAPIID added in v1.101.0

func (o *CloudRouteTable) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the given value.

func (*CloudRouteTable) SetAccountID added in v1.101.0

func (o *CloudRouteTable) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the given value.

func (*CloudRouteTable) SetAnnotations added in v1.101.0

func (o *CloudRouteTable) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudRouteTable) SetAssociatedTags added in v1.101.0

func (o *CloudRouteTable) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudRouteTable) SetBSON added in v1.101.0

func (o *CloudRouteTable) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudRouteTable) SetCloudTags added in v1.101.0

func (o *CloudRouteTable) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the given value.

func (*CloudRouteTable) SetCloudType added in v1.101.0

func (o *CloudRouteTable) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the given value.

func (*CloudRouteTable) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudRouteTable) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudRouteTable) SetCreateTime added in v1.101.0

func (o *CloudRouteTable) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudRouteTable) SetCustomerID added in v1.101.0

func (o *CloudRouteTable) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the given value.

func (*CloudRouteTable) SetIdentifier added in v1.101.0

func (o *CloudRouteTable) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudRouteTable) SetIngestionTime added in v1.101.0

func (o *CloudRouteTable) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the given value.

func (*CloudRouteTable) SetMigrationsLog added in v1.101.0

func (o *CloudRouteTable) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudRouteTable) SetName added in v1.101.0

func (o *CloudRouteTable) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudRouteTable) SetNamespace added in v1.101.0

func (o *CloudRouteTable) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudRouteTable) SetNativeID added in v1.101.0

func (o *CloudRouteTable) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the given value.

func (*CloudRouteTable) SetNormalizedTags added in v1.101.0

func (o *CloudRouteTable) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudRouteTable) SetPolicyReferences added in v1.101.0

func (o *CloudRouteTable) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the given value.

func (*CloudRouteTable) SetProtected added in v1.101.0

func (o *CloudRouteTable) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudRouteTable) SetRegionName added in v1.101.0

func (o *CloudRouteTable) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the given value.

func (*CloudRouteTable) SetResourceID added in v1.101.0

func (o *CloudRouteTable) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the given value.

func (*CloudRouteTable) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudRouteTable) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudRouteTable) SetUpdateTime added in v1.101.0

func (o *CloudRouteTable) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudRouteTable) SetVPCID added in v1.101.0

func (o *CloudRouteTable) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the given value.

func (*CloudRouteTable) SetZHash added in v1.101.0

func (o *CloudRouteTable) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudRouteTable) SetZone added in v1.101.0

func (o *CloudRouteTable) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudRouteTable) SpecificationForAttribute added in v1.101.0

func (*CloudRouteTable) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudRouteTable) String added in v1.101.0

func (o *CloudRouteTable) String() string

func (*CloudRouteTable) ToSparse added in v1.101.0

func (o *CloudRouteTable) 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 (*CloudRouteTable) Validate added in v1.101.0

func (o *CloudRouteTable) Validate() error

Validate valides the current information stored into the structure.

func (*CloudRouteTable) ValueForAttribute added in v1.101.0

func (o *CloudRouteTable) ValueForAttribute(name string) interface{}

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 (*CloudRouteTable) Version added in v1.101.0

func (o *CloudRouteTable) Version() int

Version returns the hardcoded version of the model.

type CloudRouteTablesList added in v1.101.0

type CloudRouteTablesList []*CloudRouteTable

CloudRouteTablesList represents a list of CloudRouteTables

func (CloudRouteTablesList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudRouteTablesList.

func (CloudRouteTablesList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudRouteTablesList.

func (CloudRouteTablesList) DefaultOrder added in v1.101.0

func (o CloudRouteTablesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudRouteTablesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (CloudRouteTablesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudRouteTablesList) ToSparse added in v1.101.0

func (o CloudRouteTablesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudRouteTablesList converted to SparseCloudRouteTablesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudRouteTablesList) Version added in v1.101.0

func (o CloudRouteTablesList) Version() int

Version returns the version of the content.

type CloudScheduledNetworkQueriesList added in v1.103.0

type CloudScheduledNetworkQueriesList []*CloudScheduledNetworkQuery

CloudScheduledNetworkQueriesList represents a list of CloudScheduledNetworkQueries

func (CloudScheduledNetworkQueriesList) Append added in v1.103.0

Append appends the objects to the a new copy of the CloudScheduledNetworkQueriesList.

func (CloudScheduledNetworkQueriesList) Copy added in v1.103.0

Copy returns a pointer to a copy the CloudScheduledNetworkQueriesList.

func (CloudScheduledNetworkQueriesList) DefaultOrder added in v1.103.0

func (o CloudScheduledNetworkQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudScheduledNetworkQueriesList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (CloudScheduledNetworkQueriesList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (CloudScheduledNetworkQueriesList) ToSparse added in v1.103.0

ToSparse returns the CloudScheduledNetworkQueriesList converted to SparseCloudScheduledNetworkQueriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudScheduledNetworkQueriesList) Version added in v1.103.0

Version returns the version of the content.

type CloudScheduledNetworkQuery added in v1.103.0

type CloudScheduledNetworkQuery struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// The result of the cloud network query.
	CloudGraphResult *CloudGraph `json:"cloudGraphResult" msgpack:"cloudGraphResult" bson:"-" mapstructure:"cloudGraphResult,omitempty"`

	// The cloud network query that should be used.
	CloudNetworkQuery *CloudNetworkQuery `json:"cloudNetworkQuery" msgpack:"cloudNetworkQuery" bson:"cloudnetworkquery" mapstructure:"cloudNetworkQuery,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Represents whether the associated policy was disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Result of the last successfully run query.
	LastExecutionTimestamp time.Time `` /* 140-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Prisma Cloud Alert Rule ID.
	PrismaCloudAlertRuleID string `` /* 140-byte string literal not displayed */

	// Prisma Cloud Policy ID.
	PrismaCloudPolicyID string `` /* 128-byte string literal not displayed */

	// Prisma ID of the tenant in which the Alert Rule is created.
	TenantPrismaID string `json:"tenantPrismaID" msgpack:"tenantPrismaID" bson:"tenantprismaid" mapstructure:"tenantPrismaID,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudScheduledNetworkQuery represents the model of a cloudschedulednetworkquery

func NewCloudScheduledNetworkQuery added in v1.103.0

func NewCloudScheduledNetworkQuery() *CloudScheduledNetworkQuery

NewCloudScheduledNetworkQuery returns a new *CloudScheduledNetworkQuery

func (*CloudScheduledNetworkQuery) AttributeSpecifications added in v1.103.0

func (*CloudScheduledNetworkQuery) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudScheduledNetworkQuery) BleveType added in v1.103.0

func (o *CloudScheduledNetworkQuery) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudScheduledNetworkQuery) DeepCopy added in v1.103.0

DeepCopy returns a deep copy if the CloudScheduledNetworkQuery.

func (*CloudScheduledNetworkQuery) DeepCopyInto added in v1.103.0

DeepCopyInto copies the receiver into the given *CloudScheduledNetworkQuery.

func (*CloudScheduledNetworkQuery) DefaultOrder added in v1.103.0

func (o *CloudScheduledNetworkQuery) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudScheduledNetworkQuery) Doc added in v1.103.0

Doc returns the documentation for the object

func (*CloudScheduledNetworkQuery) GetBSON added in v1.103.0

func (o *CloudScheduledNetworkQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudScheduledNetworkQuery) GetCreateTime added in v1.103.0

func (o *CloudScheduledNetworkQuery) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudScheduledNetworkQuery) GetMigrationsLog added in v1.103.0

func (o *CloudScheduledNetworkQuery) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudScheduledNetworkQuery) GetNamespace added in v1.103.0

func (o *CloudScheduledNetworkQuery) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudScheduledNetworkQuery) GetUpdateTime added in v1.103.0

func (o *CloudScheduledNetworkQuery) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudScheduledNetworkQuery) GetZHash added in v1.103.0

func (o *CloudScheduledNetworkQuery) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudScheduledNetworkQuery) GetZone added in v1.103.0

func (o *CloudScheduledNetworkQuery) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudScheduledNetworkQuery) Identifier added in v1.103.0

func (o *CloudScheduledNetworkQuery) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudScheduledNetworkQuery) Identity added in v1.103.0

Identity returns the Identity of the object.

func (*CloudScheduledNetworkQuery) Patch added in v1.103.0

Patch apply the non nil value of a *SparseCloudScheduledNetworkQuery to the object.

func (*CloudScheduledNetworkQuery) SetBSON added in v1.103.0

func (o *CloudScheduledNetworkQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudScheduledNetworkQuery) SetCreateTime added in v1.103.0

func (o *CloudScheduledNetworkQuery) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudScheduledNetworkQuery) SetIdentifier added in v1.103.0

func (o *CloudScheduledNetworkQuery) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudScheduledNetworkQuery) SetMigrationsLog added in v1.103.0

func (o *CloudScheduledNetworkQuery) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudScheduledNetworkQuery) SetNamespace added in v1.103.0

func (o *CloudScheduledNetworkQuery) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudScheduledNetworkQuery) SetUpdateTime added in v1.103.0

func (o *CloudScheduledNetworkQuery) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudScheduledNetworkQuery) SetZHash added in v1.103.0

func (o *CloudScheduledNetworkQuery) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudScheduledNetworkQuery) SetZone added in v1.103.0

func (o *CloudScheduledNetworkQuery) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudScheduledNetworkQuery) SpecificationForAttribute added in v1.103.0

func (*CloudScheduledNetworkQuery) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudScheduledNetworkQuery) String added in v1.103.0

func (o *CloudScheduledNetworkQuery) String() string

func (*CloudScheduledNetworkQuery) ToSparse added in v1.103.0

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*CloudScheduledNetworkQuery) Validate added in v1.103.0

func (o *CloudScheduledNetworkQuery) Validate() error

Validate valides the current information stored into the structure.

func (*CloudScheduledNetworkQuery) ValueForAttribute added in v1.103.0

func (o *CloudScheduledNetworkQuery) ValueForAttribute(name string) interface{}

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 (*CloudScheduledNetworkQuery) Version added in v1.103.0

func (o *CloudScheduledNetworkQuery) Version() int

Version returns the hardcoded version of the model.

type CloudSnapshotAccount added in v1.101.0

type CloudSnapshotAccount struct {
	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// The cloud type for the account.
	CloudType CloudSnapshotAccountCloudTypeValue `json:"cloudType" msgpack:"cloudType" bson:"-" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// The name of the account.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudSnapshotAccount represents the model of a cloudsnapshotaccount

func NewCloudSnapshotAccount added in v1.101.0

func NewCloudSnapshotAccount() *CloudSnapshotAccount

NewCloudSnapshotAccount returns a new *CloudSnapshotAccount

func (*CloudSnapshotAccount) AttributeSpecifications added in v1.101.0

func (*CloudSnapshotAccount) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudSnapshotAccount) BleveType added in v1.101.0

func (o *CloudSnapshotAccount) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudSnapshotAccount) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the CloudSnapshotAccount.

func (*CloudSnapshotAccount) DeepCopyInto added in v1.101.0

func (o *CloudSnapshotAccount) DeepCopyInto(out *CloudSnapshotAccount)

DeepCopyInto copies the receiver into the given *CloudSnapshotAccount.

func (*CloudSnapshotAccount) DefaultOrder added in v1.101.0

func (o *CloudSnapshotAccount) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudSnapshotAccount) Doc added in v1.101.0

func (o *CloudSnapshotAccount) Doc() string

Doc returns the documentation for the object

func (*CloudSnapshotAccount) GetAnnotations added in v1.101.0

func (o *CloudSnapshotAccount) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudSnapshotAccount) GetAssociatedTags added in v1.101.0

func (o *CloudSnapshotAccount) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudSnapshotAccount) GetBSON added in v1.101.0

func (o *CloudSnapshotAccount) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudSnapshotAccount) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudSnapshotAccount) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudSnapshotAccount) GetNamespace added in v1.101.0

func (o *CloudSnapshotAccount) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudSnapshotAccount) GetNormalizedTags added in v1.101.0

func (o *CloudSnapshotAccount) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudSnapshotAccount) GetProtected added in v1.101.0

func (o *CloudSnapshotAccount) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudSnapshotAccount) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudSnapshotAccount) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudSnapshotAccount) Identifier added in v1.101.0

func (o *CloudSnapshotAccount) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudSnapshotAccount) Identity added in v1.101.0

func (o *CloudSnapshotAccount) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudSnapshotAccount) Patch added in v1.101.0

Patch apply the non nil value of a *SparseCloudSnapshotAccount to the object.

func (*CloudSnapshotAccount) SetAnnotations added in v1.101.0

func (o *CloudSnapshotAccount) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudSnapshotAccount) SetAssociatedTags added in v1.101.0

func (o *CloudSnapshotAccount) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudSnapshotAccount) SetBSON added in v1.101.0

func (o *CloudSnapshotAccount) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudSnapshotAccount) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudSnapshotAccount) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudSnapshotAccount) SetIdentifier added in v1.101.0

func (o *CloudSnapshotAccount) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudSnapshotAccount) SetNamespace added in v1.101.0

func (o *CloudSnapshotAccount) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudSnapshotAccount) SetNormalizedTags added in v1.101.0

func (o *CloudSnapshotAccount) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudSnapshotAccount) SetProtected added in v1.101.0

func (o *CloudSnapshotAccount) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudSnapshotAccount) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudSnapshotAccount) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudSnapshotAccount) SpecificationForAttribute added in v1.101.0

func (*CloudSnapshotAccount) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudSnapshotAccount) String added in v1.101.0

func (o *CloudSnapshotAccount) String() string

func (*CloudSnapshotAccount) ToSparse added in v1.101.0

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*CloudSnapshotAccount) Validate added in v1.101.0

func (o *CloudSnapshotAccount) Validate() error

Validate valides the current information stored into the structure.

func (*CloudSnapshotAccount) ValueForAttribute added in v1.101.0

func (o *CloudSnapshotAccount) ValueForAttribute(name string) interface{}

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 (*CloudSnapshotAccount) Version added in v1.101.0

func (o *CloudSnapshotAccount) Version() int

Version returns the hardcoded version of the model.

type CloudSnapshotAccountCloudTypeValue added in v1.101.0

type CloudSnapshotAccountCloudTypeValue string

CloudSnapshotAccountCloudTypeValue represents the possible values for attribute "cloudType".

const (
	// CloudSnapshotAccountCloudTypeAWS represents the value AWS.
	CloudSnapshotAccountCloudTypeAWS CloudSnapshotAccountCloudTypeValue = "AWS"

	// CloudSnapshotAccountCloudTypeGCP represents the value GCP.
	CloudSnapshotAccountCloudTypeGCP CloudSnapshotAccountCloudTypeValue = "GCP"
)

type CloudSnapshotAccountsList added in v1.101.0

type CloudSnapshotAccountsList []*CloudSnapshotAccount

CloudSnapshotAccountsList represents a list of CloudSnapshotAccounts

func (CloudSnapshotAccountsList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudSnapshotAccountsList.

func (CloudSnapshotAccountsList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudSnapshotAccountsList.

func (CloudSnapshotAccountsList) DefaultOrder added in v1.101.0

func (o CloudSnapshotAccountsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudSnapshotAccountsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (CloudSnapshotAccountsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudSnapshotAccountsList) ToSparse added in v1.101.0

ToSparse returns the CloudSnapshotAccountsList converted to SparseCloudSnapshotAccountsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudSnapshotAccountsList) Version added in v1.101.0

func (o CloudSnapshotAccountsList) Version() int

Version returns the version of the content.

type CloudSubnet added in v1.101.0

type CloudSubnet struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags []string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"nativeid" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Subnet related parameters.
	Parameters *CloudSubnetData `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences []string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudSubnet represents the model of a cloudsubnet

func NewCloudSubnet added in v1.101.0

func NewCloudSubnet() *CloudSubnet

NewCloudSubnet returns a new *CloudSubnet

func (*CloudSubnet) AttributeSpecifications added in v1.101.0

func (*CloudSubnet) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudSubnet) BleveType added in v1.101.0

func (o *CloudSubnet) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudSubnet) DeepCopy added in v1.101.0

func (o *CloudSubnet) DeepCopy() *CloudSubnet

DeepCopy returns a deep copy if the CloudSubnet.

func (*CloudSubnet) DeepCopyInto added in v1.101.0

func (o *CloudSubnet) DeepCopyInto(out *CloudSubnet)

DeepCopyInto copies the receiver into the given *CloudSubnet.

func (*CloudSubnet) DefaultOrder added in v1.101.0

func (o *CloudSubnet) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudSubnet) Doc added in v1.101.0

func (o *CloudSubnet) Doc() string

Doc returns the documentation for the object

func (*CloudSubnet) GetAPIID added in v1.101.0

func (o *CloudSubnet) GetAPIID() int

GetAPIID returns the APIID of the receiver.

func (*CloudSubnet) GetAccountID added in v1.101.0

func (o *CloudSubnet) GetAccountID() string

GetAccountID returns the AccountID of the receiver.

func (*CloudSubnet) GetAnnotations added in v1.101.0

func (o *CloudSubnet) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudSubnet) GetAssociatedTags added in v1.101.0

func (o *CloudSubnet) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudSubnet) GetBSON added in v1.101.0

func (o *CloudSubnet) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudSubnet) GetCloudTags added in v1.101.0

func (o *CloudSubnet) GetCloudTags() []string

GetCloudTags returns the CloudTags of the receiver.

func (*CloudSubnet) GetCloudType added in v1.101.0

func (o *CloudSubnet) GetCloudType() string

GetCloudType returns the CloudType of the receiver.

func (*CloudSubnet) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudSubnet) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudSubnet) GetCreateTime added in v1.101.0

func (o *CloudSubnet) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudSubnet) GetCustomerID added in v1.101.0

func (o *CloudSubnet) GetCustomerID() int

GetCustomerID returns the CustomerID of the receiver.

func (*CloudSubnet) GetIngestionTime added in v1.101.0

func (o *CloudSubnet) GetIngestionTime() time.Time

GetIngestionTime returns the IngestionTime of the receiver.

func (*CloudSubnet) GetMigrationsLog added in v1.101.0

func (o *CloudSubnet) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudSubnet) GetName added in v1.101.0

func (o *CloudSubnet) GetName() string

GetName returns the Name of the receiver.

func (*CloudSubnet) GetNamespace added in v1.101.0

func (o *CloudSubnet) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudSubnet) GetNativeID added in v1.101.0

func (o *CloudSubnet) GetNativeID() string

GetNativeID returns the NativeID of the receiver.

func (*CloudSubnet) GetNormalizedTags added in v1.101.0

func (o *CloudSubnet) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudSubnet) GetPolicyReferences added in v1.101.0

func (o *CloudSubnet) GetPolicyReferences() []string

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*CloudSubnet) GetProtected added in v1.101.0

func (o *CloudSubnet) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudSubnet) GetRegionName added in v1.101.0

func (o *CloudSubnet) GetRegionName() string

GetRegionName returns the RegionName of the receiver.

func (*CloudSubnet) GetResourceID added in v1.101.0

func (o *CloudSubnet) GetResourceID() int

GetResourceID returns the ResourceID of the receiver.

func (*CloudSubnet) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudSubnet) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudSubnet) GetUpdateTime added in v1.101.0

func (o *CloudSubnet) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudSubnet) GetVPCID added in v1.101.0

func (o *CloudSubnet) GetVPCID() string

GetVPCID returns the VPCID of the receiver.

func (*CloudSubnet) GetZHash added in v1.101.0

func (o *CloudSubnet) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudSubnet) GetZone added in v1.101.0

func (o *CloudSubnet) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudSubnet) Identifier added in v1.101.0

func (o *CloudSubnet) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudSubnet) Identity added in v1.101.0

func (o *CloudSubnet) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudSubnet) Patch added in v1.101.0

func (o *CloudSubnet) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudSubnet to the object.

func (*CloudSubnet) SetAPIID added in v1.101.0

func (o *CloudSubnet) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the given value.

func (*CloudSubnet) SetAccountID added in v1.101.0

func (o *CloudSubnet) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the given value.

func (*CloudSubnet) SetAnnotations added in v1.101.0

func (o *CloudSubnet) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudSubnet) SetAssociatedTags added in v1.101.0

func (o *CloudSubnet) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudSubnet) SetBSON added in v1.101.0

func (o *CloudSubnet) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudSubnet) SetCloudTags added in v1.101.0

func (o *CloudSubnet) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the given value.

func (*CloudSubnet) SetCloudType added in v1.101.0

func (o *CloudSubnet) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the given value.

func (*CloudSubnet) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudSubnet) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudSubnet) SetCreateTime added in v1.101.0

func (o *CloudSubnet) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudSubnet) SetCustomerID added in v1.101.0

func (o *CloudSubnet) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the given value.

func (*CloudSubnet) SetIdentifier added in v1.101.0

func (o *CloudSubnet) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudSubnet) SetIngestionTime added in v1.101.0

func (o *CloudSubnet) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the given value.

func (*CloudSubnet) SetMigrationsLog added in v1.101.0

func (o *CloudSubnet) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudSubnet) SetName added in v1.101.0

func (o *CloudSubnet) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudSubnet) SetNamespace added in v1.101.0

func (o *CloudSubnet) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudSubnet) SetNativeID added in v1.101.0

func (o *CloudSubnet) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the given value.

func (*CloudSubnet) SetNormalizedTags added in v1.101.0

func (o *CloudSubnet) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudSubnet) SetPolicyReferences added in v1.101.0

func (o *CloudSubnet) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the given value.

func (*CloudSubnet) SetProtected added in v1.101.0

func (o *CloudSubnet) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudSubnet) SetRegionName added in v1.101.0

func (o *CloudSubnet) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the given value.

func (*CloudSubnet) SetResourceID added in v1.101.0

func (o *CloudSubnet) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the given value.

func (*CloudSubnet) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudSubnet) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudSubnet) SetUpdateTime added in v1.101.0

func (o *CloudSubnet) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudSubnet) SetVPCID added in v1.101.0

func (o *CloudSubnet) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the given value.

func (*CloudSubnet) SetZHash added in v1.101.0

func (o *CloudSubnet) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudSubnet) SetZone added in v1.101.0

func (o *CloudSubnet) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudSubnet) SpecificationForAttribute added in v1.101.0

func (*CloudSubnet) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudSubnet) String added in v1.101.0

func (o *CloudSubnet) String() string

func (*CloudSubnet) ToSparse added in v1.101.0

func (o *CloudSubnet) 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 (*CloudSubnet) Validate added in v1.101.0

func (o *CloudSubnet) Validate() error

Validate valides the current information stored into the structure.

func (*CloudSubnet) ValueForAttribute added in v1.101.0

func (o *CloudSubnet) ValueForAttribute(name string) interface{}

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 (*CloudSubnet) Version added in v1.101.0

func (o *CloudSubnet) Version() int

Version returns the hardcoded version of the model.

type CloudSubnetData added in v1.101.0

type CloudSubnetData struct {
	// Address CIDR of the Subnet.
	Address string `json:"address" msgpack:"address" bson:"address" mapstructure:"address,omitempty"`

	// The availability zone ID of the subnet.
	ZoneID string `json:"zoneID" msgpack:"zoneID" bson:"zoneid" mapstructure:"zoneID,omitempty"`

	// The availability zone of the subnet.
	ZoneName string `json:"zoneName" msgpack:"zoneName" bson:"zonename" mapstructure:"zoneName,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudSubnetData represents the model of a cloudsubnetdata

func NewCloudSubnetData added in v1.101.0

func NewCloudSubnetData() *CloudSubnetData

NewCloudSubnetData returns a new *CloudSubnetData

func (*CloudSubnetData) BleveType added in v1.101.0

func (o *CloudSubnetData) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudSubnetData) DeepCopy added in v1.101.0

func (o *CloudSubnetData) DeepCopy() *CloudSubnetData

DeepCopy returns a deep copy if the CloudSubnetData.

func (*CloudSubnetData) DeepCopyInto added in v1.101.0

func (o *CloudSubnetData) DeepCopyInto(out *CloudSubnetData)

DeepCopyInto copies the receiver into the given *CloudSubnetData.

func (*CloudSubnetData) GetBSON added in v1.101.0

func (o *CloudSubnetData) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudSubnetData) SetBSON added in v1.101.0

func (o *CloudSubnetData) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudSubnetData) Validate added in v1.101.0

func (o *CloudSubnetData) Validate() error

Validate valides the current information stored into the structure.

type CloudSubnetsList added in v1.101.0

type CloudSubnetsList []*CloudSubnet

CloudSubnetsList represents a list of CloudSubnets

func (CloudSubnetsList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudSubnetsList.

func (CloudSubnetsList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudSubnetsList.

func (CloudSubnetsList) DefaultOrder added in v1.101.0

func (o CloudSubnetsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudSubnetsList) Identity added in v1.101.0

func (o CloudSubnetsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CloudSubnetsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudSubnetsList) ToSparse added in v1.101.0

func (o CloudSubnetsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudSubnetsList converted to SparseCloudSubnetsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudSubnetsList) Version added in v1.101.0

func (o CloudSubnetsList) Version() int

Version returns the version of the content.

type CloudVPC added in v1.101.0

type CloudVPC struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags []string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID string `json:"nativeID" msgpack:"nativeID" bson:"nativeid" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// VPC related parameters.
	Parameters *CloudVPCData `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences []string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudVPC represents the model of a cloudvpc

func NewCloudVPC added in v1.101.0

func NewCloudVPC() *CloudVPC

NewCloudVPC returns a new *CloudVPC

func (*CloudVPC) AttributeSpecifications added in v1.101.0

func (*CloudVPC) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CloudVPC) BleveType added in v1.101.0

func (o *CloudVPC) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudVPC) DeepCopy added in v1.101.0

func (o *CloudVPC) DeepCopy() *CloudVPC

DeepCopy returns a deep copy if the CloudVPC.

func (*CloudVPC) DeepCopyInto added in v1.101.0

func (o *CloudVPC) DeepCopyInto(out *CloudVPC)

DeepCopyInto copies the receiver into the given *CloudVPC.

func (*CloudVPC) DefaultOrder added in v1.101.0

func (o *CloudVPC) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CloudVPC) Doc added in v1.101.0

func (o *CloudVPC) Doc() string

Doc returns the documentation for the object

func (*CloudVPC) GetAPIID added in v1.101.0

func (o *CloudVPC) GetAPIID() int

GetAPIID returns the APIID of the receiver.

func (*CloudVPC) GetAccountID added in v1.101.0

func (o *CloudVPC) GetAccountID() string

GetAccountID returns the AccountID of the receiver.

func (*CloudVPC) GetAnnotations added in v1.101.0

func (o *CloudVPC) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*CloudVPC) GetAssociatedTags added in v1.101.0

func (o *CloudVPC) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*CloudVPC) GetBSON added in v1.101.0

func (o *CloudVPC) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudVPC) GetCloudTags added in v1.101.0

func (o *CloudVPC) GetCloudTags() []string

GetCloudTags returns the CloudTags of the receiver.

func (*CloudVPC) GetCloudType added in v1.101.0

func (o *CloudVPC) GetCloudType() string

GetCloudType returns the CloudType of the receiver.

func (*CloudVPC) GetCreateIdempotencyKey added in v1.101.0

func (o *CloudVPC) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*CloudVPC) GetCreateTime added in v1.101.0

func (o *CloudVPC) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*CloudVPC) GetCustomerID added in v1.101.0

func (o *CloudVPC) GetCustomerID() int

GetCustomerID returns the CustomerID of the receiver.

func (*CloudVPC) GetIngestionTime added in v1.101.0

func (o *CloudVPC) GetIngestionTime() time.Time

GetIngestionTime returns the IngestionTime of the receiver.

func (*CloudVPC) GetMigrationsLog added in v1.101.0

func (o *CloudVPC) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CloudVPC) GetName added in v1.101.0

func (o *CloudVPC) GetName() string

GetName returns the Name of the receiver.

func (*CloudVPC) GetNamespace added in v1.101.0

func (o *CloudVPC) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CloudVPC) GetNativeID added in v1.101.0

func (o *CloudVPC) GetNativeID() string

GetNativeID returns the NativeID of the receiver.

func (*CloudVPC) GetNormalizedTags added in v1.101.0

func (o *CloudVPC) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*CloudVPC) GetPolicyReferences added in v1.101.0

func (o *CloudVPC) GetPolicyReferences() []string

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*CloudVPC) GetProtected added in v1.101.0

func (o *CloudVPC) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*CloudVPC) GetRegionName added in v1.101.0

func (o *CloudVPC) GetRegionName() string

GetRegionName returns the RegionName of the receiver.

func (*CloudVPC) GetResourceID added in v1.101.0

func (o *CloudVPC) GetResourceID() int

GetResourceID returns the ResourceID of the receiver.

func (*CloudVPC) GetUpdateIdempotencyKey added in v1.101.0

func (o *CloudVPC) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*CloudVPC) GetUpdateTime added in v1.101.0

func (o *CloudVPC) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*CloudVPC) GetVPCID added in v1.101.0

func (o *CloudVPC) GetVPCID() string

GetVPCID returns the VPCID of the receiver.

func (*CloudVPC) GetZHash added in v1.101.0

func (o *CloudVPC) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CloudVPC) GetZone added in v1.101.0

func (o *CloudVPC) GetZone() int

GetZone returns the Zone of the receiver.

func (*CloudVPC) Identifier added in v1.101.0

func (o *CloudVPC) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CloudVPC) Identity added in v1.101.0

func (o *CloudVPC) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CloudVPC) Patch added in v1.101.0

func (o *CloudVPC) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCloudVPC to the object.

func (*CloudVPC) SetAPIID added in v1.101.0

func (o *CloudVPC) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the given value.

func (*CloudVPC) SetAccountID added in v1.101.0

func (o *CloudVPC) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the given value.

func (*CloudVPC) SetAnnotations added in v1.101.0

func (o *CloudVPC) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*CloudVPC) SetAssociatedTags added in v1.101.0

func (o *CloudVPC) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*CloudVPC) SetBSON added in v1.101.0

func (o *CloudVPC) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudVPC) SetCloudTags added in v1.101.0

func (o *CloudVPC) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the given value.

func (*CloudVPC) SetCloudType added in v1.101.0

func (o *CloudVPC) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the given value.

func (*CloudVPC) SetCreateIdempotencyKey added in v1.101.0

func (o *CloudVPC) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*CloudVPC) SetCreateTime added in v1.101.0

func (o *CloudVPC) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*CloudVPC) SetCustomerID added in v1.101.0

func (o *CloudVPC) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the given value.

func (*CloudVPC) SetIdentifier added in v1.101.0

func (o *CloudVPC) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CloudVPC) SetIngestionTime added in v1.101.0

func (o *CloudVPC) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the given value.

func (*CloudVPC) SetMigrationsLog added in v1.101.0

func (o *CloudVPC) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CloudVPC) SetName added in v1.101.0

func (o *CloudVPC) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*CloudVPC) SetNamespace added in v1.101.0

func (o *CloudVPC) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CloudVPC) SetNativeID added in v1.101.0

func (o *CloudVPC) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the given value.

func (*CloudVPC) SetNormalizedTags added in v1.101.0

func (o *CloudVPC) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*CloudVPC) SetPolicyReferences added in v1.101.0

func (o *CloudVPC) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the given value.

func (*CloudVPC) SetProtected added in v1.101.0

func (o *CloudVPC) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*CloudVPC) SetRegionName added in v1.101.0

func (o *CloudVPC) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the given value.

func (*CloudVPC) SetResourceID added in v1.101.0

func (o *CloudVPC) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the given value.

func (*CloudVPC) SetUpdateIdempotencyKey added in v1.101.0

func (o *CloudVPC) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*CloudVPC) SetUpdateTime added in v1.101.0

func (o *CloudVPC) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*CloudVPC) SetVPCID added in v1.101.0

func (o *CloudVPC) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the given value.

func (*CloudVPC) SetZHash added in v1.101.0

func (o *CloudVPC) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CloudVPC) SetZone added in v1.101.0

func (o *CloudVPC) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CloudVPC) SpecificationForAttribute added in v1.101.0

func (*CloudVPC) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CloudVPC) String added in v1.101.0

func (o *CloudVPC) String() string

func (*CloudVPC) ToSparse added in v1.101.0

func (o *CloudVPC) 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 (*CloudVPC) Validate added in v1.101.0

func (o *CloudVPC) Validate() error

Validate valides the current information stored into the structure.

func (*CloudVPC) ValueForAttribute added in v1.101.0

func (o *CloudVPC) ValueForAttribute(name string) interface{}

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 (*CloudVPC) Version added in v1.101.0

func (o *CloudVPC) Version() int

Version returns the hardcoded version of the model.

type CloudVPCData added in v1.101.0

type CloudVPCData struct {
	// Address CIDR of the VPC.
	Address string `json:"address" msgpack:"address" bson:"address" mapstructure:"address,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CloudVPCData represents the model of a cloudvpcdata

func NewCloudVPCData added in v1.101.0

func NewCloudVPCData() *CloudVPCData

NewCloudVPCData returns a new *CloudVPCData

func (*CloudVPCData) BleveType added in v1.101.0

func (o *CloudVPCData) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CloudVPCData) DeepCopy added in v1.101.0

func (o *CloudVPCData) DeepCopy() *CloudVPCData

DeepCopy returns a deep copy if the CloudVPCData.

func (*CloudVPCData) DeepCopyInto added in v1.101.0

func (o *CloudVPCData) DeepCopyInto(out *CloudVPCData)

DeepCopyInto copies the receiver into the given *CloudVPCData.

func (*CloudVPCData) GetBSON added in v1.101.0

func (o *CloudVPCData) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudVPCData) SetBSON added in v1.101.0

func (o *CloudVPCData) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CloudVPCData) Validate added in v1.101.0

func (o *CloudVPCData) Validate() error

Validate valides the current information stored into the structure.

type CloudVPCsList added in v1.101.0

type CloudVPCsList []*CloudVPC

CloudVPCsList represents a list of CloudVPCs

func (CloudVPCsList) Append added in v1.101.0

Append appends the objects to the a new copy of the CloudVPCsList.

func (CloudVPCsList) Copy added in v1.101.0

Copy returns a pointer to a copy the CloudVPCsList.

func (CloudVPCsList) DefaultOrder added in v1.101.0

func (o CloudVPCsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CloudVPCsList) Identity added in v1.101.0

func (o CloudVPCsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CloudVPCsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (CloudVPCsList) ToSparse added in v1.101.0

func (o CloudVPCsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CloudVPCsList converted to SparseCloudVPCsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CloudVPCsList) Version added in v1.101.0

func (o CloudVPCsList) Version() int

Version returns the version of the content.

type Comment

type Comment struct {
	// The claims of the author.
	Claims []string `json:"claims" msgpack:"claims" bson:"claims" mapstructure:"claims,omitempty"`

	// The content of the comment.
	Content string `json:"content" msgpack:"content" bson:"content" mapstructure:"content,omitempty"`

	// The date of the comment.
	Date time.Time `json:"date" msgpack:"date" bson:"date" mapstructure:"date,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Comment represents the model of a comment

func NewComment

func NewComment() *Comment

NewComment returns a new *Comment

func (*Comment) BleveType added in v1.1.0

func (o *Comment) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Comment) DeepCopy

func (o *Comment) DeepCopy() *Comment

DeepCopy returns a deep copy if the Comment.

func (*Comment) DeepCopyInto

func (o *Comment) DeepCopyInto(out *Comment)

DeepCopyInto copies the receiver into the given *Comment.

func (*Comment) GetBSON added in v1.80.0

func (o *Comment) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Comment) SetBSON added in v1.80.0

func (o *Comment) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Comment) Validate

func (o *Comment) Validate() error

Validate valides the current information stored into the structure.

type ConnectionExceptionReport added in v1.94.1

type ConnectionExceptionReport struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Identifier of the destination controller. This should be set in
	// SynAckTransmitted state.
	DestinationController string `` /* 146-byte string literal not displayed */

	// Destination IP address.
	DestinationIP string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"b,omitempty" mapstructure:"destinationIP,omitempty"`

	// Port of the destination.
	DestinationPort int `` /* 128-byte string literal not displayed */

	// ID of the destination processing unit. This should be set in SynAckTransmitted
	// state.
	DestinationProcessingUnitID string `` /* 164-byte string literal not displayed */

	// ID of the enforcer.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"e,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer.
	EnforcerNamespace string `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace of the processing unit that encountered this exception.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"p,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the processing unit encountered this exception.
	ProcessingUnitID string `` /* 131-byte string literal not displayed */

	// Namespace of the processing unit encountered this exception.
	ProcessingUnitNamespace string `` /* 152-byte string literal not displayed */

	// Protocol number.
	Protocol int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"i,omitempty" mapstructure:"protocol,omitempty"`

	// It specifies the reason for the exception.
	Reason string `json:"reason,omitempty" msgpack:"reason,omitempty" bson:"j,omitempty" mapstructure:"reason,omitempty"`

	// Type of the service.
	ServiceType ConnectionExceptionReportServiceTypeValue `json:"serviceType,omitempty" msgpack:"serviceType,omitempty" bson:"o,omitempty" mapstructure:"serviceType,omitempty"`

	// Source IP address.
	SourceIP string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"k,omitempty" mapstructure:"sourceIP,omitempty"`

	// Represents the current state this report was generated.
	State ConnectionExceptionReportStateValue `json:"state" msgpack:"state" bson:"l" mapstructure:"state,omitempty"`

	// Time and date of the report.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"m,omitempty" mapstructure:"timestamp,omitempty"`

	// Number of packets hit.
	Value int `json:"value,omitempty" msgpack:"value,omitempty" bson:"n,omitempty" mapstructure:"value,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ConnectionExceptionReport represents the model of a connectionexceptionreport

func NewConnectionExceptionReport added in v1.94.1

func NewConnectionExceptionReport() *ConnectionExceptionReport

NewConnectionExceptionReport returns a new *ConnectionExceptionReport

func (*ConnectionExceptionReport) AttributeSpecifications added in v1.94.1

func (*ConnectionExceptionReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ConnectionExceptionReport) BleveType added in v1.94.1

func (o *ConnectionExceptionReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ConnectionExceptionReport) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the ConnectionExceptionReport.

func (*ConnectionExceptionReport) DeepCopyInto added in v1.94.1

DeepCopyInto copies the receiver into the given *ConnectionExceptionReport.

func (*ConnectionExceptionReport) DefaultOrder added in v1.94.1

func (o *ConnectionExceptionReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ConnectionExceptionReport) Doc added in v1.94.1

Doc returns the documentation for the object

func (*ConnectionExceptionReport) GetBSON added in v1.94.1

func (o *ConnectionExceptionReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ConnectionExceptionReport) GetMigrationsLog added in v1.94.1

func (o *ConnectionExceptionReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*ConnectionExceptionReport) GetNamespace added in v1.94.1

func (o *ConnectionExceptionReport) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ConnectionExceptionReport) GetZHash added in v1.94.1

func (o *ConnectionExceptionReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ConnectionExceptionReport) GetZone added in v1.94.1

func (o *ConnectionExceptionReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*ConnectionExceptionReport) Identifier added in v1.94.1

func (o *ConnectionExceptionReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ConnectionExceptionReport) Identity added in v1.94.1

Identity returns the Identity of the object.

func (*ConnectionExceptionReport) Patch added in v1.94.1

Patch apply the non nil value of a *SparseConnectionExceptionReport to the object.

func (*ConnectionExceptionReport) SetBSON added in v1.94.1

func (o *ConnectionExceptionReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ConnectionExceptionReport) SetIdentifier added in v1.94.1

func (o *ConnectionExceptionReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ConnectionExceptionReport) SetMigrationsLog added in v1.94.1

func (o *ConnectionExceptionReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*ConnectionExceptionReport) SetNamespace added in v1.94.1

func (o *ConnectionExceptionReport) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ConnectionExceptionReport) SetZHash added in v1.94.1

func (o *ConnectionExceptionReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ConnectionExceptionReport) SetZone added in v1.94.1

func (o *ConnectionExceptionReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ConnectionExceptionReport) SpecificationForAttribute added in v1.94.1

func (*ConnectionExceptionReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ConnectionExceptionReport) String added in v1.94.1

func (o *ConnectionExceptionReport) String() string

func (*ConnectionExceptionReport) ToSparse added in v1.94.1

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ConnectionExceptionReport) Validate added in v1.94.1

func (o *ConnectionExceptionReport) Validate() error

Validate valides the current information stored into the structure.

func (*ConnectionExceptionReport) ValueForAttribute added in v1.94.1

func (o *ConnectionExceptionReport) ValueForAttribute(name string) interface{}

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 (*ConnectionExceptionReport) Version added in v1.94.1

func (o *ConnectionExceptionReport) Version() int

Version returns the hardcoded version of the model.

type ConnectionExceptionReportServiceTypeValue added in v1.94.1

type ConnectionExceptionReportServiceTypeValue string

ConnectionExceptionReportServiceTypeValue represents the possible values for attribute "serviceType".

const (
	// ConnectionExceptionReportServiceTypeHTTP represents the value HTTP.
	ConnectionExceptionReportServiceTypeHTTP ConnectionExceptionReportServiceTypeValue = "HTTP"

	// ConnectionExceptionReportServiceTypeL3 represents the value L3.
	ConnectionExceptionReportServiceTypeL3 ConnectionExceptionReportServiceTypeValue = "L3"

	// ConnectionExceptionReportServiceTypeTCP represents the value TCP.
	ConnectionExceptionReportServiceTypeTCP ConnectionExceptionReportServiceTypeValue = "TCP"
)

type ConnectionExceptionReportStateValue added in v1.94.1

type ConnectionExceptionReportStateValue string

ConnectionExceptionReportStateValue represents the possible values for attribute "state".

const (
	// ConnectionExceptionReportStateAckTransmitted represents the value AckTransmitted.
	ConnectionExceptionReportStateAckTransmitted ConnectionExceptionReportStateValue = "AckTransmitted"

	// ConnectionExceptionReportStateSynAckTransmitted represents the value SynAckTransmitted.
	ConnectionExceptionReportStateSynAckTransmitted ConnectionExceptionReportStateValue = "SynAckTransmitted"

	// ConnectionExceptionReportStateSynTransmitted represents the value SynTransmitted.
	ConnectionExceptionReportStateSynTransmitted ConnectionExceptionReportStateValue = "SynTransmitted"

	// ConnectionExceptionReportStateUnknown represents the value Unknown.
	ConnectionExceptionReportStateUnknown ConnectionExceptionReportStateValue = "Unknown"
)

type ConnectionExceptionReportsList added in v1.94.1

type ConnectionExceptionReportsList []*ConnectionExceptionReport

ConnectionExceptionReportsList represents a list of ConnectionExceptionReports

func (ConnectionExceptionReportsList) Append added in v1.94.1

Append appends the objects to the a new copy of the ConnectionExceptionReportsList.

func (ConnectionExceptionReportsList) Copy added in v1.94.1

Copy returns a pointer to a copy the ConnectionExceptionReportsList.

func (ConnectionExceptionReportsList) DefaultOrder added in v1.94.1

func (o ConnectionExceptionReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ConnectionExceptionReportsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (ConnectionExceptionReportsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (ConnectionExceptionReportsList) ToSparse added in v1.94.1

ToSparse returns the ConnectionExceptionReportsList converted to SparseConnectionExceptionReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ConnectionExceptionReportsList) Version added in v1.94.1

func (o ConnectionExceptionReportsList) Version() int

Version returns the version of the content.

type CounterReport added in v1.29.0

type CounterReport struct {
	// Counter for sending FIN ACK received in unknown connection state.
	AckInUnknownState int `` /* 134-byte string literal not displayed */

	// Counter for ACK packet dropped because of invalid format.
	AckInvalidFormat int `` /* 131-byte string literal not displayed */

	// Counter for ACK packets rejected as per policy.
	AckRejected int `json:"AckRejected,omitempty" msgpack:"AckRejected,omitempty" bson:"c,omitempty" mapstructure:"AckRejected,omitempty"`

	// Counter for ACK packet dropped because signature validation failed.
	AckSigValidationFailed int `` /* 149-byte string literal not displayed */

	// Counter for TCP authentication option not found.
	AckTCPNoTCPAuthOption int `` /* 146-byte string literal not displayed */

	// Counter for connections processed.
	ConnectionsProcessed int `` /* 143-byte string literal not displayed */

	// Counter for unable to find ContextID.
	ContextIDNotFound int `` /* 134-byte string literal not displayed */

	// Counter for no ACLs found for external services. Dropping application SYN
	// packet.
	DroppedExternalService int `` /* 149-byte string literal not displayed */

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Counter for invalid connection state.
	InvalidConnState int `` /* 131-byte string literal not displayed */

	// Counter for invalid net state.
	InvalidNetState int `` /* 128-byte string literal not displayed */

	// Counter for invalid protocol.
	InvalidProtocol int `` /* 128-byte string literal not displayed */

	// Counter for processing unit is already dead - drop SYN ACK packet.
	InvalidSynAck int `json:"InvalidSynAck,omitempty" msgpack:"InvalidSynAck,omitempty" bson:"l,omitempty" mapstructure:"InvalidSynAck,omitempty"`

	// Counter for processing unit mark not found.
	MarkNotFound int `json:"MarkNotFound,omitempty" msgpack:"MarkNotFound,omitempty" bson:"m,omitempty" mapstructure:"MarkNotFound,omitempty"`

	// Counter for network SYN packet was not seen.
	NetSynNotSeen int `json:"NetSynNotSeen,omitempty" msgpack:"NetSynNotSeen,omitempty" bson:"n,omitempty" mapstructure:"NetSynNotSeen,omitempty"`

	// Counter for no context or connection found.
	NoConnFound int `json:"NoConnFound,omitempty" msgpack:"NoConnFound,omitempty" bson:"o,omitempty" mapstructure:"NoConnFound,omitempty"`

	// Counter for traffic that belongs to a non-processing unit process.
	NonPUTraffic int `json:"NonPUTraffic,omitempty" msgpack:"NonPUTraffic,omitempty" bson:"p,omitempty" mapstructure:"NonPUTraffic,omitempty"`

	// Counter for SYN ACK for flow with processed FIN ACK.
	OutOfOrderSynAck int `` /* 131-byte string literal not displayed */

	// Counter for port not found.
	PortNotFound int `json:"PortNotFound,omitempty" msgpack:"PortNotFound,omitempty" bson:"r,omitempty" mapstructure:"PortNotFound,omitempty"`

	// Counter for reject the packet as per policy.
	RejectPacket int `json:"RejectPacket,omitempty" msgpack:"RejectPacket,omitempty" bson:"s,omitempty" mapstructure:"RejectPacket,omitempty"`

	// Counter for post service processing failed for network packet.
	ServicePostprocessorFailed int `` /* 161-byte string literal not displayed */

	// Counter for network packets that failed preprocessing.
	ServicePreprocessorFailed int `` /* 158-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of bad claims.
	SynAckBadClaims int `` /* 128-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of encryption mismatch.
	SynAckClaimsMisMatch int `` /* 143-byte string literal not displayed */

	// Counter for SYN ACK from external service dropped.
	SynAckDroppedExternalService int `` /* 167-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of invalid format.
	SynAckInvalidFormat int `` /* 140-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of no claims.
	SynAckMissingClaims int `` /* 140-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of missing token.
	SynAckMissingToken int `` /* 138-byte string literal not displayed */

	// Counter for TCP authentication option not found.
	SynAckNoTCPAuthOption int `` /* 147-byte string literal not displayed */

	// Counter for dropping because of reject rule on transmitter.
	SynAckRejected int `` /* 126-byte string literal not displayed */

	// Counter for SYN packet dropped because of invalid format.
	SynDroppedInvalidFormat int `` /* 153-byte string literal not displayed */

	// Counter for SYN packet dropped because of invalid token.
	SynDroppedInvalidToken int `` /* 150-byte string literal not displayed */

	// Counter for SYN packet dropped because of no claims.
	SynDroppedNoClaims int `` /* 138-byte string literal not displayed */

	// Counter for TCP authentication option not found.
	SynDroppedTCPOption int `` /* 141-byte string literal not displayed */

	// Counter for SYN packet dropped due to policy.
	SynRejectPacket int `` /* 129-byte string literal not displayed */

	// Counter for received SYN packet from unknown processing unit.
	SynUnexpectedPacket int `` /* 141-byte string literal not displayed */

	// Counter for TCP authentication option not found.
	TCPAuthNotFound int `` /* 129-byte string literal not displayed */

	// Counter for UDP ACK packet dropped due to an invalid signature.
	UDPAckInvalidSignature int `` /* 150-byte string literal not displayed */

	// Counter for number of processed UDP connections.
	UDPConnectionsProcessed int `` /* 153-byte string literal not displayed */

	// Counter for dropped UDP data packets with no context.
	UDPDropContextNotFound int `` /* 150-byte string literal not displayed */

	// Counter for dropped UDP FIN handshake packets.
	UDPDropFin int `json:"UDPDropFin,omitempty" msgpack:"UDPDropFin,omitempty" bson:"ao,omitempty" mapstructure:"UDPDropFin,omitempty"`

	// Counter for dropped UDP in NfQueue.
	UDPDropInNfQueue int `` /* 132-byte string literal not displayed */

	// Counter for dropped UDP data packets with no connection.
	UDPDropNoConnection int `` /* 141-byte string literal not displayed */

	// Counter for dropped UDP data packets.
	UDPDropPacket int `json:"UDPDropPacket,omitempty" msgpack:"UDPDropPacket,omitempty" bson:"ar,omitempty" mapstructure:"UDPDropPacket,omitempty"`

	// Counter for dropped UDP queue full.
	UDPDropQueueFull int `` /* 132-byte string literal not displayed */

	// Counter for dropped UDP SYN ACK handshake packets.
	UDPDropSynAck int `json:"UDPDropSynAck,omitempty" msgpack:"UDPDropSynAck,omitempty" bson:"at,omitempty" mapstructure:"UDPDropSynAck,omitempty"`

	// Counter for UDP packets received in invalid network state.
	UDPInvalidNetState int `` /* 138-byte string literal not displayed */

	// Counter for UDP packets failing postprocessing.
	UDPPostProcessingFailed int `` /* 153-byte string literal not displayed */

	// Counter for UDP packets failing preprocessing.
	UDPPreProcessingFailed int `` /* 150-byte string literal not displayed */

	// Counter for UDP packets dropped due to policy.
	UDPRejected int `json:"UDPRejected,omitempty" msgpack:"UDPRejected,omitempty" bson:"ax,omitempty" mapstructure:"UDPRejected,omitempty"`

	// Counter for UDP SYN ACK packets dropped due to bad claims.
	UDPSynAckDropBadClaims int `` /* 150-byte string literal not displayed */

	// Counter for UDP SYN ACK packets dropped due to missing claims.
	UDPSynAckMissingClaims int `` /* 150-byte string literal not displayed */

	// Counter for UDP SYN ACK packets dropped due to bad claims.
	UDPSynAckPolicy int `` /* 129-byte string literal not displayed */

	// Counter for dropped UDP SYN transmits.
	UDPSynDrop int `json:"UDPSynDrop,omitempty" msgpack:"UDPSynDrop,omitempty" bson:"bb,omitempty" mapstructure:"UDPSynDrop,omitempty"`

	// Counter for dropped UDP SYN policy.
	UDPSynDropPolicy int `` /* 132-byte string literal not displayed */

	// Counter for dropped UDP FIN handshake packets.
	UDPSynInvalidToken int `` /* 138-byte string literal not displayed */

	// Counter for UDP SYN packet dropped due to missing claims.
	UDPSynMissingClaims int `` /* 141-byte string literal not displayed */

	// Counter for unknown error.
	UnknownError int `json:"UnknownError,omitempty" msgpack:"UnknownError,omitempty" bson:"bf,omitempty" mapstructure:"UnknownError,omitempty"`

	// Non-zero counter indicates analyzed connections for unencrypted, encrypted,
	// and packets from endpoint applications with the TCP Fast Open option set. These
	// are not dropped counter.
	ConnectionsAnalyzed int `` /* 141-byte string literal not displayed */

	// Non-zero counter indicates dropped connections because of invalid state,
	// non-processing unit traffic, or out of order packets.
	ConnectionsDropped int `` /* 138-byte string literal not displayed */

	// Non-zero counter indicates expired connections because of response not being
	// received within a certain amount of time after the request is made.
	ConnectionsExpired int `` /* 138-byte string literal not displayed */

	// Non-zero counter indicates dropped packets that did not hit any of our iptables
	// rules and queue drops.
	DroppedPackets int `` /* 126-byte string literal not displayed */

	// Non-zero counter indicates encryption processing failures of data packets.
	EncryptionFailures int `` /* 138-byte string literal not displayed */

	// Identifier of the enforcer sending the report.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"bl,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer sending the report. This field is deprecated. Use the
	// 'namespace' field instead.
	// field instead.
	EnforcerNamespace string `` /* 135-byte string literal not displayed */

	// Non-zero counter indicates connections going to and from external networks.
	// These may be drops or allowed counters.
	ExternalNetworkConnections int `` /* 162-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace of the enforcer sending the report.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"bt,omitempty" mapstructure:"namespace,omitempty"`

	// Non-zero counter indicates packets dropped due to a reject policy.
	PolicyDrops int `json:"policyDrops,omitempty" msgpack:"policyDrops,omitempty" bson:"bo,omitempty" mapstructure:"policyDrops,omitempty"`

	// PUID is the ID of the processing unit reporting the counter.
	ProcessingUnitID string `` /* 132-byte string literal not displayed */

	// Namespace of the processing unit reporting the counter.
	ProcessingUnitNamespace string `` /* 153-byte string literal not displayed */

	// Timestamp is the date of the report.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"br,omitempty" mapstructure:"timestamp,omitempty"`

	// Non-zero counter indicates packets rejected due to anything related to token
	// creation/parsing failures.
	TokenDrops int `json:"tokenDrops,omitempty" msgpack:"tokenDrops,omitempty" bson:"bs,omitempty" mapstructure:"tokenDrops,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

CounterReport represents the model of a counterreport

func NewCounterReport added in v1.29.0

func NewCounterReport() *CounterReport

NewCounterReport returns a new *CounterReport

func (*CounterReport) AttributeSpecifications added in v1.29.0

func (*CounterReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*CounterReport) BleveType added in v1.29.0

func (o *CounterReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*CounterReport) DeepCopy added in v1.29.0

func (o *CounterReport) DeepCopy() *CounterReport

DeepCopy returns a deep copy if the CounterReport.

func (*CounterReport) DeepCopyInto added in v1.29.0

func (o *CounterReport) DeepCopyInto(out *CounterReport)

DeepCopyInto copies the receiver into the given *CounterReport.

func (*CounterReport) DefaultOrder added in v1.29.0

func (o *CounterReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*CounterReport) Doc added in v1.29.0

func (o *CounterReport) Doc() string

Doc returns the documentation for the object

func (*CounterReport) GetBSON added in v1.80.0

func (o *CounterReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CounterReport) GetMigrationsLog added in v1.94.1

func (o *CounterReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*CounterReport) GetNamespace added in v1.94.1

func (o *CounterReport) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*CounterReport) GetZHash added in v1.94.1

func (o *CounterReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*CounterReport) GetZone added in v1.94.1

func (o *CounterReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*CounterReport) Identifier added in v1.29.0

func (o *CounterReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*CounterReport) Identity added in v1.29.0

func (o *CounterReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*CounterReport) Patch added in v1.29.0

func (o *CounterReport) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseCounterReport to the object.

func (*CounterReport) SetBSON added in v1.80.0

func (o *CounterReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*CounterReport) SetIdentifier added in v1.29.0

func (o *CounterReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*CounterReport) SetMigrationsLog added in v1.94.1

func (o *CounterReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*CounterReport) SetNamespace added in v1.94.1

func (o *CounterReport) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*CounterReport) SetZHash added in v1.94.1

func (o *CounterReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*CounterReport) SetZone added in v1.94.1

func (o *CounterReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*CounterReport) SpecificationForAttribute added in v1.29.0

func (*CounterReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*CounterReport) String added in v1.29.0

func (o *CounterReport) String() string

func (*CounterReport) ToSparse added in v1.29.0

func (o *CounterReport) 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 (*CounterReport) Validate added in v1.29.0

func (o *CounterReport) Validate() error

Validate valides the current information stored into the structure.

func (*CounterReport) ValueForAttribute added in v1.29.0

func (o *CounterReport) ValueForAttribute(name string) interface{}

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 (*CounterReport) Version added in v1.29.0

func (o *CounterReport) Version() int

Version returns the hardcoded version of the model.

type CounterReportsList added in v1.29.0

type CounterReportsList []*CounterReport

CounterReportsList represents a list of CounterReports

func (CounterReportsList) Append added in v1.29.0

Append appends the objects to the a new copy of the CounterReportsList.

func (CounterReportsList) Copy added in v1.29.0

Copy returns a pointer to a copy the CounterReportsList.

func (CounterReportsList) DefaultOrder added in v1.29.0

func (o CounterReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CounterReportsList) Identity added in v1.29.0

func (o CounterReportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CounterReportsList) List added in v1.29.0

List converts the object to an elemental.IdentifiablesList.

func (CounterReportsList) ToSparse added in v1.29.0

func (o CounterReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the CounterReportsList converted to SparseCounterReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (CounterReportsList) Version added in v1.29.0

func (o CounterReportsList) Version() int

Version returns the version of the content.

type Credential

type Credential struct {
	// The URL of the Microsegmentation Console API.
	APIURL string `json:"APIURL" msgpack:"APIURL" bson:"-" mapstructure:"APIURL,omitempty"`

	// The ID of the app credential.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// The base64-encoded certificate.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// The base64-encoded certificate authority.
	CertificateAuthority string `json:"certificateAuthority" msgpack:"certificateAuthority" bson:"-" mapstructure:"certificateAuthority,omitempty"`

	// The base64-encoded certificate key.
	CertificateKey string `json:"certificateKey" msgpack:"certificateKey" bson:"-" mapstructure:"certificateKey,omitempty"`

	// The name of the app credential.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of the app credential.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Credential represents the model of a credential

func NewCredential

func NewCredential() *Credential

NewCredential returns a new *Credential

func (*Credential) BleveType added in v1.1.0

func (o *Credential) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Credential) DeepCopy

func (o *Credential) DeepCopy() *Credential

DeepCopy returns a deep copy if the Credential.

func (*Credential) DeepCopyInto

func (o *Credential) DeepCopyInto(out *Credential)

DeepCopyInto copies the receiver into the given *Credential.

func (*Credential) GetBSON added in v1.80.0

func (o *Credential) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Credential) SetBSON added in v1.80.0

func (o *Credential) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Credential) Validate

func (o *Credential) Validate() error

Validate valides the current information stored into the structure.

type DNSLookupReport added in v1.63.0

type DNSLookupReport struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Action of the DNS request.
	Action DNSLookupReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// ID of the enforcer.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"b,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer.
	EnforcerNamespace string `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the PU.
	ProcessingUnitID string `` /* 131-byte string literal not displayed */

	// Namespace of the PU. This is deprecated. Use `namespace` instead.
	ProcessingUnitNamespace string `` /* 152-byte string literal not displayed */

	// This field is only set when the lookup fails. It specifies the reason for the
	// failure.
	Reason string `json:"reason,omitempty" msgpack:"reason,omitempty" bson:"f,omitempty" mapstructure:"reason,omitempty"`

	// CNAME aliases.
	ResolvedCNAMEs []string `json:"resolvedCNAMEs,omitempty" msgpack:"resolvedCNAMEs,omitempty" bson:"k,omitempty" mapstructure:"resolvedCNAMEs,omitempty"`

	// resolved IP addresses.
	ResolvedIPs []string `json:"resolvedIPs,omitempty" msgpack:"resolvedIPs,omitempty" bson:"l,omitempty" mapstructure:"resolvedIPs,omitempty"`

	// name used for DNS resolution.
	ResolvedName string `json:"resolvedName,omitempty" msgpack:"resolvedName,omitempty" bson:"g,omitempty" mapstructure:"resolvedName,omitempty"`

	// Type of the source.
	SourceIP string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"h,omitempty" mapstructure:"sourceIP,omitempty"`

	// Time and date of the log.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"i,omitempty" mapstructure:"timestamp,omitempty"`

	// Number of times the client saw this activity.
	Value int `json:"value,omitempty" msgpack:"value,omitempty" bson:"j,omitempty" mapstructure:"value,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

DNSLookupReport represents the model of a dnslookupreport

func NewDNSLookupReport added in v1.63.0

func NewDNSLookupReport() *DNSLookupReport

NewDNSLookupReport returns a new *DNSLookupReport

func (*DNSLookupReport) AttributeSpecifications added in v1.63.0

func (*DNSLookupReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*DNSLookupReport) BleveType added in v1.63.0

func (o *DNSLookupReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*DNSLookupReport) DeepCopy added in v1.63.0

func (o *DNSLookupReport) DeepCopy() *DNSLookupReport

DeepCopy returns a deep copy if the DNSLookupReport.

func (*DNSLookupReport) DeepCopyInto added in v1.63.0

func (o *DNSLookupReport) DeepCopyInto(out *DNSLookupReport)

DeepCopyInto copies the receiver into the given *DNSLookupReport.

func (*DNSLookupReport) DefaultOrder added in v1.63.0

func (o *DNSLookupReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*DNSLookupReport) Doc added in v1.63.0

func (o *DNSLookupReport) Doc() string

Doc returns the documentation for the object

func (*DNSLookupReport) GetBSON added in v1.80.0

func (o *DNSLookupReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DNSLookupReport) GetMigrationsLog added in v1.94.1

func (o *DNSLookupReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*DNSLookupReport) GetNamespace added in v1.94.1

func (o *DNSLookupReport) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*DNSLookupReport) GetZHash added in v1.94.1

func (o *DNSLookupReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*DNSLookupReport) GetZone added in v1.94.1

func (o *DNSLookupReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*DNSLookupReport) Identifier added in v1.63.0

func (o *DNSLookupReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*DNSLookupReport) Identity added in v1.63.0

func (o *DNSLookupReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*DNSLookupReport) Patch added in v1.63.0

func (o *DNSLookupReport) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseDNSLookupReport to the object.

func (*DNSLookupReport) SetBSON added in v1.80.0

func (o *DNSLookupReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DNSLookupReport) SetIdentifier added in v1.63.0

func (o *DNSLookupReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*DNSLookupReport) SetMigrationsLog added in v1.94.1

func (o *DNSLookupReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*DNSLookupReport) SetNamespace added in v1.94.1

func (o *DNSLookupReport) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*DNSLookupReport) SetZHash added in v1.94.1

func (o *DNSLookupReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*DNSLookupReport) SetZone added in v1.94.1

func (o *DNSLookupReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*DNSLookupReport) SpecificationForAttribute added in v1.63.0

func (*DNSLookupReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*DNSLookupReport) String added in v1.63.0

func (o *DNSLookupReport) String() string

func (*DNSLookupReport) ToSparse added in v1.63.0

func (o *DNSLookupReport) 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 (*DNSLookupReport) Validate added in v1.63.0

func (o *DNSLookupReport) Validate() error

Validate valides the current information stored into the structure.

func (*DNSLookupReport) ValueForAttribute added in v1.63.0

func (o *DNSLookupReport) ValueForAttribute(name string) interface{}

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 (*DNSLookupReport) Version added in v1.63.0

func (o *DNSLookupReport) Version() int

Version returns the hardcoded version of the model.

type DNSLookupReportActionValue added in v1.63.0

type DNSLookupReportActionValue string

DNSLookupReportActionValue represents the possible values for attribute "action".

const (
	// DNSLookupReportActionAccept represents the value Accept.
	DNSLookupReportActionAccept DNSLookupReportActionValue = "Accept"

	// DNSLookupReportActionFail represents the value Fail.
	DNSLookupReportActionFail DNSLookupReportActionValue = "Fail"

	// DNSLookupReportActionReject represents the value Reject.
	DNSLookupReportActionReject DNSLookupReportActionValue = "Reject"

	// DNSLookupReportActionResolve represents the value Resolve.
	DNSLookupReportActionResolve DNSLookupReportActionValue = "Resolve"
)

type DNSLookupReportsList added in v1.63.0

type DNSLookupReportsList []*DNSLookupReport

DNSLookupReportsList represents a list of DNSLookupReports

func (DNSLookupReportsList) Append added in v1.63.0

Append appends the objects to the a new copy of the DNSLookupReportsList.

func (DNSLookupReportsList) Copy added in v1.63.0

Copy returns a pointer to a copy the DNSLookupReportsList.

func (DNSLookupReportsList) DefaultOrder added in v1.63.0

func (o DNSLookupReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (DNSLookupReportsList) Identity added in v1.63.0

Identity returns the identity of the objects in the list.

func (DNSLookupReportsList) List added in v1.63.0

List converts the object to an elemental.IdentifiablesList.

func (DNSLookupReportsList) ToSparse added in v1.63.0

func (o DNSLookupReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the DNSLookupReportsList converted to SparseDNSLookupReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (DNSLookupReportsList) Version added in v1.63.0

func (o DNSLookupReportsList) Version() int

Version returns the version of the content.

type DataPathCertificate

type DataPathCertificate struct {
	// Contains a certificate signing request (CSR) from the enforcer. Depending on the
	// certificate there will be various requirements for the Microsegmentation Console
	// to accept the CSR.
	CSR string `json:"CSR" msgpack:"CSR" bson:"-" mapstructure:"CSR,omitempty"`

	// The certificate.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// ID of the object you want to issue a certificate for.
	ObjectID string `json:"objectID" msgpack:"objectID" bson:"-" mapstructure:"objectID,omitempty"`

	// Provides the session ID of the enforcer when retrieving a datapath certificate.
	SessionID string `json:"sessionID" msgpack:"sessionID" bson:"-" mapstructure:"sessionID,omitempty"`

	// Contains the CA that signed the delivered certificate.
	Signer string `json:"signer" msgpack:"signer" bson:"-" mapstructure:"signer,omitempty"`

	// Contains a cryptographic token.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"`

	// Type of certificate.
	Type DataPathCertificateTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

DataPathCertificate represents the model of a datapathcertificate

func NewDataPathCertificate

func NewDataPathCertificate() *DataPathCertificate

NewDataPathCertificate returns a new *DataPathCertificate

func (*DataPathCertificate) AttributeSpecifications

func (*DataPathCertificate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*DataPathCertificate) BleveType added in v1.1.0

func (o *DataPathCertificate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*DataPathCertificate) DeepCopy

DeepCopy returns a deep copy if the DataPathCertificate.

func (*DataPathCertificate) DeepCopyInto

func (o *DataPathCertificate) DeepCopyInto(out *DataPathCertificate)

DeepCopyInto copies the receiver into the given *DataPathCertificate.

func (*DataPathCertificate) DefaultOrder

func (o *DataPathCertificate) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*DataPathCertificate) Doc

func (o *DataPathCertificate) Doc() string

Doc returns the documentation for the object

func (*DataPathCertificate) GetBSON added in v1.80.0

func (o *DataPathCertificate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DataPathCertificate) Identifier

func (o *DataPathCertificate) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*DataPathCertificate) Identity

func (o *DataPathCertificate) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*DataPathCertificate) Patch

Patch apply the non nil value of a *SparseDataPathCertificate to the object.

func (*DataPathCertificate) SetBSON added in v1.80.0

func (o *DataPathCertificate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DataPathCertificate) SetIdentifier

func (o *DataPathCertificate) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*DataPathCertificate) SpecificationForAttribute

func (*DataPathCertificate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*DataPathCertificate) String

func (o *DataPathCertificate) String() string

func (*DataPathCertificate) ToSparse

func (o *DataPathCertificate) 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 (*DataPathCertificate) Validate

func (o *DataPathCertificate) Validate() error

Validate valides the current information stored into the structure.

func (*DataPathCertificate) ValueForAttribute

func (o *DataPathCertificate) ValueForAttribute(name string) interface{}

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 (*DataPathCertificate) Version

func (o *DataPathCertificate) Version() int

Version returns the hardcoded version of the model.

type DataPathCertificateTypeValue

type DataPathCertificateTypeValue string

DataPathCertificateTypeValue represents the possible values for attribute "type".

const (
	// DataPathCertificateTypeEnforcer represents the value Enforcer.
	DataPathCertificateTypeEnforcer DataPathCertificateTypeValue = "Enforcer"

	// DataPathCertificateTypeKubernetesCluster represents the value KubernetesCluster.
	DataPathCertificateTypeKubernetesCluster DataPathCertificateTypeValue = "KubernetesCluster"

	// DataPathCertificateTypeService represents the value Service.
	DataPathCertificateTypeService DataPathCertificateTypeValue = "Service"

	// DataPathCertificateTypeServicePing represents the value ServicePing.
	DataPathCertificateTypeServicePing DataPathCertificateTypeValue = "ServicePing"
)

type DataPathCertificatesList

type DataPathCertificatesList []*DataPathCertificate

DataPathCertificatesList represents a list of DataPathCertificates

func (DataPathCertificatesList) Append

Append appends the objects to the a new copy of the DataPathCertificatesList.

func (DataPathCertificatesList) Copy

Copy returns a pointer to a copy the DataPathCertificatesList.

func (DataPathCertificatesList) DefaultOrder

func (o DataPathCertificatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (DataPathCertificatesList) Identity

Identity returns the identity of the objects in the list.

func (DataPathCertificatesList) List

List converts the object to an elemental.IdentifiablesList.

func (DataPathCertificatesList) ToSparse

ToSparse returns the DataPathCertificatesList converted to SparseDataPathCertificatesList. Objects in the list will only contain the given fields. No field means entire field set.

func (DataPathCertificatesList) Version

func (o DataPathCertificatesList) Version() int

Version returns the version of the content.

type DebugBundle added in v1.94.1

type DebugBundle struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Can be used to correlate with an EnforcerRefresh.
	DebugID string `json:"debugID,omitempty" msgpack:"debugID,omitempty" bson:"-" mapstructure:"debugID,omitempty"`

	// The ID of the enforcer.
	EnforcerID string `json:"enforcerID" msgpack:"enforcerID" bson:"-" mapstructure:"enforcerID,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

DebugBundle represents the model of a debugbundle

func NewDebugBundle added in v1.94.1

func NewDebugBundle() *DebugBundle

NewDebugBundle returns a new *DebugBundle

func (*DebugBundle) AttributeSpecifications added in v1.94.1

func (*DebugBundle) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*DebugBundle) BleveType added in v1.94.1

func (o *DebugBundle) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*DebugBundle) DeepCopy added in v1.94.1

func (o *DebugBundle) DeepCopy() *DebugBundle

DeepCopy returns a deep copy if the DebugBundle.

func (*DebugBundle) DeepCopyInto added in v1.94.1

func (o *DebugBundle) DeepCopyInto(out *DebugBundle)

DeepCopyInto copies the receiver into the given *DebugBundle.

func (*DebugBundle) DefaultOrder added in v1.94.1

func (o *DebugBundle) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*DebugBundle) Doc added in v1.94.1

func (o *DebugBundle) Doc() string

Doc returns the documentation for the object

func (*DebugBundle) GetBSON added in v1.94.1

func (o *DebugBundle) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DebugBundle) GetNamespace added in v1.94.1

func (o *DebugBundle) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*DebugBundle) Identifier added in v1.94.1

func (o *DebugBundle) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*DebugBundle) Identity added in v1.94.1

func (o *DebugBundle) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*DebugBundle) Patch added in v1.94.1

func (o *DebugBundle) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseDebugBundle to the object.

func (*DebugBundle) SetBSON added in v1.94.1

func (o *DebugBundle) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DebugBundle) SetIdentifier added in v1.94.1

func (o *DebugBundle) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*DebugBundle) SetNamespace added in v1.94.1

func (o *DebugBundle) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*DebugBundle) SpecificationForAttribute added in v1.94.1

func (*DebugBundle) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*DebugBundle) String added in v1.94.1

func (o *DebugBundle) String() string

func (*DebugBundle) ToSparse added in v1.94.1

func (o *DebugBundle) 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 (*DebugBundle) Validate added in v1.94.1

func (o *DebugBundle) Validate() error

Validate valides the current information stored into the structure.

func (*DebugBundle) ValueForAttribute added in v1.94.1

func (o *DebugBundle) ValueForAttribute(name string) interface{}

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 (*DebugBundle) Version added in v1.94.1

func (o *DebugBundle) Version() int

Version returns the hardcoded version of the model.

type DebugBundlesList added in v1.94.1

type DebugBundlesList []*DebugBundle

DebugBundlesList represents a list of DebugBundles

func (DebugBundlesList) Append added in v1.94.1

Append appends the objects to the a new copy of the DebugBundlesList.

func (DebugBundlesList) Copy added in v1.94.1

Copy returns a pointer to a copy the DebugBundlesList.

func (DebugBundlesList) DefaultOrder added in v1.94.1

func (o DebugBundlesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (DebugBundlesList) Identity added in v1.94.1

func (o DebugBundlesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (DebugBundlesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (DebugBundlesList) ToSparse added in v1.94.1

func (o DebugBundlesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the DebugBundlesList converted to SparseDebugBundlesList. Objects in the list will only contain the given fields. No field means entire field set.

func (DebugBundlesList) Version added in v1.94.1

func (o DebugBundlesList) Version() int

Version returns the version of the content.

type DefaultEnforcerVersion added in v1.94.1

type DefaultEnforcerVersion struct {
	// The default enforcer version for the namespace.
	DefaultVersion string `json:"defaultVersion" msgpack:"defaultVersion" bson:"-" mapstructure:"defaultVersion,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

DefaultEnforcerVersion represents the model of a defaultenforcerversion

func NewDefaultEnforcerVersion added in v1.94.1

func NewDefaultEnforcerVersion() *DefaultEnforcerVersion

NewDefaultEnforcerVersion returns a new *DefaultEnforcerVersion

func (*DefaultEnforcerVersion) AttributeSpecifications added in v1.94.1

func (*DefaultEnforcerVersion) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*DefaultEnforcerVersion) BleveType added in v1.94.1

func (o *DefaultEnforcerVersion) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*DefaultEnforcerVersion) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the DefaultEnforcerVersion.

func (*DefaultEnforcerVersion) DeepCopyInto added in v1.94.1

func (o *DefaultEnforcerVersion) DeepCopyInto(out *DefaultEnforcerVersion)

DeepCopyInto copies the receiver into the given *DefaultEnforcerVersion.

func (*DefaultEnforcerVersion) DefaultOrder added in v1.94.1

func (o *DefaultEnforcerVersion) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*DefaultEnforcerVersion) Doc added in v1.94.1

func (o *DefaultEnforcerVersion) Doc() string

Doc returns the documentation for the object

func (*DefaultEnforcerVersion) GetBSON added in v1.94.1

func (o *DefaultEnforcerVersion) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DefaultEnforcerVersion) Identifier added in v1.94.1

func (o *DefaultEnforcerVersion) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*DefaultEnforcerVersion) Identity added in v1.94.1

Identity returns the Identity of the object.

func (*DefaultEnforcerVersion) Patch added in v1.94.1

Patch apply the non nil value of a *SparseDefaultEnforcerVersion to the object.

func (*DefaultEnforcerVersion) SetBSON added in v1.94.1

func (o *DefaultEnforcerVersion) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DefaultEnforcerVersion) SetIdentifier added in v1.94.1

func (o *DefaultEnforcerVersion) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*DefaultEnforcerVersion) SpecificationForAttribute added in v1.94.1

func (*DefaultEnforcerVersion) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*DefaultEnforcerVersion) String added in v1.94.1

func (o *DefaultEnforcerVersion) String() string

func (*DefaultEnforcerVersion) ToSparse added in v1.94.1

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*DefaultEnforcerVersion) Validate added in v1.94.1

func (o *DefaultEnforcerVersion) Validate() error

Validate valides the current information stored into the structure.

func (*DefaultEnforcerVersion) ValueForAttribute added in v1.94.1

func (o *DefaultEnforcerVersion) ValueForAttribute(name string) interface{}

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 (*DefaultEnforcerVersion) Version added in v1.94.1

func (o *DefaultEnforcerVersion) Version() int

Version returns the hardcoded version of the model.

type DefaultEnforcerVersionsList added in v1.94.1

type DefaultEnforcerVersionsList []*DefaultEnforcerVersion

DefaultEnforcerVersionsList represents a list of DefaultEnforcerVersions

func (DefaultEnforcerVersionsList) Append added in v1.94.1

Append appends the objects to the a new copy of the DefaultEnforcerVersionsList.

func (DefaultEnforcerVersionsList) Copy added in v1.94.1

Copy returns a pointer to a copy the DefaultEnforcerVersionsList.

func (DefaultEnforcerVersionsList) DefaultOrder added in v1.94.1

func (o DefaultEnforcerVersionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (DefaultEnforcerVersionsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (DefaultEnforcerVersionsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (DefaultEnforcerVersionsList) ToSparse added in v1.94.1

ToSparse returns the DefaultEnforcerVersionsList converted to SparseDefaultEnforcerVersionsList. Objects in the list will only contain the given fields. No field means entire field set.

func (DefaultEnforcerVersionsList) Version added in v1.94.1

func (o DefaultEnforcerVersionsList) Version() int

Version returns the version of the content.

type DependencyMap

type DependencyMap struct {
	// The edges of the map.
	Edges map[string]*GraphEdge `json:"edges" msgpack:"edges" bson:"-" mapstructure:"edges,omitempty"`

	// Provides information about the group values.
	Groups map[string]*GraphGroup `json:"groups" msgpack:"groups" bson:"-" mapstructure:"groups,omitempty"`

	// Refers to the nodes of the map.
	Nodes map[string]*GraphNode `json:"nodes" msgpack:"nodes" bson:"-" mapstructure:"nodes,omitempty"`

	// Provides suggested views based on relevant tags.
	ViewSuggestions []string `json:"viewSuggestions" msgpack:"viewSuggestions" bson:"-" mapstructure:"viewSuggestions,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

DependencyMap represents the model of a dependencymap

func NewDependencyMap

func NewDependencyMap() *DependencyMap

NewDependencyMap returns a new *DependencyMap

func (*DependencyMap) AttributeSpecifications

func (*DependencyMap) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*DependencyMap) BleveType added in v1.1.0

func (o *DependencyMap) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*DependencyMap) DeepCopy

func (o *DependencyMap) DeepCopy() *DependencyMap

DeepCopy returns a deep copy if the DependencyMap.

func (*DependencyMap) DeepCopyInto

func (o *DependencyMap) DeepCopyInto(out *DependencyMap)

DeepCopyInto copies the receiver into the given *DependencyMap.

func (*DependencyMap) DefaultOrder

func (o *DependencyMap) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*DependencyMap) Doc

func (o *DependencyMap) Doc() string

Doc returns the documentation for the object

func (*DependencyMap) GetBSON added in v1.80.0

func (o *DependencyMap) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DependencyMap) Identifier

func (o *DependencyMap) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*DependencyMap) Identity

func (o *DependencyMap) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*DependencyMap) Patch

func (o *DependencyMap) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseDependencyMap to the object.

func (*DependencyMap) SetBSON added in v1.80.0

func (o *DependencyMap) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DependencyMap) SetIdentifier

func (o *DependencyMap) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*DependencyMap) SpecificationForAttribute

func (*DependencyMap) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*DependencyMap) String

func (o *DependencyMap) String() string

func (*DependencyMap) ToSparse

func (o *DependencyMap) 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 (*DependencyMap) Validate

func (o *DependencyMap) Validate() error

Validate valides the current information stored into the structure.

func (*DependencyMap) ValueForAttribute

func (o *DependencyMap) ValueForAttribute(name string) interface{}

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 (*DependencyMap) Version

func (o *DependencyMap) Version() int

Version returns the hardcoded version of the model.

type DependencyMapsList

type DependencyMapsList []*DependencyMap

DependencyMapsList represents a list of DependencyMaps

func (DependencyMapsList) Append

Append appends the objects to the a new copy of the DependencyMapsList.

func (DependencyMapsList) Copy

Copy returns a pointer to a copy the DependencyMapsList.

func (DependencyMapsList) DefaultOrder

func (o DependencyMapsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (DependencyMapsList) Identity

func (o DependencyMapsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (DependencyMapsList) List

List converts the object to an elemental.IdentifiablesList.

func (DependencyMapsList) ToSparse

func (o DependencyMapsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the DependencyMapsList converted to SparseDependencyMapsList. Objects in the list will only contain the given fields. No field means entire field set.

func (DependencyMapsList) Version

func (o DependencyMapsList) Version() int

Version returns the version of the content.

type DiscoveryMode added in v1.94.1

type DiscoveryMode struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

DiscoveryMode represents the model of a discoverymode

func NewDiscoveryMode added in v1.94.1

func NewDiscoveryMode() *DiscoveryMode

NewDiscoveryMode returns a new *DiscoveryMode

func (*DiscoveryMode) AttributeSpecifications added in v1.94.1

func (*DiscoveryMode) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*DiscoveryMode) BleveType added in v1.94.1

func (o *DiscoveryMode) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*DiscoveryMode) DeepCopy added in v1.94.1

func (o *DiscoveryMode) DeepCopy() *DiscoveryMode

DeepCopy returns a deep copy if the DiscoveryMode.

func (*DiscoveryMode) DeepCopyInto added in v1.94.1

func (o *DiscoveryMode) DeepCopyInto(out *DiscoveryMode)

DeepCopyInto copies the receiver into the given *DiscoveryMode.

func (*DiscoveryMode) DefaultOrder added in v1.94.1

func (o *DiscoveryMode) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*DiscoveryMode) Doc added in v1.94.1

func (o *DiscoveryMode) Doc() string

Doc returns the documentation for the object

func (*DiscoveryMode) GetBSON added in v1.94.1

func (o *DiscoveryMode) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DiscoveryMode) GetNamespace added in v1.94.1

func (o *DiscoveryMode) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*DiscoveryMode) GetPropagate added in v1.94.1

func (o *DiscoveryMode) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*DiscoveryMode) Identifier added in v1.94.1

func (o *DiscoveryMode) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*DiscoveryMode) Identity added in v1.94.1

func (o *DiscoveryMode) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*DiscoveryMode) Patch added in v1.94.1

func (o *DiscoveryMode) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseDiscoveryMode to the object.

func (*DiscoveryMode) SetBSON added in v1.94.1

func (o *DiscoveryMode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*DiscoveryMode) SetIdentifier added in v1.94.1

func (o *DiscoveryMode) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*DiscoveryMode) SetNamespace added in v1.94.1

func (o *DiscoveryMode) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*DiscoveryMode) SetPropagate added in v1.94.1

func (o *DiscoveryMode) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*DiscoveryMode) SpecificationForAttribute added in v1.94.1

func (*DiscoveryMode) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*DiscoveryMode) String added in v1.94.1

func (o *DiscoveryMode) String() string

func (*DiscoveryMode) ToSparse added in v1.94.1

func (o *DiscoveryMode) 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 (*DiscoveryMode) Validate added in v1.94.1

func (o *DiscoveryMode) Validate() error

Validate valides the current information stored into the structure.

func (*DiscoveryMode) ValueForAttribute added in v1.94.1

func (o *DiscoveryMode) ValueForAttribute(name string) interface{}

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 (*DiscoveryMode) Version added in v1.94.1

func (o *DiscoveryMode) Version() int

Version returns the hardcoded version of the model.

type DiscoveryModesList added in v1.94.1

type DiscoveryModesList []*DiscoveryMode

DiscoveryModesList represents a list of DiscoveryModes

func (DiscoveryModesList) Append added in v1.94.1

Append appends the objects to the a new copy of the DiscoveryModesList.

func (DiscoveryModesList) Copy added in v1.94.1

Copy returns a pointer to a copy the DiscoveryModesList.

func (DiscoveryModesList) DefaultOrder added in v1.94.1

func (o DiscoveryModesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (DiscoveryModesList) Identity added in v1.94.1

func (o DiscoveryModesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (DiscoveryModesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (DiscoveryModesList) ToSparse added in v1.94.1

func (o DiscoveryModesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the DiscoveryModesList converted to SparseDiscoveryModesList. Objects in the list will only contain the given fields. No field means entire field set.

func (DiscoveryModesList) Version added in v1.94.1

func (o DiscoveryModesList) Version() int

Version returns the version of the content.

type Email

type Email struct {
	// Attachments is a list of attachments to send.
	Attachments map[string]string `json:"attachments" msgpack:"attachments" bson:"-" mapstructure:"attachments,omitempty"`

	// Bcc represents email that should be in copy but hidden.
	Bcc []string `json:"bcc" msgpack:"bcc" bson:"-" mapstructure:"bcc,omitempty"`

	// Cc represents the addresses that should be in copy.
	Cc []string `json:"cc" msgpack:"cc" bson:"-" mapstructure:"cc,omitempty"`

	// Content of the email to send.
	Content string `json:"content" msgpack:"content" bson:"-" mapstructure:"content,omitempty"`

	// Subject represents the subject of the email.
	Subject string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// To represents receivers of the email.
	To []string `json:"to" msgpack:"to" bson:"-" mapstructure:"to,omitempty"`

	// Type represents the type of the content.
	Type EmailTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Email represents the model of a email

func NewEmail

func NewEmail() *Email

NewEmail returns a new *Email

func (*Email) AttributeSpecifications

func (*Email) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Email) BleveType added in v1.1.0

func (o *Email) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Email) DeepCopy

func (o *Email) DeepCopy() *Email

DeepCopy returns a deep copy if the Email.

func (*Email) DeepCopyInto

func (o *Email) DeepCopyInto(out *Email)

DeepCopyInto copies the receiver into the given *Email.

func (*Email) DefaultOrder

func (o *Email) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Email) Doc

func (o *Email) Doc() string

Doc returns the documentation for the object

func (*Email) GetBSON added in v1.80.0

func (o *Email) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Email) Identifier

func (o *Email) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Email) Identity

func (o *Email) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Email) Patch

func (o *Email) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseEmail to the object.

func (*Email) SetBSON added in v1.80.0

func (o *Email) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Email) SetIdentifier

func (o *Email) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Email) SpecificationForAttribute

func (*Email) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Email) String

func (o *Email) String() string

func (*Email) ToSparse

func (o *Email) 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 (*Email) Validate

func (o *Email) Validate() error

Validate valides the current information stored into the structure.

func (*Email) ValueForAttribute

func (o *Email) ValueForAttribute(name string) interface{}

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 (*Email) Version

func (o *Email) Version() int

Version returns the hardcoded version of the model.

type EmailTypeValue

type EmailTypeValue string

EmailTypeValue represents the possible values for attribute "type".

const (
	// EmailTypeHTML represents the value HTML.
	EmailTypeHTML EmailTypeValue = "HTML"

	// EmailTypePlain represents the value Plain.
	EmailTypePlain EmailTypeValue = "Plain"
)

type EmailsList

type EmailsList []*Email

EmailsList represents a list of Emails

func (EmailsList) Append

Append appends the objects to the a new copy of the EmailsList.

func (EmailsList) Copy

Copy returns a pointer to a copy the EmailsList.

func (EmailsList) DefaultOrder

func (o EmailsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EmailsList) Identity

func (o EmailsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (EmailsList) List

List converts the object to an elemental.IdentifiablesList.

func (EmailsList) ToSparse

func (o EmailsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the EmailsList converted to SparseEmailsList. Objects in the list will only contain the given fields. No field means entire field set.

func (EmailsList) Version

func (o EmailsList) Version() int

Version returns the version of the content.

type Endpoint

type Endpoint struct {
	// URI of the exposed API.
	URI string `json:"URI" msgpack:"URI" bson:"uri" mapstructure:"URI,omitempty"`

	// The scopes authorized to access the API.
	AllowedScopes [][]string `json:"allowedScopes" msgpack:"allowedScopes" bson:"allowedscopes" mapstructure:"allowedScopes,omitempty"`

	// Methods exposed to access the API.
	Methods []string `json:"methods" msgpack:"methods" bson:"methods" mapstructure:"methods,omitempty"`

	// If `true`, the API is public.
	Public bool `json:"public" msgpack:"public" bson:"public" mapstructure:"public,omitempty"`

	// Use `allowedScopes`.
	Scopes []string `json:"scopes" msgpack:"scopes" bson:"-" mapstructure:"scopes,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Endpoint represents the model of a endpoint

func NewEndpoint

func NewEndpoint() *Endpoint

NewEndpoint returns a new *Endpoint

func (*Endpoint) BleveType added in v1.1.0

func (o *Endpoint) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Endpoint) DeepCopy

func (o *Endpoint) DeepCopy() *Endpoint

DeepCopy returns a deep copy if the Endpoint.

func (*Endpoint) DeepCopyInto

func (o *Endpoint) DeepCopyInto(out *Endpoint)

DeepCopyInto copies the receiver into the given *Endpoint.

func (*Endpoint) GetBSON added in v1.80.0

func (o *Endpoint) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Endpoint) SetBSON added in v1.80.0

func (o *Endpoint) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Endpoint) Validate

func (o *Endpoint) Validate() error

Validate valides the current information stored into the structure.

type Enforcer

type Enforcer struct {
	// Contains the fully qualified domain name (FQDN) of the server where the
	// enforcer is running.
	FQDN string `json:"FQDN" msgpack:"FQDN" bson:"fqdn" mapstructure:"FQDN,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// The certificate of the enforcer.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"certificate" mapstructure:"certificate,omitempty"`

	// The expiration date of the certificate. This is an
	// internal attribute, not exposed in the API.
	CertificateExpirationDate time.Time `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// The certificate key of the enforcer. This is an internal
	// attribute, not exposed in the API.
	CertificateKey string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// If not empty during a create or update operation, the provided certificate
	// signing request (CSR) will be validated and signed by the Microsegmentation
	// Console, providing a renewed certificate.
	CertificateRequest string `json:"certificateRequest" msgpack:"certificateRequest" bson:"-" mapstructure:"certificateRequest,omitempty"`

	// Indicates to the enforcer whether or not it needs to collect information.
	CollectInfo bool `json:"collectInfo" msgpack:"collectInfo" bson:"collectinfo" mapstructure:"collectInfo,omitempty"`

	// Represents the latest information collected by the enforcer.
	CollectedInfo map[string]string `json:"collectedInfo" msgpack:"collectedInfo" bson:"collectedinfo" mapstructure:"collectedInfo,omitempty"`

	// The Microsegmentation Console identifier managing this object. This property is
	// mostly
	// useful when federating multiple Microsegmentation Consoles.
	Controller string `json:"controller" msgpack:"controller" bson:"controller" mapstructure:"controller,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The version number of the installed enforcer binary.
	CurrentVersion string `json:"currentVersion" msgpack:"currentVersion" bson:"currentversion" mapstructure:"currentVersion,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// This field indicates whether the enforcer has detected host mode containers.
	DetectedHostModeContainers bool `` /* 156-byte string literal not displayed */

	// Status of the enforcement for host services.
	EnforcementStatus EnforcerEnforcementStatusValue `json:"enforcementStatus" msgpack:"enforcementStatus" bson:"enforcementstatus" mapstructure:"enforcementStatus,omitempty"`

	// Identifies the last collection.
	LastCollectionID string `json:"lastCollectionID" msgpack:"lastCollectionID" bson:"lastcollectionid" mapstructure:"lastCollectionID,omitempty"`

	// Identifies when the information was collected.
	LastCollectionTime time.Time `json:"lastCollectionTime" msgpack:"lastCollectionTime" bson:"lastcollectiontime" mapstructure:"lastCollectionTime,omitempty"`

	// Last migration date of the enforcer.
	LastMigrationTime time.Time `json:"lastMigrationTime" msgpack:"lastMigrationTime" bson:"lastmigrationtime" mapstructure:"lastMigrationTime,omitempty"`

	// The time and date of the last poke.
	LastPokeTime time.Time `json:"-" msgpack:"-" bson:"lastpoketime" mapstructure:"-,omitempty"`

	// The time and date of the last heartbeat.
	LastSyncTime time.Time `json:"lastSyncTime" msgpack:"lastSyncTime" bson:"lastsynctime" mapstructure:"lastSyncTime,omitempty"`

	// `lastValidHostServices` is a read only attribute that stores the list valid host
	// services that have been applied to this enforcer. This list might be different
	// from the list retrieved through policy, if the dynamically calculated list leads
	// into conflicts.
	LastValidHostServices HostServicesList `json:"-" msgpack:"-" bson:"lastvalidhostservices" mapstructure:"-,omitempty"`

	// Contains the initial chain of trust for the enforcer. This value is only
	// given when you retrieve a single enforcer.
	LocalCA string `json:"localCA" msgpack:"localCA" bson:"-" mapstructure:"localCA,omitempty"`

	// Log level of the enforcer.
	LogLevel EnforcerLogLevelValue `json:"logLevel" msgpack:"logLevel" bson:"loglevel" mapstructure:"logLevel,omitempty"`

	// Determines the duration of which the log level will be active, using [Golang
	// duration syntax](https://golang.org/pkg/time/#example_Duration).
	LogLevelDuration string `json:"logLevelDuration" msgpack:"logLevelDuration" bson:"loglevelduration" mapstructure:"logLevelDuration,omitempty"`

	// A unique identifier for every machine as detected by the enforcer. It is
	// based on hardware information such as the SMBIOS UUID, MAC addresses of
	// interfaces, or cloud provider IDs.
	MachineID string `json:"machineID" msgpack:"machineID" bson:"machineid" mapstructure:"machineID,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Defines the migration status.
	MigrationStatus EnforcerMigrationStatusValue `json:"migrationStatus" msgpack:"migrationStatus" bson:"migrationstatus" mapstructure:"migrationStatus,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Defines the next version the enforcer will be migrated to.
	NextAvailableVersion string `` /* 132-byte string literal not displayed */

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// The status of the enforcer.
	OperationalStatus EnforcerOperationalStatusValue `json:"operationalStatus" msgpack:"operationalStatus" bson:"operationalstatus" mapstructure:"operationalStatus,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// The public token of the server that will be included in the datapath and
	// is signed by the private certificate authority.
	PublicToken string `json:"publicToken" msgpack:"publicToken" bson:"publictoken" mapstructure:"publicToken,omitempty"`

	// The time and date on which this enforcer was started. The enforcer reports
	// this and the value is preserved across disconnects.
	StartTime time.Time `json:"startTime" msgpack:"startTime" bson:"starttime" mapstructure:"startTime,omitempty"`

	// Local subnets of this enforcer.
	Subnets []string `json:"subnets" msgpack:"subnets" bson:"subnets" mapstructure:"subnets,omitempty"`

	// The Microsegmentation Console sets this value to `true` if it hasn't heard from
	// the enforcer in the last five minutes.
	Unreachable bool `json:"unreachable" msgpack:"unreachable" bson:"unreachable" mapstructure:"unreachable,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Enforcer represents the model of a enforcer

func NewEnforcer

func NewEnforcer() *Enforcer

NewEnforcer returns a new *Enforcer

func (*Enforcer) AttributeSpecifications

func (*Enforcer) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Enforcer) BleveType added in v1.1.0

func (o *Enforcer) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Enforcer) DeepCopy

func (o *Enforcer) DeepCopy() *Enforcer

DeepCopy returns a deep copy if the Enforcer.

func (*Enforcer) DeepCopyInto

func (o *Enforcer) DeepCopyInto(out *Enforcer)

DeepCopyInto copies the receiver into the given *Enforcer.

func (*Enforcer) DefaultOrder

func (o *Enforcer) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Enforcer) Doc

func (o *Enforcer) Doc() string

Doc returns the documentation for the object

func (*Enforcer) GetAnnotations

func (o *Enforcer) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Enforcer) GetAssociatedTags

func (o *Enforcer) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Enforcer) GetBSON added in v1.80.0

func (o *Enforcer) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Enforcer) GetController added in v1.94.1

func (o *Enforcer) GetController() string

GetController returns the Controller of the receiver.

func (*Enforcer) GetCreateIdempotencyKey

func (o *Enforcer) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Enforcer) GetCreateTime

func (o *Enforcer) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Enforcer) GetDescription

func (o *Enforcer) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Enforcer) GetMetadata

func (o *Enforcer) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*Enforcer) GetMigrationsLog added in v1.30.0

func (o *Enforcer) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Enforcer) GetName

func (o *Enforcer) GetName() string

GetName returns the Name of the receiver.

func (*Enforcer) GetNamespace

func (o *Enforcer) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Enforcer) GetNormalizedTags

func (o *Enforcer) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Enforcer) GetProtected

func (o *Enforcer) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Enforcer) GetUpdateIdempotencyKey

func (o *Enforcer) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Enforcer) GetUpdateTime

func (o *Enforcer) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Enforcer) GetZHash

func (o *Enforcer) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Enforcer) GetZone

func (o *Enforcer) GetZone() int

GetZone returns the Zone of the receiver.

func (*Enforcer) Identifier

func (o *Enforcer) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Enforcer) Identity

func (o *Enforcer) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Enforcer) Patch

func (o *Enforcer) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseEnforcer to the object.

func (*Enforcer) SetAnnotations

func (o *Enforcer) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Enforcer) SetAssociatedTags

func (o *Enforcer) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Enforcer) SetBSON added in v1.80.0

func (o *Enforcer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Enforcer) SetController added in v1.94.1

func (o *Enforcer) SetController(controller string)

SetController sets the property Controller of the receiver using the given value.

func (*Enforcer) SetCreateIdempotencyKey

func (o *Enforcer) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Enforcer) SetCreateTime

func (o *Enforcer) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Enforcer) SetDescription

func (o *Enforcer) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Enforcer) SetIdentifier

func (o *Enforcer) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Enforcer) SetMetadata

func (o *Enforcer) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*Enforcer) SetMigrationsLog added in v1.30.0

func (o *Enforcer) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Enforcer) SetName

func (o *Enforcer) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Enforcer) SetNamespace

func (o *Enforcer) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Enforcer) SetNormalizedTags

func (o *Enforcer) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Enforcer) SetProtected

func (o *Enforcer) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Enforcer) SetUpdateIdempotencyKey

func (o *Enforcer) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Enforcer) SetUpdateTime

func (o *Enforcer) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Enforcer) SetZHash

func (o *Enforcer) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Enforcer) SetZone

func (o *Enforcer) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Enforcer) SpecificationForAttribute

func (*Enforcer) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Enforcer) String

func (o *Enforcer) String() string

func (*Enforcer) ToSparse

func (o *Enforcer) 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 (*Enforcer) Validate

func (o *Enforcer) Validate() error

Validate valides the current information stored into the structure.

func (*Enforcer) ValueForAttribute

func (o *Enforcer) ValueForAttribute(name string) interface{}

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 (*Enforcer) Version

func (o *Enforcer) Version() int

Version returns the hardcoded version of the model.

type EnforcerEnforcementStatusValue

type EnforcerEnforcementStatusValue string

EnforcerEnforcementStatusValue represents the possible values for attribute "enforcementStatus".

const (
	// EnforcerEnforcementStatusActive represents the value Active.
	EnforcerEnforcementStatusActive EnforcerEnforcementStatusValue = "Active"

	// EnforcerEnforcementStatusFailed represents the value Failed.
	EnforcerEnforcementStatusFailed EnforcerEnforcementStatusValue = "Failed"

	// EnforcerEnforcementStatusInactive represents the value Inactive.
	EnforcerEnforcementStatusInactive EnforcerEnforcementStatusValue = "Inactive"
)

type EnforcerLog added in v1.94.1

type EnforcerLog struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Contains the ID of the enforcer log. `CollectionID` is used to
	// aggregate the multipart data.
	CollectionID string `json:"collectionID" msgpack:"collectionID" bson:"collectionid" mapstructure:"collectionID,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Represents the data collected by the enforcer.
	Data string `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

	// ID of the enforcer.
	EnforcerID string `json:"enforcerID" msgpack:"enforcerID" bson:"enforcerid" mapstructure:"enforcerID,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Number assigned to each log in the increasing order.
	Page int `json:"page" msgpack:"page" bson:"page" mapstructure:"page,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Title of the log.
	Title string `json:"title" msgpack:"title" bson:"title" mapstructure:"title,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

EnforcerLog represents the model of a enforcerlog

func NewEnforcerLog added in v1.94.1

func NewEnforcerLog() *EnforcerLog

NewEnforcerLog returns a new *EnforcerLog

func (*EnforcerLog) AttributeSpecifications added in v1.94.1

func (*EnforcerLog) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*EnforcerLog) BleveType added in v1.94.1

func (o *EnforcerLog) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*EnforcerLog) DeepCopy added in v1.94.1

func (o *EnforcerLog) DeepCopy() *EnforcerLog

DeepCopy returns a deep copy if the EnforcerLog.

func (*EnforcerLog) DeepCopyInto added in v1.94.1

func (o *EnforcerLog) DeepCopyInto(out *EnforcerLog)

DeepCopyInto copies the receiver into the given *EnforcerLog.

func (*EnforcerLog) DefaultOrder added in v1.94.1

func (o *EnforcerLog) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*EnforcerLog) Doc added in v1.94.1

func (o *EnforcerLog) Doc() string

Doc returns the documentation for the object

func (*EnforcerLog) GetAnnotations added in v1.94.1

func (o *EnforcerLog) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*EnforcerLog) GetAssociatedTags added in v1.94.1

func (o *EnforcerLog) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*EnforcerLog) GetBSON added in v1.94.1

func (o *EnforcerLog) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerLog) GetCreateIdempotencyKey added in v1.94.1

func (o *EnforcerLog) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*EnforcerLog) GetCreateTime added in v1.94.1

func (o *EnforcerLog) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*EnforcerLog) GetMigrationsLog added in v1.94.1

func (o *EnforcerLog) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*EnforcerLog) GetNamespace added in v1.94.1

func (o *EnforcerLog) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*EnforcerLog) GetNormalizedTags added in v1.94.1

func (o *EnforcerLog) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*EnforcerLog) GetProtected added in v1.94.1

func (o *EnforcerLog) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*EnforcerLog) GetUpdateIdempotencyKey added in v1.94.1

func (o *EnforcerLog) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*EnforcerLog) GetUpdateTime added in v1.94.1

func (o *EnforcerLog) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*EnforcerLog) GetZHash added in v1.94.1

func (o *EnforcerLog) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*EnforcerLog) GetZone added in v1.94.1

func (o *EnforcerLog) GetZone() int

GetZone returns the Zone of the receiver.

func (*EnforcerLog) Identifier added in v1.94.1

func (o *EnforcerLog) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*EnforcerLog) Identity added in v1.94.1

func (o *EnforcerLog) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*EnforcerLog) Patch added in v1.94.1

func (o *EnforcerLog) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseEnforcerLog to the object.

func (*EnforcerLog) SetAnnotations added in v1.94.1

func (o *EnforcerLog) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*EnforcerLog) SetAssociatedTags added in v1.94.1

func (o *EnforcerLog) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*EnforcerLog) SetBSON added in v1.94.1

func (o *EnforcerLog) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerLog) SetCreateIdempotencyKey added in v1.94.1

func (o *EnforcerLog) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*EnforcerLog) SetCreateTime added in v1.94.1

func (o *EnforcerLog) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*EnforcerLog) SetIdentifier added in v1.94.1

func (o *EnforcerLog) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*EnforcerLog) SetMigrationsLog added in v1.94.1

func (o *EnforcerLog) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*EnforcerLog) SetNamespace added in v1.94.1

func (o *EnforcerLog) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*EnforcerLog) SetNormalizedTags added in v1.94.1

func (o *EnforcerLog) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*EnforcerLog) SetProtected added in v1.94.1

func (o *EnforcerLog) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*EnforcerLog) SetUpdateIdempotencyKey added in v1.94.1

func (o *EnforcerLog) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*EnforcerLog) SetUpdateTime added in v1.94.1

func (o *EnforcerLog) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*EnforcerLog) SetZHash added in v1.94.1

func (o *EnforcerLog) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*EnforcerLog) SetZone added in v1.94.1

func (o *EnforcerLog) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*EnforcerLog) SpecificationForAttribute added in v1.94.1

func (*EnforcerLog) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*EnforcerLog) String added in v1.94.1

func (o *EnforcerLog) String() string

func (*EnforcerLog) ToSparse added in v1.94.1

func (o *EnforcerLog) 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 (*EnforcerLog) Validate added in v1.94.1

func (o *EnforcerLog) Validate() error

Validate valides the current information stored into the structure.

func (*EnforcerLog) ValueForAttribute added in v1.94.1

func (o *EnforcerLog) ValueForAttribute(name string) interface{}

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 (*EnforcerLog) Version added in v1.94.1

func (o *EnforcerLog) Version() int

Version returns the hardcoded version of the model.

type EnforcerLogLevelValue added in v1.27.0

type EnforcerLogLevelValue string

EnforcerLogLevelValue represents the possible values for attribute "logLevel".

const (
	// EnforcerLogLevelDebug represents the value Debug.
	EnforcerLogLevelDebug EnforcerLogLevelValue = "Debug"

	// EnforcerLogLevelError represents the value Error.
	EnforcerLogLevelError EnforcerLogLevelValue = "Error"

	// EnforcerLogLevelInfo represents the value Info.
	EnforcerLogLevelInfo EnforcerLogLevelValue = "Info"

	// EnforcerLogLevelTrace represents the value Trace.
	EnforcerLogLevelTrace EnforcerLogLevelValue = "Trace"

	// EnforcerLogLevelWarn represents the value Warn.
	EnforcerLogLevelWarn EnforcerLogLevelValue = "Warn"
)

type EnforcerLogsList added in v1.94.1

type EnforcerLogsList []*EnforcerLog

EnforcerLogsList represents a list of EnforcerLogs

func (EnforcerLogsList) Append added in v1.94.1

Append appends the objects to the a new copy of the EnforcerLogsList.

func (EnforcerLogsList) Copy added in v1.94.1

Copy returns a pointer to a copy the EnforcerLogsList.

func (EnforcerLogsList) DefaultOrder added in v1.94.1

func (o EnforcerLogsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EnforcerLogsList) Identity added in v1.94.1

func (o EnforcerLogsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (EnforcerLogsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (EnforcerLogsList) ToSparse added in v1.94.1

func (o EnforcerLogsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the EnforcerLogsList converted to SparseEnforcerLogsList. Objects in the list will only contain the given fields. No field means entire field set.

func (EnforcerLogsList) Version added in v1.94.1

func (o EnforcerLogsList) Version() int

Version returns the version of the content.

type EnforcerMigrationStatusValue added in v1.94.1

type EnforcerMigrationStatusValue string

EnforcerMigrationStatusValue represents the possible values for attribute "migrationStatus".

const (
	// EnforcerMigrationStatusFailed represents the value Failed.
	EnforcerMigrationStatusFailed EnforcerMigrationStatusValue = "Failed"

	// EnforcerMigrationStatusNone represents the value None.
	EnforcerMigrationStatusNone EnforcerMigrationStatusValue = "None"

	// EnforcerMigrationStatusRunning represents the value Running.
	EnforcerMigrationStatusRunning EnforcerMigrationStatusValue = "Running"
)

type EnforcerOperationalStatusValue

type EnforcerOperationalStatusValue string

EnforcerOperationalStatusValue represents the possible values for attribute "operationalStatus".

const (
	// EnforcerOperationalStatusConnected represents the value Connected.
	EnforcerOperationalStatusConnected EnforcerOperationalStatusValue = "Connected"

	// EnforcerOperationalStatusDisconnected represents the value Disconnected.
	EnforcerOperationalStatusDisconnected EnforcerOperationalStatusValue = "Disconnected"

	// EnforcerOperationalStatusInitialized represents the value Initialized.
	EnforcerOperationalStatusInitialized EnforcerOperationalStatusValue = "Initialized"

	// EnforcerOperationalStatusRegistered represents the value Registered.
	EnforcerOperationalStatusRegistered EnforcerOperationalStatusValue = "Registered"
)

type EnforcerProfile

type EnforcerProfile struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Ignore traffic with a source or destination matching the specified
	// interfaces.
	ExcludedInterfaces []string `json:"excludedInterfaces" msgpack:"excludedInterfaces" bson:"excludedinterfaces" mapstructure:"excludedInterfaces,omitempty"`

	// Ignore any networks specified here and do not even report any flows.
	// This can be useful for excluding localhost loopback traffic, ignoring
	// traffic to the Kubernetes API, and using Microsegmentation for SSH only.
	ExcludedNetworks []string `json:"excludedNetworks" msgpack:"excludedNetworks" bson:"excludednetworks" mapstructure:"excludedNetworks,omitempty"`

	// A tag expression that identifies processing units to ignore. This can be
	// useful to exclude `kube-system` pods, AWS EC2 agent pods, and third-party
	// agents.
	IgnoreExpression [][]string `json:"ignoreExpression" msgpack:"ignoreExpression" bson:"ignoreexpression" mapstructure:"ignoreExpression,omitempty"`

	// This field is kept for backward compatibility for enforcers <= 3.5.
	KubernetesMetadataExtractor EnforcerProfileKubernetesMetadataExtractorValue `` /* 160-byte string literal not displayed */

	// This field is kept for backward compatibility for enforcers <= 3.5.
	KubernetesSupportEnabled bool `` /* 148-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// This field is kept for backward compatibility for enforcers <= 3.5.
	MetadataExtractor EnforcerProfileMetadataExtractorValue `json:"metadataExtractor" msgpack:"metadataExtractor" bson:"metadataextractor" mapstructure:"metadataExtractor,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// If empty, the enforcer auto-discovers the TCP networks. Auto-discovery
	// works best in Kubernetes and OpenShift deployments. You may need to manually
	// specify the TCP networks if middle boxes exist that do not comply with
	// [TCP Fast Open RFC 7413](https://tools.ietf.org/html/rfc7413).
	TargetNetworks []string `json:"targetNetworks" msgpack:"targetNetworks" bson:"targetnetworks" mapstructure:"targetNetworks,omitempty"`

	// If empty, the enforcer enforces all UDP networks. This works best when all UDP
	// networks have enforcers. If some UDP networks do not have enforcers, you
	// may need to manually specify the UDP networks that should be enforced.
	TargetUDPNetworks []string `json:"targetUDPNetworks" msgpack:"targetUDPNetworks" bson:"targetudpnetworks" mapstructure:"targetUDPNetworks,omitempty"`

	// List of trusted certificate authorities. If empty, the main chain of trust
	// will be used.
	TrustedCAs []string `json:"trustedCAs" msgpack:"trustedCAs" bson:"trustedcas" mapstructure:"trustedCAs,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

EnforcerProfile represents the model of a enforcerprofile

func NewEnforcerProfile

func NewEnforcerProfile() *EnforcerProfile

NewEnforcerProfile returns a new *EnforcerProfile

func (*EnforcerProfile) AttributeSpecifications

func (*EnforcerProfile) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*EnforcerProfile) BleveType added in v1.1.0

func (o *EnforcerProfile) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*EnforcerProfile) DeepCopy

func (o *EnforcerProfile) DeepCopy() *EnforcerProfile

DeepCopy returns a deep copy if the EnforcerProfile.

func (*EnforcerProfile) DeepCopyInto

func (o *EnforcerProfile) DeepCopyInto(out *EnforcerProfile)

DeepCopyInto copies the receiver into the given *EnforcerProfile.

func (*EnforcerProfile) DefaultOrder

func (o *EnforcerProfile) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*EnforcerProfile) Doc

func (o *EnforcerProfile) Doc() string

Doc returns the documentation for the object

func (*EnforcerProfile) GetAnnotations

func (o *EnforcerProfile) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*EnforcerProfile) GetAssociatedTags

func (o *EnforcerProfile) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*EnforcerProfile) GetBSON added in v1.80.0

func (o *EnforcerProfile) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerProfile) GetCreateIdempotencyKey

func (o *EnforcerProfile) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*EnforcerProfile) GetCreateTime

func (o *EnforcerProfile) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*EnforcerProfile) GetDescription

func (o *EnforcerProfile) GetDescription() string

GetDescription returns the Description of the receiver.

func (*EnforcerProfile) GetMetadata

func (o *EnforcerProfile) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*EnforcerProfile) GetMigrationsLog added in v1.30.0

func (o *EnforcerProfile) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*EnforcerProfile) GetName

func (o *EnforcerProfile) GetName() string

GetName returns the Name of the receiver.

func (*EnforcerProfile) GetNamespace

func (o *EnforcerProfile) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*EnforcerProfile) GetNormalizedTags

func (o *EnforcerProfile) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*EnforcerProfile) GetPropagate

func (o *EnforcerProfile) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*EnforcerProfile) GetProtected

func (o *EnforcerProfile) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*EnforcerProfile) GetUpdateIdempotencyKey

func (o *EnforcerProfile) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*EnforcerProfile) GetUpdateTime

func (o *EnforcerProfile) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*EnforcerProfile) GetZHash

func (o *EnforcerProfile) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*EnforcerProfile) GetZone

func (o *EnforcerProfile) GetZone() int

GetZone returns the Zone of the receiver.

func (*EnforcerProfile) Identifier

func (o *EnforcerProfile) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*EnforcerProfile) Identity

func (o *EnforcerProfile) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*EnforcerProfile) Patch

func (o *EnforcerProfile) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseEnforcerProfile to the object.

func (*EnforcerProfile) SetAnnotations

func (o *EnforcerProfile) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*EnforcerProfile) SetAssociatedTags

func (o *EnforcerProfile) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*EnforcerProfile) SetBSON added in v1.80.0

func (o *EnforcerProfile) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerProfile) SetCreateIdempotencyKey

func (o *EnforcerProfile) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*EnforcerProfile) SetCreateTime

func (o *EnforcerProfile) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*EnforcerProfile) SetDescription

func (o *EnforcerProfile) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*EnforcerProfile) SetIdentifier

func (o *EnforcerProfile) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*EnforcerProfile) SetMetadata

func (o *EnforcerProfile) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*EnforcerProfile) SetMigrationsLog added in v1.30.0

func (o *EnforcerProfile) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*EnforcerProfile) SetName

func (o *EnforcerProfile) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*EnforcerProfile) SetNamespace

func (o *EnforcerProfile) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*EnforcerProfile) SetNormalizedTags

func (o *EnforcerProfile) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*EnforcerProfile) SetPropagate

func (o *EnforcerProfile) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*EnforcerProfile) SetProtected

func (o *EnforcerProfile) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*EnforcerProfile) SetUpdateIdempotencyKey

func (o *EnforcerProfile) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*EnforcerProfile) SetUpdateTime

func (o *EnforcerProfile) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*EnforcerProfile) SetZHash

func (o *EnforcerProfile) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*EnforcerProfile) SetZone

func (o *EnforcerProfile) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*EnforcerProfile) SpecificationForAttribute

func (*EnforcerProfile) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*EnforcerProfile) String

func (o *EnforcerProfile) String() string

func (*EnforcerProfile) ToSparse

func (o *EnforcerProfile) 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 (*EnforcerProfile) Validate

func (o *EnforcerProfile) Validate() error

Validate valides the current information stored into the structure.

func (*EnforcerProfile) ValueForAttribute

func (o *EnforcerProfile) ValueForAttribute(name string) interface{}

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 (*EnforcerProfile) Version

func (o *EnforcerProfile) Version() int

Version returns the hardcoded version of the model.

type EnforcerProfileKubernetesMetadataExtractorValue

type EnforcerProfileKubernetesMetadataExtractorValue string

EnforcerProfileKubernetesMetadataExtractorValue represents the possible values for attribute "kubernetesMetadataExtractor".

const (
	// EnforcerProfileKubernetesMetadataExtractorKubeSquall represents the value KubeSquall.
	EnforcerProfileKubernetesMetadataExtractorKubeSquall EnforcerProfileKubernetesMetadataExtractorValue = "KubeSquall"

	// EnforcerProfileKubernetesMetadataExtractorPodAtomic represents the value PodAtomic.
	EnforcerProfileKubernetesMetadataExtractorPodAtomic EnforcerProfileKubernetesMetadataExtractorValue = "PodAtomic"

	// EnforcerProfileKubernetesMetadataExtractorPodContainers represents the value PodContainers.
	EnforcerProfileKubernetesMetadataExtractorPodContainers EnforcerProfileKubernetesMetadataExtractorValue = "PodContainers"
)

type EnforcerProfileMappingPoliciesList

type EnforcerProfileMappingPoliciesList []*EnforcerProfileMappingPolicy

EnforcerProfileMappingPoliciesList represents a list of EnforcerProfileMappingPolicies

func (EnforcerProfileMappingPoliciesList) Append

Append appends the objects to the a new copy of the EnforcerProfileMappingPoliciesList.

func (EnforcerProfileMappingPoliciesList) Copy

Copy returns a pointer to a copy the EnforcerProfileMappingPoliciesList.

func (EnforcerProfileMappingPoliciesList) DefaultOrder

func (o EnforcerProfileMappingPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EnforcerProfileMappingPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (EnforcerProfileMappingPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (EnforcerProfileMappingPoliciesList) ToSparse

ToSparse returns the EnforcerProfileMappingPoliciesList converted to SparseEnforcerProfileMappingPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (EnforcerProfileMappingPoliciesList) Version

Version returns the version of the content.

type EnforcerProfileMappingPolicy

type EnforcerProfileMappingPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// The tag or tag expression that identifies the enforcer profile to be mapped.
	Object [][]string `json:"object" msgpack:"object" bson:"object" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// The tag or tag expression that identifies the enforcers that should implement
	// the mapped profile.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

EnforcerProfileMappingPolicy represents the model of a enforcerprofilemappingpolicy

func NewEnforcerProfileMappingPolicy

func NewEnforcerProfileMappingPolicy() *EnforcerProfileMappingPolicy

NewEnforcerProfileMappingPolicy returns a new *EnforcerProfileMappingPolicy

func (*EnforcerProfileMappingPolicy) AttributeSpecifications

AttributeSpecifications returns the full attribute specifications map.

func (*EnforcerProfileMappingPolicy) BleveType added in v1.1.0

func (o *EnforcerProfileMappingPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*EnforcerProfileMappingPolicy) DeepCopy

DeepCopy returns a deep copy if the EnforcerProfileMappingPolicy.

func (*EnforcerProfileMappingPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *EnforcerProfileMappingPolicy.

func (*EnforcerProfileMappingPolicy) DefaultOrder

func (o *EnforcerProfileMappingPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*EnforcerProfileMappingPolicy) Doc

Doc returns the documentation for the object

func (*EnforcerProfileMappingPolicy) GetAnnotations

func (o *EnforcerProfileMappingPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*EnforcerProfileMappingPolicy) GetAssociatedTags

func (o *EnforcerProfileMappingPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*EnforcerProfileMappingPolicy) GetBSON added in v1.80.0

func (o *EnforcerProfileMappingPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerProfileMappingPolicy) GetCreateIdempotencyKey

func (o *EnforcerProfileMappingPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*EnforcerProfileMappingPolicy) GetCreateTime

func (o *EnforcerProfileMappingPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*EnforcerProfileMappingPolicy) GetDescription

func (o *EnforcerProfileMappingPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*EnforcerProfileMappingPolicy) GetDisabled

func (o *EnforcerProfileMappingPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*EnforcerProfileMappingPolicy) GetFallback

func (o *EnforcerProfileMappingPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*EnforcerProfileMappingPolicy) GetMetadata

func (o *EnforcerProfileMappingPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*EnforcerProfileMappingPolicy) GetName

func (o *EnforcerProfileMappingPolicy) GetName() string

GetName returns the Name of the receiver.

func (*EnforcerProfileMappingPolicy) GetNamespace

func (o *EnforcerProfileMappingPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*EnforcerProfileMappingPolicy) GetNormalizedTags

func (o *EnforcerProfileMappingPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*EnforcerProfileMappingPolicy) GetPropagate

func (o *EnforcerProfileMappingPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*EnforcerProfileMappingPolicy) GetProtected

func (o *EnforcerProfileMappingPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*EnforcerProfileMappingPolicy) GetUpdateIdempotencyKey

func (o *EnforcerProfileMappingPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*EnforcerProfileMappingPolicy) GetUpdateTime

func (o *EnforcerProfileMappingPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*EnforcerProfileMappingPolicy) Identifier

func (o *EnforcerProfileMappingPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*EnforcerProfileMappingPolicy) Identity

Identity returns the Identity of the object.

func (*EnforcerProfileMappingPolicy) Patch

Patch apply the non nil value of a *SparseEnforcerProfileMappingPolicy to the object.

func (*EnforcerProfileMappingPolicy) SetAnnotations

func (o *EnforcerProfileMappingPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetAssociatedTags

func (o *EnforcerProfileMappingPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetBSON added in v1.80.0

func (o *EnforcerProfileMappingPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerProfileMappingPolicy) SetCreateIdempotencyKey

func (o *EnforcerProfileMappingPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetCreateTime

func (o *EnforcerProfileMappingPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetDescription

func (o *EnforcerProfileMappingPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetDisabled

func (o *EnforcerProfileMappingPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetFallback

func (o *EnforcerProfileMappingPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetIdentifier

func (o *EnforcerProfileMappingPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*EnforcerProfileMappingPolicy) SetMetadata

func (o *EnforcerProfileMappingPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetName

func (o *EnforcerProfileMappingPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetNamespace

func (o *EnforcerProfileMappingPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetNormalizedTags

func (o *EnforcerProfileMappingPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetPropagate

func (o *EnforcerProfileMappingPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetProtected

func (o *EnforcerProfileMappingPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetUpdateIdempotencyKey

func (o *EnforcerProfileMappingPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SetUpdateTime

func (o *EnforcerProfileMappingPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*EnforcerProfileMappingPolicy) SpecificationForAttribute

func (*EnforcerProfileMappingPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*EnforcerProfileMappingPolicy) String

func (*EnforcerProfileMappingPolicy) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*EnforcerProfileMappingPolicy) Validate

func (o *EnforcerProfileMappingPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*EnforcerProfileMappingPolicy) ValueForAttribute

func (o *EnforcerProfileMappingPolicy) ValueForAttribute(name string) interface{}

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 (*EnforcerProfileMappingPolicy) Version

func (o *EnforcerProfileMappingPolicy) Version() int

Version returns the hardcoded version of the model.

type EnforcerProfileMetadataExtractorValue

type EnforcerProfileMetadataExtractorValue string

EnforcerProfileMetadataExtractorValue represents the possible values for attribute "metadataExtractor".

const (
	// EnforcerProfileMetadataExtractorDocker represents the value Docker.
	EnforcerProfileMetadataExtractorDocker EnforcerProfileMetadataExtractorValue = "Docker"

	// EnforcerProfileMetadataExtractorECS represents the value ECS.
	EnforcerProfileMetadataExtractorECS EnforcerProfileMetadataExtractorValue = "ECS"

	// EnforcerProfileMetadataExtractorKubernetes represents the value Kubernetes.
	EnforcerProfileMetadataExtractorKubernetes EnforcerProfileMetadataExtractorValue = "Kubernetes"
)

type EnforcerProfilesList

type EnforcerProfilesList []*EnforcerProfile

EnforcerProfilesList represents a list of EnforcerProfiles

func (EnforcerProfilesList) Append

Append appends the objects to the a new copy of the EnforcerProfilesList.

func (EnforcerProfilesList) Copy

Copy returns a pointer to a copy the EnforcerProfilesList.

func (EnforcerProfilesList) DefaultOrder

func (o EnforcerProfilesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EnforcerProfilesList) Identity

Identity returns the identity of the objects in the list.

func (EnforcerProfilesList) List

List converts the object to an elemental.IdentifiablesList.

func (EnforcerProfilesList) ToSparse

func (o EnforcerProfilesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the EnforcerProfilesList converted to SparseEnforcerProfilesList. Objects in the list will only contain the given fields. No field means entire field set.

func (EnforcerProfilesList) Version

func (o EnforcerProfilesList) Version() int

Version returns the version of the content.

type EnforcerRefresh added in v1.94.1

type EnforcerRefresh struct {
	// Contains the ID of the target enforcer.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Set the debug information collected by the enforcer.
	Debug EnforcerRefreshDebugValue `json:"debug,omitempty" msgpack:"debug,omitempty" bson:"-" mapstructure:"debug,omitempty"`

	// Can be used to correlate with a DebugBundle.
	DebugID string `json:"debugID,omitempty" msgpack:"debugID,omitempty" bson:"-" mapstructure:"debugID,omitempty"`

	// Packet capture filter, syntax varying by platform.
	DebugPcapFilter string `json:"debugPcapFilter,omitempty" msgpack:"debugPcapFilter,omitempty" bson:"-" mapstructure:"debugPcapFilter,omitempty"`

	// Isolates debug information to a given processing unit, where possible.
	DebugProcessingUnitID string `` /* 136-byte string literal not displayed */

	// Defines the version to migrate enforcers.
	MigrationVersion string `json:"migrationVersion,omitempty" msgpack:"migrationVersion,omitempty" bson:"-" mapstructure:"migrationVersion,omitempty"`

	// Contains the original namespace of the enforcer.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Indicates the type of refresh.
	RefreshType EnforcerRefreshRefreshTypeValue `json:"refreshType" msgpack:"refreshType" bson:"refreshtype" mapstructure:"refreshType,omitempty"`

	// Request a command for the enforcers matching the following tag expression.
	Selector [][]string `json:"selector,omitempty" msgpack:"selector,omitempty" bson:"-" mapstructure:"selector,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

EnforcerRefresh represents the model of a enforcerrefresh

func NewEnforcerRefresh added in v1.94.1

func NewEnforcerRefresh() *EnforcerRefresh

NewEnforcerRefresh returns a new *EnforcerRefresh

func (*EnforcerRefresh) AttributeSpecifications added in v1.94.1

func (*EnforcerRefresh) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*EnforcerRefresh) BleveType added in v1.94.1

func (o *EnforcerRefresh) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*EnforcerRefresh) DeepCopy added in v1.94.1

func (o *EnforcerRefresh) DeepCopy() *EnforcerRefresh

DeepCopy returns a deep copy if the EnforcerRefresh.

func (*EnforcerRefresh) DeepCopyInto added in v1.94.1

func (o *EnforcerRefresh) DeepCopyInto(out *EnforcerRefresh)

DeepCopyInto copies the receiver into the given *EnforcerRefresh.

func (*EnforcerRefresh) DefaultOrder added in v1.94.1

func (o *EnforcerRefresh) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*EnforcerRefresh) Doc added in v1.94.1

func (o *EnforcerRefresh) Doc() string

Doc returns the documentation for the object

func (*EnforcerRefresh) GetBSON added in v1.94.1

func (o *EnforcerRefresh) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerRefresh) GetID added in v1.94.1

func (o *EnforcerRefresh) GetID() string

GetID returns the ID of the receiver.

func (*EnforcerRefresh) GetPropagate added in v1.94.1

func (o *EnforcerRefresh) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*EnforcerRefresh) Identifier added in v1.94.1

func (o *EnforcerRefresh) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*EnforcerRefresh) Identity added in v1.94.1

func (o *EnforcerRefresh) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*EnforcerRefresh) Patch added in v1.94.1

func (o *EnforcerRefresh) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseEnforcerRefresh to the object.

func (*EnforcerRefresh) SetBSON added in v1.94.1

func (o *EnforcerRefresh) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerRefresh) SetID added in v1.94.1

func (o *EnforcerRefresh) SetID(ID string)

SetID sets the property ID of the receiver using the given value.

func (*EnforcerRefresh) SetIdentifier added in v1.94.1

func (o *EnforcerRefresh) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*EnforcerRefresh) SetPropagate added in v1.94.1

func (o *EnforcerRefresh) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*EnforcerRefresh) SpecificationForAttribute added in v1.94.1

func (*EnforcerRefresh) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*EnforcerRefresh) String added in v1.94.1

func (o *EnforcerRefresh) String() string

func (*EnforcerRefresh) ToSparse added in v1.94.1

func (o *EnforcerRefresh) 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 (*EnforcerRefresh) Validate added in v1.94.1

func (o *EnforcerRefresh) Validate() error

Validate valides the current information stored into the structure.

func (*EnforcerRefresh) ValueForAttribute added in v1.94.1

func (o *EnforcerRefresh) ValueForAttribute(name string) interface{}

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 (*EnforcerRefresh) Version added in v1.94.1

func (o *EnforcerRefresh) Version() int

Version returns the hardcoded version of the model.

type EnforcerRefreshDebugValue added in v1.94.1

type EnforcerRefreshDebugValue string

EnforcerRefreshDebugValue represents the possible values for attribute "debug".

const (
	// EnforcerRefreshDebugCoreDump represents the value CoreDump.
	EnforcerRefreshDebugCoreDump EnforcerRefreshDebugValue = "CoreDump"

	// EnforcerRefreshDebugCounters represents the value Counters.
	EnforcerRefreshDebugCounters EnforcerRefreshDebugValue = "Counters"

	// EnforcerRefreshDebugLogs represents the value Logs.
	EnforcerRefreshDebugLogs EnforcerRefreshDebugValue = "Logs"

	// EnforcerRefreshDebugPUState represents the value PUState.
	EnforcerRefreshDebugPUState EnforcerRefreshDebugValue = "PUState"

	// EnforcerRefreshDebugPackets represents the value Packets.
	EnforcerRefreshDebugPackets EnforcerRefreshDebugValue = "Packets"

	// EnforcerRefreshDebugPcap represents the value Pcap.
	EnforcerRefreshDebugPcap EnforcerRefreshDebugValue = "Pcap"
)

type EnforcerRefreshRefreshTypeValue added in v1.94.1

type EnforcerRefreshRefreshTypeValue string

EnforcerRefreshRefreshTypeValue represents the possible values for attribute "refreshType".

const (
	// EnforcerRefreshRefreshTypeDebug represents the value Debug.
	EnforcerRefreshRefreshTypeDebug EnforcerRefreshRefreshTypeValue = "Debug"

	// EnforcerRefreshRefreshTypeMigration represents the value Migration.
	EnforcerRefreshRefreshTypeMigration EnforcerRefreshRefreshTypeValue = "Migration"
)

type EnforcerRefreshsList added in v1.94.1

type EnforcerRefreshsList []*EnforcerRefresh

EnforcerRefreshsList represents a list of EnforcerRefreshs

func (EnforcerRefreshsList) Append added in v1.94.1

Append appends the objects to the a new copy of the EnforcerRefreshsList.

func (EnforcerRefreshsList) Copy added in v1.94.1

Copy returns a pointer to a copy the EnforcerRefreshsList.

func (EnforcerRefreshsList) DefaultOrder added in v1.94.1

func (o EnforcerRefreshsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EnforcerRefreshsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (EnforcerRefreshsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (EnforcerRefreshsList) ToSparse added in v1.94.1

func (o EnforcerRefreshsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the EnforcerRefreshsList converted to SparseEnforcerRefreshsList. Objects in the list will only contain the given fields. No field means entire field set.

func (EnforcerRefreshsList) Version added in v1.94.1

func (o EnforcerRefreshsList) Version() int

Version returns the version of the content.

type EnforcerReport

type EnforcerReport struct {
	// Total CPU utilization of the enforcer as a percentage of vCPUs.
	CPULoad float64 `json:"CPULoad,omitempty" msgpack:"CPULoad,omitempty" bson:"a,omitempty" mapstructure:"CPULoad,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the enforcer.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"b,omitempty" mapstructure:"enforcerID,omitempty"`

	// Type of license for this enforcer.
	LicenseType EnforcerReportLicenseTypeValue `json:"licenseType,omitempty" msgpack:"licenseType,omitempty" bson:"h,omitempty" mapstructure:"licenseType,omitempty"`

	// Total resident memory used by the enforcer in bytes.
	Memory int `json:"memory,omitempty" msgpack:"memory,omitempty" bson:"c,omitempty" mapstructure:"memory,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the enforcer.
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"d,omitempty" mapstructure:"name,omitempty"`

	// Namespace of the enforcer.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"e,omitempty" mapstructure:"namespace,omitempty"`

	// Number of active processes of the enforcer.
	Processes int `json:"processes,omitempty" msgpack:"processes,omitempty" bson:"f,omitempty" mapstructure:"processes,omitempty"`

	// Date of the report.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"g,omitempty" mapstructure:"timestamp,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

EnforcerReport represents the model of a enforcerreport

func NewEnforcerReport

func NewEnforcerReport() *EnforcerReport

NewEnforcerReport returns a new *EnforcerReport

func (*EnforcerReport) AttributeSpecifications

func (*EnforcerReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*EnforcerReport) BleveType added in v1.1.0

func (o *EnforcerReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*EnforcerReport) DeepCopy

func (o *EnforcerReport) DeepCopy() *EnforcerReport

DeepCopy returns a deep copy if the EnforcerReport.

func (*EnforcerReport) DeepCopyInto

func (o *EnforcerReport) DeepCopyInto(out *EnforcerReport)

DeepCopyInto copies the receiver into the given *EnforcerReport.

func (*EnforcerReport) DefaultOrder

func (o *EnforcerReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*EnforcerReport) Doc

func (o *EnforcerReport) Doc() string

Doc returns the documentation for the object

func (*EnforcerReport) GetBSON added in v1.80.0

func (o *EnforcerReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerReport) GetMigrationsLog added in v1.94.1

func (o *EnforcerReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*EnforcerReport) GetZHash added in v1.94.1

func (o *EnforcerReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*EnforcerReport) GetZone added in v1.94.1

func (o *EnforcerReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*EnforcerReport) Identifier

func (o *EnforcerReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*EnforcerReport) Identity

func (o *EnforcerReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*EnforcerReport) Patch

func (o *EnforcerReport) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseEnforcerReport to the object.

func (*EnforcerReport) SetBSON added in v1.80.0

func (o *EnforcerReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerReport) SetIdentifier

func (o *EnforcerReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*EnforcerReport) SetMigrationsLog added in v1.94.1

func (o *EnforcerReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*EnforcerReport) SetZHash added in v1.94.1

func (o *EnforcerReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*EnforcerReport) SetZone added in v1.94.1

func (o *EnforcerReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*EnforcerReport) SpecificationForAttribute

func (*EnforcerReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*EnforcerReport) String

func (o *EnforcerReport) String() string

func (*EnforcerReport) ToSparse

func (o *EnforcerReport) 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 (*EnforcerReport) Validate

func (o *EnforcerReport) Validate() error

Validate valides the current information stored into the structure.

func (*EnforcerReport) ValueForAttribute

func (o *EnforcerReport) ValueForAttribute(name string) interface{}

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 (*EnforcerReport) Version

func (o *EnforcerReport) Version() int

Version returns the hardcoded version of the model.

type EnforcerReportLicenseTypeValue added in v1.94.1

type EnforcerReportLicenseTypeValue string

EnforcerReportLicenseTypeValue represents the possible values for attribute "licenseType".

const (
	// EnforcerReportLicenseTypeContainer represents the value Container.
	EnforcerReportLicenseTypeContainer EnforcerReportLicenseTypeValue = "Container"

	// EnforcerReportLicenseTypeHost represents the value Host.
	EnforcerReportLicenseTypeHost EnforcerReportLicenseTypeValue = "Host"
)

type EnforcerReportsList

type EnforcerReportsList []*EnforcerReport

EnforcerReportsList represents a list of EnforcerReports

func (EnforcerReportsList) Append

Append appends the objects to the a new copy of the EnforcerReportsList.

func (EnforcerReportsList) Copy

Copy returns a pointer to a copy the EnforcerReportsList.

func (EnforcerReportsList) DefaultOrder

func (o EnforcerReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EnforcerReportsList) Identity

func (o EnforcerReportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (EnforcerReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (EnforcerReportsList) ToSparse

func (o EnforcerReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the EnforcerReportsList converted to SparseEnforcerReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (EnforcerReportsList) Version

func (o EnforcerReportsList) Version() int

Version returns the version of the content.

type EnforcerTraceReport

type EnforcerTraceReport struct {
	// ID of the enforcer where the trace was collected.
	EnforcerID string `json:"enforcerID" msgpack:"enforcerID" bson:"enforcerid" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer where the trace was collected.
	EnforcerNamespace string `json:"enforcerNamespace" msgpack:"enforcerNamespace" bson:"enforcernamespace" mapstructure:"enforcerNamespace,omitempty"`

	// Namespace of the processing unit where the trace was collected.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// ID of the processing unit where the trace was collected.
	PuID string `json:"puID" msgpack:"puID" bson:"puid" mapstructure:"puID,omitempty"`

	// List of iptables trace records collected.
	Records []*TraceRecord `json:"-" msgpack:"-" bson:"records" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

EnforcerTraceReport represents the model of a enforcertracereport

func NewEnforcerTraceReport

func NewEnforcerTraceReport() *EnforcerTraceReport

NewEnforcerTraceReport returns a new *EnforcerTraceReport

func (*EnforcerTraceReport) AttributeSpecifications

func (*EnforcerTraceReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*EnforcerTraceReport) BleveType added in v1.1.0

func (o *EnforcerTraceReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*EnforcerTraceReport) DeepCopy

DeepCopy returns a deep copy if the EnforcerTraceReport.

func (*EnforcerTraceReport) DeepCopyInto

func (o *EnforcerTraceReport) DeepCopyInto(out *EnforcerTraceReport)

DeepCopyInto copies the receiver into the given *EnforcerTraceReport.

func (*EnforcerTraceReport) DefaultOrder

func (o *EnforcerTraceReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*EnforcerTraceReport) Doc

func (o *EnforcerTraceReport) Doc() string

Doc returns the documentation for the object

func (*EnforcerTraceReport) GetBSON added in v1.80.0

func (o *EnforcerTraceReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerTraceReport) Identifier

func (o *EnforcerTraceReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*EnforcerTraceReport) Identity

func (o *EnforcerTraceReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*EnforcerTraceReport) Patch

Patch apply the non nil value of a *SparseEnforcerTraceReport to the object.

func (*EnforcerTraceReport) SetBSON added in v1.80.0

func (o *EnforcerTraceReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EnforcerTraceReport) SetIdentifier

func (o *EnforcerTraceReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*EnforcerTraceReport) SpecificationForAttribute

func (*EnforcerTraceReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*EnforcerTraceReport) String

func (o *EnforcerTraceReport) String() string

func (*EnforcerTraceReport) ToSparse

func (o *EnforcerTraceReport) 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 (*EnforcerTraceReport) Validate

func (o *EnforcerTraceReport) Validate() error

Validate valides the current information stored into the structure.

func (*EnforcerTraceReport) ValueForAttribute

func (o *EnforcerTraceReport) ValueForAttribute(name string) interface{}

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 (*EnforcerTraceReport) Version

func (o *EnforcerTraceReport) Version() int

Version returns the hardcoded version of the model.

type EnforcerTraceReportsList

type EnforcerTraceReportsList []*EnforcerTraceReport

EnforcerTraceReportsList represents a list of EnforcerTraceReports

func (EnforcerTraceReportsList) Append

Append appends the objects to the a new copy of the EnforcerTraceReportsList.

func (EnforcerTraceReportsList) Copy

Copy returns a pointer to a copy the EnforcerTraceReportsList.

func (EnforcerTraceReportsList) DefaultOrder

func (o EnforcerTraceReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EnforcerTraceReportsList) Identity

Identity returns the identity of the objects in the list.

func (EnforcerTraceReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (EnforcerTraceReportsList) ToSparse

ToSparse returns the EnforcerTraceReportsList converted to SparseEnforcerTraceReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (EnforcerTraceReportsList) Version

func (o EnforcerTraceReportsList) Version() int

Version returns the version of the content.

type EnforcersList

type EnforcersList []*Enforcer

EnforcersList represents a list of Enforcers

func (EnforcersList) Append

Append appends the objects to the a new copy of the EnforcersList.

func (EnforcersList) Copy

Copy returns a pointer to a copy the EnforcersList.

func (EnforcersList) DefaultOrder

func (o EnforcersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EnforcersList) Identity

func (o EnforcersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (EnforcersList) List

List converts the object to an elemental.IdentifiablesList.

func (EnforcersList) ToSparse

func (o EnforcersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the EnforcersList converted to SparseEnforcersList. Objects in the list will only contain the given fields. No field means entire field set.

func (EnforcersList) Version

func (o EnforcersList) Version() int

Version returns the version of the content.

type EventLog

type EventLog struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Category of the event log.
	Category string `json:"category,omitempty" msgpack:"category,omitempty" bson:"a,omitempty" mapstructure:"category,omitempty"`

	// Content of the event log.
	Content string `json:"content,omitempty" msgpack:"content,omitempty" bson:"b,omitempty" mapstructure:"content,omitempty"`

	// Creation date of the event log.
	Date time.Time `json:"date,omitempty" msgpack:"date,omitempty" bson:"-" mapstructure:"date,omitempty"`

	// Sets the log level.
	Level EventLogLevelValue `json:"level,omitempty" msgpack:"level,omitempty" bson:"d,omitempty" mapstructure:"level,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to the event log.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"e,omitempty" mapstructure:"namespace,omitempty"`

	// Opaque data that can be attached to the event log, for further machine
	// processing.
	Opaque string `json:"opaque,omitempty" msgpack:"opaque,omitempty" bson:"f,omitempty" mapstructure:"opaque,omitempty"`

	// ID of the object this event log is attached to. The object must be in the same
	// namespace than the event log.
	TargetID string `json:"targetID,omitempty" msgpack:"targetID,omitempty" bson:"g,omitempty" mapstructure:"targetID,omitempty"`

	// Identity of the object this event log is attached to.
	TargetIdentity string `json:"targetIdentity,omitempty" msgpack:"targetIdentity,omitempty" bson:"h,omitempty" mapstructure:"targetIdentity,omitempty"`

	// Creation date of the event log.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"i,omitempty" mapstructure:"timestamp,omitempty"`

	// Title of the event log.
	Title string `json:"title,omitempty" msgpack:"title,omitempty" bson:"j,omitempty" mapstructure:"title,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

EventLog represents the model of a eventlog

func NewEventLog

func NewEventLog() *EventLog

NewEventLog returns a new *EventLog

func (*EventLog) AttributeSpecifications

func (*EventLog) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*EventLog) BleveType added in v1.1.0

func (o *EventLog) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*EventLog) DeepCopy

func (o *EventLog) DeepCopy() *EventLog

DeepCopy returns a deep copy if the EventLog.

func (*EventLog) DeepCopyInto

func (o *EventLog) DeepCopyInto(out *EventLog)

DeepCopyInto copies the receiver into the given *EventLog.

func (*EventLog) DefaultOrder

func (o *EventLog) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*EventLog) Doc

func (o *EventLog) Doc() string

Doc returns the documentation for the object

func (*EventLog) GetBSON added in v1.80.0

func (o *EventLog) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EventLog) GetMigrationsLog added in v1.94.1

func (o *EventLog) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*EventLog) GetNamespace

func (o *EventLog) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*EventLog) GetZHash added in v1.94.1

func (o *EventLog) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*EventLog) GetZone added in v1.94.1

func (o *EventLog) GetZone() int

GetZone returns the Zone of the receiver.

func (*EventLog) Identifier

func (o *EventLog) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*EventLog) Identity

func (o *EventLog) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*EventLog) Patch

func (o *EventLog) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseEventLog to the object.

func (*EventLog) SetBSON added in v1.80.0

func (o *EventLog) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*EventLog) SetIdentifier

func (o *EventLog) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*EventLog) SetMigrationsLog added in v1.94.1

func (o *EventLog) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*EventLog) SetNamespace

func (o *EventLog) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*EventLog) SetZHash added in v1.94.1

func (o *EventLog) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*EventLog) SetZone added in v1.94.1

func (o *EventLog) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*EventLog) SpecificationForAttribute

func (*EventLog) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*EventLog) String

func (o *EventLog) String() string

func (*EventLog) ToSparse

func (o *EventLog) 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 (*EventLog) Validate

func (o *EventLog) Validate() error

Validate valides the current information stored into the structure.

func (*EventLog) ValueForAttribute

func (o *EventLog) ValueForAttribute(name string) interface{}

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 (*EventLog) Version

func (o *EventLog) Version() int

Version returns the hardcoded version of the model.

type EventLogLevelValue

type EventLogLevelValue string

EventLogLevelValue represents the possible values for attribute "level".

const (
	// EventLogLevelCritical represents the value Critical.
	EventLogLevelCritical EventLogLevelValue = "Critical"

	// EventLogLevelDebug represents the value Debug.
	EventLogLevelDebug EventLogLevelValue = "Debug"

	// EventLogLevelError represents the value Error.
	EventLogLevelError EventLogLevelValue = "Error"

	// EventLogLevelInfo represents the value Info.
	EventLogLevelInfo EventLogLevelValue = "Info"

	// EventLogLevelWarning represents the value Warning.
	EventLogLevelWarning EventLogLevelValue = "Warning"
)

type EventLogsList

type EventLogsList []*EventLog

EventLogsList represents a list of EventLogs

func (EventLogsList) Append

Append appends the objects to the a new copy of the EventLogsList.

func (EventLogsList) Copy

Copy returns a pointer to a copy the EventLogsList.

func (EventLogsList) DefaultOrder

func (o EventLogsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (EventLogsList) Identity

func (o EventLogsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (EventLogsList) List

List converts the object to an elemental.IdentifiablesList.

func (EventLogsList) ToSparse

func (o EventLogsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the EventLogsList converted to SparseEventLogsList. Objects in the list will only contain the given fields. No field means entire field set.

func (EventLogsList) Version

func (o EventLogsList) Version() int

Version returns the version of the content.

type Export

type Export struct {
	// Version of the Microsegmentation Console API used for the exported data.
	APIVersion int `json:"APIVersion" msgpack:"APIVersion" bson:"apiversion" mapstructure:"APIVersion,omitempty"`

	// List of all exported data.
	Data map[string][]map[string]interface{} `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

	// The list of identities to export.
	Identities []string `json:"identities" msgpack:"identities" bson:"identities" mapstructure:"identities,omitempty"`

	// Allows you to define a unique label for this export. When importing the
	// content of the export, this label will be added as a tag that will be used to
	// recognize imported object in a later import.
	Label string `json:"label" msgpack:"label" bson:"label" mapstructure:"label,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Export represents the model of a export

func NewExport

func NewExport() *Export

NewExport returns a new *Export

func (*Export) AttributeSpecifications

func (*Export) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Export) BleveType added in v1.1.0

func (o *Export) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Export) DeepCopy

func (o *Export) DeepCopy() *Export

DeepCopy returns a deep copy if the Export.

func (*Export) DeepCopyInto

func (o *Export) DeepCopyInto(out *Export)

DeepCopyInto copies the receiver into the given *Export.

func (*Export) DefaultOrder

func (o *Export) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Export) Doc

func (o *Export) Doc() string

Doc returns the documentation for the object

func (*Export) GetBSON added in v1.80.0

func (o *Export) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Export) Identifier

func (o *Export) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Export) Identity

func (o *Export) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Export) Patch

func (o *Export) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseExport to the object.

func (*Export) SetBSON added in v1.80.0

func (o *Export) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Export) SetIdentifier

func (o *Export) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Export) SpecificationForAttribute

func (*Export) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Export) String

func (o *Export) String() string

func (*Export) ToSparse

func (o *Export) 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 (*Export) Validate

func (o *Export) Validate() error

Validate valides the current information stored into the structure.

func (*Export) ValueForAttribute

func (o *Export) ValueForAttribute(name string) interface{}

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 (*Export) Version

func (o *Export) Version() int

Version returns the hardcoded version of the model.

type ExportsList

type ExportsList []*Export

ExportsList represents a list of Exports

func (ExportsList) Append

Append appends the objects to the a new copy of the ExportsList.

func (ExportsList) Copy

Copy returns a pointer to a copy the ExportsList.

func (ExportsList) DefaultOrder

func (o ExportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ExportsList) Identity

func (o ExportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ExportsList) List

List converts the object to an elemental.IdentifiablesList.

func (ExportsList) ToSparse

func (o ExportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ExportsList converted to SparseExportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ExportsList) Version

func (o ExportsList) Version() int

Version returns the version of the content.

type ExternalNetwork

type ExternalNetwork struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// List of CIDRs or domain name.
	Entries []string `json:"entries" msgpack:"entries" bson:"entries" mapstructure:"entries,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// List of protocol/ports `(tcp/80)` or `(udp/80:100)`.
	ServicePorts []string `json:"servicePorts" msgpack:"servicePorts" bson:"serviceports" mapstructure:"servicePorts,omitempty"`

	// The type of external network (default `Subnet`).
	Type ExternalNetworkTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ExternalNetwork represents the model of a externalnetwork

func NewExternalNetwork

func NewExternalNetwork() *ExternalNetwork

NewExternalNetwork returns a new *ExternalNetwork

func (*ExternalNetwork) AttributeSpecifications

func (*ExternalNetwork) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ExternalNetwork) BleveType added in v1.1.0

func (o *ExternalNetwork) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ExternalNetwork) DeepCopy

func (o *ExternalNetwork) DeepCopy() *ExternalNetwork

DeepCopy returns a deep copy if the ExternalNetwork.

func (*ExternalNetwork) DeepCopyInto

func (o *ExternalNetwork) DeepCopyInto(out *ExternalNetwork)

DeepCopyInto copies the receiver into the given *ExternalNetwork.

func (*ExternalNetwork) DefaultOrder

func (o *ExternalNetwork) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ExternalNetwork) Doc

func (o *ExternalNetwork) Doc() string

Doc returns the documentation for the object

func (*ExternalNetwork) GetAnnotations

func (o *ExternalNetwork) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*ExternalNetwork) GetArchived

func (o *ExternalNetwork) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*ExternalNetwork) GetAssociatedTags

func (o *ExternalNetwork) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*ExternalNetwork) GetBSON added in v1.80.0

func (o *ExternalNetwork) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ExternalNetwork) GetCreateIdempotencyKey

func (o *ExternalNetwork) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*ExternalNetwork) GetCreateTime

func (o *ExternalNetwork) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ExternalNetwork) GetDescription

func (o *ExternalNetwork) GetDescription() string

GetDescription returns the Description of the receiver.

func (*ExternalNetwork) GetMetadata

func (o *ExternalNetwork) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*ExternalNetwork) GetMigrationsLog added in v1.30.0

func (o *ExternalNetwork) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*ExternalNetwork) GetName

func (o *ExternalNetwork) GetName() string

GetName returns the Name of the receiver.

func (*ExternalNetwork) GetNamespace

func (o *ExternalNetwork) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ExternalNetwork) GetNormalizedTags

func (o *ExternalNetwork) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*ExternalNetwork) GetPropagate

func (o *ExternalNetwork) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*ExternalNetwork) GetProtected

func (o *ExternalNetwork) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*ExternalNetwork) GetUpdateIdempotencyKey

func (o *ExternalNetwork) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*ExternalNetwork) GetUpdateTime

func (o *ExternalNetwork) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ExternalNetwork) GetZHash

func (o *ExternalNetwork) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ExternalNetwork) GetZone

func (o *ExternalNetwork) GetZone() int

GetZone returns the Zone of the receiver.

func (*ExternalNetwork) Identifier

func (o *ExternalNetwork) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ExternalNetwork) Identity

func (o *ExternalNetwork) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ExternalNetwork) Patch

func (o *ExternalNetwork) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseExternalNetwork to the object.

func (*ExternalNetwork) SetAnnotations

func (o *ExternalNetwork) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*ExternalNetwork) SetArchived

func (o *ExternalNetwork) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the given value.

func (*ExternalNetwork) SetAssociatedTags

func (o *ExternalNetwork) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*ExternalNetwork) SetBSON added in v1.80.0

func (o *ExternalNetwork) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ExternalNetwork) SetCreateIdempotencyKey

func (o *ExternalNetwork) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*ExternalNetwork) SetCreateTime

func (o *ExternalNetwork) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ExternalNetwork) SetDescription

func (o *ExternalNetwork) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*ExternalNetwork) SetIdentifier

func (o *ExternalNetwork) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ExternalNetwork) SetMetadata

func (o *ExternalNetwork) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*ExternalNetwork) SetMigrationsLog added in v1.30.0

func (o *ExternalNetwork) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*ExternalNetwork) SetName

func (o *ExternalNetwork) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*ExternalNetwork) SetNamespace

func (o *ExternalNetwork) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ExternalNetwork) SetNormalizedTags

func (o *ExternalNetwork) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*ExternalNetwork) SetPropagate

func (o *ExternalNetwork) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*ExternalNetwork) SetProtected

func (o *ExternalNetwork) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*ExternalNetwork) SetUpdateIdempotencyKey

func (o *ExternalNetwork) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*ExternalNetwork) SetUpdateTime

func (o *ExternalNetwork) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ExternalNetwork) SetZHash

func (o *ExternalNetwork) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ExternalNetwork) SetZone

func (o *ExternalNetwork) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ExternalNetwork) SpecificationForAttribute

func (*ExternalNetwork) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ExternalNetwork) String

func (o *ExternalNetwork) String() string

func (*ExternalNetwork) ToSparse

func (o *ExternalNetwork) 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 (*ExternalNetwork) Validate

func (o *ExternalNetwork) Validate() error

Validate valides the current information stored into the structure.

func (*ExternalNetwork) ValueForAttribute

func (o *ExternalNetwork) ValueForAttribute(name string) interface{}

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 (*ExternalNetwork) Version

func (o *ExternalNetwork) Version() int

Version returns the hardcoded version of the model.

type ExternalNetworkTypeValue added in v1.94.1

type ExternalNetworkTypeValue string

ExternalNetworkTypeValue represents the possible values for attribute "type".

const (
	// ExternalNetworkTypeENI represents the value ENI.
	ExternalNetworkTypeENI ExternalNetworkTypeValue = "ENI"

	// ExternalNetworkTypeRDSCluster represents the value RDSCluster.
	ExternalNetworkTypeRDSCluster ExternalNetworkTypeValue = "RDSCluster"

	// ExternalNetworkTypeRDSInstance represents the value RDSInstance.
	ExternalNetworkTypeRDSInstance ExternalNetworkTypeValue = "RDSInstance"

	// ExternalNetworkTypeSecurityGroup represents the value SecurityGroup.
	ExternalNetworkTypeSecurityGroup ExternalNetworkTypeValue = "SecurityGroup"

	// ExternalNetworkTypeSubnet represents the value Subnet.
	ExternalNetworkTypeSubnet ExternalNetworkTypeValue = "Subnet"
)

type ExternalNetworksList

type ExternalNetworksList []*ExternalNetwork

ExternalNetworksList represents a list of ExternalNetworks

func (ExternalNetworksList) Append

Append appends the objects to the a new copy of the ExternalNetworksList.

func (ExternalNetworksList) Copy

Copy returns a pointer to a copy the ExternalNetworksList.

func (ExternalNetworksList) DefaultOrder

func (o ExternalNetworksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ExternalNetworksList) Identity

Identity returns the identity of the objects in the list.

func (ExternalNetworksList) List

List converts the object to an elemental.IdentifiablesList.

func (ExternalNetworksList) ToSparse

func (o ExternalNetworksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ExternalNetworksList converted to SparseExternalNetworksList. Objects in the list will only contain the given fields. No field means entire field set.

func (ExternalNetworksList) Version

func (o ExternalNetworksList) Version() int

Version returns the version of the content.

type FileAccessPoliciesList

type FileAccessPoliciesList []*FileAccessPolicy

FileAccessPoliciesList represents a list of FileAccessPolicies

func (FileAccessPoliciesList) Append

Append appends the objects to the a new copy of the FileAccessPoliciesList.

func (FileAccessPoliciesList) Copy

Copy returns a pointer to a copy the FileAccessPoliciesList.

func (FileAccessPoliciesList) DefaultOrder

func (o FileAccessPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (FileAccessPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (FileAccessPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (FileAccessPoliciesList) ToSparse

func (o FileAccessPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the FileAccessPoliciesList converted to SparseFileAccessPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (FileAccessPoliciesList) Version

func (o FileAccessPoliciesList) Version() int

Version returns the version of the content.

type FileAccessPolicy

type FileAccessPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Allows files to be executed.
	AllowsExecute bool `json:"allowsExecute" msgpack:"allowsExecute" bson:"-" mapstructure:"allowsExecute,omitempty"`

	// Allows files to be read.
	AllowsRead bool `json:"allowsRead" msgpack:"allowsRead" bson:"-" mapstructure:"allowsRead,omitempty"`

	// Allows files to be written.
	AllowsWrite bool `json:"allowsWrite" msgpack:"allowsWrite" bson:"-" mapstructure:"allowsWrite,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Set to `true` to enable automatic encryption.
	EncryptionEnabled bool `json:"encryptionEnabled" msgpack:"encryptionEnabled" bson:"-" mapstructure:"encryptionEnabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// A value of `true` enables logging.
	LogsEnabled bool `json:"logsEnabled" msgpack:"logsEnabled" bson:"-" mapstructure:"logsEnabled,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// The object of the policy.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// The subject of the policy.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

FileAccessPolicy represents the model of a fileaccesspolicy

func NewFileAccessPolicy

func NewFileAccessPolicy() *FileAccessPolicy

NewFileAccessPolicy returns a new *FileAccessPolicy

func (*FileAccessPolicy) AttributeSpecifications

func (*FileAccessPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*FileAccessPolicy) BleveType added in v1.1.0

func (o *FileAccessPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*FileAccessPolicy) DeepCopy

func (o *FileAccessPolicy) DeepCopy() *FileAccessPolicy

DeepCopy returns a deep copy if the FileAccessPolicy.

func (*FileAccessPolicy) DeepCopyInto

func (o *FileAccessPolicy) DeepCopyInto(out *FileAccessPolicy)

DeepCopyInto copies the receiver into the given *FileAccessPolicy.

func (*FileAccessPolicy) DefaultOrder

func (o *FileAccessPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*FileAccessPolicy) Doc

func (o *FileAccessPolicy) Doc() string

Doc returns the documentation for the object

func (*FileAccessPolicy) GetActiveDuration

func (o *FileAccessPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*FileAccessPolicy) GetActiveSchedule

func (o *FileAccessPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*FileAccessPolicy) GetAnnotations

func (o *FileAccessPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*FileAccessPolicy) GetAssociatedTags

func (o *FileAccessPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*FileAccessPolicy) GetBSON added in v1.80.0

func (o *FileAccessPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*FileAccessPolicy) GetCreateIdempotencyKey

func (o *FileAccessPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*FileAccessPolicy) GetCreateTime

func (o *FileAccessPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*FileAccessPolicy) GetDescription

func (o *FileAccessPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*FileAccessPolicy) GetDisabled

func (o *FileAccessPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*FileAccessPolicy) GetExpirationTime

func (o *FileAccessPolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*FileAccessPolicy) GetFallback

func (o *FileAccessPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*FileAccessPolicy) GetMetadata

func (o *FileAccessPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*FileAccessPolicy) GetName

func (o *FileAccessPolicy) GetName() string

GetName returns the Name of the receiver.

func (*FileAccessPolicy) GetNamespace

func (o *FileAccessPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*FileAccessPolicy) GetNormalizedTags

func (o *FileAccessPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*FileAccessPolicy) GetPropagate

func (o *FileAccessPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*FileAccessPolicy) GetProtected

func (o *FileAccessPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*FileAccessPolicy) GetUpdateIdempotencyKey

func (o *FileAccessPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*FileAccessPolicy) GetUpdateTime

func (o *FileAccessPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*FileAccessPolicy) Identifier

func (o *FileAccessPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*FileAccessPolicy) Identity

func (o *FileAccessPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*FileAccessPolicy) Patch

Patch apply the non nil value of a *SparseFileAccessPolicy to the object.

func (*FileAccessPolicy) SetActiveDuration

func (o *FileAccessPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*FileAccessPolicy) SetActiveSchedule

func (o *FileAccessPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*FileAccessPolicy) SetAnnotations

func (o *FileAccessPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*FileAccessPolicy) SetAssociatedTags

func (o *FileAccessPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*FileAccessPolicy) SetBSON added in v1.80.0

func (o *FileAccessPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*FileAccessPolicy) SetCreateIdempotencyKey

func (o *FileAccessPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*FileAccessPolicy) SetCreateTime

func (o *FileAccessPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*FileAccessPolicy) SetDescription

func (o *FileAccessPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*FileAccessPolicy) SetDisabled

func (o *FileAccessPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*FileAccessPolicy) SetExpirationTime

func (o *FileAccessPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*FileAccessPolicy) SetFallback

func (o *FileAccessPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*FileAccessPolicy) SetIdentifier

func (o *FileAccessPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*FileAccessPolicy) SetMetadata

func (o *FileAccessPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*FileAccessPolicy) SetName

func (o *FileAccessPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*FileAccessPolicy) SetNamespace

func (o *FileAccessPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*FileAccessPolicy) SetNormalizedTags

func (o *FileAccessPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*FileAccessPolicy) SetPropagate

func (o *FileAccessPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*FileAccessPolicy) SetProtected

func (o *FileAccessPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*FileAccessPolicy) SetUpdateIdempotencyKey

func (o *FileAccessPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*FileAccessPolicy) SetUpdateTime

func (o *FileAccessPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*FileAccessPolicy) SpecificationForAttribute

func (*FileAccessPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*FileAccessPolicy) String

func (o *FileAccessPolicy) String() string

func (*FileAccessPolicy) ToSparse

func (o *FileAccessPolicy) 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 (*FileAccessPolicy) Validate

func (o *FileAccessPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*FileAccessPolicy) ValueForAttribute

func (o *FileAccessPolicy) ValueForAttribute(name string) interface{}

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 (*FileAccessPolicy) Version

func (o *FileAccessPolicy) Version() int

Version returns the hardcoded version of the model.

type FileAccessReport

type FileAccessReport struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Action taken.
	Action FileAccessReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// Host storing the file.
	Host string `json:"host,omitempty" msgpack:"host,omitempty" bson:"b,omitempty" mapstructure:"host,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Mode of file access.
	Mode string `json:"mode,omitempty" msgpack:"mode,omitempty" bson:"c,omitempty" mapstructure:"mode,omitempty"`

	// Path of the file.
	Path string `json:"path,omitempty" msgpack:"path,omitempty" bson:"d,omitempty" mapstructure:"path,omitempty"`

	// ID of the processing unit.
	ProcessingUnitID string `` /* 131-byte string literal not displayed */

	// Namespace of the processing unit.
	ProcessingUnitNamespace string `` /* 152-byte string literal not displayed */

	// Date of the report.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"g,omitempty" mapstructure:"timestamp,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

FileAccessReport represents the model of a fileaccessreport

func NewFileAccessReport

func NewFileAccessReport() *FileAccessReport

NewFileAccessReport returns a new *FileAccessReport

func (*FileAccessReport) AttributeSpecifications

func (*FileAccessReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*FileAccessReport) BleveType added in v1.1.0

func (o *FileAccessReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*FileAccessReport) DeepCopy

func (o *FileAccessReport) DeepCopy() *FileAccessReport

DeepCopy returns a deep copy if the FileAccessReport.

func (*FileAccessReport) DeepCopyInto

func (o *FileAccessReport) DeepCopyInto(out *FileAccessReport)

DeepCopyInto copies the receiver into the given *FileAccessReport.

func (*FileAccessReport) DefaultOrder

func (o *FileAccessReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*FileAccessReport) Doc

func (o *FileAccessReport) Doc() string

Doc returns the documentation for the object

func (*FileAccessReport) GetBSON added in v1.80.0

func (o *FileAccessReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*FileAccessReport) GetMigrationsLog added in v1.94.1

func (o *FileAccessReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*FileAccessReport) GetZHash added in v1.94.1

func (o *FileAccessReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*FileAccessReport) GetZone added in v1.94.1

func (o *FileAccessReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*FileAccessReport) Identifier

func (o *FileAccessReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*FileAccessReport) Identity

func (o *FileAccessReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*FileAccessReport) Patch

Patch apply the non nil value of a *SparseFileAccessReport to the object.

func (*FileAccessReport) SetBSON added in v1.80.0

func (o *FileAccessReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*FileAccessReport) SetIdentifier

func (o *FileAccessReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*FileAccessReport) SetMigrationsLog added in v1.94.1

func (o *FileAccessReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*FileAccessReport) SetZHash added in v1.94.1

func (o *FileAccessReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*FileAccessReport) SetZone added in v1.94.1

func (o *FileAccessReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*FileAccessReport) SpecificationForAttribute

func (*FileAccessReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*FileAccessReport) String

func (o *FileAccessReport) String() string

func (*FileAccessReport) ToSparse

func (o *FileAccessReport) 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 (*FileAccessReport) Validate

func (o *FileAccessReport) Validate() error

Validate valides the current information stored into the structure.

func (*FileAccessReport) ValueForAttribute

func (o *FileAccessReport) ValueForAttribute(name string) interface{}

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 (*FileAccessReport) Version

func (o *FileAccessReport) Version() int

Version returns the hardcoded version of the model.

type FileAccessReportActionValue

type FileAccessReportActionValue string

FileAccessReportActionValue represents the possible values for attribute "action".

const (
	// FileAccessReportActionAccept represents the value Accept.
	FileAccessReportActionAccept FileAccessReportActionValue = "Accept"

	// FileAccessReportActionLimit represents the value Limit.
	FileAccessReportActionLimit FileAccessReportActionValue = "Limit"

	// FileAccessReportActionReject represents the value Reject.
	FileAccessReportActionReject FileAccessReportActionValue = "Reject"
)

type FileAccessReportsList

type FileAccessReportsList []*FileAccessReport

FileAccessReportsList represents a list of FileAccessReports

func (FileAccessReportsList) Append

Append appends the objects to the a new copy of the FileAccessReportsList.

func (FileAccessReportsList) Copy

Copy returns a pointer to a copy the FileAccessReportsList.

func (FileAccessReportsList) DefaultOrder

func (o FileAccessReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (FileAccessReportsList) Identity

Identity returns the identity of the objects in the list.

func (FileAccessReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (FileAccessReportsList) ToSparse

func (o FileAccessReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the FileAccessReportsList converted to SparseFileAccessReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (FileAccessReportsList) Version

func (o FileAccessReportsList) Version() int

Version returns the version of the content.

type FilePath

type FilePath struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// FilePath refer to the file mount path.
	Filepath string `json:"filepath" msgpack:"filepath" bson:"filepath" mapstructure:"filepath,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// server is the server name/ID/IP associated with the file path.
	Server string `json:"server" msgpack:"server" bson:"server" mapstructure:"server,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

FilePath represents the model of a filepath

func NewFilePath

func NewFilePath() *FilePath

NewFilePath returns a new *FilePath

func (*FilePath) AttributeSpecifications

func (*FilePath) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*FilePath) BleveType added in v1.1.0

func (o *FilePath) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*FilePath) DeepCopy

func (o *FilePath) DeepCopy() *FilePath

DeepCopy returns a deep copy if the FilePath.

func (*FilePath) DeepCopyInto

func (o *FilePath) DeepCopyInto(out *FilePath)

DeepCopyInto copies the receiver into the given *FilePath.

func (*FilePath) DefaultOrder

func (o *FilePath) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*FilePath) Doc

func (o *FilePath) Doc() string

Doc returns the documentation for the object

func (*FilePath) GetAnnotations

func (o *FilePath) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*FilePath) GetArchived

func (o *FilePath) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*FilePath) GetAssociatedTags

func (o *FilePath) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*FilePath) GetBSON added in v1.80.0

func (o *FilePath) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*FilePath) GetCreateIdempotencyKey

func (o *FilePath) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*FilePath) GetCreateTime

func (o *FilePath) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*FilePath) GetDescription

func (o *FilePath) GetDescription() string

GetDescription returns the Description of the receiver.

func (*FilePath) GetMetadata

func (o *FilePath) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*FilePath) GetMigrationsLog added in v1.30.0

func (o *FilePath) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*FilePath) GetName

func (o *FilePath) GetName() string

GetName returns the Name of the receiver.

func (*FilePath) GetNamespace

func (o *FilePath) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*FilePath) GetNormalizedTags

func (o *FilePath) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*FilePath) GetPropagate

func (o *FilePath) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*FilePath) GetProtected

func (o *FilePath) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*FilePath) GetUpdateIdempotencyKey

func (o *FilePath) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*FilePath) GetUpdateTime

func (o *FilePath) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*FilePath) GetZHash

func (o *FilePath) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*FilePath) GetZone

func (o *FilePath) GetZone() int

GetZone returns the Zone of the receiver.

func (*FilePath) Identifier

func (o *FilePath) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*FilePath) Identity

func (o *FilePath) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*FilePath) Patch

func (o *FilePath) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseFilePath to the object.

func (*FilePath) SetAnnotations

func (o *FilePath) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*FilePath) SetArchived

func (o *FilePath) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the given value.

func (*FilePath) SetAssociatedTags

func (o *FilePath) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*FilePath) SetBSON added in v1.80.0

func (o *FilePath) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*FilePath) SetCreateIdempotencyKey

func (o *FilePath) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*FilePath) SetCreateTime

func (o *FilePath) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*FilePath) SetDescription

func (o *FilePath) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*FilePath) SetIdentifier

func (o *FilePath) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*FilePath) SetMetadata

func (o *FilePath) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*FilePath) SetMigrationsLog added in v1.30.0

func (o *FilePath) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*FilePath) SetName

func (o *FilePath) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*FilePath) SetNamespace

func (o *FilePath) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*FilePath) SetNormalizedTags

func (o *FilePath) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*FilePath) SetPropagate

func (o *FilePath) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*FilePath) SetProtected

func (o *FilePath) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*FilePath) SetUpdateIdempotencyKey

func (o *FilePath) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*FilePath) SetUpdateTime

func (o *FilePath) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*FilePath) SetZHash

func (o *FilePath) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*FilePath) SetZone

func (o *FilePath) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*FilePath) SpecificationForAttribute

func (*FilePath) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*FilePath) String

func (o *FilePath) String() string

func (*FilePath) ToSparse

func (o *FilePath) 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 (*FilePath) Validate

func (o *FilePath) Validate() error

Validate valides the current information stored into the structure.

func (*FilePath) ValueForAttribute

func (o *FilePath) ValueForAttribute(name string) interface{}

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 (*FilePath) Version

func (o *FilePath) Version() int

Version returns the hardcoded version of the model.

type FilePathsList

type FilePathsList []*FilePath

FilePathsList represents a list of FilePaths

func (FilePathsList) Append

Append appends the objects to the a new copy of the FilePathsList.

func (FilePathsList) Copy

Copy returns a pointer to a copy the FilePathsList.

func (FilePathsList) DefaultOrder

func (o FilePathsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (FilePathsList) Identity

func (o FilePathsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (FilePathsList) List

List converts the object to an elemental.IdentifiablesList.

func (FilePathsList) ToSparse

func (o FilePathsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the FilePathsList converted to SparseFilePathsList. Objects in the list will only contain the given fields. No field means entire field set.

func (FilePathsList) Version

func (o FilePathsList) Version() int

Version returns the version of the content.

type FlowReport

type FlowReport struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Action applied to the flow.
	Action FlowReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// Identifier of the destination controller.
	DestinationController string `` /* 146-byte string literal not displayed */

	// ID of the destination.
	DestinationID string `json:"destinationID,omitempty" msgpack:"destinationID,omitempty" bson:"c,omitempty" mapstructure:"destinationID,omitempty"`

	// Destination IP address.
	DestinationIP string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"d,omitempty" mapstructure:"destinationIP,omitempty"`

	// Namespace of the destination. This is deprecated. Use `remoteNamespace`. This
	// property does nothing.
	DestinationNamespace string `` /* 143-byte string literal not displayed */

	// Identifier of the destination platform.
	DestinationPlatform string `` /* 140-byte string literal not displayed */

	// Port of the destination.
	DestinationPort int `` /* 128-byte string literal not displayed */

	// Destination type.
	DestinationType FlowReportDestinationTypeValue `` /* 128-byte string literal not displayed */

	// This field is only set if `action` is set to `Reject`. It specifies the reason
	// for the rejection.
	DropReason string `json:"dropReason,omitempty" msgpack:"dropReason,omitempty" bson:"i,omitempty" mapstructure:"dropReason,omitempty"`

	// If `true`, the flow was encrypted.
	Encrypted bool `json:"encrypted,omitempty" msgpack:"encrypted,omitempty" bson:"j,omitempty" mapstructure:"encrypted,omitempty"`

	// ID of the enforcer where the report was collected.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"ak,omitempty" mapstructure:"enforcerID,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// This is here for backward compatibility.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"k,omitempty" mapstructure:"namespace,omitempty"`

	// If `true`, design mode is on.
	Observed bool `json:"observed,omitempty" msgpack:"observed,omitempty" bson:"l,omitempty" mapstructure:"observed,omitempty"`

	// Action observed on the flow.
	ObservedAction FlowReportObservedActionValue `json:"observedAction,omitempty" msgpack:"observedAction,omitempty" bson:"m,omitempty" mapstructure:"observedAction,omitempty"`

	// Specifies the reason for a rejection. Only set if `observedAction` is set
	// to `Reject`.
	ObservedDropReason string `` /* 137-byte string literal not displayed */

	// Value of the encryption of the network policy that observed the flow.
	ObservedEncrypted bool `` /* 134-byte string literal not displayed */

	// ID of the network policy that observed the flow.
	ObservedPolicyID string `` /* 131-byte string literal not displayed */

	// Namespace of the network policy that observed the flow.
	ObservedPolicyNamespace string `` /* 152-byte string literal not displayed */

	// ID of the network policy that accepted the flow.
	PolicyID string `json:"policyID,omitempty" msgpack:"policyID,omitempty" bson:"r,omitempty" mapstructure:"policyID,omitempty"`

	// Namespace of the network policy that accepted the flow.
	PolicyNamespace string `` /* 128-byte string literal not displayed */

	// Protocol number.
	Protocol int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"t,omitempty" mapstructure:"protocol,omitempty"`

	// Namespace of the object at the other end of the flow.
	RemoteNamespace string `` /* 128-byte string literal not displayed */

	// ID of the network policy that accepted the flow at the remote endpoint.
	RemotePolicyID string `` /* 126-byte string literal not displayed */

	// Contains the eventual name assigned to the particular rule in the
	// NetworkRuleSetPolicy that acted on the flow.
	RuleName string `json:"ruleName,omitempty" msgpack:"ruleName,omitempty" bson:"ba,omitempty" mapstructure:"ruleName,omitempty"`

	// Hash of the claims used to communicate.
	ServiceClaimHash string `` /* 131-byte string literal not displayed */

	// ID of the service.
	ServiceID string `json:"serviceID,omitempty" msgpack:"serviceID,omitempty" bson:"w,omitempty" mapstructure:"serviceID,omitempty"`

	// Namespace of Service accessed.
	ServiceNamespace string `` /* 131-byte string literal not displayed */

	// ID of the service.
	ServiceType FlowReportServiceTypeValue `json:"serviceType,omitempty" msgpack:"serviceType,omitempty" bson:"y,omitempty" mapstructure:"serviceType,omitempty"`

	// Service URL accessed.
	ServiceURL string `json:"serviceURL,omitempty" msgpack:"serviceURL,omitempty" bson:"z,omitempty" mapstructure:"serviceURL,omitempty"`

	// Identifier of the source controller.
	SourceController string `` /* 132-byte string literal not displayed */

	// ID of the source.
	SourceID string `json:"sourceID,omitempty" msgpack:"sourceID,omitempty" bson:"ab,omitempty" mapstructure:"sourceID,omitempty"`

	// Type of the source.
	SourceIP string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"ac,omitempty" mapstructure:"sourceIP,omitempty"`

	// Namespace of the source. This is deprecated. Use `remoteNamespace`. This
	// property does nothing.
	SourceNamespace string `` /* 129-byte string literal not displayed */

	// Identifier of the source platform.
	SourcePlatform string `` /* 126-byte string literal not displayed */

	// Type of the source.
	SourceType FlowReportSourceTypeValue `json:"sourceType,omitempty" msgpack:"sourceType,omitempty" bson:"af,omitempty" mapstructure:"sourceType,omitempty"`

	// Time and date of the log.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"ag,omitempty" mapstructure:"timestamp,omitempty"`

	// Number of flows in the log.
	Value int `json:"value,omitempty" msgpack:"value,omitempty" bson:"ah,omitempty" mapstructure:"value,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

FlowReport represents the model of a flowreport

func NewFlowReport

func NewFlowReport() *FlowReport

NewFlowReport returns a new *FlowReport

func (*FlowReport) AttributeSpecifications

func (*FlowReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*FlowReport) BleveType added in v1.1.0

func (o *FlowReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*FlowReport) DeepCopy

func (o *FlowReport) DeepCopy() *FlowReport

DeepCopy returns a deep copy if the FlowReport.

func (*FlowReport) DeepCopyInto

func (o *FlowReport) DeepCopyInto(out *FlowReport)

DeepCopyInto copies the receiver into the given *FlowReport.

func (*FlowReport) DefaultOrder

func (o *FlowReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*FlowReport) Doc

func (o *FlowReport) Doc() string

Doc returns the documentation for the object

func (*FlowReport) GetBSON added in v1.80.0

func (o *FlowReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*FlowReport) GetMigrationsLog added in v1.94.1

func (o *FlowReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*FlowReport) GetZHash added in v1.94.1

func (o *FlowReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*FlowReport) GetZone added in v1.94.1

func (o *FlowReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*FlowReport) Identifier

func (o *FlowReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*FlowReport) Identity

func (o *FlowReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*FlowReport) Patch

func (o *FlowReport) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseFlowReport to the object.

func (*FlowReport) SetBSON added in v1.80.0

func (o *FlowReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*FlowReport) SetIdentifier

func (o *FlowReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*FlowReport) SetMigrationsLog added in v1.94.1

func (o *FlowReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*FlowReport) SetZHash added in v1.94.1

func (o *FlowReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*FlowReport) SetZone added in v1.94.1

func (o *FlowReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*FlowReport) SpecificationForAttribute

func (*FlowReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*FlowReport) String

func (o *FlowReport) String() string

func (*FlowReport) ToSparse

func (o *FlowReport) 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 (*FlowReport) Validate

func (o *FlowReport) Validate() error

Validate valides the current information stored into the structure.

func (*FlowReport) ValueForAttribute

func (o *FlowReport) ValueForAttribute(name string) interface{}

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 (*FlowReport) Version

func (o *FlowReport) Version() int

Version returns the hardcoded version of the model.

type FlowReportActionValue

type FlowReportActionValue string

FlowReportActionValue represents the possible values for attribute "action".

const (
	// FlowReportActionAccept represents the value Accept.
	FlowReportActionAccept FlowReportActionValue = "Accept"

	// FlowReportActionReject represents the value Reject.
	FlowReportActionReject FlowReportActionValue = "Reject"
)

type FlowReportDestinationTypeValue

type FlowReportDestinationTypeValue string

FlowReportDestinationTypeValue represents the possible values for attribute "destinationType".

const (
	// FlowReportDestinationTypeClaims represents the value Claims.
	FlowReportDestinationTypeClaims FlowReportDestinationTypeValue = "Claims"

	// FlowReportDestinationTypeExternalNetwork represents the value ExternalNetwork.
	FlowReportDestinationTypeExternalNetwork FlowReportDestinationTypeValue = "ExternalNetwork"

	// FlowReportDestinationTypeProcessingUnit represents the value ProcessingUnit.
	FlowReportDestinationTypeProcessingUnit FlowReportDestinationTypeValue = "ProcessingUnit"
)

type FlowReportObservedActionValue

type FlowReportObservedActionValue string

FlowReportObservedActionValue represents the possible values for attribute "observedAction".

const (
	// FlowReportObservedActionAccept represents the value Accept.
	FlowReportObservedActionAccept FlowReportObservedActionValue = "Accept"

	// FlowReportObservedActionNotApplicable represents the value NotApplicable.
	FlowReportObservedActionNotApplicable FlowReportObservedActionValue = "NotApplicable"

	// FlowReportObservedActionReject represents the value Reject.
	FlowReportObservedActionReject FlowReportObservedActionValue = "Reject"
)

type FlowReportServiceTypeValue

type FlowReportServiceTypeValue string

FlowReportServiceTypeValue represents the possible values for attribute "serviceType".

const (
	// FlowReportServiceTypeHTTP represents the value HTTP.
	FlowReportServiceTypeHTTP FlowReportServiceTypeValue = "HTTP"

	// FlowReportServiceTypeL3 represents the value L3.
	FlowReportServiceTypeL3 FlowReportServiceTypeValue = "L3"

	// FlowReportServiceTypeNotApplicable represents the value NotApplicable.
	FlowReportServiceTypeNotApplicable FlowReportServiceTypeValue = "NotApplicable"

	// FlowReportServiceTypeTCP represents the value TCP.
	FlowReportServiceTypeTCP FlowReportServiceTypeValue = "TCP"
)

type FlowReportSourceTypeValue

type FlowReportSourceTypeValue string

FlowReportSourceTypeValue represents the possible values for attribute "sourceType".

const (
	// FlowReportSourceTypeClaims represents the value Claims.
	FlowReportSourceTypeClaims FlowReportSourceTypeValue = "Claims"

	// FlowReportSourceTypeExternalNetwork represents the value ExternalNetwork.
	FlowReportSourceTypeExternalNetwork FlowReportSourceTypeValue = "ExternalNetwork"

	// FlowReportSourceTypeProcessingUnit represents the value ProcessingUnit.
	FlowReportSourceTypeProcessingUnit FlowReportSourceTypeValue = "ProcessingUnit"
)

type FlowReportsList

type FlowReportsList []*FlowReport

FlowReportsList represents a list of FlowReports

func (FlowReportsList) Append

Append appends the objects to the a new copy of the FlowReportsList.

func (FlowReportsList) Copy

Copy returns a pointer to a copy the FlowReportsList.

func (FlowReportsList) DefaultOrder

func (o FlowReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (FlowReportsList) Identity

func (o FlowReportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (FlowReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (FlowReportsList) ToSparse

func (o FlowReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the FlowReportsList converted to SparseFlowReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (FlowReportsList) Version

func (o FlowReportsList) Version() int

Version returns the version of the content.

type GraphEdge

type GraphEdge struct {
	// DB Identifier of the edge.
	ID string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Number of accepted flows in the edge.
	AcceptedFlows bool `json:"acceptedFlows" msgpack:"acceptedFlows" bson:"acceptedflows" mapstructure:"acceptedFlows,omitempty"`

	// The date for the day bucket.
	BucketDay time.Time `json:"-" msgpack:"-" bson:"bucketday" mapstructure:"-,omitempty"`

	// The date for the hour bucket.
	BucketHour time.Time `json:"-" msgpack:"-" bson:"buckethour" mapstructure:"-,omitempty"`

	// The date for the minute bucket.
	BucketMinute time.Time `json:"-" msgpack:"-" bson:"bucketminute" mapstructure:"-,omitempty"`

	// The date for the month bucket.
	BucketMonth time.Time `json:"-" msgpack:"-" bson:"bucketmonth" mapstructure:"-,omitempty"`

	// Name of the remote destination controller if different than the current one.
	DestinationController string `` /* 166-byte string literal not displayed */

	// ID of the destination `GraphNode` of the edge.
	DestinationID string `json:"destinationID" msgpack:"destinationID" bson:"destinationid" mapstructure:"destinationID,omitempty"`

	// Type of the destination `GraphNode` of the edge.
	DestinationType GraphEdgeDestinationTypeValue `json:"destinationType" msgpack:"destinationType" bson:"destinationtype" mapstructure:"destinationType,omitempty"`

	// The number of encrypted flows in the edge.
	Encrypted bool `json:"encrypted" msgpack:"encrypted" bson:"encrypted" mapstructure:"encrypted,omitempty"`

	// Contains the date when the edge was first seen.
	FirstSeen time.Time `json:"firstSeen,omitempty" msgpack:"firstSeen,omitempty" bson:"firstseen,omitempty" mapstructure:"firstSeen,omitempty"`

	// Identifier of the edge.
	FlowID string `json:"ID" msgpack:"ID" bson:"flowid" mapstructure:"ID,omitempty"`

	// Contains the date when the edge was last seen.
	LastSeen time.Time `json:"lastSeen,omitempty" msgpack:"lastSeen,omitempty" bson:"lastseen,omitempty" mapstructure:"lastSeen,omitempty"`

	// Namespace of the object that reported the flow.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Number of accepted observed flows.
	ObservedAcceptedFlows bool `` /* 136-byte string literal not displayed */

	// Number of encrypted observed flows.
	ObservedEncrypted bool `json:"observedEncrypted" msgpack:"observedEncrypted" bson:"observedencrypted" mapstructure:"observedEncrypted,omitempty"`

	// Number of rejected observed flows.
	ObservedRejectedFlows bool `` /* 136-byte string literal not displayed */

	// Number of rejected flows in the edge.
	RejectedFlows bool `json:"rejectedFlows" msgpack:"rejectedFlows" bson:"rejectedflows" mapstructure:"rejectedFlows,omitempty"`

	// Namespace of the object that was targeted by the flow.
	RemoteNamespace string `` /* 142-byte string literal not displayed */

	// Name of the remote source controller if different than the current one.
	SourceController string `` /* 146-byte string literal not displayed */

	// ID of the source `GraphNode` of the edge.
	SourceID string `json:"sourceID" msgpack:"sourceID" bson:"sourceid" mapstructure:"sourceID,omitempty"`

	// Type of the source `GraphNode` of the edge.
	SourceType GraphEdgeSourceTypeValue `json:"sourceType" msgpack:"sourceType" bson:"sourcetype" mapstructure:"sourceType,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

GraphEdge represents the model of a graphedge

func NewGraphEdge

func NewGraphEdge() *GraphEdge

NewGraphEdge returns a new *GraphEdge

func (*GraphEdge) AttributeSpecifications added in v1.44.0

func (*GraphEdge) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*GraphEdge) BleveType added in v1.1.0

func (o *GraphEdge) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*GraphEdge) DeepCopy

func (o *GraphEdge) DeepCopy() *GraphEdge

DeepCopy returns a deep copy if the GraphEdge.

func (*GraphEdge) DeepCopyInto

func (o *GraphEdge) DeepCopyInto(out *GraphEdge)

DeepCopyInto copies the receiver into the given *GraphEdge.

func (*GraphEdge) DefaultOrder added in v1.44.0

func (o *GraphEdge) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*GraphEdge) Doc added in v1.44.0

func (o *GraphEdge) Doc() string

Doc returns the documentation for the object

func (*GraphEdge) GetBSON added in v1.80.0

func (o *GraphEdge) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*GraphEdge) GetZHash added in v1.44.0

func (o *GraphEdge) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*GraphEdge) GetZone added in v1.44.0

func (o *GraphEdge) GetZone() int

GetZone returns the Zone of the receiver.

func (*GraphEdge) Identifier added in v1.44.0

func (o *GraphEdge) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*GraphEdge) Identity added in v1.44.0

func (o *GraphEdge) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*GraphEdge) Patch added in v1.44.0

func (o *GraphEdge) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseGraphEdge to the object.

func (*GraphEdge) SetBSON added in v1.80.0

func (o *GraphEdge) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*GraphEdge) SetIdentifier added in v1.44.0

func (o *GraphEdge) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*GraphEdge) SetZHash added in v1.44.0

func (o *GraphEdge) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*GraphEdge) SetZone added in v1.44.0

func (o *GraphEdge) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*GraphEdge) SpecificationForAttribute added in v1.44.0

func (*GraphEdge) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*GraphEdge) String added in v1.44.0

func (o *GraphEdge) String() string

func (*GraphEdge) ToSparse added in v1.44.0

func (o *GraphEdge) 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 (*GraphEdge) Validate

func (o *GraphEdge) Validate() error

Validate valides the current information stored into the structure.

func (*GraphEdge) ValueForAttribute added in v1.44.0

func (o *GraphEdge) ValueForAttribute(name string) interface{}

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 (*GraphEdge) Version added in v1.44.0

func (o *GraphEdge) Version() int

Version returns the hardcoded version of the model.

type GraphEdgeDestinationTypeValue

type GraphEdgeDestinationTypeValue string

GraphEdgeDestinationTypeValue represents the possible values for attribute "destinationType".

const (
	// GraphEdgeDestinationTypeExternalNetwork represents the value ExternalNetwork.
	GraphEdgeDestinationTypeExternalNetwork GraphEdgeDestinationTypeValue = "ExternalNetwork"

	// GraphEdgeDestinationTypeNamespace represents the value Namespace.
	GraphEdgeDestinationTypeNamespace GraphEdgeDestinationTypeValue = "Namespace"

	// GraphEdgeDestinationTypeNode represents the value Node.
	GraphEdgeDestinationTypeNode GraphEdgeDestinationTypeValue = "Node"

	// GraphEdgeDestinationTypeProcessingUnit represents the value ProcessingUnit.
	GraphEdgeDestinationTypeProcessingUnit GraphEdgeDestinationTypeValue = "ProcessingUnit"

	// GraphEdgeDestinationTypeRemoteController represents the value RemoteController.
	GraphEdgeDestinationTypeRemoteController GraphEdgeDestinationTypeValue = "RemoteController"
)

type GraphEdgeSourceTypeValue

type GraphEdgeSourceTypeValue string

GraphEdgeSourceTypeValue represents the possible values for attribute "sourceType".

const (
	// GraphEdgeSourceTypeExternalNetwork represents the value ExternalNetwork.
	GraphEdgeSourceTypeExternalNetwork GraphEdgeSourceTypeValue = "ExternalNetwork"

	// GraphEdgeSourceTypeNamespace represents the value Namespace.
	GraphEdgeSourceTypeNamespace GraphEdgeSourceTypeValue = "Namespace"

	// GraphEdgeSourceTypeNode represents the value Node.
	GraphEdgeSourceTypeNode GraphEdgeSourceTypeValue = "Node"

	// GraphEdgeSourceTypeProcessingUnit represents the value ProcessingUnit.
	GraphEdgeSourceTypeProcessingUnit GraphEdgeSourceTypeValue = "ProcessingUnit"

	// GraphEdgeSourceTypeRemoteController represents the value RemoteController.
	GraphEdgeSourceTypeRemoteController GraphEdgeSourceTypeValue = "RemoteController"
)

type GraphEdgesList added in v1.44.0

type GraphEdgesList []*GraphEdge

GraphEdgesList represents a list of GraphEdges

func (GraphEdgesList) Append added in v1.44.0

Append appends the objects to the a new copy of the GraphEdgesList.

func (GraphEdgesList) Copy added in v1.44.0

Copy returns a pointer to a copy the GraphEdgesList.

func (GraphEdgesList) DefaultOrder added in v1.44.0

func (o GraphEdgesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (GraphEdgesList) Identity added in v1.44.0

func (o GraphEdgesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (GraphEdgesList) List added in v1.44.0

List converts the object to an elemental.IdentifiablesList.

func (GraphEdgesList) ToSparse added in v1.44.0

func (o GraphEdgesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the GraphEdgesList converted to SparseGraphEdgesList. Objects in the list will only contain the given fields. No field means entire field set.

func (GraphEdgesList) Version added in v1.44.0

func (o GraphEdgesList) Version() int

Version returns the version of the content.

type GraphGroup

type GraphGroup struct {
	// Identifier of the group.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Color to use for the group.
	Color string `json:"color" msgpack:"color" bson:"-" mapstructure:"color,omitempty"`

	// List of tags that were used to create this group.
	Match [][]string `json:"match" msgpack:"match" bson:"-" mapstructure:"match,omitempty"`

	// Name of the group.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// ID of the parent group, if any.
	ParentID string `json:"parentID" msgpack:"parentID" bson:"-" mapstructure:"parentID,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

GraphGroup represents the model of a graphgroup

func NewGraphGroup

func NewGraphGroup() *GraphGroup

NewGraphGroup returns a new *GraphGroup

func (*GraphGroup) BleveType added in v1.1.0

func (o *GraphGroup) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*GraphGroup) DeepCopy

func (o *GraphGroup) DeepCopy() *GraphGroup

DeepCopy returns a deep copy if the GraphGroup.

func (*GraphGroup) DeepCopyInto

func (o *GraphGroup) DeepCopyInto(out *GraphGroup)

DeepCopyInto copies the receiver into the given *GraphGroup.

func (*GraphGroup) GetBSON added in v1.80.0

func (o *GraphGroup) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*GraphGroup) SetBSON added in v1.80.0

func (o *GraphGroup) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*GraphGroup) Validate

func (o *GraphGroup) Validate() error

Validate valides the current information stored into the structure.

type GraphNode

type GraphNode struct {
	// Identifier of object represented by the node.
	ID string `json:"ID" msgpack:"ID" bson:"id" mapstructure:"ID,omitempty"`

	// Enforcement status of processing unit represented by the node.
	EnforcementStatus string `json:"enforcementStatus" msgpack:"enforcementStatus" bson:"enforcementstatus" mapstructure:"enforcementStatus,omitempty"`

	// Contains the date when the edge was first seen.
	FirstSeen time.Time `json:"firstSeen" msgpack:"firstSeen" bson:"firstseen" mapstructure:"firstSeen,omitempty"`

	// ID of the group the node is eventually part of.
	GroupID string `json:"groupID" msgpack:"groupID" bson:"groupid" mapstructure:"groupID,omitempty"`

	// List of images.
	Images []string `json:"images" msgpack:"images" bson:"images" mapstructure:"images,omitempty"`

	// Contains the date when the edge was last seen.
	LastSeen time.Time `json:"lastSeen" msgpack:"lastSeen" bson:"lastseen" mapstructure:"lastSeen,omitempty"`

	// Name of object represented by the node.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace of object represented by the node.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Status of object represented by the node.
	Status string `json:"status" msgpack:"status" bson:"status" mapstructure:"status,omitempty"`

	// Tags of object represented by the node.
	Tags []string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"tags,omitempty" mapstructure:"tags,omitempty"`

	// Type of object represented by the node.
	Type GraphNodeTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// If `true` the node is marked as unreachable.
	Unreachable bool `json:"unreachable" msgpack:"unreachable" bson:"unreachable" mapstructure:"unreachable,omitempty"`

	// Tags of object represented by the node.
	VulnerabilityLevel string `json:"vulnerabilityLevel" msgpack:"vulnerabilityLevel" bson:"vulnerabilitylevel" mapstructure:"vulnerabilityLevel,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

GraphNode represents the model of a graphnode

func NewGraphNode

func NewGraphNode() *GraphNode

NewGraphNode returns a new *GraphNode

func (*GraphNode) AttributeSpecifications added in v1.44.0

func (*GraphNode) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*GraphNode) BleveType added in v1.1.0

func (o *GraphNode) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*GraphNode) DeepCopy

func (o *GraphNode) DeepCopy() *GraphNode

DeepCopy returns a deep copy if the GraphNode.

func (*GraphNode) DeepCopyInto

func (o *GraphNode) DeepCopyInto(out *GraphNode)

DeepCopyInto copies the receiver into the given *GraphNode.

func (*GraphNode) DefaultOrder added in v1.44.0

func (o *GraphNode) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*GraphNode) Doc added in v1.44.0

func (o *GraphNode) Doc() string

Doc returns the documentation for the object

func (*GraphNode) GetBSON added in v1.80.0

func (o *GraphNode) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*GraphNode) Identifier added in v1.44.0

func (o *GraphNode) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*GraphNode) Identity added in v1.44.0

func (o *GraphNode) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*GraphNode) Patch added in v1.44.0

func (o *GraphNode) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseGraphNode to the object.

func (*GraphNode) SetBSON added in v1.80.0

func (o *GraphNode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*GraphNode) SetIdentifier added in v1.44.0

func (o *GraphNode) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*GraphNode) SpecificationForAttribute added in v1.44.0

func (*GraphNode) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*GraphNode) String added in v1.44.0

func (o *GraphNode) String() string

func (*GraphNode) ToSparse added in v1.44.0

func (o *GraphNode) 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 (*GraphNode) Validate

func (o *GraphNode) Validate() error

Validate valides the current information stored into the structure.

func (*GraphNode) ValueForAttribute added in v1.44.0

func (o *GraphNode) ValueForAttribute(name string) interface{}

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 (*GraphNode) Version added in v1.44.0

func (o *GraphNode) Version() int

Version returns the hardcoded version of the model.

type GraphNodeTypeValue

type GraphNodeTypeValue string

GraphNodeTypeValue represents the possible values for attribute "type".

const (
	// GraphNodeTypeClaim represents the value Claim.
	GraphNodeTypeClaim GraphNodeTypeValue = "Claim"

	// GraphNodeTypeDocker represents the value Docker.
	GraphNodeTypeDocker GraphNodeTypeValue = "Docker"

	// GraphNodeTypeExternalNetwork represents the value ExternalNetwork.
	GraphNodeTypeExternalNetwork GraphNodeTypeValue = "ExternalNetwork"

	// GraphNodeTypeNamespace represents the value Namespace.
	GraphNodeTypeNamespace GraphNodeTypeValue = "Namespace"

	// GraphNodeTypeNode represents the value Node.
	GraphNodeTypeNode GraphNodeTypeValue = "Node"

	// GraphNodeTypeRemoteController represents the value RemoteController.
	GraphNodeTypeRemoteController GraphNodeTypeValue = "RemoteController"

	// GraphNodeTypeVolume represents the value Volume.
	GraphNodeTypeVolume GraphNodeTypeValue = "Volume"
)

type GraphNodesList added in v1.44.0

type GraphNodesList []*GraphNode

GraphNodesList represents a list of GraphNodes

func (GraphNodesList) Append added in v1.44.0

Append appends the objects to the a new copy of the GraphNodesList.

func (GraphNodesList) Copy added in v1.44.0

Copy returns a pointer to a copy the GraphNodesList.

func (GraphNodesList) DefaultOrder added in v1.44.0

func (o GraphNodesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (GraphNodesList) Identity added in v1.44.0

func (o GraphNodesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (GraphNodesList) List added in v1.44.0

List converts the object to an elemental.IdentifiablesList.

func (GraphNodesList) ToSparse added in v1.44.0

func (o GraphNodesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the GraphNodesList converted to SparseGraphNodesList. Objects in the list will only contain the given fields. No field means entire field set.

func (GraphNodesList) Version added in v1.44.0

func (o GraphNodesList) Version() int

Version returns the version of the content.

type HTTPResourceSpec

type HTTPResourceSpec struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// A list of API endpoints that are exposed for the service.
	Endpoints []*Endpoint `json:"endpoints" msgpack:"endpoints" bson:"endpoints" mapstructure:"endpoints,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

HTTPResourceSpec represents the model of a httpresourcespec

func NewHTTPResourceSpec

func NewHTTPResourceSpec() *HTTPResourceSpec

NewHTTPResourceSpec returns a new *HTTPResourceSpec

func (*HTTPResourceSpec) AttributeSpecifications

func (*HTTPResourceSpec) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*HTTPResourceSpec) BleveType added in v1.1.0

func (o *HTTPResourceSpec) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*HTTPResourceSpec) DeepCopy

func (o *HTTPResourceSpec) DeepCopy() *HTTPResourceSpec

DeepCopy returns a deep copy if the HTTPResourceSpec.

func (*HTTPResourceSpec) DeepCopyInto

func (o *HTTPResourceSpec) DeepCopyInto(out *HTTPResourceSpec)

DeepCopyInto copies the receiver into the given *HTTPResourceSpec.

func (*HTTPResourceSpec) DefaultOrder

func (o *HTTPResourceSpec) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*HTTPResourceSpec) Doc

func (o *HTTPResourceSpec) Doc() string

Doc returns the documentation for the object

func (*HTTPResourceSpec) GetAnnotations

func (o *HTTPResourceSpec) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*HTTPResourceSpec) GetArchived

func (o *HTTPResourceSpec) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*HTTPResourceSpec) GetAssociatedTags

func (o *HTTPResourceSpec) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*HTTPResourceSpec) GetBSON added in v1.80.0

func (o *HTTPResourceSpec) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HTTPResourceSpec) GetCreateIdempotencyKey

func (o *HTTPResourceSpec) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*HTTPResourceSpec) GetCreateTime

func (o *HTTPResourceSpec) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*HTTPResourceSpec) GetDescription

func (o *HTTPResourceSpec) GetDescription() string

GetDescription returns the Description of the receiver.

func (*HTTPResourceSpec) GetMetadata

func (o *HTTPResourceSpec) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*HTTPResourceSpec) GetMigrationsLog added in v1.30.0

func (o *HTTPResourceSpec) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*HTTPResourceSpec) GetName

func (o *HTTPResourceSpec) GetName() string

GetName returns the Name of the receiver.

func (*HTTPResourceSpec) GetNamespace

func (o *HTTPResourceSpec) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*HTTPResourceSpec) GetNormalizedTags

func (o *HTTPResourceSpec) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*HTTPResourceSpec) GetPropagate

func (o *HTTPResourceSpec) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*HTTPResourceSpec) GetProtected

func (o *HTTPResourceSpec) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*HTTPResourceSpec) GetUpdateIdempotencyKey

func (o *HTTPResourceSpec) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*HTTPResourceSpec) GetUpdateTime

func (o *HTTPResourceSpec) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*HTTPResourceSpec) GetZHash

func (o *HTTPResourceSpec) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*HTTPResourceSpec) GetZone

func (o *HTTPResourceSpec) GetZone() int

GetZone returns the Zone of the receiver.

func (*HTTPResourceSpec) Identifier

func (o *HTTPResourceSpec) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*HTTPResourceSpec) Identity

func (o *HTTPResourceSpec) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*HTTPResourceSpec) Patch

Patch apply the non nil value of a *SparseHTTPResourceSpec to the object.

func (*HTTPResourceSpec) SetAnnotations

func (o *HTTPResourceSpec) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*HTTPResourceSpec) SetArchived

func (o *HTTPResourceSpec) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the given value.

func (*HTTPResourceSpec) SetAssociatedTags

func (o *HTTPResourceSpec) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*HTTPResourceSpec) SetBSON added in v1.80.0

func (o *HTTPResourceSpec) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HTTPResourceSpec) SetCreateIdempotencyKey

func (o *HTTPResourceSpec) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*HTTPResourceSpec) SetCreateTime

func (o *HTTPResourceSpec) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*HTTPResourceSpec) SetDescription

func (o *HTTPResourceSpec) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*HTTPResourceSpec) SetIdentifier

func (o *HTTPResourceSpec) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*HTTPResourceSpec) SetMetadata

func (o *HTTPResourceSpec) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*HTTPResourceSpec) SetMigrationsLog added in v1.30.0

func (o *HTTPResourceSpec) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*HTTPResourceSpec) SetName

func (o *HTTPResourceSpec) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*HTTPResourceSpec) SetNamespace

func (o *HTTPResourceSpec) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*HTTPResourceSpec) SetNormalizedTags

func (o *HTTPResourceSpec) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*HTTPResourceSpec) SetPropagate

func (o *HTTPResourceSpec) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*HTTPResourceSpec) SetProtected

func (o *HTTPResourceSpec) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*HTTPResourceSpec) SetUpdateIdempotencyKey

func (o *HTTPResourceSpec) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*HTTPResourceSpec) SetUpdateTime

func (o *HTTPResourceSpec) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*HTTPResourceSpec) SetZHash

func (o *HTTPResourceSpec) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*HTTPResourceSpec) SetZone

func (o *HTTPResourceSpec) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*HTTPResourceSpec) SpecificationForAttribute

func (*HTTPResourceSpec) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*HTTPResourceSpec) String

func (o *HTTPResourceSpec) String() string

func (*HTTPResourceSpec) ToSparse

func (o *HTTPResourceSpec) 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 (*HTTPResourceSpec) Validate

func (o *HTTPResourceSpec) Validate() error

Validate valides the current information stored into the structure.

func (*HTTPResourceSpec) ValueForAttribute

func (o *HTTPResourceSpec) ValueForAttribute(name string) interface{}

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 (*HTTPResourceSpec) Version

func (o *HTTPResourceSpec) Version() int

Version returns the hardcoded version of the model.

type HTTPResourceSpecsList

type HTTPResourceSpecsList []*HTTPResourceSpec

HTTPResourceSpecsList represents a list of HTTPResourceSpecs

func (HTTPResourceSpecsList) Append

Append appends the objects to the a new copy of the HTTPResourceSpecsList.

func (HTTPResourceSpecsList) Copy

Copy returns a pointer to a copy the HTTPResourceSpecsList.

func (HTTPResourceSpecsList) DefaultOrder

func (o HTTPResourceSpecsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (HTTPResourceSpecsList) Identity

Identity returns the identity of the objects in the list.

func (HTTPResourceSpecsList) List

List converts the object to an elemental.IdentifiablesList.

func (HTTPResourceSpecsList) ToSparse

func (o HTTPResourceSpecsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the HTTPResourceSpecsList converted to SparseHTTPResourceSpecsList. Objects in the list will only contain the given fields. No field means entire field set.

func (HTTPResourceSpecsList) Version

func (o HTTPResourceSpecsList) Version() int

Version returns the version of the content.

type HealthCheck added in v1.94.1

type HealthCheck struct {
	// A human readable alert list describing the current state of the sub system if
	// available.
	Alerts []string `json:"alerts,omitempty" msgpack:"alerts,omitempty" bson:"-" mapstructure:"alerts,omitempty"`

	// The name of the observed sub system if applicable.
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// The response time of the observed sub system if applicable.
	ResponseTime string `json:"responseTime,omitempty" msgpack:"responseTime,omitempty" bson:"-" mapstructure:"responseTime,omitempty"`

	// The current health of the observed sub system.
	Status HealthCheckStatusValue `json:"status" msgpack:"status" bson:"-" mapstructure:"status,omitempty"`

	// The type of the observed sub system.
	Type HealthCheckTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

HealthCheck represents the model of a healthcheck

func NewHealthCheck added in v1.94.1

func NewHealthCheck() *HealthCheck

NewHealthCheck returns a new *HealthCheck

func (*HealthCheck) AttributeSpecifications added in v1.94.1

func (*HealthCheck) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*HealthCheck) BleveType added in v1.94.1

func (o *HealthCheck) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*HealthCheck) DeepCopy added in v1.94.1

func (o *HealthCheck) DeepCopy() *HealthCheck

DeepCopy returns a deep copy if the HealthCheck.

func (*HealthCheck) DeepCopyInto added in v1.94.1

func (o *HealthCheck) DeepCopyInto(out *HealthCheck)

DeepCopyInto copies the receiver into the given *HealthCheck.

func (*HealthCheck) DefaultOrder added in v1.94.1

func (o *HealthCheck) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*HealthCheck) Doc added in v1.94.1

func (o *HealthCheck) Doc() string

Doc returns the documentation for the object

func (*HealthCheck) GetBSON added in v1.94.1

func (o *HealthCheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HealthCheck) Identifier added in v1.94.1

func (o *HealthCheck) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*HealthCheck) Identity added in v1.94.1

func (o *HealthCheck) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*HealthCheck) Patch added in v1.94.1

func (o *HealthCheck) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseHealthCheck to the object.

func (*HealthCheck) SetBSON added in v1.94.1

func (o *HealthCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HealthCheck) SetIdentifier added in v1.94.1

func (o *HealthCheck) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*HealthCheck) SpecificationForAttribute added in v1.94.1

func (*HealthCheck) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*HealthCheck) String added in v1.94.1

func (o *HealthCheck) String() string

func (*HealthCheck) ToSparse added in v1.94.1

func (o *HealthCheck) 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 (*HealthCheck) Validate added in v1.94.1

func (o *HealthCheck) Validate() error

Validate valides the current information stored into the structure.

func (*HealthCheck) ValueForAttribute added in v1.94.1

func (o *HealthCheck) ValueForAttribute(name string) interface{}

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 (*HealthCheck) Version added in v1.94.1

func (o *HealthCheck) Version() int

Version returns the hardcoded version of the model.

type HealthCheckStatusValue added in v1.94.1

type HealthCheckStatusValue string

HealthCheckStatusValue represents the possible values for attribute "status".

const (
	// HealthCheckStatusDegraded represents the value Degraded.
	HealthCheckStatusDegraded HealthCheckStatusValue = "Degraded"

	// HealthCheckStatusOffline represents the value Offline.
	HealthCheckStatusOffline HealthCheckStatusValue = "Offline"

	// HealthCheckStatusOperational represents the value Operational.
	HealthCheckStatusOperational HealthCheckStatusValue = "Operational"
)

type HealthCheckTypeValue added in v1.94.1

type HealthCheckTypeValue string

HealthCheckTypeValue represents the possible values for attribute "type".

const (
	// HealthCheckTypeCache represents the value Cache.
	HealthCheckTypeCache HealthCheckTypeValue = "Cache"

	// HealthCheckTypeDatabase represents the value Database.
	HealthCheckTypeDatabase HealthCheckTypeValue = "Database"

	// HealthCheckTypeGeneral represents the value General.
	HealthCheckTypeGeneral HealthCheckTypeValue = "General"

	// HealthCheckTypeMessagingSystem represents the value MessagingSystem.
	HealthCheckTypeMessagingSystem HealthCheckTypeValue = "MessagingSystem"

	// HealthCheckTypeService represents the value Service.
	HealthCheckTypeService HealthCheckTypeValue = "Service"

	// HealthCheckTypeTSDB represents the value TSDB.
	HealthCheckTypeTSDB HealthCheckTypeValue = "TSDB"
)

type HealthChecksList added in v1.94.1

type HealthChecksList []*HealthCheck

HealthChecksList represents a list of HealthChecks

func (HealthChecksList) Append added in v1.94.1

Append appends the objects to the a new copy of the HealthChecksList.

func (HealthChecksList) Copy added in v1.94.1

Copy returns a pointer to a copy the HealthChecksList.

func (HealthChecksList) DefaultOrder added in v1.94.1

func (o HealthChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (HealthChecksList) Identity added in v1.94.1

func (o HealthChecksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (HealthChecksList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (HealthChecksList) ToSparse added in v1.94.1

func (o HealthChecksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the HealthChecksList converted to SparseHealthChecksList. Objects in the list will only contain the given fields. No field means entire field set.

func (HealthChecksList) Version added in v1.94.1

func (o HealthChecksList) Version() int

Version returns the version of the content.

type Hit added in v1.91.0

type Hit struct {
	// name of the counter.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The ID of the referenced object..
	TargetID string `json:"targetID" msgpack:"targetID" bson:"-" mapstructure:"targetID,omitempty"`

	// The identity of the referenced object.
	TargetIdentity string `json:"targetIdentity" msgpack:"targetIdentity" bson:"targetidentity" mapstructure:"targetIdentity,omitempty"`

	// The value of the hit.
	Value int `json:"value" msgpack:"value" bson:"-" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Hit represents the model of a hit

func NewHit added in v1.91.0

func NewHit() *Hit

NewHit returns a new *Hit

func (*Hit) AttributeSpecifications added in v1.91.0

func (*Hit) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Hit) BleveType added in v1.91.0

func (o *Hit) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Hit) DeepCopy added in v1.91.0

func (o *Hit) DeepCopy() *Hit

DeepCopy returns a deep copy if the Hit.

func (*Hit) DeepCopyInto added in v1.91.0

func (o *Hit) DeepCopyInto(out *Hit)

DeepCopyInto copies the receiver into the given *Hit.

func (*Hit) DefaultOrder added in v1.91.0

func (o *Hit) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Hit) Doc added in v1.91.0

func (o *Hit) Doc() string

Doc returns the documentation for the object

func (*Hit) GetBSON added in v1.91.0

func (o *Hit) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Hit) Identifier added in v1.91.0

func (o *Hit) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Hit) Identity added in v1.91.0

func (o *Hit) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Hit) Patch added in v1.91.0

func (o *Hit) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseHit to the object.

func (*Hit) SetBSON added in v1.91.0

func (o *Hit) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Hit) SetIdentifier added in v1.91.0

func (o *Hit) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Hit) SpecificationForAttribute added in v1.91.0

func (*Hit) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Hit) String added in v1.91.0

func (o *Hit) String() string

func (*Hit) ToSparse added in v1.91.0

func (o *Hit) 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 (*Hit) Validate added in v1.91.0

func (o *Hit) Validate() error

Validate valides the current information stored into the structure.

func (*Hit) ValueForAttribute added in v1.91.0

func (o *Hit) ValueForAttribute(name string) interface{}

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 (*Hit) Version added in v1.91.0

func (o *Hit) Version() int

Version returns the hardcoded version of the model.

type HitsList added in v1.91.0

type HitsList []*Hit

HitsList represents a list of Hits

func (HitsList) Append added in v1.91.0

func (o HitsList) Append(objects ...elemental.Identifiable) elemental.Identifiables

Append appends the objects to the a new copy of the HitsList.

func (HitsList) Copy added in v1.91.0

func (o HitsList) Copy() elemental.Identifiables

Copy returns a pointer to a copy the HitsList.

func (HitsList) DefaultOrder added in v1.91.0

func (o HitsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (HitsList) Identity added in v1.91.0

func (o HitsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (HitsList) List added in v1.91.0

List converts the object to an elemental.IdentifiablesList.

func (HitsList) ToSparse added in v1.91.0

func (o HitsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the HitsList converted to SparseHitsList. Objects in the list will only contain the given fields. No field means entire field set.

func (HitsList) Version added in v1.91.0

func (o HitsList) Version() int

Version returns the version of the content.

type HookPoliciesList

type HookPoliciesList []*HookPolicy

HookPoliciesList represents a list of HookPolicies

func (HookPoliciesList) Append

Append appends the objects to the a new copy of the HookPoliciesList.

func (HookPoliciesList) Copy

Copy returns a pointer to a copy the HookPoliciesList.

func (HookPoliciesList) DefaultOrder

func (o HookPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (HookPoliciesList) Identity

func (o HookPoliciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (HookPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (HookPoliciesList) ToSparse

func (o HookPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the HookPoliciesList converted to SparseHookPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (HookPoliciesList) Version

func (o HookPoliciesList) Version() int

Version returns the version of the content.

type HookPolicy

type HookPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Contains the PEM block of the certificate authority used by the remote endpoint.
	CertificateAuthority string `` /* 132-byte string literal not displayed */

	// Contains the client certificate that will be used to connect
	// to the remote endpoint. If provided, the private key associated with this
	// certificate must also be configured.
	ClientCertificate string `json:"clientCertificate" msgpack:"clientCertificate" bson:"clientcertificate" mapstructure:"clientCertificate,omitempty"`

	// Contains the key associated with the `clientCertificate`. It must be provided
	// only
	// when `clientCertificate` has been configured.
	ClientCertificateKey string `` /* 132-byte string literal not displayed */

	// If set to `true` and `mode` is in `Pre`, the request will be honored even if
	// calling the hook fails.
	ContinueOnError bool `json:"continueOnError" msgpack:"continueOnError" bson:"continueonerror" mapstructure:"continueOnError,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Contains the full address of the remote processor endpoint.
	Endpoint string `json:"endpoint" msgpack:"endpoint" bson:"endpoint" mapstructure:"endpoint,omitempty"`

	// Defines the type of endpoint for the hook.
	EndpointType HookPolicyEndpointTypeValue `json:"endpointType" msgpack:"endpointType" bson:"endpointtype" mapstructure:"endpointType,omitempty"`

	// If set the hook will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Defines the type of hook.
	Mode HookPolicyModeValue `json:"mode" msgpack:"mode" bson:"mode" mapstructure:"mode,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// If set to `true` while the policy is propagating, it won't be visible to
	// children
	// namespace, but still used for policy resolution.
	PropagationHidden bool `json:"propagationHidden" msgpack:"propagationHidden" bson:"propagationhidden" mapstructure:"propagationHidden,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// A tag or tag expression that identifies the automation that must be run in
	// case no endpoint is provided.
	Selectors [][]string `json:"selectors" msgpack:"selectors" bson:"selectors" mapstructure:"selectors,omitempty"`

	// Contains the tag expression that an object must match in order to trigger the
	// hook.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// Select on which operation(s) you want to the hook to trigger. An empty list.
	// Only
	// means all operations. You can only set any combination of `create`, `update` or
	// `delete`. Any other value will trigger a validation error.
	TriggerOperations []string `json:"triggerOperations" msgpack:"triggerOperations" bson:"triggeroperations" mapstructure:"triggerOperations,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

HookPolicy represents the model of a hookpolicy

func NewHookPolicy

func NewHookPolicy() *HookPolicy

NewHookPolicy returns a new *HookPolicy

func (*HookPolicy) AttributeSpecifications

func (*HookPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*HookPolicy) BleveType added in v1.1.0

func (o *HookPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*HookPolicy) DecryptAttributes added in v1.57.0

func (o *HookPolicy) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*HookPolicy) DeepCopy

func (o *HookPolicy) DeepCopy() *HookPolicy

DeepCopy returns a deep copy if the HookPolicy.

func (*HookPolicy) DeepCopyInto

func (o *HookPolicy) DeepCopyInto(out *HookPolicy)

DeepCopyInto copies the receiver into the given *HookPolicy.

func (*HookPolicy) DefaultOrder

func (o *HookPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*HookPolicy) Doc

func (o *HookPolicy) Doc() string

Doc returns the documentation for the object

func (*HookPolicy) EncryptAttributes added in v1.57.0

func (o *HookPolicy) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*HookPolicy) GetAnnotations

func (o *HookPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*HookPolicy) GetAssociatedTags

func (o *HookPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*HookPolicy) GetBSON added in v1.80.0

func (o *HookPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HookPolicy) GetCreateIdempotencyKey

func (o *HookPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*HookPolicy) GetCreateTime

func (o *HookPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*HookPolicy) GetDescription

func (o *HookPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*HookPolicy) GetDisabled

func (o *HookPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*HookPolicy) GetExpirationTime

func (o *HookPolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*HookPolicy) GetFallback

func (o *HookPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*HookPolicy) GetMetadata

func (o *HookPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*HookPolicy) GetName

func (o *HookPolicy) GetName() string

GetName returns the Name of the receiver.

func (*HookPolicy) GetNamespace

func (o *HookPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*HookPolicy) GetNormalizedTags

func (o *HookPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*HookPolicy) GetPropagate

func (o *HookPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*HookPolicy) GetPropagationHidden

func (o *HookPolicy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*HookPolicy) GetProtected

func (o *HookPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*HookPolicy) GetUpdateIdempotencyKey

func (o *HookPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*HookPolicy) GetUpdateTime

func (o *HookPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*HookPolicy) Identifier

func (o *HookPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*HookPolicy) Identity

func (o *HookPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*HookPolicy) Patch

func (o *HookPolicy) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseHookPolicy to the object.

func (*HookPolicy) SetAnnotations

func (o *HookPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*HookPolicy) SetAssociatedTags

func (o *HookPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*HookPolicy) SetBSON added in v1.80.0

func (o *HookPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HookPolicy) SetCreateIdempotencyKey

func (o *HookPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*HookPolicy) SetCreateTime

func (o *HookPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*HookPolicy) SetDescription

func (o *HookPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*HookPolicy) SetDisabled

func (o *HookPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*HookPolicy) SetExpirationTime

func (o *HookPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*HookPolicy) SetFallback

func (o *HookPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*HookPolicy) SetIdentifier

func (o *HookPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*HookPolicy) SetMetadata

func (o *HookPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*HookPolicy) SetName

func (o *HookPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*HookPolicy) SetNamespace

func (o *HookPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*HookPolicy) SetNormalizedTags

func (o *HookPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*HookPolicy) SetPropagate

func (o *HookPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*HookPolicy) SetPropagationHidden

func (o *HookPolicy) SetPropagationHidden(propagationHidden bool)

SetPropagationHidden sets the property PropagationHidden of the receiver using the given value.

func (*HookPolicy) SetProtected

func (o *HookPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*HookPolicy) SetUpdateIdempotencyKey

func (o *HookPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*HookPolicy) SetUpdateTime

func (o *HookPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*HookPolicy) SpecificationForAttribute

func (*HookPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*HookPolicy) String

func (o *HookPolicy) String() string

func (*HookPolicy) ToSparse

func (o *HookPolicy) 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 (*HookPolicy) Validate

func (o *HookPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*HookPolicy) ValueForAttribute

func (o *HookPolicy) ValueForAttribute(name string) interface{}

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 (*HookPolicy) Version

func (o *HookPolicy) Version() int

Version returns the hardcoded version of the model.

type HookPolicyEndpointTypeValue added in v1.94.1

type HookPolicyEndpointTypeValue string

HookPolicyEndpointTypeValue represents the possible values for attribute "endpointType".

const (
	// HookPolicyEndpointTypeAutomation represents the value Automation.
	HookPolicyEndpointTypeAutomation HookPolicyEndpointTypeValue = "Automation"

	// HookPolicyEndpointTypeURL represents the value URL.
	HookPolicyEndpointTypeURL HookPolicyEndpointTypeValue = "URL"
)

type HookPolicyModeValue

type HookPolicyModeValue string

HookPolicyModeValue represents the possible values for attribute "mode".

const (
	// HookPolicyModeBoth represents the value Both.
	HookPolicyModeBoth HookPolicyModeValue = "Both"

	// HookPolicyModePost represents the value Post.
	HookPolicyModePost HookPolicyModeValue = "Post"

	// HookPolicyModePre represents the value Pre.
	HookPolicyModePre HookPolicyModeValue = "Pre"
)

type HostService

type HostService struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Forces the corresponding enforcers to enable host protection. When `true`, all
	// incoming and outgoing flows will be monitored. Flows will be allowed if and only
	// if a network policy has been created to allow the flow. The option applies to
	// all enforcers to which the host service is mapped.
	HostModeEnabled bool `json:"hostModeEnabled" msgpack:"hostModeEnabled" bson:"hostmodeenabled" mapstructure:"hostModeEnabled,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Lists all protocols and ports a service is running. A service entry can be
	// defined
	// by a protocol and port `(tcp/80)`, or range of protocol/port pairs
	// `(udp/80:100)`.
	// If no protocol is provided, it is assumed to be TCP. Only `tcp` and `udp`
	// protocols
	// are allowed.
	Services []string `json:"services" msgpack:"services" bson:"services" mapstructure:"services,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

HostService represents the model of a hostservice

func NewHostService

func NewHostService() *HostService

NewHostService returns a new *HostService

func (*HostService) AttributeSpecifications

func (*HostService) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*HostService) BleveType added in v1.1.0

func (o *HostService) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*HostService) DeepCopy

func (o *HostService) DeepCopy() *HostService

DeepCopy returns a deep copy if the HostService.

func (*HostService) DeepCopyInto

func (o *HostService) DeepCopyInto(out *HostService)

DeepCopyInto copies the receiver into the given *HostService.

func (*HostService) DefaultOrder

func (o *HostService) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*HostService) Doc

func (o *HostService) Doc() string

Doc returns the documentation for the object

func (*HostService) GetAnnotations

func (o *HostService) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*HostService) GetArchived

func (o *HostService) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*HostService) GetAssociatedTags

func (o *HostService) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*HostService) GetBSON added in v1.80.0

func (o *HostService) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HostService) GetCreateIdempotencyKey

func (o *HostService) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*HostService) GetCreateTime

func (o *HostService) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*HostService) GetDescription

func (o *HostService) GetDescription() string

GetDescription returns the Description of the receiver.

func (*HostService) GetMetadata

func (o *HostService) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*HostService) GetMigrationsLog added in v1.30.0

func (o *HostService) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*HostService) GetName

func (o *HostService) GetName() string

GetName returns the Name of the receiver.

func (*HostService) GetNamespace

func (o *HostService) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*HostService) GetNormalizedTags

func (o *HostService) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*HostService) GetPropagate

func (o *HostService) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*HostService) GetProtected

func (o *HostService) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*HostService) GetUpdateIdempotencyKey

func (o *HostService) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*HostService) GetUpdateTime

func (o *HostService) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*HostService) GetZHash

func (o *HostService) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*HostService) GetZone

func (o *HostService) GetZone() int

GetZone returns the Zone of the receiver.

func (*HostService) Identifier

func (o *HostService) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*HostService) Identity

func (o *HostService) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*HostService) Patch

func (o *HostService) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseHostService to the object.

func (*HostService) SetAnnotations

func (o *HostService) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*HostService) SetArchived

func (o *HostService) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the given value.

func (*HostService) SetAssociatedTags

func (o *HostService) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*HostService) SetBSON added in v1.80.0

func (o *HostService) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HostService) SetCreateIdempotencyKey

func (o *HostService) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*HostService) SetCreateTime

func (o *HostService) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*HostService) SetDescription

func (o *HostService) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*HostService) SetIdentifier

func (o *HostService) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*HostService) SetMetadata

func (o *HostService) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*HostService) SetMigrationsLog added in v1.30.0

func (o *HostService) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*HostService) SetName

func (o *HostService) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*HostService) SetNamespace

func (o *HostService) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*HostService) SetNormalizedTags

func (o *HostService) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*HostService) SetPropagate

func (o *HostService) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*HostService) SetProtected

func (o *HostService) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*HostService) SetUpdateIdempotencyKey

func (o *HostService) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*HostService) SetUpdateTime

func (o *HostService) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*HostService) SetZHash

func (o *HostService) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*HostService) SetZone

func (o *HostService) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*HostService) SpecificationForAttribute

func (*HostService) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*HostService) String

func (o *HostService) String() string

func (*HostService) ToSparse

func (o *HostService) 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 (*HostService) Validate

func (o *HostService) Validate() error

Validate valides the current information stored into the structure.

func (*HostService) ValueForAttribute

func (o *HostService) ValueForAttribute(name string) interface{}

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 (*HostService) Version

func (o *HostService) Version() int

Version returns the hardcoded version of the model.

type HostServiceMappingPoliciesList

type HostServiceMappingPoliciesList []*HostServiceMappingPolicy

HostServiceMappingPoliciesList represents a list of HostServiceMappingPolicies

func (HostServiceMappingPoliciesList) Append

Append appends the objects to the a new copy of the HostServiceMappingPoliciesList.

func (HostServiceMappingPoliciesList) Copy

Copy returns a pointer to a copy the HostServiceMappingPoliciesList.

func (HostServiceMappingPoliciesList) DefaultOrder

func (o HostServiceMappingPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (HostServiceMappingPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (HostServiceMappingPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (HostServiceMappingPoliciesList) ToSparse

ToSparse returns the HostServiceMappingPoliciesList converted to SparseHostServiceMappingPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (HostServiceMappingPoliciesList) Version

func (o HostServiceMappingPoliciesList) Version() int

Version returns the version of the content.

type HostServiceMappingPolicy

type HostServiceMappingPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// A tag or tag expression identifying the host service(s) to be mapped.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// A tag or tag expression identifying the enforcer(s) that should implement
	// the specified host service(s).
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

HostServiceMappingPolicy represents the model of a hostservicemappingpolicy

func NewHostServiceMappingPolicy

func NewHostServiceMappingPolicy() *HostServiceMappingPolicy

NewHostServiceMappingPolicy returns a new *HostServiceMappingPolicy

func (*HostServiceMappingPolicy) AttributeSpecifications

func (*HostServiceMappingPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*HostServiceMappingPolicy) BleveType added in v1.1.0

func (o *HostServiceMappingPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*HostServiceMappingPolicy) DeepCopy

DeepCopy returns a deep copy if the HostServiceMappingPolicy.

func (*HostServiceMappingPolicy) DeepCopyInto

func (o *HostServiceMappingPolicy) DeepCopyInto(out *HostServiceMappingPolicy)

DeepCopyInto copies the receiver into the given *HostServiceMappingPolicy.

func (*HostServiceMappingPolicy) DefaultOrder

func (o *HostServiceMappingPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*HostServiceMappingPolicy) Doc

Doc returns the documentation for the object

func (*HostServiceMappingPolicy) GetActiveDuration

func (o *HostServiceMappingPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*HostServiceMappingPolicy) GetActiveSchedule

func (o *HostServiceMappingPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*HostServiceMappingPolicy) GetAnnotations

func (o *HostServiceMappingPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*HostServiceMappingPolicy) GetAssociatedTags

func (o *HostServiceMappingPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*HostServiceMappingPolicy) GetBSON added in v1.80.0

func (o *HostServiceMappingPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HostServiceMappingPolicy) GetCreateIdempotencyKey

func (o *HostServiceMappingPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*HostServiceMappingPolicy) GetCreateTime

func (o *HostServiceMappingPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*HostServiceMappingPolicy) GetDescription

func (o *HostServiceMappingPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*HostServiceMappingPolicy) GetDisabled

func (o *HostServiceMappingPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*HostServiceMappingPolicy) GetFallback

func (o *HostServiceMappingPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*HostServiceMappingPolicy) GetMetadata

func (o *HostServiceMappingPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*HostServiceMappingPolicy) GetName

func (o *HostServiceMappingPolicy) GetName() string

GetName returns the Name of the receiver.

func (*HostServiceMappingPolicy) GetNamespace

func (o *HostServiceMappingPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*HostServiceMappingPolicy) GetNormalizedTags

func (o *HostServiceMappingPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*HostServiceMappingPolicy) GetPropagate

func (o *HostServiceMappingPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*HostServiceMappingPolicy) GetProtected

func (o *HostServiceMappingPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*HostServiceMappingPolicy) GetUpdateIdempotencyKey

func (o *HostServiceMappingPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*HostServiceMappingPolicy) GetUpdateTime

func (o *HostServiceMappingPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*HostServiceMappingPolicy) Identifier

func (o *HostServiceMappingPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*HostServiceMappingPolicy) Identity

Identity returns the Identity of the object.

func (*HostServiceMappingPolicy) Patch

Patch apply the non nil value of a *SparseHostServiceMappingPolicy to the object.

func (*HostServiceMappingPolicy) SetActiveDuration

func (o *HostServiceMappingPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*HostServiceMappingPolicy) SetActiveSchedule

func (o *HostServiceMappingPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*HostServiceMappingPolicy) SetAnnotations

func (o *HostServiceMappingPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*HostServiceMappingPolicy) SetAssociatedTags

func (o *HostServiceMappingPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*HostServiceMappingPolicy) SetBSON added in v1.80.0

func (o *HostServiceMappingPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*HostServiceMappingPolicy) SetCreateIdempotencyKey

func (o *HostServiceMappingPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*HostServiceMappingPolicy) SetCreateTime

func (o *HostServiceMappingPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*HostServiceMappingPolicy) SetDescription

func (o *HostServiceMappingPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*HostServiceMappingPolicy) SetDisabled

func (o *HostServiceMappingPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*HostServiceMappingPolicy) SetFallback

func (o *HostServiceMappingPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*HostServiceMappingPolicy) SetIdentifier

func (o *HostServiceMappingPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*HostServiceMappingPolicy) SetMetadata

func (o *HostServiceMappingPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*HostServiceMappingPolicy) SetName

func (o *HostServiceMappingPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*HostServiceMappingPolicy) SetNamespace

func (o *HostServiceMappingPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*HostServiceMappingPolicy) SetNormalizedTags

func (o *HostServiceMappingPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*HostServiceMappingPolicy) SetPropagate

func (o *HostServiceMappingPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*HostServiceMappingPolicy) SetProtected

func (o *HostServiceMappingPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*HostServiceMappingPolicy) SetUpdateIdempotencyKey

func (o *HostServiceMappingPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*HostServiceMappingPolicy) SetUpdateTime

func (o *HostServiceMappingPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*HostServiceMappingPolicy) SpecificationForAttribute

func (*HostServiceMappingPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*HostServiceMappingPolicy) String

func (o *HostServiceMappingPolicy) String() string

func (*HostServiceMappingPolicy) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*HostServiceMappingPolicy) Validate

func (o *HostServiceMappingPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*HostServiceMappingPolicy) ValueForAttribute

func (o *HostServiceMappingPolicy) ValueForAttribute(name string) interface{}

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 (*HostServiceMappingPolicy) Version

func (o *HostServiceMappingPolicy) Version() int

Version returns the hardcoded version of the model.

type HostServicesList

type HostServicesList []*HostService

HostServicesList represents a list of HostServices

func (HostServicesList) Append

Append appends the objects to the a new copy of the HostServicesList.

func (HostServicesList) Copy

Copy returns a pointer to a copy the HostServicesList.

func (HostServicesList) DefaultOrder

func (o HostServicesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (HostServicesList) Identity

func (o HostServicesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (HostServicesList) List

List converts the object to an elemental.IdentifiablesList.

func (HostServicesList) ToSparse

func (o HostServicesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the HostServicesList converted to SparseHostServicesList. Objects in the list will only contain the given fields. No field means entire field set.

func (HostServicesList) Version

func (o HostServicesList) Version() int

Version returns the version of the content.

type IPInfo

type IPInfo struct {
	// The IP address.
	IP string `json:"IP" msgpack:"IP" bson:"-" mapstructure:"IP,omitempty"`

	// Error that occurred during resolution.
	Error string `json:"error" msgpack:"error" bson:"-" mapstructure:"error,omitempty"`

	// List of DNS records associated with the IP address.
	Records map[string]string `json:"records" msgpack:"records" bson:"-" mapstructure:"records,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

IPInfo represents the model of a ipinfo

func NewIPInfo

func NewIPInfo() *IPInfo

NewIPInfo returns a new *IPInfo

func (*IPInfo) AttributeSpecifications

func (*IPInfo) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*IPInfo) BleveType added in v1.1.0

func (o *IPInfo) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*IPInfo) DeepCopy

func (o *IPInfo) DeepCopy() *IPInfo

DeepCopy returns a deep copy if the IPInfo.

func (*IPInfo) DeepCopyInto

func (o *IPInfo) DeepCopyInto(out *IPInfo)

DeepCopyInto copies the receiver into the given *IPInfo.

func (*IPInfo) DefaultOrder

func (o *IPInfo) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*IPInfo) Doc

func (o *IPInfo) Doc() string

Doc returns the documentation for the object

func (*IPInfo) GetBSON added in v1.80.0

func (o *IPInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*IPInfo) Identifier

func (o *IPInfo) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*IPInfo) Identity

func (o *IPInfo) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*IPInfo) Patch

func (o *IPInfo) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseIPInfo to the object.

func (*IPInfo) SetBSON added in v1.80.0

func (o *IPInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*IPInfo) SetIdentifier

func (o *IPInfo) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*IPInfo) SpecificationForAttribute

func (*IPInfo) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*IPInfo) String

func (o *IPInfo) String() string

func (*IPInfo) ToSparse

func (o *IPInfo) 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 (*IPInfo) Validate

func (o *IPInfo) Validate() error

Validate valides the current information stored into the structure.

func (*IPInfo) ValueForAttribute

func (o *IPInfo) ValueForAttribute(name string) interface{}

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 (*IPInfo) Version

func (o *IPInfo) Version() int

Version returns the hardcoded version of the model.

type IPInfosList

type IPInfosList []*IPInfo

IPInfosList represents a list of IPInfos

func (IPInfosList) Append

Append appends the objects to the a new copy of the IPInfosList.

func (IPInfosList) Copy

Copy returns a pointer to a copy the IPInfosList.

func (IPInfosList) DefaultOrder

func (o IPInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (IPInfosList) Identity

func (o IPInfosList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (IPInfosList) List

List converts the object to an elemental.IdentifiablesList.

func (IPInfosList) ToSparse

func (o IPInfosList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the IPInfosList converted to SparseIPInfosList. Objects in the list will only contain the given fields. No field means entire field set.

func (IPInfosList) Version

func (o IPInfosList) Version() int

Version returns the version of the content.

type Import

type Import struct {
	// Data to import.
	Data *Export `json:"data" msgpack:"data" bson:"-" mapstructure:"data,omitempty"`

	// How to import the data: `ReplacePartial`, `Import` (default), or `Remove`.
	// `ReplacePartial`
	// is deprecated. Use `Import` instead. While you can use `ReplacePartial` it will
	// be interpreted
	// as `Import`.
	Mode ImportModeValue `json:"mode" msgpack:"mode" bson:"-" mapstructure:"mode,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Import represents the model of a import

func NewImport

func NewImport() *Import

NewImport returns a new *Import

func (*Import) AttributeSpecifications

func (*Import) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Import) BleveType added in v1.1.0

func (o *Import) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Import) DeepCopy

func (o *Import) DeepCopy() *Import

DeepCopy returns a deep copy if the Import.

func (*Import) DeepCopyInto

func (o *Import) DeepCopyInto(out *Import)

DeepCopyInto copies the receiver into the given *Import.

func (*Import) DefaultOrder

func (o *Import) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Import) Doc

func (o *Import) Doc() string

Doc returns the documentation for the object

func (*Import) GetBSON added in v1.80.0

func (o *Import) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Import) Identifier

func (o *Import) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Import) Identity

func (o *Import) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Import) Patch

func (o *Import) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseImport to the object.

func (*Import) SetBSON added in v1.80.0

func (o *Import) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Import) SetIdentifier

func (o *Import) SetIdentifier(id string)

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) String

func (o *Import) String() string

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) Validate

func (o *Import) Validate() error

Validate valides the current information stored into the structure.

func (*Import) ValueForAttribute

func (o *Import) ValueForAttribute(name string) interface{}

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 (*Import) Version

func (o *Import) Version() int

Version returns the hardcoded version of the model.

type ImportModeValue

type ImportModeValue string

ImportModeValue represents the possible values for attribute "mode".

const (
	// ImportModeImport represents the value Import.
	ImportModeImport ImportModeValue = "Import"

	// ImportModeRemove represents the value Remove.
	ImportModeRemove ImportModeValue = "Remove"

	// ImportModeReplacePartial represents the value ReplacePartial.
	ImportModeReplacePartial ImportModeValue = "ReplacePartial"
)

type ImportReference added in v1.1.0

type ImportReference struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Contains the claims of the client that performed the import.
	Claims []string `json:"claims" msgpack:"claims" bson:"claims" mapstructure:"claims,omitempty"`

	// Define the import constraint. If Unrestricted, import
	// can be deployed multiple times. If Unique, only one import is allowed
	// in the current namespace and its child namespaces. If NamespaceUnique, only
	// one import is allowed in the current namespace.
	Constraint ImportReferenceConstraintValue `json:"constraint" msgpack:"constraint" bson:"constraint" mapstructure:"constraint,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Data to import.
	Data *Export `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Label used for the imported data.
	Label string `json:"label" msgpack:"label" bson:"label" mapstructure:"label,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ImportReference represents the model of a importreference

func NewImportReference added in v1.1.0

func NewImportReference() *ImportReference

NewImportReference returns a new *ImportReference

func (*ImportReference) AttributeSpecifications added in v1.1.0

func (*ImportReference) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ImportReference) BleveType added in v1.1.0

func (o *ImportReference) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ImportReference) DeepCopy added in v1.1.0

func (o *ImportReference) DeepCopy() *ImportReference

DeepCopy returns a deep copy if the ImportReference.

func (*ImportReference) DeepCopyInto added in v1.1.0

func (o *ImportReference) DeepCopyInto(out *ImportReference)

DeepCopyInto copies the receiver into the given *ImportReference.

func (*ImportReference) DefaultOrder added in v1.1.0

func (o *ImportReference) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ImportReference) Doc added in v1.1.0

func (o *ImportReference) Doc() string

Doc returns the documentation for the object

func (*ImportReference) GetAnnotations added in v1.1.0

func (o *ImportReference) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*ImportReference) GetAssociatedTags added in v1.1.0

func (o *ImportReference) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*ImportReference) GetBSON added in v1.80.0

func (o *ImportReference) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ImportReference) GetCreateIdempotencyKey added in v1.1.0

func (o *ImportReference) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*ImportReference) GetCreateTime added in v1.1.0

func (o *ImportReference) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ImportReference) GetDescription added in v1.1.0

func (o *ImportReference) GetDescription() string

GetDescription returns the Description of the receiver.

func (*ImportReference) GetMetadata added in v1.1.0

func (o *ImportReference) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*ImportReference) GetMigrationsLog added in v1.30.0

func (o *ImportReference) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*ImportReference) GetName added in v1.1.0

func (o *ImportReference) GetName() string

GetName returns the Name of the receiver.

func (*ImportReference) GetNamespace added in v1.1.0

func (o *ImportReference) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ImportReference) GetNormalizedTags added in v1.1.0

func (o *ImportReference) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*ImportReference) GetProtected added in v1.1.0

func (o *ImportReference) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*ImportReference) GetUpdateIdempotencyKey added in v1.1.0

func (o *ImportReference) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*ImportReference) GetUpdateTime added in v1.1.0

func (o *ImportReference) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ImportReference) GetZHash added in v1.1.0

func (o *ImportReference) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ImportReference) GetZone added in v1.1.0

func (o *ImportReference) GetZone() int

GetZone returns the Zone of the receiver.

func (*ImportReference) Identifier added in v1.1.0

func (o *ImportReference) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ImportReference) Identity added in v1.1.0

func (o *ImportReference) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ImportReference) Patch added in v1.1.0

func (o *ImportReference) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseImportReference to the object.

func (*ImportReference) SetAnnotations added in v1.1.0

func (o *ImportReference) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*ImportReference) SetAssociatedTags added in v1.1.0

func (o *ImportReference) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*ImportReference) SetBSON added in v1.80.0

func (o *ImportReference) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ImportReference) SetCreateIdempotencyKey added in v1.1.0

func (o *ImportReference) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*ImportReference) SetCreateTime added in v1.1.0

func (o *ImportReference) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ImportReference) SetDescription added in v1.1.0

func (o *ImportReference) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*ImportReference) SetIdentifier added in v1.1.0

func (o *ImportReference) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ImportReference) SetMetadata added in v1.1.0

func (o *ImportReference) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*ImportReference) SetMigrationsLog added in v1.30.0

func (o *ImportReference) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*ImportReference) SetName added in v1.1.0

func (o *ImportReference) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*ImportReference) SetNamespace added in v1.1.0

func (o *ImportReference) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ImportReference) SetNormalizedTags added in v1.1.0

func (o *ImportReference) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*ImportReference) SetProtected added in v1.1.0

func (o *ImportReference) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*ImportReference) SetUpdateIdempotencyKey added in v1.1.0

func (o *ImportReference) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*ImportReference) SetUpdateTime added in v1.1.0

func (o *ImportReference) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ImportReference) SetZHash added in v1.1.0

func (o *ImportReference) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ImportReference) SetZone added in v1.1.0

func (o *ImportReference) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ImportReference) SpecificationForAttribute added in v1.1.0

func (*ImportReference) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ImportReference) String added in v1.1.0

func (o *ImportReference) String() string

func (*ImportReference) ToSparse added in v1.1.0

func (o *ImportReference) 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 (*ImportReference) Validate added in v1.1.0

func (o *ImportReference) Validate() error

Validate valides the current information stored into the structure.

func (*ImportReference) ValueForAttribute added in v1.1.0

func (o *ImportReference) ValueForAttribute(name string) interface{}

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 (*ImportReference) Version added in v1.1.0

func (o *ImportReference) Version() int

Version returns the hardcoded version of the model.

type ImportReferenceConstraintValue added in v1.94.1

type ImportReferenceConstraintValue string

ImportReferenceConstraintValue represents the possible values for attribute "constraint".

const (
	// ImportReferenceConstraintNamespaceUnique represents the value NamespaceUnique.
	ImportReferenceConstraintNamespaceUnique ImportReferenceConstraintValue = "NamespaceUnique"

	// ImportReferenceConstraintUnique represents the value Unique.
	ImportReferenceConstraintUnique ImportReferenceConstraintValue = "Unique"

	// ImportReferenceConstraintUnrestricted represents the value Unrestricted.
	ImportReferenceConstraintUnrestricted ImportReferenceConstraintValue = "Unrestricted"
)

type ImportReferencesList added in v1.1.0

type ImportReferencesList []*ImportReference

ImportReferencesList represents a list of ImportReferences

func (ImportReferencesList) Append added in v1.1.0

Append appends the objects to the a new copy of the ImportReferencesList.

func (ImportReferencesList) Copy added in v1.1.0

Copy returns a pointer to a copy the ImportReferencesList.

func (ImportReferencesList) DefaultOrder added in v1.1.0

func (o ImportReferencesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ImportReferencesList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (ImportReferencesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (ImportReferencesList) ToSparse added in v1.1.0

func (o ImportReferencesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ImportReferencesList converted to SparseImportReferencesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ImportReferencesList) Version added in v1.1.0

func (o ImportReferencesList) Version() int

Version returns the version of the content.

type ImportRequest

type ImportRequest struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// A new comment that will be added to `commentFeed`.
	Comment string `json:"comment" msgpack:"comment" bson:"-" mapstructure:"comment,omitempty"`

	// List of comments that have been added to that request.
	CommentFeed []*Comment `json:"commentFeed" msgpack:"commentFeed" bson:"commentfeed" mapstructure:"commentFeed,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Data to import.
	Data map[string][]map[string]interface{} `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// The identity claims of the requester; populated by the Microsegmentation
	// Console.
	RequesterClaims []string `json:"requesterClaims" msgpack:"requesterClaims" bson:"requesterclaims" mapstructure:"requesterClaims,omitempty"`

	// The namespace from which the request originated; populated by the
	// Microsegmentation Console.
	RequesterNamespace string `json:"requesterNamespace" msgpack:"requesterNamespace" bson:"requesternamespace" mapstructure:"requesterNamespace,omitempty"`

	// Allows the content to be changed. `Submitted`: the request moves to the target
	// namespace
	// for approval. `Approved`: the data will be created immediately. `Rejected`: the
	// request
	// cannot be changed anymore and can be deleted.
	Status ImportRequestStatusValue `json:"status" msgpack:"status" bson:"status" mapstructure:"status,omitempty"`

	// Internal field to know if the request has been submitted once.
	SubmittedOnce bool `json:"-" msgpack:"-" bson:"submittedonce" mapstructure:"-,omitempty"`

	// The namespace where the request will be sent. The requester can set any
	// namespace but
	// needs to have an authorization to post the request in that namespace.
	TargetNamespace string `json:"targetNamespace" msgpack:"targetNamespace" bson:"targetnamespace" mapstructure:"targetNamespace,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ImportRequest represents the model of a importrequest

func NewImportRequest

func NewImportRequest() *ImportRequest

NewImportRequest returns a new *ImportRequest

func (*ImportRequest) AttributeSpecifications

func (*ImportRequest) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ImportRequest) BleveType added in v1.1.0

func (o *ImportRequest) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ImportRequest) DeepCopy

func (o *ImportRequest) DeepCopy() *ImportRequest

DeepCopy returns a deep copy if the ImportRequest.

func (*ImportRequest) DeepCopyInto

func (o *ImportRequest) DeepCopyInto(out *ImportRequest)

DeepCopyInto copies the receiver into the given *ImportRequest.

func (*ImportRequest) DefaultOrder

func (o *ImportRequest) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ImportRequest) Doc

func (o *ImportRequest) Doc() string

Doc returns the documentation for the object

func (*ImportRequest) GetAnnotations

func (o *ImportRequest) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*ImportRequest) GetAssociatedTags

func (o *ImportRequest) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*ImportRequest) GetBSON added in v1.80.0

func (o *ImportRequest) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ImportRequest) GetCreateIdempotencyKey

func (o *ImportRequest) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*ImportRequest) GetCreateTime

func (o *ImportRequest) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ImportRequest) GetDescription

func (o *ImportRequest) GetDescription() string

GetDescription returns the Description of the receiver.

func (*ImportRequest) GetMigrationsLog added in v1.30.0

func (o *ImportRequest) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*ImportRequest) GetNamespace

func (o *ImportRequest) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ImportRequest) GetNormalizedTags

func (o *ImportRequest) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*ImportRequest) GetProtected

func (o *ImportRequest) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*ImportRequest) GetUpdateIdempotencyKey

func (o *ImportRequest) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*ImportRequest) GetUpdateTime

func (o *ImportRequest) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ImportRequest) GetZHash

func (o *ImportRequest) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ImportRequest) GetZone

func (o *ImportRequest) GetZone() int

GetZone returns the Zone of the receiver.

func (*ImportRequest) Identifier

func (o *ImportRequest) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ImportRequest) Identity

func (o *ImportRequest) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ImportRequest) Patch

func (o *ImportRequest) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseImportRequest to the object.

func (*ImportRequest) SetAnnotations

func (o *ImportRequest) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*ImportRequest) SetAssociatedTags

func (o *ImportRequest) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*ImportRequest) SetBSON added in v1.80.0

func (o *ImportRequest) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ImportRequest) SetCreateIdempotencyKey

func (o *ImportRequest) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*ImportRequest) SetCreateTime

func (o *ImportRequest) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ImportRequest) SetDescription

func (o *ImportRequest) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*ImportRequest) SetIdentifier

func (o *ImportRequest) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ImportRequest) SetMigrationsLog added in v1.30.0

func (o *ImportRequest) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*ImportRequest) SetNamespace

func (o *ImportRequest) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ImportRequest) SetNormalizedTags

func (o *ImportRequest) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*ImportRequest) SetProtected

func (o *ImportRequest) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*ImportRequest) SetUpdateIdempotencyKey

func (o *ImportRequest) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*ImportRequest) SetUpdateTime

func (o *ImportRequest) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ImportRequest) SetZHash

func (o *ImportRequest) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ImportRequest) SetZone

func (o *ImportRequest) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ImportRequest) SpecificationForAttribute

func (*ImportRequest) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ImportRequest) String

func (o *ImportRequest) String() string

func (*ImportRequest) ToSparse

func (o *ImportRequest) 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 (*ImportRequest) Validate

func (o *ImportRequest) Validate() error

Validate valides the current information stored into the structure.

func (*ImportRequest) ValueForAttribute

func (o *ImportRequest) ValueForAttribute(name string) interface{}

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 (*ImportRequest) Version

func (o *ImportRequest) Version() int

Version returns the hardcoded version of the model.

type ImportRequestStatusValue

type ImportRequestStatusValue string

ImportRequestStatusValue represents the possible values for attribute "status".

const (
	// ImportRequestStatusApproved represents the value Approved.
	ImportRequestStatusApproved ImportRequestStatusValue = "Approved"

	// ImportRequestStatusDraft represents the value Draft.
	ImportRequestStatusDraft ImportRequestStatusValue = "Draft"

	// ImportRequestStatusRejected represents the value Rejected.
	ImportRequestStatusRejected ImportRequestStatusValue = "Rejected"

	// ImportRequestStatusSubmitted represents the value Submitted.
	ImportRequestStatusSubmitted ImportRequestStatusValue = "Submitted"
)

type ImportRequestsList

type ImportRequestsList []*ImportRequest

ImportRequestsList represents a list of ImportRequests

func (ImportRequestsList) Append

Append appends the objects to the a new copy of the ImportRequestsList.

func (ImportRequestsList) Copy

Copy returns a pointer to a copy the ImportRequestsList.

func (ImportRequestsList) DefaultOrder

func (o ImportRequestsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ImportRequestsList) Identity

func (o ImportRequestsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ImportRequestsList) List

List converts the object to an elemental.IdentifiablesList.

func (ImportRequestsList) ToSparse

func (o ImportRequestsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ImportRequestsList converted to SparseImportRequestsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ImportRequestsList) Version

func (o ImportRequestsList) Version() int

Version returns the version of the content.

type ImportsList

type ImportsList []*Import

ImportsList represents a list of Imports

func (ImportsList) Append

Append appends the objects to the a new copy of the ImportsList.

func (ImportsList) Copy

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

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 InfrastructurePoliciesList added in v1.1.0

type InfrastructurePoliciesList []*InfrastructurePolicy

InfrastructurePoliciesList represents a list of InfrastructurePolicies

func (InfrastructurePoliciesList) Append added in v1.1.0

Append appends the objects to the a new copy of the InfrastructurePoliciesList.

func (InfrastructurePoliciesList) Copy added in v1.1.0

Copy returns a pointer to a copy the InfrastructurePoliciesList.

func (InfrastructurePoliciesList) DefaultOrder added in v1.1.0

func (o InfrastructurePoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (InfrastructurePoliciesList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (InfrastructurePoliciesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (InfrastructurePoliciesList) ToSparse added in v1.1.0

ToSparse returns the InfrastructurePoliciesList converted to SparseInfrastructurePoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (InfrastructurePoliciesList) Version added in v1.1.0

func (o InfrastructurePoliciesList) Version() int

Version returns the version of the content.

type InfrastructurePolicy added in v1.1.0

type InfrastructurePolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines the action to apply to a flow.
	Action InfrastructurePolicyActionValue `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Determines if the policy applies to the outgoing traffic of the `subject` or the
	// incoming traffic of the `subject`. `OutgoingTraffic` (default) or
	// `IncomingTraffic`.
	ApplyPolicyMode InfrastructurePolicyApplyPolicyModeValue `json:"applyPolicyMode" msgpack:"applyPolicyMode" bson:"-" mapstructure:"applyPolicyMode,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Object of the policy.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Subject of the policy.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

InfrastructurePolicy represents the model of a infrastructurepolicy

func NewInfrastructurePolicy added in v1.1.0

func NewInfrastructurePolicy() *InfrastructurePolicy

NewInfrastructurePolicy returns a new *InfrastructurePolicy

func (*InfrastructurePolicy) AttributeSpecifications added in v1.1.0

func (*InfrastructurePolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*InfrastructurePolicy) BleveType added in v1.1.0

func (o *InfrastructurePolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*InfrastructurePolicy) DeepCopy added in v1.1.0

DeepCopy returns a deep copy if the InfrastructurePolicy.

func (*InfrastructurePolicy) DeepCopyInto added in v1.1.0

func (o *InfrastructurePolicy) DeepCopyInto(out *InfrastructurePolicy)

DeepCopyInto copies the receiver into the given *InfrastructurePolicy.

func (*InfrastructurePolicy) DefaultOrder added in v1.1.0

func (o *InfrastructurePolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*InfrastructurePolicy) Doc added in v1.1.0

func (o *InfrastructurePolicy) Doc() string

Doc returns the documentation for the object

func (*InfrastructurePolicy) GetActiveDuration added in v1.1.0

func (o *InfrastructurePolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*InfrastructurePolicy) GetActiveSchedule added in v1.1.0

func (o *InfrastructurePolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*InfrastructurePolicy) GetAnnotations added in v1.1.0

func (o *InfrastructurePolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*InfrastructurePolicy) GetAssociatedTags added in v1.1.0

func (o *InfrastructurePolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*InfrastructurePolicy) GetBSON added in v1.80.0

func (o *InfrastructurePolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*InfrastructurePolicy) GetCreateIdempotencyKey added in v1.1.0

func (o *InfrastructurePolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*InfrastructurePolicy) GetCreateTime added in v1.1.0

func (o *InfrastructurePolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*InfrastructurePolicy) GetDescription added in v1.1.0

func (o *InfrastructurePolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*InfrastructurePolicy) GetDisabled added in v1.1.0

func (o *InfrastructurePolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*InfrastructurePolicy) GetExpirationTime added in v1.1.0

func (o *InfrastructurePolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*InfrastructurePolicy) GetMetadata added in v1.1.0

func (o *InfrastructurePolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*InfrastructurePolicy) GetName added in v1.1.0

func (o *InfrastructurePolicy) GetName() string

GetName returns the Name of the receiver.

func (*InfrastructurePolicy) GetNamespace added in v1.1.0

func (o *InfrastructurePolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*InfrastructurePolicy) GetNormalizedTags added in v1.1.0

func (o *InfrastructurePolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*InfrastructurePolicy) GetProtected added in v1.1.0

func (o *InfrastructurePolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*InfrastructurePolicy) GetUpdateIdempotencyKey added in v1.1.0

func (o *InfrastructurePolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*InfrastructurePolicy) GetUpdateTime added in v1.1.0

func (o *InfrastructurePolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*InfrastructurePolicy) Identifier added in v1.1.0

func (o *InfrastructurePolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*InfrastructurePolicy) Identity added in v1.1.0

func (o *InfrastructurePolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*InfrastructurePolicy) Patch added in v1.1.0

Patch apply the non nil value of a *SparseInfrastructurePolicy to the object.

func (*InfrastructurePolicy) SetActiveDuration added in v1.1.0

func (o *InfrastructurePolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*InfrastructurePolicy) SetActiveSchedule added in v1.1.0

func (o *InfrastructurePolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*InfrastructurePolicy) SetAnnotations added in v1.1.0

func (o *InfrastructurePolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*InfrastructurePolicy) SetAssociatedTags added in v1.1.0

func (o *InfrastructurePolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*InfrastructurePolicy) SetBSON added in v1.80.0

func (o *InfrastructurePolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*InfrastructurePolicy) SetCreateIdempotencyKey added in v1.1.0

func (o *InfrastructurePolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*InfrastructurePolicy) SetCreateTime added in v1.1.0

func (o *InfrastructurePolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*InfrastructurePolicy) SetDescription added in v1.1.0

func (o *InfrastructurePolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*InfrastructurePolicy) SetDisabled added in v1.1.0

func (o *InfrastructurePolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*InfrastructurePolicy) SetExpirationTime added in v1.1.0

func (o *InfrastructurePolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*InfrastructurePolicy) SetIdentifier added in v1.1.0

func (o *InfrastructurePolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*InfrastructurePolicy) SetMetadata added in v1.1.0

func (o *InfrastructurePolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*InfrastructurePolicy) SetName added in v1.1.0

func (o *InfrastructurePolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*InfrastructurePolicy) SetNamespace added in v1.1.0

func (o *InfrastructurePolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*InfrastructurePolicy) SetNormalizedTags added in v1.1.0

func (o *InfrastructurePolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*InfrastructurePolicy) SetProtected added in v1.1.0

func (o *InfrastructurePolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*InfrastructurePolicy) SetUpdateIdempotencyKey added in v1.1.0

func (o *InfrastructurePolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*InfrastructurePolicy) SetUpdateTime added in v1.1.0

func (o *InfrastructurePolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*InfrastructurePolicy) SpecificationForAttribute added in v1.1.0

func (*InfrastructurePolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*InfrastructurePolicy) String added in v1.1.0

func (o *InfrastructurePolicy) String() string

func (*InfrastructurePolicy) ToSparse added in v1.1.0

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*InfrastructurePolicy) Validate added in v1.1.0

func (o *InfrastructurePolicy) Validate() error

Validate valides the current information stored into the structure.

func (*InfrastructurePolicy) ValueForAttribute added in v1.1.0

func (o *InfrastructurePolicy) ValueForAttribute(name string) interface{}

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 (*InfrastructurePolicy) Version added in v1.1.0

func (o *InfrastructurePolicy) Version() int

Version returns the hardcoded version of the model.

type InfrastructurePolicyActionValue added in v1.1.0

type InfrastructurePolicyActionValue string

InfrastructurePolicyActionValue represents the possible values for attribute "action".

const (
	// InfrastructurePolicyActionAllow represents the value Allow.
	InfrastructurePolicyActionAllow InfrastructurePolicyActionValue = "Allow"

	// InfrastructurePolicyActionReject represents the value Reject.
	InfrastructurePolicyActionReject InfrastructurePolicyActionValue = "Reject"
)

type InfrastructurePolicyApplyPolicyModeValue added in v1.1.0

type InfrastructurePolicyApplyPolicyModeValue string

InfrastructurePolicyApplyPolicyModeValue represents the possible values for attribute "applyPolicyMode".

const (
	// InfrastructurePolicyApplyPolicyModeIncomingTraffic represents the value IncomingTraffic.
	InfrastructurePolicyApplyPolicyModeIncomingTraffic InfrastructurePolicyApplyPolicyModeValue = "IncomingTraffic"

	// InfrastructurePolicyApplyPolicyModeOutgoingTraffic represents the value OutgoingTraffic.
	InfrastructurePolicyApplyPolicyModeOutgoingTraffic InfrastructurePolicyApplyPolicyModeValue = "OutgoingTraffic"
)

type InstalledApp

type InstalledApp struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Additional configuration of the app is needed by the app itself.
	AdditionalConfiguration bool `` /* 144-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// AppIdentifier retains the identifier for the app.
	AppIdentifier string `json:"-" msgpack:"-" bson:"appidentifier" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// The category ID of the application.
	CategoryID string `json:"categoryID" msgpack:"categoryID" bson:"categoryid" mapstructure:"categoryID,omitempty"`

	// If true, will look for the public endpoints and store them as annotations in the
	// installed app.
	CheckPublicEndpoint bool `` /* 128-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Version of the installed application.
	CurrentVersion string `json:"currentVersion" msgpack:"currentVersion" bson:"currentversion" mapstructure:"currentVersion,omitempty"`

	// DeploymentCount represents the number of expected deployment for this app.
	DeploymentCount int `json:"-" msgpack:"-" bson:"deploymentcount" mapstructure:"-,omitempty"`

	// Adds a button in the UI.
	ExternalWindowButton map[string]string `` /* 132-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Contains the computed parameters to start the application.
	Parameters map[string]interface{} `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Status of the application.
	Status InstalledAppStatusValue `json:"status" msgpack:"status" bson:"status" mapstructure:"status,omitempty"`

	// Reason for the status of the application.
	StatusMessage string `json:"statusMessage" msgpack:"statusMessage" bson:"statusmessage" mapstructure:"statusMessage,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

InstalledApp represents the model of a installedapp

func NewInstalledApp

func NewInstalledApp() *InstalledApp

NewInstalledApp returns a new *InstalledApp

func (*InstalledApp) AttributeSpecifications

func (*InstalledApp) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*InstalledApp) BleveType added in v1.1.0

func (o *InstalledApp) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*InstalledApp) DeepCopy

func (o *InstalledApp) DeepCopy() *InstalledApp

DeepCopy returns a deep copy if the InstalledApp.

func (*InstalledApp) DeepCopyInto

func (o *InstalledApp) DeepCopyInto(out *InstalledApp)

DeepCopyInto copies the receiver into the given *InstalledApp.

func (*InstalledApp) DefaultOrder

func (o *InstalledApp) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*InstalledApp) Doc

func (o *InstalledApp) Doc() string

Doc returns the documentation for the object

func (*InstalledApp) GetAnnotations

func (o *InstalledApp) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*InstalledApp) GetAssociatedTags

func (o *InstalledApp) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*InstalledApp) GetBSON added in v1.80.0

func (o *InstalledApp) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*InstalledApp) GetCreateIdempotencyKey

func (o *InstalledApp) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*InstalledApp) GetCreateTime

func (o *InstalledApp) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*InstalledApp) GetMigrationsLog added in v1.30.0

func (o *InstalledApp) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*InstalledApp) GetName

func (o *InstalledApp) GetName() string

GetName returns the Name of the receiver.

func (*InstalledApp) GetNamespace

func (o *InstalledApp) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*InstalledApp) GetNormalizedTags

func (o *InstalledApp) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*InstalledApp) GetProtected

func (o *InstalledApp) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*InstalledApp) GetUpdateIdempotencyKey

func (o *InstalledApp) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*InstalledApp) GetUpdateTime

func (o *InstalledApp) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*InstalledApp) GetZHash added in v1.1.0

func (o *InstalledApp) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*InstalledApp) GetZone added in v1.1.0

func (o *InstalledApp) GetZone() int

GetZone returns the Zone of the receiver.

func (*InstalledApp) Identifier

func (o *InstalledApp) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*InstalledApp) Identity

func (o *InstalledApp) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*InstalledApp) Patch

func (o *InstalledApp) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseInstalledApp to the object.

func (*InstalledApp) SetAnnotations

func (o *InstalledApp) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*InstalledApp) SetAssociatedTags

func (o *InstalledApp) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*InstalledApp) SetBSON added in v1.80.0

func (o *InstalledApp) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*InstalledApp) SetCreateIdempotencyKey

func (o *InstalledApp) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*InstalledApp) SetCreateTime

func (o *InstalledApp) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*InstalledApp) SetIdentifier

func (o *InstalledApp) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*InstalledApp) SetMigrationsLog added in v1.30.0

func (o *InstalledApp) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*InstalledApp) SetName

func (o *InstalledApp) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*InstalledApp) SetNamespace

func (o *InstalledApp) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*InstalledApp) SetNormalizedTags

func (o *InstalledApp) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*InstalledApp) SetProtected

func (o *InstalledApp) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*InstalledApp) SetUpdateIdempotencyKey

func (o *InstalledApp) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*InstalledApp) SetUpdateTime

func (o *InstalledApp) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*InstalledApp) SetZHash added in v1.1.0

func (o *InstalledApp) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*InstalledApp) SetZone added in v1.1.0

func (o *InstalledApp) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*InstalledApp) SpecificationForAttribute

func (*InstalledApp) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*InstalledApp) String

func (o *InstalledApp) String() string

func (*InstalledApp) ToSparse

func (o *InstalledApp) 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 (*InstalledApp) Validate

func (o *InstalledApp) Validate() error

Validate valides the current information stored into the structure.

func (*InstalledApp) ValueForAttribute

func (o *InstalledApp) ValueForAttribute(name string) interface{}

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 (*InstalledApp) Version

func (o *InstalledApp) Version() int

Version returns the hardcoded version of the model.

type InstalledAppStatusValue

type InstalledAppStatusValue string

InstalledAppStatusValue represents the possible values for attribute "status".

const (
	// InstalledAppStatusDeploying represents the value Deploying.
	InstalledAppStatusDeploying InstalledAppStatusValue = "Deploying"

	// InstalledAppStatusError represents the value Error.
	InstalledAppStatusError InstalledAppStatusValue = "Error"

	// InstalledAppStatusInitializing represents the value Initializing.
	InstalledAppStatusInitializing InstalledAppStatusValue = "Initializing"

	// InstalledAppStatusRunning represents the value Running.
	InstalledAppStatusRunning InstalledAppStatusValue = "Running"

	// InstalledAppStatusUndeploying represents the value Undeploying.
	InstalledAppStatusUndeploying InstalledAppStatusValue = "Undeploying"

	// InstalledAppStatusUnknown represents the value Unknown.
	InstalledAppStatusUnknown InstalledAppStatusValue = "Unknown"
)

type InstalledAppsList

type InstalledAppsList []*InstalledApp

InstalledAppsList represents a list of InstalledApps

func (InstalledAppsList) Append

Append appends the objects to the a new copy of the InstalledAppsList.

func (InstalledAppsList) Copy

Copy returns a pointer to a copy the InstalledAppsList.

func (InstalledAppsList) DefaultOrder

func (o InstalledAppsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (InstalledAppsList) Identity

func (o InstalledAppsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (InstalledAppsList) List

List converts the object to an elemental.IdentifiablesList.

func (InstalledAppsList) ToSparse

func (o InstalledAppsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the InstalledAppsList converted to SparseInstalledAppsList. Objects in the list will only contain the given fields. No field means entire field set.

func (InstalledAppsList) Version

func (o InstalledAppsList) Version() int

Version returns the version of the content.

type IsolationProfile

type IsolationProfile struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// The capabilities that should be added to or removed from the processing unit.
	CapabilitiesActions types.CapabilitiesTypeMap `` /* 128-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The default action applied to all system calls of this profile.
	// Default is `Allow`.
	DefaultSyscallAction types.SyscallEnforcementAction `` /* 132-byte string literal not displayed */

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// A list of system call rules that identify actions for particular
	// system calls.
	SyscallRules types.SyscallEnforcementRulesMap `json:"syscallRules" msgpack:"syscallRules" bson:"syscallrules" mapstructure:"syscallRules,omitempty"`

	// The processor architectures that the profile supports. Default `all`.
	TargetArchitectures types.ArchitecturesTypeList `` /* 128-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

IsolationProfile represents the model of a isolationprofile

func NewIsolationProfile

func NewIsolationProfile() *IsolationProfile

NewIsolationProfile returns a new *IsolationProfile

func (*IsolationProfile) AttributeSpecifications

func (*IsolationProfile) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*IsolationProfile) BleveType added in v1.1.0

func (o *IsolationProfile) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*IsolationProfile) DeepCopy

func (o *IsolationProfile) DeepCopy() *IsolationProfile

DeepCopy returns a deep copy if the IsolationProfile.

func (*IsolationProfile) DeepCopyInto

func (o *IsolationProfile) DeepCopyInto(out *IsolationProfile)

DeepCopyInto copies the receiver into the given *IsolationProfile.

func (*IsolationProfile) DefaultOrder

func (o *IsolationProfile) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*IsolationProfile) Doc

func (o *IsolationProfile) Doc() string

Doc returns the documentation for the object

func (*IsolationProfile) GetAnnotations

func (o *IsolationProfile) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*IsolationProfile) GetAssociatedTags

func (o *IsolationProfile) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*IsolationProfile) GetBSON added in v1.80.0

func (o *IsolationProfile) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*IsolationProfile) GetCreateIdempotencyKey

func (o *IsolationProfile) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*IsolationProfile) GetCreateTime

func (o *IsolationProfile) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*IsolationProfile) GetDescription

func (o *IsolationProfile) GetDescription() string

GetDescription returns the Description of the receiver.

func (*IsolationProfile) GetMetadata

func (o *IsolationProfile) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*IsolationProfile) GetMigrationsLog added in v1.30.0

func (o *IsolationProfile) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*IsolationProfile) GetName

func (o *IsolationProfile) GetName() string

GetName returns the Name of the receiver.

func (*IsolationProfile) GetNamespace

func (o *IsolationProfile) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*IsolationProfile) GetNormalizedTags

func (o *IsolationProfile) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*IsolationProfile) GetPropagate

func (o *IsolationProfile) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*IsolationProfile) GetProtected

func (o *IsolationProfile) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*IsolationProfile) GetUpdateIdempotencyKey

func (o *IsolationProfile) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*IsolationProfile) GetUpdateTime

func (o *IsolationProfile) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*IsolationProfile) GetZHash

func (o *IsolationProfile) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*IsolationProfile) GetZone

func (o *IsolationProfile) GetZone() int

GetZone returns the Zone of the receiver.

func (*IsolationProfile) Identifier

func (o *IsolationProfile) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*IsolationProfile) Identity

func (o *IsolationProfile) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*IsolationProfile) Patch

Patch apply the non nil value of a *SparseIsolationProfile to the object.

func (*IsolationProfile) SetAnnotations

func (o *IsolationProfile) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*IsolationProfile) SetAssociatedTags

func (o *IsolationProfile) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*IsolationProfile) SetBSON added in v1.80.0

func (o *IsolationProfile) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*IsolationProfile) SetCreateIdempotencyKey

func (o *IsolationProfile) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*IsolationProfile) SetCreateTime

func (o *IsolationProfile) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*IsolationProfile) SetDescription

func (o *IsolationProfile) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*IsolationProfile) SetIdentifier

func (o *IsolationProfile) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*IsolationProfile) SetMetadata

func (o *IsolationProfile) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*IsolationProfile) SetMigrationsLog added in v1.30.0

func (o *IsolationProfile) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*IsolationProfile) SetName

func (o *IsolationProfile) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*IsolationProfile) SetNamespace

func (o *IsolationProfile) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*IsolationProfile) SetNormalizedTags

func (o *IsolationProfile) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*IsolationProfile) SetPropagate

func (o *IsolationProfile) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*IsolationProfile) SetProtected

func (o *IsolationProfile) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*IsolationProfile) SetUpdateIdempotencyKey

func (o *IsolationProfile) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*IsolationProfile) SetUpdateTime

func (o *IsolationProfile) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*IsolationProfile) SetZHash

func (o *IsolationProfile) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*IsolationProfile) SetZone

func (o *IsolationProfile) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*IsolationProfile) SpecificationForAttribute

func (*IsolationProfile) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*IsolationProfile) String

func (o *IsolationProfile) String() string

func (*IsolationProfile) ToSparse

func (o *IsolationProfile) 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 (*IsolationProfile) Validate

func (o *IsolationProfile) Validate() error

Validate valides the current information stored into the structure.

func (*IsolationProfile) ValueForAttribute

func (o *IsolationProfile) ValueForAttribute(name string) interface{}

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 (*IsolationProfile) Version

func (o *IsolationProfile) Version() int

Version returns the hardcoded version of the model.

type IsolationProfilesList

type IsolationProfilesList []*IsolationProfile

IsolationProfilesList represents a list of IsolationProfiles

func (IsolationProfilesList) Append

Append appends the objects to the a new copy of the IsolationProfilesList.

func (IsolationProfilesList) Copy

Copy returns a pointer to a copy the IsolationProfilesList.

func (IsolationProfilesList) DefaultOrder

func (o IsolationProfilesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (IsolationProfilesList) Identity

Identity returns the identity of the objects in the list.

func (IsolationProfilesList) List

List converts the object to an elemental.IdentifiablesList.

func (IsolationProfilesList) ToSparse

func (o IsolationProfilesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the IsolationProfilesList converted to SparseIsolationProfilesList. Objects in the list will only contain the given fields. No field means entire field set.

func (IsolationProfilesList) Version

func (o IsolationProfilesList) Version() int

Version returns the version of the content.

type Issue

type Issue struct {
	// If given, the issued token will only be valid for the specified namespace.
	// Refer to [JSON Web Token (JWT)RFC
	// 7519](https://tools.ietf.org/html/rfc7519#section-4.1.3).
	// for further information.
	Audience string `json:"audience" msgpack:"audience" bson:"-" mapstructure:"audience,omitempty"`

	// The claims in the token. It is only set is the parameter `asCookie` is given.
	Claims *types.MidgardClaims `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"-" mapstructure:"claims,omitempty"`

	// Contains additional data. The value depends on the issuer type.
	Data string `json:"data" msgpack:"data" bson:"-" mapstructure:"data,omitempty"`

	// Contains various additional information. Meaning depends on the `realm`.
	Metadata map[string]interface{} `json:"metadata" msgpack:"metadata" bson:"-" mapstructure:"metadata,omitempty"`

	// Opaque data that will be included in the issued token.
	Opaque map[string]string `json:"opaque" msgpack:"opaque" bson:"-" mapstructure:"opaque,omitempty"`

	// Restricts the number of times the issued token can be used.
	Quota int `json:"quota" msgpack:"quota" bson:"-" mapstructure:"quota,omitempty"`

	// The authentication realm. This will define how to verify
	// credentials from internal or external source of authentication.
	Realm IssueRealmValue `json:"realm" msgpack:"realm" bson:"-" mapstructure:"realm,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 `json:"restrictedNamespace" msgpack:"restrictedNamespace" bson:"-" mapstructure:"restrictedNamespace,omitempty"`

	// 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 `json:"restrictedNetworks" msgpack:"restrictedNetworks" bson:"-" mapstructure:"restrictedNetworks,omitempty"`

	// 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 `json:"restrictedPermissions" msgpack:"restrictedPermissions" bson:"-" mapstructure:"restrictedPermissions,omitempty"`

	// The token to use for the registration.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"`

	// Configures the maximum length of validity for a token, using
	// [Golang duration syntax](https://golang.org/pkg/time/#example_Duration). If it
	// is
	// bigger than the configured max validity, it will be capped. Default: `24h`.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Issue represents the model of a issue

func NewIssue

func NewIssue() *Issue

NewIssue returns a new *Issue

func (*Issue) AttributeSpecifications

func (*Issue) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Issue) BleveType added in v1.1.0

func (o *Issue) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Issue) DeepCopy

func (o *Issue) DeepCopy() *Issue

DeepCopy returns a deep copy if the Issue.

func (*Issue) DeepCopyInto

func (o *Issue) DeepCopyInto(out *Issue)

DeepCopyInto copies the receiver into the given *Issue.

func (*Issue) DefaultOrder

func (o *Issue) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Issue) Doc

func (o *Issue) Doc() string

Doc returns the documentation for the object

func (*Issue) GetBSON added in v1.80.0

func (o *Issue) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Issue) Identifier

func (o *Issue) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Issue) Identity

func (o *Issue) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Issue) Patch

func (o *Issue) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseIssue to the object.

func (*Issue) SetBSON added in v1.80.0

func (o *Issue) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Issue) SetIdentifier

func (o *Issue) SetIdentifier(id string)

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) String

func (o *Issue) String() string

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) Validate

func (o *Issue) Validate() error

Validate valides the current information stored into the structure.

func (*Issue) ValueForAttribute

func (o *Issue) ValueForAttribute(name string) interface{}

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 (*Issue) Version

func (o *Issue) Version() int

Version returns the hardcoded version of the model.

type IssueRealmValue

type IssueRealmValue string

IssueRealmValue represents the possible values for attribute "realm".

const (
	// IssueRealmAWSSecurityToken represents the value AWSSecurityToken.
	IssueRealmAWSSecurityToken IssueRealmValue = "AWSSecurityToken"

	// IssueRealmAporetoIdentityToken represents the value AporetoIdentityToken.
	IssueRealmAporetoIdentityToken IssueRealmValue = "AporetoIdentityToken"

	// IssueRealmAzureIdentityToken represents the value AzureIdentityToken.
	IssueRealmAzureIdentityToken IssueRealmValue = "AzureIdentityToken"

	// IssueRealmCertificate represents the value Certificate.
	IssueRealmCertificate IssueRealmValue = "Certificate"

	// IssueRealmGCPIdentityToken represents the value GCPIdentityToken.
	IssueRealmGCPIdentityToken IssueRealmValue = "GCPIdentityToken"

	// IssueRealmGoogle represents the value Google.
	IssueRealmGoogle IssueRealmValue = "Google"

	// IssueRealmLDAP represents the value LDAP.
	IssueRealmLDAP IssueRealmValue = "LDAP"

	// IssueRealmOIDC represents the value OIDC.
	IssueRealmOIDC IssueRealmValue = "OIDC"

	// IssueRealmPCIdentityToken represents the value PCIdentityToken.
	IssueRealmPCIdentityToken IssueRealmValue = "PCIdentityToken"

	// IssueRealmSAML represents the value SAML.
	IssueRealmSAML IssueRealmValue = "SAML"

	// IssueRealmVince represents the value Vince.
	IssueRealmVince IssueRealmValue = "Vince"
)

type IssueServiceToken added in v1.20.0

type IssueServiceToken struct {
	// Audience is the valid audience for this token.
	Audience string `json:"audience" msgpack:"audience" bson:"-" mapstructure:"audience,omitempty"`

	// The ID of the corresponding namespace.
	NamespaceID string `json:"namespaceID" msgpack:"namespaceID" bson:"-" mapstructure:"namespaceID,omitempty"`

	// ServiceClaims is a list of service claims that have been validated provided as
	// key/value pairs. If the same key is provided multiple times it will be converted
	// to an array. The claims  will appear under the Data section of the token.
	ServiceClaims []string `json:"serviceClaims" msgpack:"serviceClaims" bson:"-" mapstructure:"serviceClaims,omitempty"`

	// SigningKeyID holds the ID of the private certificate to use to sign the token.
	SigningKeyID string `json:"signingKeyID" msgpack:"signingKeyID" bson:"signingkeyid" mapstructure:"signingKeyID,omitempty"`

	// The subject claims of the token.
	Subject string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// Token contains the generated token.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"`

	// UserClaims is a list of user claims that have been validated provided as
	// key/value pairs. If the same key is provided multiple times it will be converted
	// to an array. The claims  will appear under the Data section of the token.
	UserClaims []string `json:"userClaims" msgpack:"userClaims" bson:"-" mapstructure:"userClaims,omitempty"`

	// Validity contains the token validity duration.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

IssueServiceToken represents the model of a issueservicetoken

func NewIssueServiceToken added in v1.20.0

func NewIssueServiceToken() *IssueServiceToken

NewIssueServiceToken returns a new *IssueServiceToken

func (*IssueServiceToken) AttributeSpecifications added in v1.20.0

func (*IssueServiceToken) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*IssueServiceToken) BleveType added in v1.20.0

func (o *IssueServiceToken) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*IssueServiceToken) DeepCopy added in v1.20.0

func (o *IssueServiceToken) DeepCopy() *IssueServiceToken

DeepCopy returns a deep copy if the IssueServiceToken.

func (*IssueServiceToken) DeepCopyInto added in v1.20.0

func (o *IssueServiceToken) DeepCopyInto(out *IssueServiceToken)

DeepCopyInto copies the receiver into the given *IssueServiceToken.

func (*IssueServiceToken) DefaultOrder added in v1.20.0

func (o *IssueServiceToken) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*IssueServiceToken) Doc added in v1.20.0

func (o *IssueServiceToken) Doc() string

Doc returns the documentation for the object

func (*IssueServiceToken) GetBSON added in v1.80.0

func (o *IssueServiceToken) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*IssueServiceToken) Identifier added in v1.20.0

func (o *IssueServiceToken) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*IssueServiceToken) Identity added in v1.20.0

func (o *IssueServiceToken) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*IssueServiceToken) Patch added in v1.20.0

Patch apply the non nil value of a *SparseIssueServiceToken to the object.

func (*IssueServiceToken) SetBSON added in v1.80.0

func (o *IssueServiceToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*IssueServiceToken) SetIdentifier added in v1.20.0

func (o *IssueServiceToken) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*IssueServiceToken) SpecificationForAttribute added in v1.20.0

func (*IssueServiceToken) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*IssueServiceToken) String added in v1.20.0

func (o *IssueServiceToken) String() string

func (*IssueServiceToken) ToSparse added in v1.20.0

func (o *IssueServiceToken) 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 (*IssueServiceToken) Validate added in v1.20.0

func (o *IssueServiceToken) Validate() error

Validate valides the current information stored into the structure.

func (*IssueServiceToken) ValueForAttribute added in v1.20.0

func (o *IssueServiceToken) ValueForAttribute(name string) interface{}

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 (*IssueServiceToken) Version added in v1.20.0

func (o *IssueServiceToken) Version() int

Version returns the hardcoded version of the model.

type IssueServiceTokensList added in v1.20.0

type IssueServiceTokensList []*IssueServiceToken

IssueServiceTokensList represents a list of IssueServiceTokens

func (IssueServiceTokensList) Append added in v1.20.0

Append appends the objects to the a new copy of the IssueServiceTokensList.

func (IssueServiceTokensList) Copy added in v1.20.0

Copy returns a pointer to a copy the IssueServiceTokensList.

func (IssueServiceTokensList) DefaultOrder added in v1.20.0

func (o IssueServiceTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (IssueServiceTokensList) Identity added in v1.20.0

Identity returns the identity of the objects in the list.

func (IssueServiceTokensList) List added in v1.20.0

List converts the object to an elemental.IdentifiablesList.

func (IssueServiceTokensList) ToSparse added in v1.20.0

func (o IssueServiceTokensList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the IssueServiceTokensList converted to SparseIssueServiceTokensList. Objects in the list will only contain the given fields. No field means entire field set.

func (IssueServiceTokensList) Version added in v1.20.0

func (o IssueServiceTokensList) Version() int

Version returns the version of the content.

type IssuesList

type IssuesList []*Issue

IssuesList represents a list of Issues

func (IssuesList) Append

Append appends the objects to the a new copy of the IssuesList.

func (IssuesList) Copy

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

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 JWKS added in v1.20.0

type JWKS struct {
	// Alg defines the algorithm used for signing as per the JWKS specification (RFC
	// 7518 section 7).
	Alg JWKSAlgValue `json:"alg" msgpack:"alg" bson:"-" mapstructure:"alg,omitempty"`

	// Curve is the curve type used for signing. Valid only when signing method is EC
	// (RFC 7518 section 6).
	Curve JWKSCurveValue `json:"curve,omitempty" msgpack:"curve,omitempty" bson:"-" mapstructure:"curve,omitempty"`

	// E is the exponent value of an RSA public key. Valid only when the signing
	// method is RSA (RFC 7518 section 6).
	E string `json:"e,omitempty" msgpack:"e,omitempty" bson:"-" mapstructure:"e,omitempty"`

	// kid is the key ID as per the JWKS specification.
	Kid string `json:"kid" msgpack:"kid" bson:"-" mapstructure:"kid,omitempty"`

	// kty defines the key type as per the JWKS specification.
	Kty JWKSKtyValue `json:"kty" msgpack:"kty" bson:"-" mapstructure:"kty,omitempty"`

	// N is the modulos value of an RSA public key. Valid only when the signing
	// method is RSA (RFC 7518 section 6).
	N string `json:"n,omitempty" msgpack:"n,omitempty" bson:"-" mapstructure:"n,omitempty"`

	// Use defines the use of the signing key as per the JWKS specification.
	Use string `json:"use" msgpack:"use" bson:"-" mapstructure:"use,omitempty"`

	// X is the X value of the public key. Valid only when signing method is EC (RFC
	// 7518 section 6).
	X string `json:"x,omitempty" msgpack:"x,omitempty" bson:"-" mapstructure:"x,omitempty"`

	// Y is the Y value of the public key. Valid only when signing method is EC (RFC
	// 7518 section 6).
	Y string `json:"y,omitempty" msgpack:"y,omitempty" bson:"-" mapstructure:"y,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

JWKS represents the model of a jwks

func NewJWKS added in v1.20.0

func NewJWKS() *JWKS

NewJWKS returns a new *JWKS

func (*JWKS) BleveType added in v1.20.0

func (o *JWKS) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*JWKS) DeepCopy added in v1.20.0

func (o *JWKS) DeepCopy() *JWKS

DeepCopy returns a deep copy if the JWKS.

func (*JWKS) DeepCopyInto added in v1.20.0

func (o *JWKS) DeepCopyInto(out *JWKS)

DeepCopyInto copies the receiver into the given *JWKS.

func (*JWKS) GetBSON added in v1.80.0

func (o *JWKS) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*JWKS) SetBSON added in v1.80.0

func (o *JWKS) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*JWKS) Validate added in v1.20.0

func (o *JWKS) Validate() error

Validate valides the current information stored into the structure.

type JWKSAlgValue added in v1.20.0

type JWKSAlgValue string

JWKSAlgValue represents the possible values for attribute "alg".

const (
	// JWKSAlgES256 represents the value ES256.
	JWKSAlgES256 JWKSAlgValue = "ES256"

	// JWKSAlgRS256 represents the value RS256.
	JWKSAlgRS256 JWKSAlgValue = "RS256"
)

type JWKSCurveValue added in v1.20.0

type JWKSCurveValue string

JWKSCurveValue represents the possible values for attribute "curve".

const (
	// JWKSCurveP256 represents the value P256.
	JWKSCurveP256 JWKSCurveValue = "P256"
)

type JWKSKtyValue added in v1.20.0

type JWKSKtyValue string

JWKSKtyValue represents the possible values for attribute "kty".

const (
	// JWKSKtyEC represents the value EC.
	JWKSKtyEC JWKSKtyValue = "EC"

	// JWKSKtyRSA represents the value RSA.
	JWKSKtyRSA JWKSKtyValue = "RSA"
)

type KubernetesCluster added in v1.103.0

type KubernetesCluster struct {
	// API versions supported by the API server.
	APIVersions []string `json:"APIVersions" msgpack:"APIVersions" bson:"apiversions" mapstructure:"APIVersions,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Kubernetes namespace.
	K8SNamespace string `json:"K8SNamespace" msgpack:"K8SNamespace" bson:"k8snamespace" mapstructure:"K8SNamespace,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Cluster external IP address.
	ExternalIP string `json:"externalIP" msgpack:"externalIP" bson:"externalip" mapstructure:"externalIP,omitempty"`

	// Cluster internal IP address.
	InternalIP string `json:"internalIP" msgpack:"internalIP" bson:"internalip" mapstructure:"internalIP,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

KubernetesCluster represents the model of a kubernetescluster

func NewKubernetesCluster added in v1.103.0

func NewKubernetesCluster() *KubernetesCluster

NewKubernetesCluster returns a new *KubernetesCluster

func (*KubernetesCluster) AttributeSpecifications added in v1.103.0

func (*KubernetesCluster) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*KubernetesCluster) BleveType added in v1.103.0

func (o *KubernetesCluster) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*KubernetesCluster) DeepCopy added in v1.103.0

func (o *KubernetesCluster) DeepCopy() *KubernetesCluster

DeepCopy returns a deep copy if the KubernetesCluster.

func (*KubernetesCluster) DeepCopyInto added in v1.103.0

func (o *KubernetesCluster) DeepCopyInto(out *KubernetesCluster)

DeepCopyInto copies the receiver into the given *KubernetesCluster.

func (*KubernetesCluster) DefaultOrder added in v1.103.0

func (o *KubernetesCluster) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*KubernetesCluster) Doc added in v1.103.0

func (o *KubernetesCluster) Doc() string

Doc returns the documentation for the object

func (*KubernetesCluster) GetAnnotations added in v1.103.0

func (o *KubernetesCluster) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*KubernetesCluster) GetAssociatedTags added in v1.103.0

func (o *KubernetesCluster) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*KubernetesCluster) GetBSON added in v1.103.0

func (o *KubernetesCluster) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*KubernetesCluster) GetCreateIdempotencyKey added in v1.103.0

func (o *KubernetesCluster) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*KubernetesCluster) GetCreateTime added in v1.103.0

func (o *KubernetesCluster) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*KubernetesCluster) GetDescription added in v1.103.0

func (o *KubernetesCluster) GetDescription() string

GetDescription returns the Description of the receiver.

func (*KubernetesCluster) GetMetadata added in v1.103.0

func (o *KubernetesCluster) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*KubernetesCluster) GetMigrationsLog added in v1.103.0

func (o *KubernetesCluster) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*KubernetesCluster) GetName added in v1.103.0

func (o *KubernetesCluster) GetName() string

GetName returns the Name of the receiver.

func (*KubernetesCluster) GetNamespace added in v1.103.0

func (o *KubernetesCluster) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*KubernetesCluster) GetNormalizedTags added in v1.103.0

func (o *KubernetesCluster) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*KubernetesCluster) GetProtected added in v1.103.0

func (o *KubernetesCluster) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*KubernetesCluster) GetUpdateIdempotencyKey added in v1.103.0

func (o *KubernetesCluster) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*KubernetesCluster) GetUpdateTime added in v1.103.0

func (o *KubernetesCluster) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*KubernetesCluster) GetZHash added in v1.103.0

func (o *KubernetesCluster) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*KubernetesCluster) GetZone added in v1.103.0

func (o *KubernetesCluster) GetZone() int

GetZone returns the Zone of the receiver.

func (*KubernetesCluster) Identifier added in v1.103.0

func (o *KubernetesCluster) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*KubernetesCluster) Identity added in v1.103.0

func (o *KubernetesCluster) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*KubernetesCluster) Patch added in v1.103.0

Patch apply the non nil value of a *SparseKubernetesCluster to the object.

func (*KubernetesCluster) SetAnnotations added in v1.103.0

func (o *KubernetesCluster) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*KubernetesCluster) SetAssociatedTags added in v1.103.0

func (o *KubernetesCluster) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*KubernetesCluster) SetBSON added in v1.103.0

func (o *KubernetesCluster) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*KubernetesCluster) SetCreateIdempotencyKey added in v1.103.0

func (o *KubernetesCluster) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*KubernetesCluster) SetCreateTime added in v1.103.0

func (o *KubernetesCluster) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*KubernetesCluster) SetDescription added in v1.103.0

func (o *KubernetesCluster) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*KubernetesCluster) SetIdentifier added in v1.103.0

func (o *KubernetesCluster) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*KubernetesCluster) SetMetadata added in v1.103.0

func (o *KubernetesCluster) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*KubernetesCluster) SetMigrationsLog added in v1.103.0

func (o *KubernetesCluster) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*KubernetesCluster) SetName added in v1.103.0

func (o *KubernetesCluster) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*KubernetesCluster) SetNamespace added in v1.103.0

func (o *KubernetesCluster) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*KubernetesCluster) SetNormalizedTags added in v1.103.0

func (o *KubernetesCluster) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*KubernetesCluster) SetProtected added in v1.103.0

func (o *KubernetesCluster) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*KubernetesCluster) SetUpdateIdempotencyKey added in v1.103.0

func (o *KubernetesCluster) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*KubernetesCluster) SetUpdateTime added in v1.103.0

func (o *KubernetesCluster) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*KubernetesCluster) SetZHash added in v1.103.0

func (o *KubernetesCluster) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*KubernetesCluster) SetZone added in v1.103.0

func (o *KubernetesCluster) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*KubernetesCluster) SpecificationForAttribute added in v1.103.0

func (*KubernetesCluster) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*KubernetesCluster) String added in v1.103.0

func (o *KubernetesCluster) String() string

func (*KubernetesCluster) ToSparse added in v1.103.0

func (o *KubernetesCluster) 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 (*KubernetesCluster) Validate added in v1.103.0

func (o *KubernetesCluster) Validate() error

Validate valides the current information stored into the structure.

func (*KubernetesCluster) ValueForAttribute added in v1.103.0

func (o *KubernetesCluster) ValueForAttribute(name string) interface{}

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 (*KubernetesCluster) Version added in v1.103.0

func (o *KubernetesCluster) Version() int

Version returns the hardcoded version of the model.

type KubernetesClustersList added in v1.103.0

type KubernetesClustersList []*KubernetesCluster

KubernetesClustersList represents a list of KubernetesClusters

func (KubernetesClustersList) Append added in v1.103.0

Append appends the objects to the a new copy of the KubernetesClustersList.

func (KubernetesClustersList) Copy added in v1.103.0

Copy returns a pointer to a copy the KubernetesClustersList.

func (KubernetesClustersList) DefaultOrder added in v1.103.0

func (o KubernetesClustersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (KubernetesClustersList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (KubernetesClustersList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (KubernetesClustersList) ToSparse added in v1.103.0

func (o KubernetesClustersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the KubernetesClustersList converted to SparseKubernetesClustersList. Objects in the list will only contain the given fields. No field means entire field set.

func (KubernetesClustersList) Version added in v1.103.0

func (o KubernetesClustersList) Version() int

Version returns the version of the content.

type LDAPProvider added in v1.1.0

type LDAPProvider struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Contains the fully qualified domain name (FQDN) or IP address of the private
	// LDAP server.
	Address string `json:"address" msgpack:"address" bson:"address" mapstructure:"address,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Contains the base distinguished name (DN) to use for LDAP queries. Example:
	// `dc=example,dc=com`.
	BaseDN string `json:"baseDN" msgpack:"baseDN" bson:"basedn" mapstructure:"baseDN,omitempty"`

	// Contains the DN to use to bind to the LDAP server. Example:
	// `cn=admin,dc=example,dc=com`.
	BindDN string `json:"bindDN" msgpack:"bindDN" bson:"binddn" mapstructure:"bindDN,omitempty"`

	// Contains the 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"`

	// 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.
	CertificateAuthority string `` /* 132-byte string literal not displayed */

	// Specifies the connection type for the LDAP provider. `TLS` or `InbandTLS`
	// (default).
	ConnSecurityProtocol LDAPProviderConnSecurityProtocolValue `` /* 132-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// If set, this will be the default LDAP provider. There can be only one default
	// provider in your account. When logging in with LDAP, if no provider name is
	// given, the default will be used.
	Default bool `json:"default" msgpack:"default" bson:"default" mapstructure:"default,omitempty"`

	// 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 a Microsegmentation authorization.
	// If
	// `includedKeys` is also set, and a key is in both lists, the key will be ignored.
	IgnoredKeys []string `json:"ignoredKeys" msgpack:"ignoredKeys" bson:"ignoredkeys" mapstructure:"ignoredKeys,omitempty"`

	// A list of keys that must be imported into a Microsegmentation authorization. If
	// `ignoredKeys` is also set, and a key is in both lists, the key will be ignored.
	IncludedKeys []string `json:"includedKeys" msgpack:"includedKeys" bson:"includedkeys" mapstructure:"includedKeys,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// The key to be used to populate the subject of the Midgard token. If you want to
	// use the user as a subject, for Windows-based systems you may use
	// `sAMAccountName`.
	// For Linux and other systems, you may wish to use `uid` (default). You can also
	// use
	// any alternate key.
	SubjectKey string `json:"subjectKey" msgpack:"subjectKey" bson:"subjectkey" mapstructure:"subjectKey,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

LDAPProvider represents the model of a ldapprovider

func NewLDAPProvider added in v1.1.0

func NewLDAPProvider() *LDAPProvider

NewLDAPProvider returns a new *LDAPProvider

func (*LDAPProvider) AttributeSpecifications added in v1.1.0

func (*LDAPProvider) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*LDAPProvider) BleveType added in v1.1.0

func (o *LDAPProvider) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*LDAPProvider) DeepCopy added in v1.1.0

func (o *LDAPProvider) DeepCopy() *LDAPProvider

DeepCopy returns a deep copy if the LDAPProvider.

func (*LDAPProvider) DeepCopyInto added in v1.1.0

func (o *LDAPProvider) DeepCopyInto(out *LDAPProvider)

DeepCopyInto copies the receiver into the given *LDAPProvider.

func (*LDAPProvider) DefaultOrder added in v1.1.0

func (o *LDAPProvider) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*LDAPProvider) Doc added in v1.1.0

func (o *LDAPProvider) Doc() string

Doc returns the documentation for the object

func (*LDAPProvider) GetAnnotations added in v1.1.0

func (o *LDAPProvider) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*LDAPProvider) GetAssociatedTags added in v1.1.0

func (o *LDAPProvider) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*LDAPProvider) GetBSON added in v1.80.0

func (o *LDAPProvider) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*LDAPProvider) GetCreateIdempotencyKey added in v1.1.0

func (o *LDAPProvider) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*LDAPProvider) GetCreateTime added in v1.1.0

func (o *LDAPProvider) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*LDAPProvider) GetDescription added in v1.1.0

func (o *LDAPProvider) GetDescription() string

GetDescription returns the Description of the receiver.

func (*LDAPProvider) GetMigrationsLog added in v1.30.0

func (o *LDAPProvider) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*LDAPProvider) GetName added in v1.1.0

func (o *LDAPProvider) GetName() string

GetName returns the Name of the receiver.

func (*LDAPProvider) GetNamespace added in v1.1.0

func (o *LDAPProvider) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*LDAPProvider) GetNormalizedTags added in v1.1.0

func (o *LDAPProvider) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*LDAPProvider) GetProtected added in v1.1.0

func (o *LDAPProvider) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*LDAPProvider) GetUpdateIdempotencyKey added in v1.1.0

func (o *LDAPProvider) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*LDAPProvider) GetUpdateTime added in v1.1.0

func (o *LDAPProvider) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*LDAPProvider) GetZHash added in v1.1.0

func (o *LDAPProvider) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*LDAPProvider) GetZone added in v1.1.0

func (o *LDAPProvider) GetZone() int

GetZone returns the Zone of the receiver.

func (*LDAPProvider) Identifier added in v1.1.0

func (o *LDAPProvider) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*LDAPProvider) Identity added in v1.1.0

func (o *LDAPProvider) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*LDAPProvider) Patch added in v1.1.0

func (o *LDAPProvider) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseLDAPProvider to the object.

func (*LDAPProvider) SetAnnotations added in v1.1.0

func (o *LDAPProvider) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*LDAPProvider) SetAssociatedTags added in v1.1.0

func (o *LDAPProvider) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*LDAPProvider) SetBSON added in v1.80.0

func (o *LDAPProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*LDAPProvider) SetCreateIdempotencyKey added in v1.1.0

func (o *LDAPProvider) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*LDAPProvider) SetCreateTime added in v1.1.0

func (o *LDAPProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*LDAPProvider) SetDescription added in v1.1.0

func (o *LDAPProvider) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*LDAPProvider) SetIdentifier added in v1.1.0

func (o *LDAPProvider) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*LDAPProvider) SetMigrationsLog added in v1.30.0

func (o *LDAPProvider) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*LDAPProvider) SetName added in v1.1.0

func (o *LDAPProvider) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*LDAPProvider) SetNamespace added in v1.1.0

func (o *LDAPProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*LDAPProvider) SetNormalizedTags added in v1.1.0

func (o *LDAPProvider) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*LDAPProvider) SetProtected added in v1.1.0

func (o *LDAPProvider) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*LDAPProvider) SetUpdateIdempotencyKey added in v1.1.0

func (o *LDAPProvider) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*LDAPProvider) SetUpdateTime added in v1.1.0

func (o *LDAPProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*LDAPProvider) SetZHash added in v1.1.0

func (o *LDAPProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*LDAPProvider) SetZone added in v1.1.0

func (o *LDAPProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*LDAPProvider) SpecificationForAttribute added in v1.1.0

func (*LDAPProvider) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*LDAPProvider) String added in v1.1.0

func (o *LDAPProvider) String() string

func (*LDAPProvider) ToSparse added in v1.1.0

func (o *LDAPProvider) 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 (*LDAPProvider) Validate added in v1.1.0

func (o *LDAPProvider) Validate() error

Validate valides the current information stored into the structure.

func (*LDAPProvider) ValueForAttribute added in v1.1.0

func (o *LDAPProvider) ValueForAttribute(name string) interface{}

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 (*LDAPProvider) Version added in v1.1.0

func (o *LDAPProvider) Version() int

Version returns the hardcoded version of the model.

type LDAPProviderConnSecurityProtocolValue added in v1.1.0

type LDAPProviderConnSecurityProtocolValue string

LDAPProviderConnSecurityProtocolValue represents the possible values for attribute "connSecurityProtocol".

const (
	// LDAPProviderConnSecurityProtocolInbandTLS represents the value InbandTLS.
	LDAPProviderConnSecurityProtocolInbandTLS LDAPProviderConnSecurityProtocolValue = "InbandTLS"

	// LDAPProviderConnSecurityProtocolTLS represents the value TLS.
	LDAPProviderConnSecurityProtocolTLS LDAPProviderConnSecurityProtocolValue = "TLS"
)

type LDAPProvidersList added in v1.1.0

type LDAPProvidersList []*LDAPProvider

LDAPProvidersList represents a list of LDAPProviders

func (LDAPProvidersList) Append added in v1.1.0

Append appends the objects to the a new copy of the LDAPProvidersList.

func (LDAPProvidersList) Copy added in v1.1.0

Copy returns a pointer to a copy the LDAPProvidersList.

func (LDAPProvidersList) DefaultOrder added in v1.1.0

func (o LDAPProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (LDAPProvidersList) Identity added in v1.1.0

func (o LDAPProvidersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (LDAPProvidersList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (LDAPProvidersList) ToSparse added in v1.1.0

func (o LDAPProvidersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the LDAPProvidersList converted to SparseLDAPProvidersList. Objects in the list will only contain the given fields. No field means entire field set.

func (LDAPProvidersList) Version added in v1.1.0

func (o LDAPProvidersList) Version() int

Version returns the version of the content.

type LocalCA added in v1.94.1

type LocalCA struct {
	// The SSH certificate authority used by the namespace.
	SSHCertificate string `json:"SSHCertificate" msgpack:"SSHCertificate" bson:"-" mapstructure:"SSHCertificate,omitempty"`

	// Set to `true` to renew the SSH certificate authority of the namespace.
	SSHCertificateRenew bool `json:"SSHCertificateRenew" msgpack:"SSHCertificateRenew" bson:"-" mapstructure:"SSHCertificateRenew,omitempty"`

	// The certificate authority used by the namespace.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// Set to `true` to renew the certificate authority of the namespace.
	CertificateRenew bool `json:"certificateRenew" msgpack:"certificateRenew" bson:"-" mapstructure:"certificateRenew,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

LocalCA represents the model of a localca

func NewLocalCA added in v1.94.1

func NewLocalCA() *LocalCA

NewLocalCA returns a new *LocalCA

func (*LocalCA) AttributeSpecifications added in v1.94.1

func (*LocalCA) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*LocalCA) BleveType added in v1.94.1

func (o *LocalCA) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*LocalCA) DeepCopy added in v1.94.1

func (o *LocalCA) DeepCopy() *LocalCA

DeepCopy returns a deep copy if the LocalCA.

func (*LocalCA) DeepCopyInto added in v1.94.1

func (o *LocalCA) DeepCopyInto(out *LocalCA)

DeepCopyInto copies the receiver into the given *LocalCA.

func (*LocalCA) DefaultOrder added in v1.94.1

func (o *LocalCA) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*LocalCA) Doc added in v1.94.1

func (o *LocalCA) Doc() string

Doc returns the documentation for the object

func (*LocalCA) GetBSON added in v1.94.1

func (o *LocalCA) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*LocalCA) Identifier added in v1.94.1

func (o *LocalCA) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*LocalCA) Identity added in v1.94.1

func (o *LocalCA) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*LocalCA) Patch added in v1.94.1

func (o *LocalCA) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseLocalCA to the object.

func (*LocalCA) SetBSON added in v1.94.1

func (o *LocalCA) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*LocalCA) SetIdentifier added in v1.94.1

func (o *LocalCA) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*LocalCA) SpecificationForAttribute added in v1.94.1

func (*LocalCA) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*LocalCA) String added in v1.94.1

func (o *LocalCA) String() string

func (*LocalCA) ToSparse added in v1.94.1

func (o *LocalCA) 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 (*LocalCA) Validate added in v1.94.1

func (o *LocalCA) Validate() error

Validate valides the current information stored into the structure.

func (*LocalCA) ValueForAttribute added in v1.94.1

func (o *LocalCA) ValueForAttribute(name string) interface{}

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 (*LocalCA) Version added in v1.94.1

func (o *LocalCA) Version() int

Version returns the hardcoded version of the model.

type LocalCAsList added in v1.94.1

type LocalCAsList []*LocalCA

LocalCAsList represents a list of LocalCAs

func (LocalCAsList) Append added in v1.94.1

Append appends the objects to the a new copy of the LocalCAsList.

func (LocalCAsList) Copy added in v1.94.1

Copy returns a pointer to a copy the LocalCAsList.

func (LocalCAsList) DefaultOrder added in v1.94.1

func (o LocalCAsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (LocalCAsList) Identity added in v1.94.1

func (o LocalCAsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (LocalCAsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (LocalCAsList) ToSparse added in v1.94.1

func (o LocalCAsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the LocalCAsList converted to SparseLocalCAsList. Objects in the list will only contain the given fields. No field means entire field set.

func (LocalCAsList) Version added in v1.94.1

func (o LocalCAsList) Version() int

Version returns the version of the content.

type Log

type Log struct {
	// Contains all log data.
	Data map[string]string `json:"data" msgpack:"data" bson:"-" mapstructure:"data,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Log represents the model of a log

func NewLog

func NewLog() *Log

NewLog returns a new *Log

func (*Log) AttributeSpecifications

func (*Log) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Log) BleveType added in v1.1.0

func (o *Log) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Log) DeepCopy

func (o *Log) DeepCopy() *Log

DeepCopy returns a deep copy if the Log.

func (*Log) DeepCopyInto

func (o *Log) DeepCopyInto(out *Log)

DeepCopyInto copies the receiver into the given *Log.

func (*Log) DefaultOrder

func (o *Log) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Log) Doc

func (o *Log) Doc() string

Doc returns the documentation for the object

func (*Log) GetBSON added in v1.80.0

func (o *Log) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Log) Identifier

func (o *Log) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Log) Identity

func (o *Log) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Log) Patch

func (o *Log) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseLog to the object.

func (*Log) SetBSON added in v1.80.0

func (o *Log) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Log) SetIdentifier

func (o *Log) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Log) SpecificationForAttribute

func (*Log) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Log) String

func (o *Log) String() string

func (*Log) ToSparse

func (o *Log) 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 (*Log) Validate

func (o *Log) Validate() error

Validate valides the current information stored into the structure.

func (*Log) ValueForAttribute

func (o *Log) ValueForAttribute(name string) interface{}

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 (*Log) Version

func (o *Log) Version() int

Version returns the hardcoded version of the model.

type Logout added in v1.94.1

type Logout struct {
	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Logout represents the model of a logout

func NewLogout added in v1.94.1

func NewLogout() *Logout

NewLogout returns a new *Logout

func (*Logout) AttributeSpecifications added in v1.94.1

func (*Logout) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Logout) BleveType added in v1.94.1

func (o *Logout) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Logout) DeepCopy added in v1.94.1

func (o *Logout) DeepCopy() *Logout

DeepCopy returns a deep copy if the Logout.

func (*Logout) DeepCopyInto added in v1.94.1

func (o *Logout) DeepCopyInto(out *Logout)

DeepCopyInto copies the receiver into the given *Logout.

func (*Logout) DefaultOrder added in v1.94.1

func (o *Logout) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Logout) Doc added in v1.94.1

func (o *Logout) Doc() string

Doc returns the documentation for the object

func (*Logout) GetBSON added in v1.94.1

func (o *Logout) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Logout) Identifier added in v1.94.1

func (o *Logout) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Logout) Identity added in v1.94.1

func (o *Logout) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Logout) Patch added in v1.94.1

func (o *Logout) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseLogout to the object.

func (*Logout) SetBSON added in v1.94.1

func (o *Logout) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Logout) SetIdentifier added in v1.94.1

func (o *Logout) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Logout) SpecificationForAttribute added in v1.94.1

func (*Logout) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Logout) String added in v1.94.1

func (o *Logout) String() string

func (*Logout) ToSparse added in v1.94.1

func (o *Logout) 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 (*Logout) Validate added in v1.94.1

func (o *Logout) Validate() error

Validate valides the current information stored into the structure.

func (*Logout) ValueForAttribute added in v1.94.1

func (o *Logout) ValueForAttribute(name string) interface{}

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 (*Logout) Version added in v1.94.1

func (o *Logout) Version() int

Version returns the hardcoded version of the model.

type LogoutsList added in v1.94.1

type LogoutsList []*Logout

LogoutsList represents a list of Logouts

func (LogoutsList) Append added in v1.94.1

Append appends the objects to the a new copy of the LogoutsList.

func (LogoutsList) Copy added in v1.94.1

Copy returns a pointer to a copy the LogoutsList.

func (LogoutsList) DefaultOrder added in v1.94.1

func (o LogoutsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (LogoutsList) Identity added in v1.94.1

func (o LogoutsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (LogoutsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (LogoutsList) ToSparse added in v1.94.1

func (o LogoutsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the LogoutsList converted to SparseLogoutsList. Objects in the list will only contain the given fields. No field means entire field set.

func (LogoutsList) Version added in v1.94.1

func (o LogoutsList) Version() int

Version returns the version of the content.

type LogsList

type LogsList []*Log

LogsList represents a list of Logs

func (LogsList) Append

func (o LogsList) Append(objects ...elemental.Identifiable) elemental.Identifiables

Append appends the objects to the a new copy of the LogsList.

func (LogsList) Copy

func (o LogsList) Copy() elemental.Identifiables

Copy returns a pointer to a copy the LogsList.

func (LogsList) DefaultOrder

func (o LogsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (LogsList) Identity

func (o LogsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (LogsList) List

List converts the object to an elemental.IdentifiablesList.

func (LogsList) ToSparse

func (o LogsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the LogsList converted to SparseLogsList. Objects in the list will only contain the given fields. No field means entire field set.

func (LogsList) Version

func (o LogsList) Version() int

Version returns the version of the content.

type Message

type Message struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// The time after which the message will be deleted.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Importance of the message.
	Level MessageLevelValue `json:"level" msgpack:"level" bson:"level" mapstructure:"level,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Sets when the message will be automatically deleted using
	// [Golang duration syntax](https://golang.org/pkg/time/#example_Duration).
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Message represents the model of a message

func NewMessage

func NewMessage() *Message

NewMessage returns a new *Message

func (*Message) AttributeSpecifications

func (*Message) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Message) BleveType added in v1.1.0

func (o *Message) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Message) DeepCopy

func (o *Message) DeepCopy() *Message

DeepCopy returns a deep copy if the Message.

func (*Message) DeepCopyInto

func (o *Message) DeepCopyInto(out *Message)

DeepCopyInto copies the receiver into the given *Message.

func (*Message) DefaultOrder

func (o *Message) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Message) Doc

func (o *Message) Doc() string

Doc returns the documentation for the object

func (*Message) GetAnnotations

func (o *Message) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Message) GetAssociatedTags

func (o *Message) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Message) GetBSON added in v1.80.0

func (o *Message) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Message) GetCreateIdempotencyKey

func (o *Message) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Message) GetCreateTime

func (o *Message) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Message) GetDescription

func (o *Message) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Message) GetMigrationsLog added in v1.30.0

func (o *Message) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Message) GetName

func (o *Message) GetName() string

GetName returns the Name of the receiver.

func (*Message) GetNamespace

func (o *Message) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Message) GetNormalizedTags

func (o *Message) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Message) GetPropagate

func (o *Message) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*Message) GetProtected

func (o *Message) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Message) GetUpdateIdempotencyKey

func (o *Message) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Message) GetUpdateTime

func (o *Message) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Message) GetZHash

func (o *Message) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Message) GetZone

func (o *Message) GetZone() int

GetZone returns the Zone of the receiver.

func (*Message) Identifier

func (o *Message) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Message) Identity

func (o *Message) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Message) Patch

func (o *Message) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseMessage to the object.

func (*Message) SetAnnotations

func (o *Message) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Message) SetAssociatedTags

func (o *Message) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Message) SetBSON added in v1.80.0

func (o *Message) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Message) SetCreateIdempotencyKey

func (o *Message) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Message) SetCreateTime

func (o *Message) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Message) SetDescription

func (o *Message) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Message) SetIdentifier

func (o *Message) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Message) SetMigrationsLog added in v1.30.0

func (o *Message) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Message) SetName

func (o *Message) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Message) SetNamespace

func (o *Message) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Message) SetNormalizedTags

func (o *Message) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Message) SetPropagate

func (o *Message) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*Message) SetProtected

func (o *Message) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Message) SetUpdateIdempotencyKey

func (o *Message) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Message) SetUpdateTime

func (o *Message) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Message) SetZHash

func (o *Message) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Message) SetZone

func (o *Message) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Message) SpecificationForAttribute

func (*Message) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Message) String

func (o *Message) String() string

func (*Message) ToSparse

func (o *Message) 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 (*Message) Validate

func (o *Message) Validate() error

Validate valides the current information stored into the structure.

func (*Message) ValueForAttribute

func (o *Message) ValueForAttribute(name string) interface{}

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 (*Message) Version

func (o *Message) Version() int

Version returns the hardcoded version of the model.

type MessageLevelValue

type MessageLevelValue string

MessageLevelValue represents the possible values for attribute "level".

const (
	// MessageLevelDanger represents the value Danger.
	MessageLevelDanger MessageLevelValue = "Danger"

	// MessageLevelInfo represents the value Info.
	MessageLevelInfo MessageLevelValue = "Info"

	// MessageLevelWarning represents the value Warning.
	MessageLevelWarning MessageLevelValue = "Warning"
)

type MessagesList

type MessagesList []*Message

MessagesList represents a list of Messages

func (MessagesList) Append

Append appends the objects to the a new copy of the MessagesList.

func (MessagesList) Copy

Copy returns a pointer to a copy the MessagesList.

func (MessagesList) DefaultOrder

func (o MessagesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (MessagesList) Identity

func (o MessagesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (MessagesList) List

List converts the object to an elemental.IdentifiablesList.

func (MessagesList) ToSparse

func (o MessagesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the MessagesList converted to SparseMessagesList. Objects in the list will only contain the given fields. No field means entire field set.

func (MessagesList) Version

func (o MessagesList) Version() int

Version returns the version of the content.

type MetricsQueriesList added in v1.94.1

type MetricsQueriesList []*MetricsQuery

MetricsQueriesList represents a list of MetricsQueries

func (MetricsQueriesList) Append added in v1.94.1

Append appends the objects to the a new copy of the MetricsQueriesList.

func (MetricsQueriesList) Copy added in v1.94.1

Copy returns a pointer to a copy the MetricsQueriesList.

func (MetricsQueriesList) DefaultOrder added in v1.94.1

func (o MetricsQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (MetricsQueriesList) Identity added in v1.94.1

func (o MetricsQueriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (MetricsQueriesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (MetricsQueriesList) ToSparse added in v1.94.1

func (o MetricsQueriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the MetricsQueriesList converted to SparseMetricsQueriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (MetricsQueriesList) Version added in v1.94.1

func (o MetricsQueriesList) Version() int

Version returns the version of the content.

type MetricsQuery added in v1.94.1

type MetricsQuery struct {
	// Prometheus expression query string.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// Evaluation timestamp <rfc3339 | unix_timestamp>.
	Time string `json:"time" msgpack:"time" bson:"-" mapstructure:"time,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

MetricsQuery represents the model of a metricsquery

func NewMetricsQuery added in v1.94.1

func NewMetricsQuery() *MetricsQuery

NewMetricsQuery returns a new *MetricsQuery

func (*MetricsQuery) AttributeSpecifications added in v1.94.1

func (*MetricsQuery) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*MetricsQuery) BleveType added in v1.94.1

func (o *MetricsQuery) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*MetricsQuery) DeepCopy added in v1.94.1

func (o *MetricsQuery) DeepCopy() *MetricsQuery

DeepCopy returns a deep copy if the MetricsQuery.

func (*MetricsQuery) DeepCopyInto added in v1.94.1

func (o *MetricsQuery) DeepCopyInto(out *MetricsQuery)

DeepCopyInto copies the receiver into the given *MetricsQuery.

func (*MetricsQuery) DefaultOrder added in v1.94.1

func (o *MetricsQuery) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*MetricsQuery) Doc added in v1.94.1

func (o *MetricsQuery) Doc() string

Doc returns the documentation for the object

func (*MetricsQuery) GetBSON added in v1.94.1

func (o *MetricsQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricsQuery) Identifier added in v1.94.1

func (o *MetricsQuery) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*MetricsQuery) Identity added in v1.94.1

func (o *MetricsQuery) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*MetricsQuery) Patch added in v1.94.1

func (o *MetricsQuery) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseMetricsQuery to the object.

func (*MetricsQuery) SetBSON added in v1.94.1

func (o *MetricsQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricsQuery) SetIdentifier added in v1.94.1

func (o *MetricsQuery) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*MetricsQuery) SpecificationForAttribute added in v1.94.1

func (*MetricsQuery) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*MetricsQuery) String added in v1.94.1

func (o *MetricsQuery) String() string

func (*MetricsQuery) ToSparse added in v1.94.1

func (o *MetricsQuery) 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 (*MetricsQuery) Validate added in v1.94.1

func (o *MetricsQuery) Validate() error

Validate valides the current information stored into the structure.

func (*MetricsQuery) ValueForAttribute added in v1.94.1

func (o *MetricsQuery) ValueForAttribute(name string) interface{}

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 (*MetricsQuery) Version added in v1.94.1

func (o *MetricsQuery) Version() int

Version returns the hardcoded version of the model.

type MetricsQueryRange added in v1.94.1

type MetricsQueryRange struct {
	// End timestamp <rfc3339 | unix_timestamp>.
	End string `json:"end" msgpack:"end" bson:"-" mapstructure:"end,omitempty"`

	// Prometheus expression query string.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// Start timestamp <rfc3339 | unix_timestamp>.
	Start string `json:"start" msgpack:"start" bson:"-" mapstructure:"start,omitempty"`

	// Query resolution step width in duration format or float number of seconds.
	Step string `json:"step" msgpack:"step" bson:"-" mapstructure:"step,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

MetricsQueryRange represents the model of a metricsqueryrange

func NewMetricsQueryRange added in v1.94.1

func NewMetricsQueryRange() *MetricsQueryRange

NewMetricsQueryRange returns a new *MetricsQueryRange

func (*MetricsQueryRange) AttributeSpecifications added in v1.94.1

func (*MetricsQueryRange) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*MetricsQueryRange) BleveType added in v1.94.1

func (o *MetricsQueryRange) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*MetricsQueryRange) DeepCopy added in v1.94.1

func (o *MetricsQueryRange) DeepCopy() *MetricsQueryRange

DeepCopy returns a deep copy if the MetricsQueryRange.

func (*MetricsQueryRange) DeepCopyInto added in v1.94.1

func (o *MetricsQueryRange) DeepCopyInto(out *MetricsQueryRange)

DeepCopyInto copies the receiver into the given *MetricsQueryRange.

func (*MetricsQueryRange) DefaultOrder added in v1.94.1

func (o *MetricsQueryRange) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*MetricsQueryRange) Doc added in v1.94.1

func (o *MetricsQueryRange) Doc() string

Doc returns the documentation for the object

func (*MetricsQueryRange) GetBSON added in v1.94.1

func (o *MetricsQueryRange) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricsQueryRange) Identifier added in v1.94.1

func (o *MetricsQueryRange) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*MetricsQueryRange) Identity added in v1.94.1

func (o *MetricsQueryRange) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*MetricsQueryRange) Patch added in v1.94.1

Patch apply the non nil value of a *SparseMetricsQueryRange to the object.

func (*MetricsQueryRange) SetBSON added in v1.94.1

func (o *MetricsQueryRange) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*MetricsQueryRange) SetIdentifier added in v1.94.1

func (o *MetricsQueryRange) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*MetricsQueryRange) SpecificationForAttribute added in v1.94.1

func (*MetricsQueryRange) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*MetricsQueryRange) String added in v1.94.1

func (o *MetricsQueryRange) String() string

func (*MetricsQueryRange) ToSparse added in v1.94.1

func (o *MetricsQueryRange) 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 (*MetricsQueryRange) Validate added in v1.94.1

func (o *MetricsQueryRange) Validate() error

Validate valides the current information stored into the structure.

func (*MetricsQueryRange) ValueForAttribute added in v1.94.1

func (o *MetricsQueryRange) ValueForAttribute(name string) interface{}

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 (*MetricsQueryRange) Version added in v1.94.1

func (o *MetricsQueryRange) Version() int

Version returns the hardcoded version of the model.

type MetricsQueryRangesList added in v1.94.1

type MetricsQueryRangesList []*MetricsQueryRange

MetricsQueryRangesList represents a list of MetricsQueryRanges

func (MetricsQueryRangesList) Append added in v1.94.1

Append appends the objects to the a new copy of the MetricsQueryRangesList.

func (MetricsQueryRangesList) Copy added in v1.94.1

Copy returns a pointer to a copy the MetricsQueryRangesList.

func (MetricsQueryRangesList) DefaultOrder added in v1.94.1

func (o MetricsQueryRangesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (MetricsQueryRangesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (MetricsQueryRangesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (MetricsQueryRangesList) ToSparse added in v1.94.1

func (o MetricsQueryRangesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the MetricsQueryRangesList converted to SparseMetricsQueryRangesList. Objects in the list will only contain the given fields. No field means entire field set.

func (MetricsQueryRangesList) Version added in v1.94.1

func (o MetricsQueryRangesList) Version() int

Version returns the version of the content.

type Namespace

type Namespace struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// JWTCertificateType defines the JWT signing certificate that must be created
	// for this namespace. If the type is none no certificate will be created.
	JWTCertificateType NamespaceJWTCertificateTypeValue `json:"JWTCertificateType" msgpack:"JWTCertificateType" bson:"jwtcertificatetype" mapstructure:"JWTCertificateType,omitempty"`

	// JWTCertificates hold the certificates used to sign tokens for this namespace.
	// This is map indexed by the ID of the certificate.
	JWTCertificates map[string]string `json:"JWTCertificates" msgpack:"JWTCertificates" bson:"jwtcertificates" mapstructure:"JWTCertificates,omitempty"`

	// The SSH certificate authority used by the namespace.
	SSHCA string `json:"-" msgpack:"-" bson:"sshca" mapstructure:"-,omitempty"`

	// If `true`, an SSH certificate authority (CA) will be generated for the
	// namespace. This CA can be deployed in SSH server to validate SSH certificates
	// issued by the controller.
	SSHCAEnabled bool `json:"SSHCAEnabled" msgpack:"SSHCAEnabled" bson:"sshcaenabled" mapstructure:"SSHCAEnabled,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// AssociatedLocalCAID holds the remote ID of the certificate authority to use.
	AssociatedLocalCAID string `json:"-" msgpack:"-" bson:"associatedlocalcaid" mapstructure:"-,omitempty"`

	// The remote ID of the SSH certificate authority to use.
	AssociatedSSHCAID string `json:"associatedSSHCAID" msgpack:"associatedSSHCAID" bson:"associatedsshcaid" mapstructure:"associatedSSHCAID,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Defines if the namespace should inherit its parent zone. If this property is set
	// to `false`,  the `zoning` property will be ignored and the namespace will have
	// the same zone as its parent.
	CustomZoning bool `json:"customZoning" msgpack:"customZoning" bson:"customzoning" mapstructure:"customZoning,omitempty"`

	// Indicates the default enforcer version for this namespace.
	DefaultEnforcerVersion string `` /* 140-byte string literal not displayed */

	// Describes the default action a processing unit will take for incoming traffic
	// for this namespace.
	DefaultPUIncomingTrafficAction NamespaceDefaultPUIncomingTrafficActionValue `` /* 172-byte string literal not displayed */

	// Describes the default action a processing unit will take for outgoing traffic
	// for this namespace.
	DefaultPUOutgoingTrafficAction NamespaceDefaultPUOutgoingTrafficActionValue `` /* 172-byte string literal not displayed */

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// The certificate authority used by this namespace.
	LocalCA string `json:"-" msgpack:"-" bson:"localca" mapstructure:"-,omitempty"`

	// Defines if the namespace should use a local certificate
	// authority (CA). Switching it off and on again will regenerate a new CA.
	LocalCAEnabled bool `json:"localCAEnabled" msgpack:"localCAEnabled" bson:"localcaenabled" mapstructure:"localCAEnabled,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// The name of the namespace.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// List of tags that will be added to every `or` clause of all network access
	// policies in the namespace and its children.
	NetworkAccessPolicyTags []string `` /* 144-byte string literal not displayed */

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// List of tags that describe this namespace. All organizational tags are
	// automatically passed to policeable objects (e.g., processing units, external
	// networks, enforcers) during their creation.
	OrganizationalMetadata []string `` /* 140-byte string literal not displayed */

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// This flag is deprecated and has no incidence.
	ServiceCertificateValidity string `` /* 156-byte string literal not displayed */

	// List of tag prefixes that will be used to suggest policies. Only these tags will
	// be transmitted on the wire.
	TagPrefixes []string `json:"tagPrefixes" msgpack:"tagPrefixes" bson:"tagprefixes" mapstructure:"tagPrefixes,omitempty"`

	// The type defines the purpose of the namespace:
	// - `Default`: A universal namespace that is capable of all actions and views.
	// - `Tenant`: A namespace that houses a tenant (e.g. ACME).
	// - `CloudAccount`: A child namespace of a tenant that houses a cloud provider
	// account.
	// - `Group`: A child namespace of a cloud account that houses a managed group.
	// - `Kubernetes`: A child namespace of a group that houses a
	// Kubernetes cluster (automatically created by the enforcer).
	Type NamespaceTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	// Defines what zone the namespace should live in.
	Zoning int `json:"zoning" msgpack:"zoning" bson:"zoning" mapstructure:"zoning,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Namespace represents the model of a namespace

func NewNamespace

func NewNamespace() *Namespace

NewNamespace returns a new *Namespace

func (*Namespace) AttributeSpecifications

func (*Namespace) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Namespace) BleveType added in v1.1.0

func (o *Namespace) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Namespace) DeepCopy

func (o *Namespace) DeepCopy() *Namespace

DeepCopy returns a deep copy if the Namespace.

func (*Namespace) DeepCopyInto

func (o *Namespace) DeepCopyInto(out *Namespace)

DeepCopyInto copies the receiver into the given *Namespace.

func (*Namespace) DefaultOrder

func (o *Namespace) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Namespace) Doc

func (o *Namespace) Doc() string

Doc returns the documentation for the object

func (*Namespace) GetAnnotations

func (o *Namespace) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Namespace) GetAssociatedTags

func (o *Namespace) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Namespace) GetBSON added in v1.80.0

func (o *Namespace) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Namespace) GetCreateIdempotencyKey

func (o *Namespace) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Namespace) GetCreateTime

func (o *Namespace) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Namespace) GetDescription

func (o *Namespace) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Namespace) GetMetadata

func (o *Namespace) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*Namespace) GetMigrationsLog added in v1.30.0

func (o *Namespace) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Namespace) GetName

func (o *Namespace) GetName() string

GetName returns the Name of the receiver.

func (*Namespace) GetNamespace

func (o *Namespace) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Namespace) GetNormalizedTags

func (o *Namespace) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Namespace) GetProtected

func (o *Namespace) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Namespace) GetUpdateIdempotencyKey

func (o *Namespace) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Namespace) GetUpdateTime

func (o *Namespace) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Namespace) GetZHash added in v1.1.0

func (o *Namespace) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Namespace) GetZone added in v1.1.0

func (o *Namespace) GetZone() int

GetZone returns the Zone of the receiver.

func (*Namespace) GetZoning added in v1.1.0

func (o *Namespace) GetZoning() int

GetZoning returns the Zoning of the receiver.

func (*Namespace) Identifier

func (o *Namespace) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Namespace) Identity

func (o *Namespace) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Namespace) Patch

func (o *Namespace) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseNamespace to the object.

func (*Namespace) SetAnnotations

func (o *Namespace) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Namespace) SetAssociatedTags

func (o *Namespace) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Namespace) SetBSON added in v1.80.0

func (o *Namespace) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Namespace) SetCreateIdempotencyKey

func (o *Namespace) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Namespace) SetCreateTime

func (o *Namespace) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Namespace) SetDescription

func (o *Namespace) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Namespace) SetIdentifier

func (o *Namespace) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Namespace) SetMetadata

func (o *Namespace) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*Namespace) SetMigrationsLog added in v1.30.0

func (o *Namespace) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Namespace) SetName

func (o *Namespace) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Namespace) SetNamespace

func (o *Namespace) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Namespace) SetNormalizedTags

func (o *Namespace) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Namespace) SetProtected

func (o *Namespace) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Namespace) SetUpdateIdempotencyKey

func (o *Namespace) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Namespace) SetUpdateTime

func (o *Namespace) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Namespace) SetZHash added in v1.1.0

func (o *Namespace) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Namespace) SetZone added in v1.1.0

func (o *Namespace) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Namespace) SetZoning added in v1.1.0

func (o *Namespace) SetZoning(zoning int)

SetZoning sets the property Zoning 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) String

func (o *Namespace) String() string

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) Validate

func (o *Namespace) Validate() error

Validate valides the current information stored into the structure.

func (*Namespace) ValueForAttribute

func (o *Namespace) ValueForAttribute(name string) interface{}

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 (*Namespace) Version

func (o *Namespace) Version() int

Version returns the hardcoded version of the model.

type NamespaceDefaultPUIncomingTrafficActionValue added in v1.94.1

type NamespaceDefaultPUIncomingTrafficActionValue string

NamespaceDefaultPUIncomingTrafficActionValue represents the possible values for attribute "defaultPUIncomingTrafficAction".

const (
	// NamespaceDefaultPUIncomingTrafficActionAllow represents the value Allow.
	NamespaceDefaultPUIncomingTrafficActionAllow NamespaceDefaultPUIncomingTrafficActionValue = "Allow"

	// NamespaceDefaultPUIncomingTrafficActionInherit represents the value Inherit.
	NamespaceDefaultPUIncomingTrafficActionInherit NamespaceDefaultPUIncomingTrafficActionValue = "Inherit"

	// NamespaceDefaultPUIncomingTrafficActionReject represents the value Reject.
	NamespaceDefaultPUIncomingTrafficActionReject NamespaceDefaultPUIncomingTrafficActionValue = "Reject"
)

type NamespaceDefaultPUOutgoingTrafficActionValue added in v1.94.1

type NamespaceDefaultPUOutgoingTrafficActionValue string

NamespaceDefaultPUOutgoingTrafficActionValue represents the possible values for attribute "defaultPUOutgoingTrafficAction".

const (
	// NamespaceDefaultPUOutgoingTrafficActionAllow represents the value Allow.
	NamespaceDefaultPUOutgoingTrafficActionAllow NamespaceDefaultPUOutgoingTrafficActionValue = "Allow"

	// NamespaceDefaultPUOutgoingTrafficActionInherit represents the value Inherit.
	NamespaceDefaultPUOutgoingTrafficActionInherit NamespaceDefaultPUOutgoingTrafficActionValue = "Inherit"

	// NamespaceDefaultPUOutgoingTrafficActionReject represents the value Reject.
	NamespaceDefaultPUOutgoingTrafficActionReject NamespaceDefaultPUOutgoingTrafficActionValue = "Reject"
)

type NamespaceInfo added in v1.103.0

type NamespaceInfo struct {
	// The processing unit action for incoming traffic for the namespace.
	PUIncomingTrafficAction NamespaceInfoPUIncomingTrafficActionValue `json:"PUIncomingTrafficAction" msgpack:"PUIncomingTrafficAction" bson:"-" mapstructure:"PUIncomingTrafficAction,omitempty"`

	// The processing unit action for outgoing traffic for the namespace.
	PUOutgoingTrafficAction NamespaceInfoPUOutgoingTrafficActionValue `json:"PUOutgoingTrafficAction" msgpack:"PUOutgoingTrafficAction" bson:"-" mapstructure:"PUOutgoingTrafficAction,omitempty"`

	// Description of the namespace.
	Description string `json:"description" msgpack:"description" bson:"-" mapstructure:"description,omitempty"`

	// Name of the namespace.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// List of tag prefixes that will be used to suggest policies.
	Prefixes []string `json:"prefixes" msgpack:"prefixes" bson:"-" mapstructure:"prefixes,omitempty"`

	// Defines if the namespace is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"-" mapstructure:"protected,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NamespaceInfo represents the model of a namespaceinfo

func NewNamespaceInfo added in v1.103.0

func NewNamespaceInfo() *NamespaceInfo

NewNamespaceInfo returns a new *NamespaceInfo

func (*NamespaceInfo) AttributeSpecifications added in v1.103.0

func (*NamespaceInfo) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*NamespaceInfo) BleveType added in v1.103.0

func (o *NamespaceInfo) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NamespaceInfo) DeepCopy added in v1.103.0

func (o *NamespaceInfo) DeepCopy() *NamespaceInfo

DeepCopy returns a deep copy if the NamespaceInfo.

func (*NamespaceInfo) DeepCopyInto added in v1.103.0

func (o *NamespaceInfo) DeepCopyInto(out *NamespaceInfo)

DeepCopyInto copies the receiver into the given *NamespaceInfo.

func (*NamespaceInfo) DefaultOrder added in v1.103.0

func (o *NamespaceInfo) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*NamespaceInfo) Doc added in v1.103.0

func (o *NamespaceInfo) Doc() string

Doc returns the documentation for the object

func (*NamespaceInfo) GetBSON added in v1.103.0

func (o *NamespaceInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespaceInfo) Identifier added in v1.103.0

func (o *NamespaceInfo) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*NamespaceInfo) Identity added in v1.103.0

func (o *NamespaceInfo) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*NamespaceInfo) Patch added in v1.103.0

func (o *NamespaceInfo) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseNamespaceInfo to the object.

func (*NamespaceInfo) SetBSON added in v1.103.0

func (o *NamespaceInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespaceInfo) SetIdentifier added in v1.103.0

func (o *NamespaceInfo) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*NamespaceInfo) SpecificationForAttribute added in v1.103.0

func (*NamespaceInfo) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*NamespaceInfo) String added in v1.103.0

func (o *NamespaceInfo) String() string

func (*NamespaceInfo) ToSparse added in v1.103.0

func (o *NamespaceInfo) 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 (*NamespaceInfo) Validate added in v1.103.0

func (o *NamespaceInfo) Validate() error

Validate valides the current information stored into the structure.

func (*NamespaceInfo) ValueForAttribute added in v1.103.0

func (o *NamespaceInfo) ValueForAttribute(name string) interface{}

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 (*NamespaceInfo) Version added in v1.103.0

func (o *NamespaceInfo) Version() int

Version returns the hardcoded version of the model.

type NamespaceInfoPUIncomingTrafficActionValue added in v1.103.0

type NamespaceInfoPUIncomingTrafficActionValue string

NamespaceInfoPUIncomingTrafficActionValue represents the possible values for attribute "PUIncomingTrafficAction".

const (
	// NamespaceInfoPUIncomingTrafficActionAllow represents the value Allow.
	NamespaceInfoPUIncomingTrafficActionAllow NamespaceInfoPUIncomingTrafficActionValue = "Allow"

	// NamespaceInfoPUIncomingTrafficActionInherit represents the value Inherit.
	NamespaceInfoPUIncomingTrafficActionInherit NamespaceInfoPUIncomingTrafficActionValue = "Inherit"

	// NamespaceInfoPUIncomingTrafficActionReject represents the value Reject.
	NamespaceInfoPUIncomingTrafficActionReject NamespaceInfoPUIncomingTrafficActionValue = "Reject"
)

type NamespaceInfoPUOutgoingTrafficActionValue added in v1.103.0

type NamespaceInfoPUOutgoingTrafficActionValue string

NamespaceInfoPUOutgoingTrafficActionValue represents the possible values for attribute "PUOutgoingTrafficAction".

const (
	// NamespaceInfoPUOutgoingTrafficActionAllow represents the value Allow.
	NamespaceInfoPUOutgoingTrafficActionAllow NamespaceInfoPUOutgoingTrafficActionValue = "Allow"

	// NamespaceInfoPUOutgoingTrafficActionInherit represents the value Inherit.
	NamespaceInfoPUOutgoingTrafficActionInherit NamespaceInfoPUOutgoingTrafficActionValue = "Inherit"

	// NamespaceInfoPUOutgoingTrafficActionReject represents the value Reject.
	NamespaceInfoPUOutgoingTrafficActionReject NamespaceInfoPUOutgoingTrafficActionValue = "Reject"
)

type NamespaceInfosList added in v1.103.0

type NamespaceInfosList []*NamespaceInfo

NamespaceInfosList represents a list of NamespaceInfos

func (NamespaceInfosList) Append added in v1.103.0

Append appends the objects to the a new copy of the NamespaceInfosList.

func (NamespaceInfosList) Copy added in v1.103.0

Copy returns a pointer to a copy the NamespaceInfosList.

func (NamespaceInfosList) DefaultOrder added in v1.103.0

func (o NamespaceInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (NamespaceInfosList) Identity added in v1.103.0

func (o NamespaceInfosList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (NamespaceInfosList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (NamespaceInfosList) ToSparse added in v1.103.0

func (o NamespaceInfosList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the NamespaceInfosList converted to SparseNamespaceInfosList. Objects in the list will only contain the given fields. No field means entire field set.

func (NamespaceInfosList) Version added in v1.103.0

func (o NamespaceInfosList) Version() int

Version returns the version of the content.

type NamespaceJWTCertificateTypeValue added in v1.20.0

type NamespaceJWTCertificateTypeValue string

NamespaceJWTCertificateTypeValue represents the possible values for attribute "JWTCertificateType".

const (
	// NamespaceJWTCertificateTypeEC represents the value EC.
	NamespaceJWTCertificateTypeEC NamespaceJWTCertificateTypeValue = "EC"

	// NamespaceJWTCertificateTypeNone represents the value None.
	NamespaceJWTCertificateTypeNone NamespaceJWTCertificateTypeValue = "None"

	// NamespaceJWTCertificateTypeRSA represents the value RSA.
	NamespaceJWTCertificateTypeRSA NamespaceJWTCertificateTypeValue = "RSA"
)

type NamespaceMappingPoliciesList

type NamespaceMappingPoliciesList []*NamespaceMappingPolicy

NamespaceMappingPoliciesList represents a list of NamespaceMappingPolicies

func (NamespaceMappingPoliciesList) Append

Append appends the objects to the a new copy of the NamespaceMappingPoliciesList.

func (NamespaceMappingPoliciesList) Copy

Copy returns a pointer to a copy the NamespaceMappingPoliciesList.

func (NamespaceMappingPoliciesList) DefaultOrder

func (o NamespaceMappingPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (NamespaceMappingPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (NamespaceMappingPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (NamespaceMappingPoliciesList) ToSparse

ToSparse returns the NamespaceMappingPoliciesList converted to SparseNamespaceMappingPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (NamespaceMappingPoliciesList) Version

func (o NamespaceMappingPoliciesList) Version() int

Version returns the version of the content.

type NamespaceMappingPolicy

type NamespaceMappingPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// The namespace to map the `subject` to.
	MappedNamespace string `json:"mappedNamespace" msgpack:"mappedNamespace" bson:"mappednamespace" mapstructure:"mappedNamespace,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// A tag or tag expression identifying the entity to be mapped.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NamespaceMappingPolicy represents the model of a namespacemappingpolicy

func NewNamespaceMappingPolicy

func NewNamespaceMappingPolicy() *NamespaceMappingPolicy

NewNamespaceMappingPolicy returns a new *NamespaceMappingPolicy

func (*NamespaceMappingPolicy) AttributeSpecifications

func (*NamespaceMappingPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*NamespaceMappingPolicy) BleveType added in v1.1.0

func (o *NamespaceMappingPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NamespaceMappingPolicy) DeepCopy

DeepCopy returns a deep copy if the NamespaceMappingPolicy.

func (*NamespaceMappingPolicy) DeepCopyInto

func (o *NamespaceMappingPolicy) DeepCopyInto(out *NamespaceMappingPolicy)

DeepCopyInto copies the receiver into the given *NamespaceMappingPolicy.

func (*NamespaceMappingPolicy) DefaultOrder

func (o *NamespaceMappingPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*NamespaceMappingPolicy) Doc

func (o *NamespaceMappingPolicy) Doc() string

Doc returns the documentation for the object

func (*NamespaceMappingPolicy) GetAnnotations

func (o *NamespaceMappingPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*NamespaceMappingPolicy) GetAssociatedTags

func (o *NamespaceMappingPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*NamespaceMappingPolicy) GetBSON added in v1.80.0

func (o *NamespaceMappingPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespaceMappingPolicy) GetCreateIdempotencyKey

func (o *NamespaceMappingPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*NamespaceMappingPolicy) GetCreateTime

func (o *NamespaceMappingPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*NamespaceMappingPolicy) GetDescription

func (o *NamespaceMappingPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*NamespaceMappingPolicy) GetDisabled

func (o *NamespaceMappingPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*NamespaceMappingPolicy) GetMetadata

func (o *NamespaceMappingPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*NamespaceMappingPolicy) GetName

func (o *NamespaceMappingPolicy) GetName() string

GetName returns the Name of the receiver.

func (*NamespaceMappingPolicy) GetNamespace

func (o *NamespaceMappingPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*NamespaceMappingPolicy) GetNormalizedTags

func (o *NamespaceMappingPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*NamespaceMappingPolicy) GetProtected

func (o *NamespaceMappingPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*NamespaceMappingPolicy) GetUpdateIdempotencyKey

func (o *NamespaceMappingPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*NamespaceMappingPolicy) GetUpdateTime

func (o *NamespaceMappingPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*NamespaceMappingPolicy) Identifier

func (o *NamespaceMappingPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*NamespaceMappingPolicy) Identity

Identity returns the Identity of the object.

func (*NamespaceMappingPolicy) Patch

Patch apply the non nil value of a *SparseNamespaceMappingPolicy to the object.

func (*NamespaceMappingPolicy) SetAnnotations

func (o *NamespaceMappingPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*NamespaceMappingPolicy) SetAssociatedTags

func (o *NamespaceMappingPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*NamespaceMappingPolicy) SetBSON added in v1.80.0

func (o *NamespaceMappingPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespaceMappingPolicy) SetCreateIdempotencyKey

func (o *NamespaceMappingPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*NamespaceMappingPolicy) SetCreateTime

func (o *NamespaceMappingPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*NamespaceMappingPolicy) SetDescription

func (o *NamespaceMappingPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*NamespaceMappingPolicy) SetDisabled

func (o *NamespaceMappingPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*NamespaceMappingPolicy) SetIdentifier

func (o *NamespaceMappingPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*NamespaceMappingPolicy) SetMetadata

func (o *NamespaceMappingPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*NamespaceMappingPolicy) SetName

func (o *NamespaceMappingPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*NamespaceMappingPolicy) SetNamespace

func (o *NamespaceMappingPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*NamespaceMappingPolicy) SetNormalizedTags

func (o *NamespaceMappingPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*NamespaceMappingPolicy) SetProtected

func (o *NamespaceMappingPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*NamespaceMappingPolicy) SetUpdateIdempotencyKey

func (o *NamespaceMappingPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*NamespaceMappingPolicy) SetUpdateTime

func (o *NamespaceMappingPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*NamespaceMappingPolicy) SpecificationForAttribute

func (*NamespaceMappingPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*NamespaceMappingPolicy) String

func (o *NamespaceMappingPolicy) String() string

func (*NamespaceMappingPolicy) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*NamespaceMappingPolicy) Validate

func (o *NamespaceMappingPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*NamespaceMappingPolicy) ValueForAttribute

func (o *NamespaceMappingPolicy) ValueForAttribute(name string) interface{}

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 (*NamespaceMappingPolicy) Version

func (o *NamespaceMappingPolicy) Version() int

Version returns the hardcoded version of the model.

type NamespacePolicyInfo added in v1.94.1

type NamespacePolicyInfo struct {
	// (Deprecated) The processing unit action for incoming traffic for the namespace.
	PUIncomingTrafficAction NamespacePolicyInfoPUIncomingTrafficActionValue `json:"PUIncomingTrafficAction" msgpack:"PUIncomingTrafficAction" bson:"-" mapstructure:"PUIncomingTrafficAction,omitempty"`

	// (Deprecated) The processing unit action for outgoing traffic for the namespace.
	PUOutgoingTrafficAction NamespacePolicyInfoPUOutgoingTrafficActionValue `json:"PUOutgoingTrafficAction" msgpack:"PUOutgoingTrafficAction" bson:"-" mapstructure:"PUOutgoingTrafficAction,omitempty"`

	// (Deprecated) List of tag prefixes that will be used to suggest policies.
	Prefixes []string `json:"prefixes" msgpack:"prefixes" bson:"-" mapstructure:"prefixes,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NamespacePolicyInfo represents the model of a namespacepolicyinfo

func NewNamespacePolicyInfo added in v1.94.1

func NewNamespacePolicyInfo() *NamespacePolicyInfo

NewNamespacePolicyInfo returns a new *NamespacePolicyInfo

func (*NamespacePolicyInfo) AttributeSpecifications added in v1.94.1

func (*NamespacePolicyInfo) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*NamespacePolicyInfo) BleveType added in v1.94.1

func (o *NamespacePolicyInfo) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NamespacePolicyInfo) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the NamespacePolicyInfo.

func (*NamespacePolicyInfo) DeepCopyInto added in v1.94.1

func (o *NamespacePolicyInfo) DeepCopyInto(out *NamespacePolicyInfo)

DeepCopyInto copies the receiver into the given *NamespacePolicyInfo.

func (*NamespacePolicyInfo) DefaultOrder added in v1.94.1

func (o *NamespacePolicyInfo) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*NamespacePolicyInfo) Doc added in v1.94.1

func (o *NamespacePolicyInfo) Doc() string

Doc returns the documentation for the object

func (*NamespacePolicyInfo) GetBSON added in v1.94.1

func (o *NamespacePolicyInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespacePolicyInfo) Identifier added in v1.94.1

func (o *NamespacePolicyInfo) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*NamespacePolicyInfo) Identity added in v1.94.1

func (o *NamespacePolicyInfo) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*NamespacePolicyInfo) Patch added in v1.94.1

Patch apply the non nil value of a *SparseNamespacePolicyInfo to the object.

func (*NamespacePolicyInfo) SetBSON added in v1.94.1

func (o *NamespacePolicyInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespacePolicyInfo) SetIdentifier added in v1.94.1

func (o *NamespacePolicyInfo) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*NamespacePolicyInfo) SpecificationForAttribute added in v1.94.1

func (*NamespacePolicyInfo) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*NamespacePolicyInfo) String added in v1.94.1

func (o *NamespacePolicyInfo) String() string

func (*NamespacePolicyInfo) ToSparse added in v1.94.1

func (o *NamespacePolicyInfo) 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 (*NamespacePolicyInfo) Validate added in v1.94.1

func (o *NamespacePolicyInfo) Validate() error

Validate valides the current information stored into the structure.

func (*NamespacePolicyInfo) ValueForAttribute added in v1.94.1

func (o *NamespacePolicyInfo) ValueForAttribute(name string) interface{}

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 (*NamespacePolicyInfo) Version added in v1.94.1

func (o *NamespacePolicyInfo) Version() int

Version returns the hardcoded version of the model.

type NamespacePolicyInfoPUIncomingTrafficActionValue added in v1.94.1

type NamespacePolicyInfoPUIncomingTrafficActionValue string

NamespacePolicyInfoPUIncomingTrafficActionValue represents the possible values for attribute "PUIncomingTrafficAction".

const (
	// NamespacePolicyInfoPUIncomingTrafficActionAllow represents the value Allow.
	NamespacePolicyInfoPUIncomingTrafficActionAllow NamespacePolicyInfoPUIncomingTrafficActionValue = "Allow"

	// NamespacePolicyInfoPUIncomingTrafficActionInherit represents the value Inherit.
	NamespacePolicyInfoPUIncomingTrafficActionInherit NamespacePolicyInfoPUIncomingTrafficActionValue = "Inherit"

	// NamespacePolicyInfoPUIncomingTrafficActionReject represents the value Reject.
	NamespacePolicyInfoPUIncomingTrafficActionReject NamespacePolicyInfoPUIncomingTrafficActionValue = "Reject"
)

type NamespacePolicyInfoPUOutgoingTrafficActionValue added in v1.94.1

type NamespacePolicyInfoPUOutgoingTrafficActionValue string

NamespacePolicyInfoPUOutgoingTrafficActionValue represents the possible values for attribute "PUOutgoingTrafficAction".

const (
	// NamespacePolicyInfoPUOutgoingTrafficActionAllow represents the value Allow.
	NamespacePolicyInfoPUOutgoingTrafficActionAllow NamespacePolicyInfoPUOutgoingTrafficActionValue = "Allow"

	// NamespacePolicyInfoPUOutgoingTrafficActionInherit represents the value Inherit.
	NamespacePolicyInfoPUOutgoingTrafficActionInherit NamespacePolicyInfoPUOutgoingTrafficActionValue = "Inherit"

	// NamespacePolicyInfoPUOutgoingTrafficActionReject represents the value Reject.
	NamespacePolicyInfoPUOutgoingTrafficActionReject NamespacePolicyInfoPUOutgoingTrafficActionValue = "Reject"
)

type NamespacePolicyInfosList added in v1.94.1

type NamespacePolicyInfosList []*NamespacePolicyInfo

NamespacePolicyInfosList represents a list of NamespacePolicyInfos

func (NamespacePolicyInfosList) Append added in v1.94.1

Append appends the objects to the a new copy of the NamespacePolicyInfosList.

func (NamespacePolicyInfosList) Copy added in v1.94.1

Copy returns a pointer to a copy the NamespacePolicyInfosList.

func (NamespacePolicyInfosList) DefaultOrder added in v1.94.1

func (o NamespacePolicyInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (NamespacePolicyInfosList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (NamespacePolicyInfosList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (NamespacePolicyInfosList) ToSparse added in v1.94.1

ToSparse returns the NamespacePolicyInfosList converted to SparseNamespacePolicyInfosList. Objects in the list will only contain the given fields. No field means entire field set.

func (NamespacePolicyInfosList) Version added in v1.94.1

func (o NamespacePolicyInfosList) Version() int

Version returns the version of the content.

type NamespaceRenderer added in v1.94.1

type NamespaceRenderer struct {
	// The namespace where the object should reside in.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	// List of tags of the object to render the namespace for.
	Tags []string `json:"tags" msgpack:"tags" bson:"-" mapstructure:"tags,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NamespaceRenderer represents the model of a namespacerenderer

func NewNamespaceRenderer added in v1.94.1

func NewNamespaceRenderer() *NamespaceRenderer

NewNamespaceRenderer returns a new *NamespaceRenderer

func (*NamespaceRenderer) AttributeSpecifications added in v1.94.1

func (*NamespaceRenderer) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*NamespaceRenderer) BleveType added in v1.94.1

func (o *NamespaceRenderer) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NamespaceRenderer) DeepCopy added in v1.94.1

func (o *NamespaceRenderer) DeepCopy() *NamespaceRenderer

DeepCopy returns a deep copy if the NamespaceRenderer.

func (*NamespaceRenderer) DeepCopyInto added in v1.94.1

func (o *NamespaceRenderer) DeepCopyInto(out *NamespaceRenderer)

DeepCopyInto copies the receiver into the given *NamespaceRenderer.

func (*NamespaceRenderer) DefaultOrder added in v1.94.1

func (o *NamespaceRenderer) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*NamespaceRenderer) Doc added in v1.94.1

func (o *NamespaceRenderer) Doc() string

Doc returns the documentation for the object

func (*NamespaceRenderer) GetBSON added in v1.94.1

func (o *NamespaceRenderer) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespaceRenderer) Identifier added in v1.94.1

func (o *NamespaceRenderer) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*NamespaceRenderer) Identity added in v1.94.1

func (o *NamespaceRenderer) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*NamespaceRenderer) Patch added in v1.94.1

Patch apply the non nil value of a *SparseNamespaceRenderer to the object.

func (*NamespaceRenderer) SetBSON added in v1.94.1

func (o *NamespaceRenderer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespaceRenderer) SetIdentifier added in v1.94.1

func (o *NamespaceRenderer) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*NamespaceRenderer) SpecificationForAttribute added in v1.94.1

func (*NamespaceRenderer) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*NamespaceRenderer) String added in v1.94.1

func (o *NamespaceRenderer) String() string

func (*NamespaceRenderer) ToSparse added in v1.94.1

func (o *NamespaceRenderer) 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 (*NamespaceRenderer) Validate added in v1.94.1

func (o *NamespaceRenderer) Validate() error

Validate valides the current information stored into the structure.

func (*NamespaceRenderer) ValueForAttribute added in v1.94.1

func (o *NamespaceRenderer) ValueForAttribute(name string) interface{}

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 (*NamespaceRenderer) Version added in v1.94.1

func (o *NamespaceRenderer) Version() int

Version returns the hardcoded version of the model.

type NamespaceRenderersList added in v1.94.1

type NamespaceRenderersList []*NamespaceRenderer

NamespaceRenderersList represents a list of NamespaceRenderers

func (NamespaceRenderersList) Append added in v1.94.1

Append appends the objects to the a new copy of the NamespaceRenderersList.

func (NamespaceRenderersList) Copy added in v1.94.1

Copy returns a pointer to a copy the NamespaceRenderersList.

func (NamespaceRenderersList) DefaultOrder added in v1.94.1

func (o NamespaceRenderersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (NamespaceRenderersList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (NamespaceRenderersList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (NamespaceRenderersList) ToSparse added in v1.94.1

func (o NamespaceRenderersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the NamespaceRenderersList converted to SparseNamespaceRenderersList. Objects in the list will only contain the given fields. No field means entire field set.

func (NamespaceRenderersList) Version added in v1.94.1

func (o NamespaceRenderersList) Version() int

Version returns the version of the content.

type NamespaceType added in v1.94.1

type NamespaceType struct {
	// the namespace type for the current namespace.
	Type string `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NamespaceType represents the model of a namespacetype

func NewNamespaceType added in v1.94.1

func NewNamespaceType() *NamespaceType

NewNamespaceType returns a new *NamespaceType

func (*NamespaceType) AttributeSpecifications added in v1.94.1

func (*NamespaceType) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*NamespaceType) BleveType added in v1.94.1

func (o *NamespaceType) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NamespaceType) DeepCopy added in v1.94.1

func (o *NamespaceType) DeepCopy() *NamespaceType

DeepCopy returns a deep copy if the NamespaceType.

func (*NamespaceType) DeepCopyInto added in v1.94.1

func (o *NamespaceType) DeepCopyInto(out *NamespaceType)

DeepCopyInto copies the receiver into the given *NamespaceType.

func (*NamespaceType) DefaultOrder added in v1.94.1

func (o *NamespaceType) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*NamespaceType) Doc added in v1.94.1

func (o *NamespaceType) Doc() string

Doc returns the documentation for the object

func (*NamespaceType) GetBSON added in v1.94.1

func (o *NamespaceType) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespaceType) Identifier added in v1.94.1

func (o *NamespaceType) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*NamespaceType) Identity added in v1.94.1

func (o *NamespaceType) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*NamespaceType) Patch added in v1.94.1

func (o *NamespaceType) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseNamespaceType to the object.

func (*NamespaceType) SetBSON added in v1.94.1

func (o *NamespaceType) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NamespaceType) SetIdentifier added in v1.94.1

func (o *NamespaceType) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*NamespaceType) SpecificationForAttribute added in v1.94.1

func (*NamespaceType) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*NamespaceType) String added in v1.94.1

func (o *NamespaceType) String() string

func (*NamespaceType) ToSparse added in v1.94.1

func (o *NamespaceType) 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 (*NamespaceType) Validate added in v1.94.1

func (o *NamespaceType) Validate() error

Validate valides the current information stored into the structure.

func (*NamespaceType) ValueForAttribute added in v1.94.1

func (o *NamespaceType) ValueForAttribute(name string) interface{}

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 (*NamespaceType) Version added in v1.94.1

func (o *NamespaceType) Version() int

Version returns the hardcoded version of the model.

type NamespaceTypeValue added in v1.94.1

type NamespaceTypeValue string

NamespaceTypeValue represents the possible values for attribute "type".

const (
	// NamespaceTypeCloudAccount represents the value CloudAccount.
	NamespaceTypeCloudAccount NamespaceTypeValue = "CloudAccount"

	// NamespaceTypeDefault represents the value Default.
	NamespaceTypeDefault NamespaceTypeValue = "Default"

	// NamespaceTypeGroup represents the value Group.
	NamespaceTypeGroup NamespaceTypeValue = "Group"

	// NamespaceTypeKubernetes represents the value Kubernetes.
	NamespaceTypeKubernetes NamespaceTypeValue = "Kubernetes"

	// NamespaceTypeTenant represents the value Tenant.
	NamespaceTypeTenant NamespaceTypeValue = "Tenant"
)

type NamespaceTypesList added in v1.94.1

type NamespaceTypesList []*NamespaceType

NamespaceTypesList represents a list of NamespaceTypes

func (NamespaceTypesList) Append added in v1.94.1

Append appends the objects to the a new copy of the NamespaceTypesList.

func (NamespaceTypesList) Copy added in v1.94.1

Copy returns a pointer to a copy the NamespaceTypesList.

func (NamespaceTypesList) DefaultOrder added in v1.94.1

func (o NamespaceTypesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (NamespaceTypesList) Identity added in v1.94.1

func (o NamespaceTypesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (NamespaceTypesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (NamespaceTypesList) ToSparse added in v1.94.1

func (o NamespaceTypesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the NamespaceTypesList converted to SparseNamespaceTypesList. Objects in the list will only contain the given fields. No field means entire field set.

func (NamespaceTypesList) Version added in v1.94.1

func (o NamespaceTypesList) Version() int

Version returns the version of the content.

type NamespacesList

type NamespacesList []*Namespace

NamespacesList represents a list of Namespaces

func (NamespacesList) Append

Append appends the objects to the a new copy of the NamespacesList.

func (NamespacesList) Copy

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

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 NetworkAccessPoliciesList

type NetworkAccessPoliciesList []*NetworkAccessPolicy

NetworkAccessPoliciesList represents a list of NetworkAccessPolicies

func (NetworkAccessPoliciesList) Append

Append appends the objects to the a new copy of the NetworkAccessPoliciesList.

func (NetworkAccessPoliciesList) Copy

Copy returns a pointer to a copy the NetworkAccessPoliciesList.

func (NetworkAccessPoliciesList) DefaultOrder

func (o NetworkAccessPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (NetworkAccessPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (NetworkAccessPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (NetworkAccessPoliciesList) ToSparse

ToSparse returns the NetworkAccessPoliciesList converted to SparseNetworkAccessPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (NetworkAccessPoliciesList) Version

func (o NetworkAccessPoliciesList) Version() int

Version returns the version of the content.

type NetworkAccessPolicy

type NetworkAccessPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines the action to apply to a flow.
	//
	// - `Allow`: allows the defined traffic.
	// - `Reject`: rejects the defined traffic; useful in conjunction with an allow all
	// policy.
	// - `Continue`: neither allows or rejects the traffic; useful for applying another
	// property to the traffic.
	Action NetworkAccessPolicyActionValue `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Sets three different types of policies. `IncomingTraffic`: applies the policy to
	// all
	// processing units that match the `object` and allows them to *accept* connections
	// from
	// processing units or external networks that match the `subject`.
	// `OutgoingTraffic`: applies
	// the policy to all processing units that match the `subject` and allows them to
	// *initiate*
	// connections with processing units or external networks that match the `object`.
	// `Bidirectional` (default): applies the policy to all processing units that match
	// the `object`
	// and allows them to *accept* connections from processing units that match the
	// `subject`.
	// Also applies the policy to all processing units that match the `subject` and
	// allows them
	// to *initiate* connections with processing units that match the `object`.
	ApplyPolicyMode NetworkAccessPolicyApplyPolicyModeValue `json:"applyPolicyMode" msgpack:"applyPolicyMode" bson:"-" mapstructure:"applyPolicyMode,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Defines if the flow has to be encrypted. This property is deprecated and have no
	// incidence.
	EncryptionEnabled bool `json:"encryptionEnabled" msgpack:"encryptionEnabled" bson:"-" mapstructure:"encryptionEnabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// If `true`, the relevant flows are logged and available from Microsegmentation
	// Console.
	// Under some advanced scenarios you may wish to set this to `false`, such as to
	// save space or
	// improve performance.
	LogsEnabled bool `json:"logsEnabled" msgpack:"logsEnabled" bson:"-" mapstructure:"logsEnabled,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Setting this to `true` will invert the object to find what is not matching.
	NegateObject bool `json:"negateObject" msgpack:"negateObject" bson:"negateobject" mapstructure:"negateObject,omitempty"`

	// Setting this to `true` will invert the subject to find what is not matching.
	NegateSubject bool `json:"negateSubject" msgpack:"negateSubject" bson:"negatesubject" mapstructure:"negateSubject,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// A tag or tag expression identifying the object of the policy.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// If set to `true`, the flow will be in observation mode.
	ObservationEnabled bool `json:"observationEnabled" msgpack:"observationEnabled" bson:"-" mapstructure:"observationEnabled,omitempty"`

	// If `observationEnabled` is set to `true`, this defines the final action taken
	// on the packets: `Apply` or `Continue` (default).
	ObservedTrafficAction NetworkAccessPolicyObservedTrafficActionValue `json:"observedTrafficAction" msgpack:"observedTrafficAction" bson:"-" mapstructure:"observedTrafficAction,omitempty"`

	// Represents the ports and protocols this policy applies to.
	Ports []string `json:"ports" msgpack:"ports" bson:"-" mapstructure:"ports,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// A tag or tag expression identifying the subject of the policy.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NetworkAccessPolicy represents the model of a networkaccesspolicy

func NewNetworkAccessPolicy

func NewNetworkAccessPolicy() *NetworkAccessPolicy

NewNetworkAccessPolicy returns a new *NetworkAccessPolicy

func (*NetworkAccessPolicy) AttributeSpecifications

func (*NetworkAccessPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*NetworkAccessPolicy) BleveType added in v1.1.0

func (o *NetworkAccessPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NetworkAccessPolicy) DeepCopy

DeepCopy returns a deep copy if the NetworkAccessPolicy.

func (*NetworkAccessPolicy) DeepCopyInto

func (o *NetworkAccessPolicy) DeepCopyInto(out *NetworkAccessPolicy)

DeepCopyInto copies the receiver into the given *NetworkAccessPolicy.

func (*NetworkAccessPolicy) DefaultOrder

func (o *NetworkAccessPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*NetworkAccessPolicy) Doc

func (o *NetworkAccessPolicy) Doc() string

Doc returns the documentation for the object

func (*NetworkAccessPolicy) GetActiveDuration

func (o *NetworkAccessPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*NetworkAccessPolicy) GetActiveSchedule

func (o *NetworkAccessPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*NetworkAccessPolicy) GetAnnotations

func (o *NetworkAccessPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*NetworkAccessPolicy) GetAssociatedTags

func (o *NetworkAccessPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*NetworkAccessPolicy) GetBSON added in v1.80.0

func (o *NetworkAccessPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NetworkAccessPolicy) GetCreateIdempotencyKey

func (o *NetworkAccessPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*NetworkAccessPolicy) GetCreateTime

func (o *NetworkAccessPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*NetworkAccessPolicy) GetDescription

func (o *NetworkAccessPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*NetworkAccessPolicy) GetDisabled

func (o *NetworkAccessPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*NetworkAccessPolicy) GetExpirationTime

func (o *NetworkAccessPolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*NetworkAccessPolicy) GetFallback

func (o *NetworkAccessPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*NetworkAccessPolicy) GetMetadata

func (o *NetworkAccessPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*NetworkAccessPolicy) GetName

func (o *NetworkAccessPolicy) GetName() string

GetName returns the Name of the receiver.

func (*NetworkAccessPolicy) GetNamespace

func (o *NetworkAccessPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*NetworkAccessPolicy) GetNegateObject

func (o *NetworkAccessPolicy) GetNegateObject() bool

GetNegateObject returns the NegateObject of the receiver.

func (*NetworkAccessPolicy) GetNegateSubject

func (o *NetworkAccessPolicy) GetNegateSubject() bool

GetNegateSubject returns the NegateSubject of the receiver.

func (*NetworkAccessPolicy) GetNormalizedTags

func (o *NetworkAccessPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*NetworkAccessPolicy) GetPropagate

func (o *NetworkAccessPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*NetworkAccessPolicy) GetProtected

func (o *NetworkAccessPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*NetworkAccessPolicy) GetUpdateIdempotencyKey

func (o *NetworkAccessPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*NetworkAccessPolicy) GetUpdateTime

func (o *NetworkAccessPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*NetworkAccessPolicy) Identifier

func (o *NetworkAccessPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*NetworkAccessPolicy) Identity

func (o *NetworkAccessPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*NetworkAccessPolicy) Patch

Patch apply the non nil value of a *SparseNetworkAccessPolicy to the object.

func (*NetworkAccessPolicy) SetActiveDuration

func (o *NetworkAccessPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*NetworkAccessPolicy) SetActiveSchedule

func (o *NetworkAccessPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*NetworkAccessPolicy) SetAnnotations

func (o *NetworkAccessPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*NetworkAccessPolicy) SetAssociatedTags

func (o *NetworkAccessPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*NetworkAccessPolicy) SetBSON added in v1.80.0

func (o *NetworkAccessPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NetworkAccessPolicy) SetCreateIdempotencyKey

func (o *NetworkAccessPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*NetworkAccessPolicy) SetCreateTime

func (o *NetworkAccessPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*NetworkAccessPolicy) SetDescription

func (o *NetworkAccessPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*NetworkAccessPolicy) SetDisabled

func (o *NetworkAccessPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*NetworkAccessPolicy) SetExpirationTime

func (o *NetworkAccessPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*NetworkAccessPolicy) SetFallback

func (o *NetworkAccessPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*NetworkAccessPolicy) SetIdentifier

func (o *NetworkAccessPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*NetworkAccessPolicy) SetMetadata

func (o *NetworkAccessPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*NetworkAccessPolicy) SetName

func (o *NetworkAccessPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*NetworkAccessPolicy) SetNamespace

func (o *NetworkAccessPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*NetworkAccessPolicy) SetNegateObject

func (o *NetworkAccessPolicy) SetNegateObject(negateObject bool)

SetNegateObject sets the property NegateObject of the receiver using the given value.

func (*NetworkAccessPolicy) SetNegateSubject

func (o *NetworkAccessPolicy) SetNegateSubject(negateSubject bool)

SetNegateSubject sets the property NegateSubject of the receiver using the given value.

func (*NetworkAccessPolicy) SetNormalizedTags

func (o *NetworkAccessPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*NetworkAccessPolicy) SetPropagate

func (o *NetworkAccessPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*NetworkAccessPolicy) SetProtected

func (o *NetworkAccessPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*NetworkAccessPolicy) SetUpdateIdempotencyKey

func (o *NetworkAccessPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*NetworkAccessPolicy) SetUpdateTime

func (o *NetworkAccessPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*NetworkAccessPolicy) SpecificationForAttribute

func (*NetworkAccessPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*NetworkAccessPolicy) String

func (o *NetworkAccessPolicy) String() string

func (*NetworkAccessPolicy) ToSparse

func (o *NetworkAccessPolicy) 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 (*NetworkAccessPolicy) Validate

func (o *NetworkAccessPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*NetworkAccessPolicy) ValueForAttribute

func (o *NetworkAccessPolicy) ValueForAttribute(name string) interface{}

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 (*NetworkAccessPolicy) Version

func (o *NetworkAccessPolicy) Version() int

Version returns the hardcoded version of the model.

type NetworkAccessPolicyActionValue

type NetworkAccessPolicyActionValue string

NetworkAccessPolicyActionValue represents the possible values for attribute "action".

const (
	// NetworkAccessPolicyActionAllow represents the value Allow.
	NetworkAccessPolicyActionAllow NetworkAccessPolicyActionValue = "Allow"

	// NetworkAccessPolicyActionContinue represents the value Continue.
	NetworkAccessPolicyActionContinue NetworkAccessPolicyActionValue = "Continue"

	// NetworkAccessPolicyActionReject represents the value Reject.
	NetworkAccessPolicyActionReject NetworkAccessPolicyActionValue = "Reject"
)

type NetworkAccessPolicyApplyPolicyModeValue

type NetworkAccessPolicyApplyPolicyModeValue string

NetworkAccessPolicyApplyPolicyModeValue represents the possible values for attribute "applyPolicyMode".

const (
	// NetworkAccessPolicyApplyPolicyModeBidirectional represents the value Bidirectional.
	NetworkAccessPolicyApplyPolicyModeBidirectional NetworkAccessPolicyApplyPolicyModeValue = "Bidirectional"

	// NetworkAccessPolicyApplyPolicyModeIncomingTraffic represents the value IncomingTraffic.
	NetworkAccessPolicyApplyPolicyModeIncomingTraffic NetworkAccessPolicyApplyPolicyModeValue = "IncomingTraffic"

	// NetworkAccessPolicyApplyPolicyModeOutgoingTraffic represents the value OutgoingTraffic.
	NetworkAccessPolicyApplyPolicyModeOutgoingTraffic NetworkAccessPolicyApplyPolicyModeValue = "OutgoingTraffic"
)

type NetworkAccessPolicyObservedTrafficActionValue

type NetworkAccessPolicyObservedTrafficActionValue string

NetworkAccessPolicyObservedTrafficActionValue represents the possible values for attribute "observedTrafficAction".

const (
	// NetworkAccessPolicyObservedTrafficActionApply represents the value Apply.
	NetworkAccessPolicyObservedTrafficActionApply NetworkAccessPolicyObservedTrafficActionValue = "Apply"

	// NetworkAccessPolicyObservedTrafficActionContinue represents the value Continue.
	NetworkAccessPolicyObservedTrafficActionContinue NetworkAccessPolicyObservedTrafficActionValue = "Continue"
)

type NetworkRule added in v1.94.1

type NetworkRule struct {
	// Defines the action to apply to a flow.
	// - `Allow`: allows the defined traffic.
	// - `Reject`: rejects the defined traffic; useful in conjunction with an allow all
	// policy.
	Action NetworkRuleActionValue `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

	// If `true`, the relevant flows will not be reported to the Microsegmentation
	// Console.
	// Under some advanced scenarios you may wish to set this to `true`, such as to
	// save space or improve performance.
	LogsDisabled bool `json:"logsDisabled" msgpack:"logsDisabled" bson:"-" mapstructure:"logsDisabled,omitempty"`

	// A user defined name to keep track of the rule in the reporting.
	Name string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// A list of IP CIDRS or FQDNS that identify remote endpoints.
	Networks []*NetworkRuleNet `json:"networks,omitempty" msgpack:"networks,omitempty" bson:"-" mapstructure:"networks,omitempty"`

	// Identifies the set of remote workloads that the rule relates to. The selector
	// will identify both processing units as well as external networks that match the
	// selector.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// If set to `true`, the flow will be in observation mode.
	ObservationEnabled bool `json:"observationEnabled" msgpack:"observationEnabled" bson:"-" mapstructure:"observationEnabled,omitempty"`

	// Represents the ports and protocols this policy applies to. Protocol/ports are
	// defined as tcp/80, udp/22. For protocols that do not have ports, the port
	// designation
	// is not allowed.
	ProtocolPorts []string `json:"protocolPorts" msgpack:"protocolPorts" bson:"-" mapstructure:"protocolPorts,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NetworkRule represents the model of a networkrule

func NewNetworkRule added in v1.94.1

func NewNetworkRule() *NetworkRule

NewNetworkRule returns a new *NetworkRule

func (*NetworkRule) BleveType added in v1.94.1

func (o *NetworkRule) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NetworkRule) DeepCopy added in v1.94.1

func (o *NetworkRule) DeepCopy() *NetworkRule

DeepCopy returns a deep copy if the NetworkRule.

func (*NetworkRule) DeepCopyInto added in v1.94.1

func (o *NetworkRule) DeepCopyInto(out *NetworkRule)

DeepCopyInto copies the receiver into the given *NetworkRule.

func (*NetworkRule) GetBSON added in v1.94.1

func (o *NetworkRule) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NetworkRule) SetBSON added in v1.94.1

func (o *NetworkRule) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NetworkRule) Validate added in v1.94.1

func (o *NetworkRule) Validate() error

Validate valides the current information stored into the structure.

type NetworkRuleActionValue added in v1.94.1

type NetworkRuleActionValue string

NetworkRuleActionValue represents the possible values for attribute "action".

const (
	// NetworkRuleActionAllow represents the value Allow.
	NetworkRuleActionAllow NetworkRuleActionValue = "Allow"

	// NetworkRuleActionReject represents the value Reject.
	NetworkRuleActionReject NetworkRuleActionValue = "Reject"
)

type NetworkRuleNet added in v1.94.1

type NetworkRuleNet struct {
	// The ID of the external network.
	ID string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// List of CIDRs or domain name.
	Entries []string `json:"entries,omitempty" msgpack:"entries,omitempty" bson:"-" mapstructure:"entries,omitempty"`

	// The namespace of the external network.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NetworkRuleNet represents the model of a networkrulenet

func NewNetworkRuleNet added in v1.94.1

func NewNetworkRuleNet() *NetworkRuleNet

NewNetworkRuleNet returns a new *NetworkRuleNet

func (*NetworkRuleNet) BleveType added in v1.94.1

func (o *NetworkRuleNet) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NetworkRuleNet) DeepCopy added in v1.94.1

func (o *NetworkRuleNet) DeepCopy() *NetworkRuleNet

DeepCopy returns a deep copy if the NetworkRuleNet.

func (*NetworkRuleNet) DeepCopyInto added in v1.94.1

func (o *NetworkRuleNet) DeepCopyInto(out *NetworkRuleNet)

DeepCopyInto copies the receiver into the given *NetworkRuleNet.

func (*NetworkRuleNet) GetBSON added in v1.94.1

func (o *NetworkRuleNet) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NetworkRuleNet) SetBSON added in v1.94.1

func (o *NetworkRuleNet) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NetworkRuleNet) Validate added in v1.94.1

func (o *NetworkRuleNet) Validate() error

Validate valides the current information stored into the structure.

type NetworkRuleSetPoliciesList added in v1.94.1

type NetworkRuleSetPoliciesList []*NetworkRuleSetPolicy

NetworkRuleSetPoliciesList represents a list of NetworkRuleSetPolicies

func (NetworkRuleSetPoliciesList) Append added in v1.94.1

Append appends the objects to the a new copy of the NetworkRuleSetPoliciesList.

func (NetworkRuleSetPoliciesList) Copy added in v1.94.1

Copy returns a pointer to a copy the NetworkRuleSetPoliciesList.

func (NetworkRuleSetPoliciesList) DefaultOrder added in v1.94.1

func (o NetworkRuleSetPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (NetworkRuleSetPoliciesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (NetworkRuleSetPoliciesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (NetworkRuleSetPoliciesList) ToSparse added in v1.94.1

ToSparse returns the NetworkRuleSetPoliciesList converted to SparseNetworkRuleSetPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (NetworkRuleSetPoliciesList) Version added in v1.94.1

func (o NetworkRuleSetPoliciesList) Version() int

Version returns the version of the content.

type NetworkRuleSetPolicy added in v1.94.1

type NetworkRuleSetPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// The set of rules to apply to incoming traffic (traffic coming to the Processing
	// Unit matching the subject).
	IncomingRules []*NetworkRule `json:"incomingRules" msgpack:"incomingRules" bson:"-" mapstructure:"incomingRules,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// The set of rules to apply to outgoing traffic (traffic coming from the
	// Processing Unit matching the subject).
	OutgoingRules []*NetworkRule `json:"outgoingRules" msgpack:"outgoingRules" bson:"-" mapstructure:"outgoingRules,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// A tag expression identifying used to match processing units to which this policy
	// applies to.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

NetworkRuleSetPolicy represents the model of a networkrulesetpolicy

func NewNetworkRuleSetPolicy added in v1.94.1

func NewNetworkRuleSetPolicy() *NetworkRuleSetPolicy

NewNetworkRuleSetPolicy returns a new *NetworkRuleSetPolicy

func (*NetworkRuleSetPolicy) AttributeSpecifications added in v1.94.1

func (*NetworkRuleSetPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*NetworkRuleSetPolicy) BleveType added in v1.94.1

func (o *NetworkRuleSetPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*NetworkRuleSetPolicy) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the NetworkRuleSetPolicy.

func (*NetworkRuleSetPolicy) DeepCopyInto added in v1.94.1

func (o *NetworkRuleSetPolicy) DeepCopyInto(out *NetworkRuleSetPolicy)

DeepCopyInto copies the receiver into the given *NetworkRuleSetPolicy.

func (*NetworkRuleSetPolicy) DefaultOrder added in v1.94.1

func (o *NetworkRuleSetPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*NetworkRuleSetPolicy) Doc added in v1.94.1

func (o *NetworkRuleSetPolicy) Doc() string

Doc returns the documentation for the object

func (*NetworkRuleSetPolicy) GetAnnotations added in v1.94.1

func (o *NetworkRuleSetPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*NetworkRuleSetPolicy) GetAssociatedTags added in v1.94.1

func (o *NetworkRuleSetPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*NetworkRuleSetPolicy) GetBSON added in v1.94.1

func (o *NetworkRuleSetPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NetworkRuleSetPolicy) GetCreateIdempotencyKey added in v1.94.1

func (o *NetworkRuleSetPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*NetworkRuleSetPolicy) GetCreateTime added in v1.94.1

func (o *NetworkRuleSetPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*NetworkRuleSetPolicy) GetDescription added in v1.94.1

func (o *NetworkRuleSetPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*NetworkRuleSetPolicy) GetDisabled added in v1.94.1

func (o *NetworkRuleSetPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*NetworkRuleSetPolicy) GetFallback added in v1.94.1

func (o *NetworkRuleSetPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*NetworkRuleSetPolicy) GetMetadata added in v1.94.1

func (o *NetworkRuleSetPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*NetworkRuleSetPolicy) GetName added in v1.94.1

func (o *NetworkRuleSetPolicy) GetName() string

GetName returns the Name of the receiver.

func (*NetworkRuleSetPolicy) GetNamespace added in v1.94.1

func (o *NetworkRuleSetPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*NetworkRuleSetPolicy) GetNormalizedTags added in v1.94.1

func (o *NetworkRuleSetPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*NetworkRuleSetPolicy) GetPropagate added in v1.94.1

func (o *NetworkRuleSetPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*NetworkRuleSetPolicy) GetProtected added in v1.94.1

func (o *NetworkRuleSetPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*NetworkRuleSetPolicy) GetUpdateIdempotencyKey added in v1.94.1

func (o *NetworkRuleSetPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*NetworkRuleSetPolicy) GetUpdateTime added in v1.94.1

func (o *NetworkRuleSetPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*NetworkRuleSetPolicy) Identifier added in v1.94.1

func (o *NetworkRuleSetPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*NetworkRuleSetPolicy) Identity added in v1.94.1

func (o *NetworkRuleSetPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*NetworkRuleSetPolicy) Patch added in v1.94.1

Patch apply the non nil value of a *SparseNetworkRuleSetPolicy to the object.

func (*NetworkRuleSetPolicy) SetAnnotations added in v1.94.1

func (o *NetworkRuleSetPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetAssociatedTags added in v1.94.1

func (o *NetworkRuleSetPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetBSON added in v1.94.1

func (o *NetworkRuleSetPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*NetworkRuleSetPolicy) SetCreateIdempotencyKey added in v1.94.1

func (o *NetworkRuleSetPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetCreateTime added in v1.94.1

func (o *NetworkRuleSetPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetDescription added in v1.94.1

func (o *NetworkRuleSetPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetDisabled added in v1.94.1

func (o *NetworkRuleSetPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetFallback added in v1.94.1

func (o *NetworkRuleSetPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetIdentifier added in v1.94.1

func (o *NetworkRuleSetPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*NetworkRuleSetPolicy) SetMetadata added in v1.94.1

func (o *NetworkRuleSetPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetName added in v1.94.1

func (o *NetworkRuleSetPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetNamespace added in v1.94.1

func (o *NetworkRuleSetPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetNormalizedTags added in v1.94.1

func (o *NetworkRuleSetPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetPropagate added in v1.94.1

func (o *NetworkRuleSetPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetProtected added in v1.94.1

func (o *NetworkRuleSetPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetUpdateIdempotencyKey added in v1.94.1

func (o *NetworkRuleSetPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*NetworkRuleSetPolicy) SetUpdateTime added in v1.94.1

func (o *NetworkRuleSetPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*NetworkRuleSetPolicy) SpecificationForAttribute added in v1.94.1

func (*NetworkRuleSetPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*NetworkRuleSetPolicy) String added in v1.94.1

func (o *NetworkRuleSetPolicy) String() string

func (*NetworkRuleSetPolicy) ToSparse added in v1.94.1

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*NetworkRuleSetPolicy) Validate added in v1.94.1

func (o *NetworkRuleSetPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*NetworkRuleSetPolicy) ValueForAttribute added in v1.94.1

func (o *NetworkRuleSetPolicy) ValueForAttribute(name string) interface{}

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 (*NetworkRuleSetPolicy) Version added in v1.94.1

func (o *NetworkRuleSetPolicy) Version() int

Version returns the hardcoded version of the model.

type OAUTHInfo added in v1.20.0

type OAUTHInfo struct {
	// IDTokenSigningAlgValuesSupported is corresponding attribute of the OIDC
	// spec.
	IDTokenSigningAlgValuesSupported []string `` /* 164-byte string literal not displayed */

	// JWKSURI is the URI that can be used to retrieve the public keys that will
	// verify a JWT.
	JWKSURI string `json:"jwks_uri" msgpack:"jwks_uri" bson:"-" mapstructure:"jwks_uri,omitempty"`

	// AuhorizationEndpoint is the authorization endpoint.
	AuhorizationEndpoint string `json:"auhorization_endpoint" msgpack:"auhorization_endpoint" bson:"-" mapstructure:"auhorization_endpoint,omitempty"`

	// ClaimsSupported is corresponding attribute of the OIDC spec.
	ClaimsSupported []string `json:"claims_supported" msgpack:"claims_supported" bson:"-" mapstructure:"claims_supported,omitempty"`

	// Issuer is the the URL pointing to the issuer of the token.
	Issuer string `json:"issuer" msgpack:"issuer" bson:"-" mapstructure:"issuer,omitempty"`

	// ResponseTypesSupported is corresponding attribute of the OIDC spec.
	ResponseTypesSupported []string `json:"response_types_supported" msgpack:"response_types_supported" bson:"-" mapstructure:"response_types_supported,omitempty"`

	// ScopesSupported is corresponding attribute of the OIDC spec.
	ScopesSupported []string `json:"scopes_supported" msgpack:"scopes_supported" bson:"-" mapstructure:"scopes_supported,omitempty"`

	// SubjectTypesSupported is corresponding attribute of the OIDC spec.
	SubjectTypesSupported []string `json:"subject_types_supported" msgpack:"subject_types_supported" bson:"-" mapstructure:"subject_types_supported,omitempty"`

	// TokenEndpointAuthMethodsSupported is corresponding attribute of the OIDC
	// spec.
	TokenEndpointAuthMethodsSupported []string `` /* 164-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

OAUTHInfo represents the model of a oauthinfo

func NewOAUTHInfo added in v1.20.0

func NewOAUTHInfo() *OAUTHInfo

NewOAUTHInfo returns a new *OAUTHInfo

func (*OAUTHInfo) AttributeSpecifications added in v1.20.0

func (*OAUTHInfo) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*OAUTHInfo) BleveType added in v1.20.0

func (o *OAUTHInfo) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*OAUTHInfo) DeepCopy added in v1.20.0

func (o *OAUTHInfo) DeepCopy() *OAUTHInfo

DeepCopy returns a deep copy if the OAUTHInfo.

func (*OAUTHInfo) DeepCopyInto added in v1.20.0

func (o *OAUTHInfo) DeepCopyInto(out *OAUTHInfo)

DeepCopyInto copies the receiver into the given *OAUTHInfo.

func (*OAUTHInfo) DefaultOrder added in v1.20.0

func (o *OAUTHInfo) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*OAUTHInfo) Doc added in v1.20.0

func (o *OAUTHInfo) Doc() string

Doc returns the documentation for the object

func (*OAUTHInfo) GetBSON added in v1.80.0

func (o *OAUTHInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OAUTHInfo) Identifier added in v1.20.0

func (o *OAUTHInfo) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*OAUTHInfo) Identity added in v1.20.0

func (o *OAUTHInfo) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*OAUTHInfo) Patch added in v1.20.0

func (o *OAUTHInfo) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseOAUTHInfo to the object.

func (*OAUTHInfo) SetBSON added in v1.80.0

func (o *OAUTHInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OAUTHInfo) SetIdentifier added in v1.20.0

func (o *OAUTHInfo) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*OAUTHInfo) SpecificationForAttribute added in v1.20.0

func (*OAUTHInfo) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*OAUTHInfo) String added in v1.20.0

func (o *OAUTHInfo) String() string

func (*OAUTHInfo) ToSparse added in v1.20.0

func (o *OAUTHInfo) 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 (*OAUTHInfo) Validate added in v1.20.0

func (o *OAUTHInfo) Validate() error

Validate valides the current information stored into the structure.

func (*OAUTHInfo) ValueForAttribute added in v1.20.0

func (o *OAUTHInfo) ValueForAttribute(name string) interface{}

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 (*OAUTHInfo) Version added in v1.20.0

func (o *OAUTHInfo) Version() int

Version returns the hardcoded version of the model.

type OAUTHInfosList added in v1.20.0

type OAUTHInfosList []*OAUTHInfo

OAUTHInfosList represents a list of OAUTHInfos

func (OAUTHInfosList) Append added in v1.20.0

Append appends the objects to the a new copy of the OAUTHInfosList.

func (OAUTHInfosList) Copy added in v1.20.0

Copy returns a pointer to a copy the OAUTHInfosList.

func (OAUTHInfosList) DefaultOrder added in v1.20.0

func (o OAUTHInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (OAUTHInfosList) Identity added in v1.20.0

func (o OAUTHInfosList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (OAUTHInfosList) List added in v1.20.0

List converts the object to an elemental.IdentifiablesList.

func (OAUTHInfosList) ToSparse added in v1.20.0

func (o OAUTHInfosList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the OAUTHInfosList converted to SparseOAUTHInfosList. Objects in the list will only contain the given fields. No field means entire field set.

func (OAUTHInfosList) Version added in v1.20.0

func (o OAUTHInfosList) Version() int

Version returns the version of the content.

type OAUTHKey added in v1.20.0

type OAUTHKey struct {
	// KeyString is the JWKS key response for an OAUTH verifier. It provides the OAUTH
	// compatible signing keys.
	KeyString string `json:"keyString" msgpack:"keyString" bson:"-" mapstructure:"keyString,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

OAUTHKey represents the model of a oauthkey

func NewOAUTHKey added in v1.20.0

func NewOAUTHKey() *OAUTHKey

NewOAUTHKey returns a new *OAUTHKey

func (*OAUTHKey) AttributeSpecifications added in v1.20.0

func (*OAUTHKey) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*OAUTHKey) BleveType added in v1.20.0

func (o *OAUTHKey) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*OAUTHKey) DeepCopy added in v1.20.0

func (o *OAUTHKey) DeepCopy() *OAUTHKey

DeepCopy returns a deep copy if the OAUTHKey.

func (*OAUTHKey) DeepCopyInto added in v1.20.0

func (o *OAUTHKey) DeepCopyInto(out *OAUTHKey)

DeepCopyInto copies the receiver into the given *OAUTHKey.

func (*OAUTHKey) DefaultOrder added in v1.20.0

func (o *OAUTHKey) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*OAUTHKey) Doc added in v1.20.0

func (o *OAUTHKey) Doc() string

Doc returns the documentation for the object

func (*OAUTHKey) GetBSON added in v1.80.0

func (o *OAUTHKey) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OAUTHKey) Identifier added in v1.20.0

func (o *OAUTHKey) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*OAUTHKey) Identity added in v1.20.0

func (o *OAUTHKey) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*OAUTHKey) Patch added in v1.20.0

func (o *OAUTHKey) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseOAUTHKey to the object.

func (*OAUTHKey) SetBSON added in v1.80.0

func (o *OAUTHKey) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OAUTHKey) SetIdentifier added in v1.20.0

func (o *OAUTHKey) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*OAUTHKey) SpecificationForAttribute added in v1.20.0

func (*OAUTHKey) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*OAUTHKey) String added in v1.20.0

func (o *OAUTHKey) String() string

func (*OAUTHKey) ToSparse added in v1.20.0

func (o *OAUTHKey) 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 (*OAUTHKey) Validate added in v1.20.0

func (o *OAUTHKey) Validate() error

Validate valides the current information stored into the structure.

func (*OAUTHKey) ValueForAttribute added in v1.20.0

func (o *OAUTHKey) ValueForAttribute(name string) interface{}

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 (*OAUTHKey) Version added in v1.20.0

func (o *OAUTHKey) Version() int

Version returns the hardcoded version of the model.

type OAUTHKeysList added in v1.20.0

type OAUTHKeysList []*OAUTHKey

OAUTHKeysList represents a list of OAUTHKeys

func (OAUTHKeysList) Append added in v1.20.0

Append appends the objects to the a new copy of the OAUTHKeysList.

func (OAUTHKeysList) Copy added in v1.20.0

Copy returns a pointer to a copy the OAUTHKeysList.

func (OAUTHKeysList) DefaultOrder added in v1.20.0

func (o OAUTHKeysList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (OAUTHKeysList) Identity added in v1.20.0

func (o OAUTHKeysList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (OAUTHKeysList) List added in v1.20.0

List converts the object to an elemental.IdentifiablesList.

func (OAUTHKeysList) ToSparse added in v1.20.0

func (o OAUTHKeysList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the OAUTHKeysList converted to SparseOAUTHKeysList. Objects in the list will only contain the given fields. No field means entire field set.

func (OAUTHKeysList) Version added in v1.20.0

func (o OAUTHKeysList) Version() int

Version returns the version of the content.

type OIDCProvider

type OIDCProvider struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Set the CA to use to contact the OIDC server. This is useful when you are using
	// a custom OIDC provider that doesn't use a trusted CA. Most of the
	// time, you can leave this property empty.
	CertificateAuthority string `` /* 132-byte string literal not displayed */

	// 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"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// If set, this will be the default OIDC provider. There can be only one default
	// provider in your account. When logging in with OIDC, if no provider name is
	// given, the default will be used.
	Default bool `json:"default" msgpack:"default" bson:"default" mapstructure:"default,omitempty"`

	// 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"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Contains the parent Microsegmentation account ID.
	ParentID string `json:"parentID" msgpack:"parentID" bson:"parentid" mapstructure:"parentID,omitempty"`

	// Contains the name of the parent Microsegmentation account.
	ParentName string `json:"parentName" msgpack:"parentName" bson:"parentname" mapstructure:"parentName,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// List of scopes to allow.
	Scopes []string `json:"scopes" msgpack:"scopes" bson:"scopes" mapstructure:"scopes,omitempty"`

	// List of claims that will provide the subject.
	Subjects []string `json:"subjects" msgpack:"subjects" bson:"subjects" mapstructure:"subjects,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

OIDCProvider represents the model of a oidcprovider

func NewOIDCProvider

func NewOIDCProvider() *OIDCProvider

NewOIDCProvider returns a new *OIDCProvider

func (*OIDCProvider) AttributeSpecifications

func (*OIDCProvider) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*OIDCProvider) BleveType added in v1.1.0

func (o *OIDCProvider) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*OIDCProvider) DecryptAttributes added in v1.57.0

func (o *OIDCProvider) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*OIDCProvider) DeepCopy

func (o *OIDCProvider) DeepCopy() *OIDCProvider

DeepCopy returns a deep copy if the OIDCProvider.

func (*OIDCProvider) DeepCopyInto

func (o *OIDCProvider) DeepCopyInto(out *OIDCProvider)

DeepCopyInto copies the receiver into the given *OIDCProvider.

func (*OIDCProvider) DefaultOrder

func (o *OIDCProvider) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*OIDCProvider) Doc

func (o *OIDCProvider) Doc() string

Doc returns the documentation for the object

func (*OIDCProvider) EncryptAttributes added in v1.57.0

func (o *OIDCProvider) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*OIDCProvider) GetAnnotations added in v1.1.0

func (o *OIDCProvider) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*OIDCProvider) GetAssociatedTags added in v1.1.0

func (o *OIDCProvider) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*OIDCProvider) GetBSON added in v1.80.0

func (o *OIDCProvider) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OIDCProvider) GetCreateIdempotencyKey added in v1.1.0

func (o *OIDCProvider) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*OIDCProvider) GetCreateTime

func (o *OIDCProvider) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*OIDCProvider) GetDescription added in v1.94.1

func (o *OIDCProvider) GetDescription() string

GetDescription returns the Description of the receiver.

func (*OIDCProvider) GetMigrationsLog added in v1.30.0

func (o *OIDCProvider) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*OIDCProvider) GetName added in v1.1.0

func (o *OIDCProvider) GetName() string

GetName returns the Name of the receiver.

func (*OIDCProvider) GetNamespace added in v1.1.0

func (o *OIDCProvider) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*OIDCProvider) GetNormalizedTags added in v1.1.0

func (o *OIDCProvider) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*OIDCProvider) GetProtected added in v1.1.0

func (o *OIDCProvider) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*OIDCProvider) GetUpdateIdempotencyKey added in v1.1.0

func (o *OIDCProvider) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*OIDCProvider) GetUpdateTime

func (o *OIDCProvider) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*OIDCProvider) GetZHash added in v1.1.0

func (o *OIDCProvider) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*OIDCProvider) GetZone added in v1.1.0

func (o *OIDCProvider) GetZone() int

GetZone returns the Zone of the receiver.

func (*OIDCProvider) Identifier

func (o *OIDCProvider) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*OIDCProvider) Identity

func (o *OIDCProvider) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*OIDCProvider) Patch

func (o *OIDCProvider) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseOIDCProvider to the object.

func (*OIDCProvider) SetAnnotations added in v1.1.0

func (o *OIDCProvider) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*OIDCProvider) SetAssociatedTags added in v1.1.0

func (o *OIDCProvider) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*OIDCProvider) SetBSON added in v1.80.0

func (o *OIDCProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OIDCProvider) SetCreateIdempotencyKey added in v1.1.0

func (o *OIDCProvider) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*OIDCProvider) SetCreateTime

func (o *OIDCProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*OIDCProvider) SetDescription added in v1.94.1

func (o *OIDCProvider) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*OIDCProvider) SetIdentifier

func (o *OIDCProvider) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*OIDCProvider) SetMigrationsLog added in v1.30.0

func (o *OIDCProvider) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*OIDCProvider) SetName added in v1.1.0

func (o *OIDCProvider) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*OIDCProvider) SetNamespace added in v1.1.0

func (o *OIDCProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*OIDCProvider) SetNormalizedTags added in v1.1.0

func (o *OIDCProvider) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*OIDCProvider) SetProtected added in v1.1.0

func (o *OIDCProvider) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*OIDCProvider) SetUpdateIdempotencyKey added in v1.1.0

func (o *OIDCProvider) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*OIDCProvider) SetUpdateTime

func (o *OIDCProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*OIDCProvider) SetZHash added in v1.1.0

func (o *OIDCProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*OIDCProvider) SetZone added in v1.1.0

func (o *OIDCProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*OIDCProvider) SpecificationForAttribute

func (*OIDCProvider) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*OIDCProvider) String

func (o *OIDCProvider) String() string

func (*OIDCProvider) ToSparse

func (o *OIDCProvider) 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 (*OIDCProvider) Validate

func (o *OIDCProvider) Validate() error

Validate valides the current information stored into the structure.

func (*OIDCProvider) ValueForAttribute

func (o *OIDCProvider) ValueForAttribute(name string) interface{}

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 (*OIDCProvider) Version

func (o *OIDCProvider) Version() int

Version returns the hardcoded version of the model.

type OIDCProvidersList

type OIDCProvidersList []*OIDCProvider

OIDCProvidersList represents a list of OIDCProviders

func (OIDCProvidersList) Append

Append appends the objects to the a new copy of the OIDCProvidersList.

func (OIDCProvidersList) Copy

Copy returns a pointer to a copy the OIDCProvidersList.

func (OIDCProvidersList) DefaultOrder

func (o OIDCProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (OIDCProvidersList) Identity

func (o OIDCProvidersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (OIDCProvidersList) List

List converts the object to an elemental.IdentifiablesList.

func (OIDCProvidersList) ToSparse

func (o OIDCProvidersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the OIDCProvidersList converted to SparseOIDCProvidersList. Objects in the list will only contain the given fields. No field means entire field set.

func (OIDCProvidersList) Version

func (o OIDCProvidersList) Version() int

Version returns the version of the content.

type OrganizationalMetadata added in v1.94.1

type OrganizationalMetadata struct {
	// List of organizational metadata for the namespace.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

OrganizationalMetadata represents the model of a organizationalmetadata

func NewOrganizationalMetadata added in v1.94.1

func NewOrganizationalMetadata() *OrganizationalMetadata

NewOrganizationalMetadata returns a new *OrganizationalMetadata

func (*OrganizationalMetadata) AttributeSpecifications added in v1.94.1

func (*OrganizationalMetadata) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*OrganizationalMetadata) BleveType added in v1.94.1

func (o *OrganizationalMetadata) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*OrganizationalMetadata) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the OrganizationalMetadata.

func (*OrganizationalMetadata) DeepCopyInto added in v1.94.1

func (o *OrganizationalMetadata) DeepCopyInto(out *OrganizationalMetadata)

DeepCopyInto copies the receiver into the given *OrganizationalMetadata.

func (*OrganizationalMetadata) DefaultOrder added in v1.94.1

func (o *OrganizationalMetadata) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*OrganizationalMetadata) Doc added in v1.94.1

func (o *OrganizationalMetadata) Doc() string

Doc returns the documentation for the object

func (*OrganizationalMetadata) GetBSON added in v1.94.1

func (o *OrganizationalMetadata) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OrganizationalMetadata) GetNamespace added in v1.94.1

func (o *OrganizationalMetadata) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*OrganizationalMetadata) Identifier added in v1.94.1

func (o *OrganizationalMetadata) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*OrganizationalMetadata) Identity added in v1.94.1

Identity returns the Identity of the object.

func (*OrganizationalMetadata) Patch added in v1.94.1

Patch apply the non nil value of a *SparseOrganizationalMetadata to the object.

func (*OrganizationalMetadata) SetBSON added in v1.94.1

func (o *OrganizationalMetadata) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*OrganizationalMetadata) SetIdentifier added in v1.94.1

func (o *OrganizationalMetadata) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*OrganizationalMetadata) SetNamespace added in v1.94.1

func (o *OrganizationalMetadata) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*OrganizationalMetadata) SpecificationForAttribute added in v1.94.1

func (*OrganizationalMetadata) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*OrganizationalMetadata) String added in v1.94.1

func (o *OrganizationalMetadata) String() string

func (*OrganizationalMetadata) ToSparse added in v1.94.1

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*OrganizationalMetadata) Validate added in v1.94.1

func (o *OrganizationalMetadata) Validate() error

Validate valides the current information stored into the structure.

func (*OrganizationalMetadata) ValueForAttribute added in v1.94.1

func (o *OrganizationalMetadata) ValueForAttribute(name string) interface{}

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 (*OrganizationalMetadata) Version added in v1.94.1

func (o *OrganizationalMetadata) Version() int

Version returns the hardcoded version of the model.

type OrganizationalMetadatasList added in v1.94.1

type OrganizationalMetadatasList []*OrganizationalMetadata

OrganizationalMetadatasList represents a list of OrganizationalMetadatas

func (OrganizationalMetadatasList) Append added in v1.94.1

Append appends the objects to the a new copy of the OrganizationalMetadatasList.

func (OrganizationalMetadatasList) Copy added in v1.94.1

Copy returns a pointer to a copy the OrganizationalMetadatasList.

func (OrganizationalMetadatasList) DefaultOrder added in v1.94.1

func (o OrganizationalMetadatasList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (OrganizationalMetadatasList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (OrganizationalMetadatasList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (OrganizationalMetadatasList) ToSparse added in v1.94.1

ToSparse returns the OrganizationalMetadatasList converted to SparseOrganizationalMetadatasList. Objects in the list will only contain the given fields. No field means entire field set.

func (OrganizationalMetadatasList) Version added in v1.94.1

func (o OrganizationalMetadatasList) Version() int

Version returns the version of the content.

type PCCProvider added in v1.94.1

type PCCProvider struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Set the CA to use to contact the PCC Console in case it uses a non widely
	// trusted
	// certificate authority.
	CertificateAuthority string `` /* 132-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// If set, this will be the default PCC provider. There can be only one default
	// provider in your account. When logging in with PCC, if no provider name is
	// given, the default will be used.
	Default bool `json:"default" msgpack:"default" bson:"default" mapstructure:"default,omitempty"`

	// The URL of the PCC service. It must use HTTPS.
	Endpoint string `json:"endpoint" msgpack:"endpoint" bson:"endpoint" mapstructure:"endpoint,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PCCProvider represents the model of a pccprovider

func NewPCCProvider added in v1.94.1

func NewPCCProvider() *PCCProvider

NewPCCProvider returns a new *PCCProvider

func (*PCCProvider) AttributeSpecifications added in v1.94.1

func (*PCCProvider) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PCCProvider) BleveType added in v1.94.1

func (o *PCCProvider) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PCCProvider) DeepCopy added in v1.94.1

func (o *PCCProvider) DeepCopy() *PCCProvider

DeepCopy returns a deep copy if the PCCProvider.

func (*PCCProvider) DeepCopyInto added in v1.94.1

func (o *PCCProvider) DeepCopyInto(out *PCCProvider)

DeepCopyInto copies the receiver into the given *PCCProvider.

func (*PCCProvider) DefaultOrder added in v1.94.1

func (o *PCCProvider) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PCCProvider) Doc added in v1.94.1

func (o *PCCProvider) Doc() string

Doc returns the documentation for the object

func (*PCCProvider) GetAnnotations added in v1.94.1

func (o *PCCProvider) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*PCCProvider) GetAssociatedTags added in v1.94.1

func (o *PCCProvider) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*PCCProvider) GetBSON added in v1.94.1

func (o *PCCProvider) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PCCProvider) GetCreateIdempotencyKey added in v1.94.1

func (o *PCCProvider) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*PCCProvider) GetCreateTime added in v1.94.1

func (o *PCCProvider) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*PCCProvider) GetMigrationsLog added in v1.94.1

func (o *PCCProvider) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*PCCProvider) GetName added in v1.94.1

func (o *PCCProvider) GetName() string

GetName returns the Name of the receiver.

func (*PCCProvider) GetNamespace added in v1.94.1

func (o *PCCProvider) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*PCCProvider) GetNormalizedTags added in v1.94.1

func (o *PCCProvider) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*PCCProvider) GetProtected added in v1.94.1

func (o *PCCProvider) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*PCCProvider) GetUpdateIdempotencyKey added in v1.94.1

func (o *PCCProvider) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*PCCProvider) GetUpdateTime added in v1.94.1

func (o *PCCProvider) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*PCCProvider) GetZHash added in v1.94.1

func (o *PCCProvider) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*PCCProvider) GetZone added in v1.94.1

func (o *PCCProvider) GetZone() int

GetZone returns the Zone of the receiver.

func (*PCCProvider) Identifier added in v1.94.1

func (o *PCCProvider) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PCCProvider) Identity added in v1.94.1

func (o *PCCProvider) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PCCProvider) Patch added in v1.94.1

func (o *PCCProvider) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePCCProvider to the object.

func (*PCCProvider) SetAnnotations added in v1.94.1

func (o *PCCProvider) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*PCCProvider) SetAssociatedTags added in v1.94.1

func (o *PCCProvider) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*PCCProvider) SetBSON added in v1.94.1

func (o *PCCProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PCCProvider) SetCreateIdempotencyKey added in v1.94.1

func (o *PCCProvider) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*PCCProvider) SetCreateTime added in v1.94.1

func (o *PCCProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*PCCProvider) SetIdentifier added in v1.94.1

func (o *PCCProvider) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PCCProvider) SetMigrationsLog added in v1.94.1

func (o *PCCProvider) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*PCCProvider) SetName added in v1.94.1

func (o *PCCProvider) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*PCCProvider) SetNamespace added in v1.94.1

func (o *PCCProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*PCCProvider) SetNormalizedTags added in v1.94.1

func (o *PCCProvider) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*PCCProvider) SetProtected added in v1.94.1

func (o *PCCProvider) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*PCCProvider) SetUpdateIdempotencyKey added in v1.94.1

func (o *PCCProvider) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*PCCProvider) SetUpdateTime added in v1.94.1

func (o *PCCProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*PCCProvider) SetZHash added in v1.94.1

func (o *PCCProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*PCCProvider) SetZone added in v1.94.1

func (o *PCCProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*PCCProvider) SpecificationForAttribute added in v1.94.1

func (*PCCProvider) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PCCProvider) String added in v1.94.1

func (o *PCCProvider) String() string

func (*PCCProvider) ToSparse added in v1.94.1

func (o *PCCProvider) 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 (*PCCProvider) Validate added in v1.94.1

func (o *PCCProvider) Validate() error

Validate valides the current information stored into the structure.

func (*PCCProvider) ValueForAttribute added in v1.94.1

func (o *PCCProvider) ValueForAttribute(name string) interface{}

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 (*PCCProvider) Version added in v1.94.1

func (o *PCCProvider) Version() int

Version returns the hardcoded version of the model.

type PCCProvidersList added in v1.94.1

type PCCProvidersList []*PCCProvider

PCCProvidersList represents a list of PCCProviders

func (PCCProvidersList) Append added in v1.94.1

Append appends the objects to the a new copy of the PCCProvidersList.

func (PCCProvidersList) Copy added in v1.94.1

Copy returns a pointer to a copy the PCCProvidersList.

func (PCCProvidersList) DefaultOrder added in v1.94.1

func (o PCCProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PCCProvidersList) Identity added in v1.94.1

func (o PCCProvidersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PCCProvidersList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (PCCProvidersList) ToSparse added in v1.94.1

func (o PCCProvidersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PCCProvidersList converted to SparsePCCProvidersList. Objects in the list will only contain the given fields. No field means entire field set.

func (PCCProvidersList) Version added in v1.94.1

func (o PCCProvidersList) Version() int

Version returns the version of the content.

type PCSearchResult added in v1.94.1

type PCSearchResult struct {
	// The edges of the map connecting internal endpoints.
	InternalEdges map[string]*CloudGraphEdge `json:"internalEdges" msgpack:"internalEdges" bson:"-" mapstructure:"internalEdges,omitempty"`

	// The payload of the search result.
	Items *ReportsQuery `json:"items" msgpack:"items" bson:"-" mapstructure:"items,omitempty"`

	// The pagination token for next page.
	NextPageToken string `json:"nextPageToken" msgpack:"nextPageToken" bson:"-" mapstructure:"nextPageToken,omitempty"`

	// Refers to the nodes of the map.
	Nodes map[string]*CloudGraphNode `json:"nodes" msgpack:"nodes" bson:"-" mapstructure:"nodes,omitempty"`

	// The set of paths from the given source to the given destination. Only provided
	// when the query type is NetworkPath.
	Paths [][]*CloudPathElement `json:"paths" msgpack:"paths" bson:"-" mapstructure:"paths,omitempty"`

	// The edges of the map connecting public endpoints.
	PublicEdges map[string]*CloudGraphEdge `json:"publicEdges" msgpack:"publicEdges" bson:"-" mapstructure:"publicEdges,omitempty"`

	// The set of destinations that have been discovered based on the query and their
	// associated verdicts.
	SourceDestinationMap map[string]map[string]*CloudNetworkQueryDestination `json:"sourceDestinationMap" msgpack:"sourceDestinationMap" bson:"-" mapstructure:"sourceDestinationMap,omitempty"`

	// The total number of result items.
	TotalRows int `json:"totalRows" msgpack:"totalRows" bson:"-" mapstructure:"totalRows,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PCSearchResult represents the model of a pcsearchresult

func NewPCSearchResult added in v1.94.1

func NewPCSearchResult() *PCSearchResult

NewPCSearchResult returns a new *PCSearchResult

func (*PCSearchResult) AttributeSpecifications added in v1.94.1

func (*PCSearchResult) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PCSearchResult) BleveType added in v1.94.1

func (o *PCSearchResult) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PCSearchResult) DeepCopy added in v1.94.1

func (o *PCSearchResult) DeepCopy() *PCSearchResult

DeepCopy returns a deep copy if the PCSearchResult.

func (*PCSearchResult) DeepCopyInto added in v1.94.1

func (o *PCSearchResult) DeepCopyInto(out *PCSearchResult)

DeepCopyInto copies the receiver into the given *PCSearchResult.

func (*PCSearchResult) DefaultOrder added in v1.94.1

func (o *PCSearchResult) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PCSearchResult) Doc added in v1.94.1

func (o *PCSearchResult) Doc() string

Doc returns the documentation for the object

func (*PCSearchResult) GetBSON added in v1.94.1

func (o *PCSearchResult) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PCSearchResult) Identifier added in v1.94.1

func (o *PCSearchResult) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PCSearchResult) Identity added in v1.94.1

func (o *PCSearchResult) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PCSearchResult) Patch added in v1.94.1

func (o *PCSearchResult) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePCSearchResult to the object.

func (*PCSearchResult) SetBSON added in v1.94.1

func (o *PCSearchResult) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PCSearchResult) SetIdentifier added in v1.94.1

func (o *PCSearchResult) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PCSearchResult) SpecificationForAttribute added in v1.94.1

func (*PCSearchResult) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PCSearchResult) String added in v1.94.1

func (o *PCSearchResult) String() string

func (*PCSearchResult) ToSparse added in v1.94.1

func (o *PCSearchResult) 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 (*PCSearchResult) Validate added in v1.94.1

func (o *PCSearchResult) Validate() error

Validate valides the current information stored into the structure.

func (*PCSearchResult) ValueForAttribute added in v1.94.1

func (o *PCSearchResult) ValueForAttribute(name string) interface{}

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 (*PCSearchResult) Version added in v1.94.1

func (o *PCSearchResult) Version() int

Version returns the hardcoded version of the model.

type PCSearchResultsList added in v1.94.1

type PCSearchResultsList []*PCSearchResult

PCSearchResultsList represents a list of PCSearchResults

func (PCSearchResultsList) Append added in v1.94.1

Append appends the objects to the a new copy of the PCSearchResultsList.

func (PCSearchResultsList) Copy added in v1.94.1

Copy returns a pointer to a copy the PCSearchResultsList.

func (PCSearchResultsList) DefaultOrder added in v1.94.1

func (o PCSearchResultsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PCSearchResultsList) Identity added in v1.94.1

func (o PCSearchResultsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PCSearchResultsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (PCSearchResultsList) ToSparse added in v1.94.1

func (o PCSearchResultsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PCSearchResultsList converted to SparsePCSearchResultsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PCSearchResultsList) Version added in v1.94.1

func (o PCSearchResultsList) Version() int

Version returns the version of the content.

type PCTimeRange added in v1.94.1

type PCTimeRange struct {
	// The type of relative time.
	RelativeTimeType string `json:"relativeTimeType" msgpack:"relativeTimeType" bson:"-" mapstructure:"relativeTimeType,omitempty"`

	// The type of time range.
	Type string `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	// The value of time range.
	Value interface{} `json:"value" msgpack:"value" bson:"-" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PCTimeRange represents the model of a pctimerange

func NewPCTimeRange added in v1.94.1

func NewPCTimeRange() *PCTimeRange

NewPCTimeRange returns a new *PCTimeRange

func (*PCTimeRange) AttributeSpecifications added in v1.94.1

func (*PCTimeRange) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PCTimeRange) BleveType added in v1.94.1

func (o *PCTimeRange) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PCTimeRange) DeepCopy added in v1.94.1

func (o *PCTimeRange) DeepCopy() *PCTimeRange

DeepCopy returns a deep copy if the PCTimeRange.

func (*PCTimeRange) DeepCopyInto added in v1.94.1

func (o *PCTimeRange) DeepCopyInto(out *PCTimeRange)

DeepCopyInto copies the receiver into the given *PCTimeRange.

func (*PCTimeRange) DefaultOrder added in v1.94.1

func (o *PCTimeRange) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PCTimeRange) Doc added in v1.94.1

func (o *PCTimeRange) Doc() string

Doc returns the documentation for the object

func (*PCTimeRange) GetBSON added in v1.94.1

func (o *PCTimeRange) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PCTimeRange) Identifier added in v1.94.1

func (o *PCTimeRange) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PCTimeRange) Identity added in v1.94.1

func (o *PCTimeRange) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PCTimeRange) Patch added in v1.94.1

func (o *PCTimeRange) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePCTimeRange to the object.

func (*PCTimeRange) SetBSON added in v1.94.1

func (o *PCTimeRange) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PCTimeRange) SetIdentifier added in v1.94.1

func (o *PCTimeRange) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PCTimeRange) SpecificationForAttribute added in v1.94.1

func (*PCTimeRange) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PCTimeRange) String added in v1.94.1

func (o *PCTimeRange) String() string

func (*PCTimeRange) ToSparse added in v1.94.1

func (o *PCTimeRange) 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 (*PCTimeRange) Validate added in v1.94.1

func (o *PCTimeRange) Validate() error

Validate valides the current information stored into the structure.

func (*PCTimeRange) ValueForAttribute added in v1.94.1

func (o *PCTimeRange) ValueForAttribute(name string) interface{}

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 (*PCTimeRange) Version added in v1.94.1

func (o *PCTimeRange) Version() int

Version returns the hardcoded version of the model.

type PCTimeRangesList added in v1.94.1

type PCTimeRangesList []*PCTimeRange

PCTimeRangesList represents a list of PCTimeRanges

func (PCTimeRangesList) Append added in v1.94.1

Append appends the objects to the a new copy of the PCTimeRangesList.

func (PCTimeRangesList) Copy added in v1.94.1

Copy returns a pointer to a copy the PCTimeRangesList.

func (PCTimeRangesList) DefaultOrder added in v1.94.1

func (o PCTimeRangesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PCTimeRangesList) Identity added in v1.94.1

func (o PCTimeRangesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PCTimeRangesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (PCTimeRangesList) ToSparse added in v1.94.1

func (o PCTimeRangesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PCTimeRangesList converted to SparsePCTimeRangesList. Objects in the list will only contain the given fields. No field means entire field set.

func (PCTimeRangesList) Version added in v1.94.1

func (o PCTimeRangesList) Version() int

Version returns the version of the content.

type PKIXName

type PKIXName struct {
	// Represents the Common Name field.
	CommonName string `json:"commonName" msgpack:"commonName" bson:"-" mapstructure:"commonName,omitempty"`

	// Represents the Country field.
	Country []string `json:"country" msgpack:"country" bson:"-" mapstructure:"country,omitempty"`

	// Represents the Locality field.
	Locality []string `json:"locality" msgpack:"locality" bson:"-" mapstructure:"locality,omitempty"`

	// Represents the Organization field.
	Organization []string `json:"organization" msgpack:"organization" bson:"-" mapstructure:"organization,omitempty"`

	// Represents the Organizational Unit field.
	OrganizationalUnit []string `json:"organizationalUnit" msgpack:"organizationalUnit" bson:"-" mapstructure:"organizationalUnit,omitempty"`

	// Represents the Postal Code field.
	PostalCode []string `json:"postalCode" msgpack:"postalCode" bson:"-" mapstructure:"postalCode,omitempty"`

	// Represents the Province field.
	Province []string `json:"province" msgpack:"province" bson:"-" mapstructure:"province,omitempty"`

	// Represents the Street Address field.
	StreetAddress []string `json:"streetAddress" msgpack:"streetAddress" bson:"-" mapstructure:"streetAddress,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PKIXName represents the model of a pkixname

func NewPKIXName

func NewPKIXName() *PKIXName

NewPKIXName returns a new *PKIXName

func (*PKIXName) BleveType added in v1.1.0

func (o *PKIXName) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PKIXName) DeepCopy

func (o *PKIXName) DeepCopy() *PKIXName

DeepCopy returns a deep copy if the PKIXName.

func (*PKIXName) DeepCopyInto

func (o *PKIXName) DeepCopyInto(out *PKIXName)

DeepCopyInto copies the receiver into the given *PKIXName.

func (*PKIXName) GetBSON added in v1.80.0

func (o *PKIXName) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PKIXName) SetBSON added in v1.80.0

func (o *PKIXName) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PKIXName) Validate

func (o *PKIXName) Validate() error

Validate valides the current information stored into the structure.

type PUTrafficAction added in v1.101.0

type PUTrafficAction struct {
	// The processing unit action for incoming traffic for the namespace.
	Incoming PUTrafficActionIncomingValue `json:"Incoming" msgpack:"Incoming" bson:"-" mapstructure:"Incoming,omitempty"`

	// The processing unit action for outgoing traffic for the namespace.
	Outgoing PUTrafficActionOutgoingValue `json:"Outgoing" msgpack:"Outgoing" bson:"-" mapstructure:"Outgoing,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PUTrafficAction represents the model of a putrafficaction

func NewPUTrafficAction added in v1.101.0

func NewPUTrafficAction() *PUTrafficAction

NewPUTrafficAction returns a new *PUTrafficAction

func (*PUTrafficAction) AttributeSpecifications added in v1.101.0

func (*PUTrafficAction) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PUTrafficAction) BleveType added in v1.101.0

func (o *PUTrafficAction) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PUTrafficAction) DeepCopy added in v1.101.0

func (o *PUTrafficAction) DeepCopy() *PUTrafficAction

DeepCopy returns a deep copy if the PUTrafficAction.

func (*PUTrafficAction) DeepCopyInto added in v1.101.0

func (o *PUTrafficAction) DeepCopyInto(out *PUTrafficAction)

DeepCopyInto copies the receiver into the given *PUTrafficAction.

func (*PUTrafficAction) DefaultOrder added in v1.101.0

func (o *PUTrafficAction) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PUTrafficAction) Doc added in v1.101.0

func (o *PUTrafficAction) Doc() string

Doc returns the documentation for the object

func (*PUTrafficAction) GetBSON added in v1.101.0

func (o *PUTrafficAction) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PUTrafficAction) Identifier added in v1.101.0

func (o *PUTrafficAction) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PUTrafficAction) Identity added in v1.101.0

func (o *PUTrafficAction) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PUTrafficAction) Patch added in v1.101.0

func (o *PUTrafficAction) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePUTrafficAction to the object.

func (*PUTrafficAction) SetBSON added in v1.101.0

func (o *PUTrafficAction) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PUTrafficAction) SetIdentifier added in v1.101.0

func (o *PUTrafficAction) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PUTrafficAction) SpecificationForAttribute added in v1.101.0

func (*PUTrafficAction) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PUTrafficAction) String added in v1.101.0

func (o *PUTrafficAction) String() string

func (*PUTrafficAction) ToSparse added in v1.101.0

func (o *PUTrafficAction) 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 (*PUTrafficAction) Validate added in v1.101.0

func (o *PUTrafficAction) Validate() error

Validate valides the current information stored into the structure.

func (*PUTrafficAction) ValueForAttribute added in v1.101.0

func (o *PUTrafficAction) ValueForAttribute(name string) interface{}

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 (*PUTrafficAction) Version added in v1.101.0

func (o *PUTrafficAction) Version() int

Version returns the hardcoded version of the model.

type PUTrafficActionIncomingValue added in v1.101.0

type PUTrafficActionIncomingValue string

PUTrafficActionIncomingValue represents the possible values for attribute "Incoming".

const (
	// PUTrafficActionIncomingAllow represents the value Allow.
	PUTrafficActionIncomingAllow PUTrafficActionIncomingValue = "Allow"

	// PUTrafficActionIncomingInherit represents the value Inherit.
	PUTrafficActionIncomingInherit PUTrafficActionIncomingValue = "Inherit"

	// PUTrafficActionIncomingReject represents the value Reject.
	PUTrafficActionIncomingReject PUTrafficActionIncomingValue = "Reject"
)

type PUTrafficActionOutgoingValue added in v1.101.0

type PUTrafficActionOutgoingValue string

PUTrafficActionOutgoingValue represents the possible values for attribute "Outgoing".

const (
	// PUTrafficActionOutgoingAllow represents the value Allow.
	PUTrafficActionOutgoingAllow PUTrafficActionOutgoingValue = "Allow"

	// PUTrafficActionOutgoingInherit represents the value Inherit.
	PUTrafficActionOutgoingInherit PUTrafficActionOutgoingValue = "Inherit"

	// PUTrafficActionOutgoingReject represents the value Reject.
	PUTrafficActionOutgoingReject PUTrafficActionOutgoingValue = "Reject"
)

type PUTrafficActionsList added in v1.101.0

type PUTrafficActionsList []*PUTrafficAction

PUTrafficActionsList represents a list of PUTrafficActions

func (PUTrafficActionsList) Append added in v1.101.0

Append appends the objects to the a new copy of the PUTrafficActionsList.

func (PUTrafficActionsList) Copy added in v1.101.0

Copy returns a pointer to a copy the PUTrafficActionsList.

func (PUTrafficActionsList) DefaultOrder added in v1.101.0

func (o PUTrafficActionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PUTrafficActionsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (PUTrafficActionsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (PUTrafficActionsList) ToSparse added in v1.101.0

func (o PUTrafficActionsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PUTrafficActionsList converted to SparsePUTrafficActionsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PUTrafficActionsList) Version added in v1.101.0

func (o PUTrafficActionsList) Version() int

Version returns the version of the content.

type PacketReport

type PacketReport struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Flags are the TCP flags of the packet.
	TCPFlags int `json:"TCPFlags,omitempty" msgpack:"TCPFlags,omitempty" bson:"a,omitempty" mapstructure:"TCPFlags,omitempty"`

	// Claims is the list of claims detected for the packet.
	Claims []string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"b,omitempty" mapstructure:"claims,omitempty"`

	// The destination IP address of the packet.
	DestinationIP string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"c,omitempty" mapstructure:"destinationIP,omitempty"`

	// The destination port of a TCP or UDP packet.
	DestinationPort int `` /* 128-byte string literal not displayed */

	// If `event` is set to `Dropped`, contains the reason that the packet was dropped.
	// Otherwise empty.
	DropReason string `json:"dropReason,omitempty" msgpack:"dropReason,omitempty" bson:"e,omitempty" mapstructure:"dropReason,omitempty"`

	// Set to `true` if the packet was encrypted.
	Encrypt bool `json:"encrypt,omitempty" msgpack:"encrypt,omitempty" bson:"f,omitempty" mapstructure:"encrypt,omitempty"`

	// Identifier of the enforcer sending the report.
	EnforcerID string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"g,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer sending the report.
	EnforcerNamespace string `` /* 134-byte string literal not displayed */

	// The event that triggered the report.
	Event PacketReportEventValue `json:"event,omitempty" msgpack:"event,omitempty" bson:"i,omitempty" mapstructure:"event,omitempty"`

	// Length is the length of the packet.
	Length int `json:"-" msgpack:"-" bson:"j,omitempty" mapstructure:"-,omitempty"`

	// Mark is the mark value of the packet.
	Mark int `json:"mark,omitempty" msgpack:"mark,omitempty" bson:"k,omitempty" mapstructure:"mark,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace of the processing unit reporting the packet.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"l,omitempty" mapstructure:"namespace,omitempty"`

	// The ID of the IP header of the reported packet.
	PacketID int `json:"packetID,omitempty" msgpack:"packetID,omitempty" bson:"m,omitempty" mapstructure:"packetID,omitempty"`

	// Protocol number.
	Protocol int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"n,omitempty" mapstructure:"protocol,omitempty"`

	// The ID of the processing unit reporting the packet.
	PuID string `json:"puID,omitempty" msgpack:"puID,omitempty" bson:"o,omitempty" mapstructure:"puID,omitempty"`

	// The first 64 bytes of the packet.
	RawPacket string `json:"rawPacket,omitempty" msgpack:"rawPacket,omitempty" bson:"p,omitempty" mapstructure:"rawPacket,omitempty"`

	// The source IP address of the packet.
	SourceIP string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"q,omitempty" mapstructure:"sourceIP,omitempty"`

	// The source port of the packet.
	SourcePort int `json:"sourcePort,omitempty" msgpack:"sourcePort,omitempty" bson:"r,omitempty" mapstructure:"sourcePort,omitempty"`

	// The time-date stamp of the report.
	Timestamp time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"s,omitempty" mapstructure:"timestamp,omitempty"`

	// Set to `true` if the packet arrived with the Trireme options (default).
	TriremePacket bool `json:"triremePacket,omitempty" msgpack:"triremePacket,omitempty" bson:"t,omitempty" mapstructure:"triremePacket,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PacketReport represents the model of a packetreport

func NewPacketReport

func NewPacketReport() *PacketReport

NewPacketReport returns a new *PacketReport

func (*PacketReport) AttributeSpecifications

func (*PacketReport) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PacketReport) BleveType added in v1.1.0

func (o *PacketReport) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PacketReport) DeepCopy

func (o *PacketReport) DeepCopy() *PacketReport

DeepCopy returns a deep copy if the PacketReport.

func (*PacketReport) DeepCopyInto

func (o *PacketReport) DeepCopyInto(out *PacketReport)

DeepCopyInto copies the receiver into the given *PacketReport.

func (*PacketReport) DefaultOrder

func (o *PacketReport) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PacketReport) Doc

func (o *PacketReport) Doc() string

Doc returns the documentation for the object

func (*PacketReport) GetBSON added in v1.80.0

func (o *PacketReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PacketReport) GetMigrationsLog added in v1.94.1

func (o *PacketReport) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*PacketReport) GetZHash added in v1.94.1

func (o *PacketReport) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*PacketReport) GetZone added in v1.94.1

func (o *PacketReport) GetZone() int

GetZone returns the Zone of the receiver.

func (*PacketReport) Identifier

func (o *PacketReport) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PacketReport) Identity

func (o *PacketReport) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PacketReport) Patch

func (o *PacketReport) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePacketReport to the object.

func (*PacketReport) SetBSON added in v1.80.0

func (o *PacketReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PacketReport) SetIdentifier

func (o *PacketReport) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PacketReport) SetMigrationsLog added in v1.94.1

func (o *PacketReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*PacketReport) SetZHash added in v1.94.1

func (o *PacketReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*PacketReport) SetZone added in v1.94.1

func (o *PacketReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*PacketReport) SpecificationForAttribute

func (*PacketReport) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PacketReport) String

func (o *PacketReport) String() string

func (*PacketReport) ToSparse

func (o *PacketReport) 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 (*PacketReport) Validate

func (o *PacketReport) Validate() error

Validate valides the current information stored into the structure.

func (*PacketReport) ValueForAttribute

func (o *PacketReport) ValueForAttribute(name string) interface{}

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 (*PacketReport) Version

func (o *PacketReport) Version() int

Version returns the hardcoded version of the model.

type PacketReportEventValue

type PacketReportEventValue string

PacketReportEventValue represents the possible values for attribute "event".

const (
	// PacketReportEventDropped represents the value Dropped.
	PacketReportEventDropped PacketReportEventValue = "Dropped"

	// PacketReportEventReceived represents the value Received.
	PacketReportEventReceived PacketReportEventValue = "Received"

	// PacketReportEventTransmitted represents the value Transmitted.
	PacketReportEventTransmitted PacketReportEventValue = "Transmitted"
)

type PacketReportsList

type PacketReportsList []*PacketReport

PacketReportsList represents a list of PacketReports

func (PacketReportsList) Append

Append appends the objects to the a new copy of the PacketReportsList.

func (PacketReportsList) Copy

Copy returns a pointer to a copy the PacketReportsList.

func (PacketReportsList) DefaultOrder

func (o PacketReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PacketReportsList) Identity

func (o PacketReportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PacketReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (PacketReportsList) ToSparse

func (o PacketReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PacketReportsList converted to SparsePacketReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PacketReportsList) Version

func (o PacketReportsList) Version() int

Version returns the version of the content.

type PasswordReset

type PasswordReset struct {
	// Contains the new password.
	Password string `json:"password" msgpack:"password" bson:"-" mapstructure:"password,omitempty"`

	// Contains the reset password token.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PasswordReset represents the model of a passwordreset

func NewPasswordReset

func NewPasswordReset() *PasswordReset

NewPasswordReset returns a new *PasswordReset

func (*PasswordReset) AttributeSpecifications

func (*PasswordReset) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PasswordReset) BleveType added in v1.1.0

func (o *PasswordReset) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PasswordReset) DeepCopy

func (o *PasswordReset) DeepCopy() *PasswordReset

DeepCopy returns a deep copy if the PasswordReset.

func (*PasswordReset) DeepCopyInto

func (o *PasswordReset) DeepCopyInto(out *PasswordReset)

DeepCopyInto copies the receiver into the given *PasswordReset.

func (*PasswordReset) DefaultOrder

func (o *PasswordReset) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PasswordReset) Doc

func (o *PasswordReset) Doc() string

Doc returns the documentation for the object

func (*PasswordReset) GetBSON added in v1.80.0

func (o *PasswordReset) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PasswordReset) Identifier

func (o *PasswordReset) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PasswordReset) Identity

func (o *PasswordReset) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PasswordReset) Patch

func (o *PasswordReset) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePasswordReset to the object.

func (*PasswordReset) SetBSON added in v1.80.0

func (o *PasswordReset) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PasswordReset) SetIdentifier

func (o *PasswordReset) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PasswordReset) SpecificationForAttribute

func (*PasswordReset) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PasswordReset) String

func (o *PasswordReset) String() string

func (*PasswordReset) ToSparse

func (o *PasswordReset) 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 (*PasswordReset) Validate

func (o *PasswordReset) Validate() error

Validate valides the current information stored into the structure.

func (*PasswordReset) ValueForAttribute

func (o *PasswordReset) ValueForAttribute(name string) interface{}

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 (*PasswordReset) Version

func (o *PasswordReset) Version() int

Version returns the hardcoded version of the model.

type PasswordResetsList

type PasswordResetsList []*PasswordReset

PasswordResetsList represents a list of PasswordResets

func (PasswordResetsList) Append

Append appends the objects to the a new copy of the PasswordResetsList.

func (PasswordResetsList) Copy

Copy returns a pointer to a copy the PasswordResetsList.

func (PasswordResetsList) DefaultOrder

func (o PasswordResetsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PasswordResetsList) Identity

func (o PasswordResetsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PasswordResetsList) List

List converts the object to an elemental.IdentifiablesList.

func (PasswordResetsList) ToSparse

func (o PasswordResetsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PasswordResetsList converted to SparsePasswordResetsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PasswordResetsList) Version

func (o PasswordResetsList) Version() int

Version returns the version of the content.

type PingPair added in v1.94.1

type PingPair struct {
	// Contains the request probe information.
	Request *PingProbe `json:"request" msgpack:"request" bson:"request" mapstructure:"request,omitempty"`

	// Contains the response probe information.
	Response *PingProbe `json:"response" msgpack:"response" bson:"response" mapstructure:"response,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PingPair represents the model of a pingpair

func NewPingPair added in v1.94.1

func NewPingPair() *PingPair

NewPingPair returns a new *PingPair

func (*PingPair) BleveType added in v1.94.1

func (o *PingPair) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PingPair) DeepCopy added in v1.94.1

func (o *PingPair) DeepCopy() *PingPair

DeepCopy returns a deep copy if the PingPair.

func (*PingPair) DeepCopyInto added in v1.94.1

func (o *PingPair) DeepCopyInto(out *PingPair)

DeepCopyInto copies the receiver into the given *PingPair.

func (*PingPair) GetBSON added in v1.94.1

func (o *PingPair) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PingPair) SetBSON added in v1.94.1

func (o *PingPair) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PingPair) Validate added in v1.94.1

func (o *PingPair) Validate() error

Validate valides the current information stored into the structure.

type PingProbe added in v1.94.1

type PingProbe struct {
	// Action of the ACL policy.
	ACLPolicyAction string `json:"ACLPolicyAction" msgpack:"ACLPolicyAction" bson:"aclpolicyaction" mapstructure:"ACLPolicyAction,omitempty"`

	// ID of the ACL policy.
	ACLPolicyID string `json:"ACLPolicyID" msgpack:"ACLPolicyID" bson:"aclpolicyid" mapstructure:"ACLPolicyID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Time taken for a single request-response to complete.
	RTT string `json:"RTT" msgpack:"RTT" bson:"rtt" mapstructure:"RTT,omitempty"`

	// If true, application responded to the request.
	ApplicationListening bool `` /* 132-byte string literal not displayed */

	// Claims of the processing unit.
	Claims []string `json:"claims" msgpack:"claims" bson:"claims" mapstructure:"claims,omitempty"`

	// Type of claims reported.
	ClaimsType PingProbeClaimsTypeValue `json:"claimsType" msgpack:"claimsType" bson:"claimstype" mapstructure:"claimsType,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// ID of the enforcer.
	EnforcerID string `json:"enforcerID" msgpack:"enforcerID" bson:"enforcerid" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer.
	EnforcerNamespace string `json:"enforcerNamespace" msgpack:"enforcerNamespace" bson:"enforcernamespace" mapstructure:"enforcerNamespace,omitempty"`

	// Semantic version of the enforcer.
	EnforcerVersion string `json:"enforcerVersion" msgpack:"enforcerVersion" bson:"enforcerversion" mapstructure:"enforcerVersion,omitempty"`

	// A non-empty error indicates a failure.
	Error string `json:"error" msgpack:"error" bson:"error" mapstructure:"error,omitempty"`

	// If true, destination IP is in `excludedNetworks`.
	ExcludedNetworks bool `json:"excludedNetworks" msgpack:"excludedNetworks" bson:"excludednetworks" mapstructure:"excludedNetworks,omitempty"`

	// Four tuple in the format <sip:dip:spt:dpt>.
	FourTuple string `json:"fourTuple" msgpack:"fourTuple" bson:"fourtuple" mapstructure:"fourTuple,omitempty"`

	// If true, the report was generated by the server.
	IsServer bool `json:"isServer" msgpack:"isServer" bson:"isserver" mapstructure:"isServer,omitempty"`

	// Holds the iteration number this probe is attached to.
	IterationIndex int `json:"iterationIndex" msgpack:"iterationIndex" bson:"iterationindex" mapstructure:"iterationIndex,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Size of the payload attached to the packet.
	PayloadSize int `json:"payloadSize" msgpack:"payloadSize" bson:"payloadsize" mapstructure:"payloadSize,omitempty"`

	// Type of the payload size.
	PayloadSizeType PingProbePayloadSizeTypeValue `json:"payloadSizeType" msgpack:"payloadSizeType" bson:"payloadsizetype" mapstructure:"payloadSizeType,omitempty"`

	// Represents the expiry of the peer certificate.
	PeerCertExpiry string `json:"peerCertExpiry" msgpack:"peerCertExpiry" bson:"peercertexpiry" mapstructure:"peerCertExpiry,omitempty"`

	// Represents the issuer of the peer certificate.
	PeerCertIssuer string `json:"peerCertIssuer" msgpack:"peerCertIssuer" bson:"peercertissuer" mapstructure:"peerCertIssuer,omitempty"`

	// Represents the subject of the peer certificate.
	PeerCertSubject string `json:"peerCertSubject" msgpack:"peerCertSubject" bson:"peercertsubject" mapstructure:"peerCertSubject,omitempty"`

	// PingID unique to a single ping control.
	PingID string `json:"pingID" msgpack:"pingID" bson:"pingid" mapstructure:"pingID,omitempty"`

	// Action of the policy.
	PolicyAction string `json:"policyAction" msgpack:"policyAction" bson:"policyaction" mapstructure:"policyAction,omitempty"`

	// ID of the policy.
	PolicyID string `json:"policyID" msgpack:"policyID" bson:"policyid" mapstructure:"policyID,omitempty"`

	// ID of the policy.
	PolicyNamespace string `json:"policyNamespace" msgpack:"policyNamespace" bson:"policynamespace" mapstructure:"policyNamespace,omitempty"`

	// ID of the reporting processing unit.
	ProcessingUnitID string `json:"processingUnitID" msgpack:"processingUnitID" bson:"processingunitid" mapstructure:"processingUnitID,omitempty"`

	// Protocol used for the communication.
	Protocol int `json:"protocol" msgpack:"protocol" bson:"protocol" mapstructure:"protocol,omitempty"`

	// Controller of the remote endpoint.
	RemoteController string `json:"remoteController" msgpack:"remoteController" bson:"remotecontroller" mapstructure:"remoteController,omitempty"`

	// Represents the remote endpoint type.
	RemoteEndpointType PingProbeRemoteEndpointTypeValue `json:"remoteEndpointType" msgpack:"remoteEndpointType" bson:"remoteendpointtype" mapstructure:"remoteEndpointType,omitempty"`

	// Namespace of the remote processing unit.
	RemoteNamespace string `json:"remoteNamespace" msgpack:"remoteNamespace" bson:"remotenamespace" mapstructure:"remoteNamespace,omitempty"`

	// Type of the namespace reported.
	RemoteNamespaceType PingProbeRemoteNamespaceTypeValue `` /* 128-byte string literal not displayed */

	// ID of the remote processing unit.
	RemoteProcessingUnitID string `` /* 140-byte string literal not displayed */

	// Sequence number of the TCP packet. number.
	SeqNum int `json:"seqNum" msgpack:"seqNum" bson:"seqnum" mapstructure:"seqNum,omitempty"`

	// ID of the service If the service type is a proxy.
	ServiceID string `json:"serviceID" msgpack:"serviceID" bson:"serviceid" mapstructure:"serviceID,omitempty"`

	// Type of the service.
	ServiceType string `json:"serviceType" msgpack:"serviceType" bson:"servicetype" mapstructure:"serviceType,omitempty"`

	// If true, destination IP is in `targetTCPNetworks`.
	TargetTCPNetworks bool `json:"targetTCPNetworks" msgpack:"targetTCPNetworks" bson:"targettcpnetworks" mapstructure:"targetTCPNetworks,omitempty"`

	// Type of the report.
	Type PingProbeTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PingProbe represents the model of a pingprobe

func NewPingProbe added in v1.94.1

func NewPingProbe() *PingProbe

NewPingProbe returns a new *PingProbe

func (*PingProbe) AttributeSpecifications added in v1.94.1

func (*PingProbe) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PingProbe) BleveType added in v1.94.1

func (o *PingProbe) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PingProbe) DeepCopy added in v1.94.1

func (o *PingProbe) DeepCopy() *PingProbe

DeepCopy returns a deep copy if the PingProbe.

func (*PingProbe) DeepCopyInto added in v1.94.1

func (o *PingProbe) DeepCopyInto(out *PingProbe)

DeepCopyInto copies the receiver into the given *PingProbe.

func (*PingProbe) DefaultOrder added in v1.94.1

func (o *PingProbe) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PingProbe) Doc added in v1.94.1

func (o *PingProbe) Doc() string

Doc returns the documentation for the object

func (*PingProbe) GetBSON added in v1.94.1

func (o *PingProbe) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PingProbe) GetCreateTime added in v1.94.1

func (o *PingProbe) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*PingProbe) GetMigrationsLog added in v1.94.1

func (o *PingProbe) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*PingProbe) GetNamespace added in v1.94.1

func (o *PingProbe) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*PingProbe) GetUpdateTime added in v1.94.1

func (o *PingProbe) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*PingProbe) GetZHash added in v1.94.1

func (o *PingProbe) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*PingProbe) GetZone added in v1.94.1

func (o *PingProbe) GetZone() int

GetZone returns the Zone of the receiver.

func (*PingProbe) Identifier added in v1.94.1

func (o *PingProbe) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PingProbe) Identity added in v1.94.1

func (o *PingProbe) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PingProbe) Patch added in v1.94.1

func (o *PingProbe) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePingProbe to the object.

func (*PingProbe) SetBSON added in v1.94.1

func (o *PingProbe) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PingProbe) SetCreateTime added in v1.94.1

func (o *PingProbe) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*PingProbe) SetIdentifier added in v1.94.1

func (o *PingProbe) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PingProbe) SetMigrationsLog added in v1.94.1

func (o *PingProbe) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*PingProbe) SetNamespace added in v1.94.1

func (o *PingProbe) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*PingProbe) SetUpdateTime added in v1.94.1

func (o *PingProbe) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*PingProbe) SetZHash added in v1.94.1

func (o *PingProbe) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*PingProbe) SetZone added in v1.94.1

func (o *PingProbe) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*PingProbe) SpecificationForAttribute added in v1.94.1

func (*PingProbe) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PingProbe) String added in v1.94.1

func (o *PingProbe) String() string

func (*PingProbe) ToSparse added in v1.94.1

func (o *PingProbe) 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 (*PingProbe) Validate added in v1.94.1

func (o *PingProbe) Validate() error

Validate valides the current information stored into the structure.

func (*PingProbe) ValueForAttribute added in v1.94.1

func (o *PingProbe) ValueForAttribute(name string) interface{}

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 (*PingProbe) Version added in v1.94.1

func (o *PingProbe) Version() int

Version returns the hardcoded version of the model.

type PingProbeClaimsTypeValue added in v1.94.1

type PingProbeClaimsTypeValue string

PingProbeClaimsTypeValue represents the possible values for attribute "claimsType".

const (
	// PingProbeClaimsTypeReceived represents the value Received.
	PingProbeClaimsTypeReceived PingProbeClaimsTypeValue = "Received"

	// PingProbeClaimsTypeTransmitted represents the value Transmitted.
	PingProbeClaimsTypeTransmitted PingProbeClaimsTypeValue = "Transmitted"
)

type PingProbePayloadSizeTypeValue added in v1.94.1

type PingProbePayloadSizeTypeValue string

PingProbePayloadSizeTypeValue represents the possible values for attribute "payloadSizeType".

const (
	// PingProbePayloadSizeTypeReceived represents the value Received.
	PingProbePayloadSizeTypeReceived PingProbePayloadSizeTypeValue = "Received"

	// PingProbePayloadSizeTypeTransmitted represents the value Transmitted.
	PingProbePayloadSizeTypeTransmitted PingProbePayloadSizeTypeValue = "Transmitted"
)

type PingProbeRemoteEndpointTypeValue added in v1.94.1

type PingProbeRemoteEndpointTypeValue string

PingProbeRemoteEndpointTypeValue represents the possible values for attribute "remoteEndpointType".

const (
	// PingProbeRemoteEndpointTypeExternal represents the value External.
	PingProbeRemoteEndpointTypeExternal PingProbeRemoteEndpointTypeValue = "External"

	// PingProbeRemoteEndpointTypeProcessingUnit represents the value ProcessingUnit.
	PingProbeRemoteEndpointTypeProcessingUnit PingProbeRemoteEndpointTypeValue = "ProcessingUnit"
)

type PingProbeRemoteNamespaceTypeValue added in v1.94.1

type PingProbeRemoteNamespaceTypeValue string

PingProbeRemoteNamespaceTypeValue represents the possible values for attribute "remoteNamespaceType".

const (
	// PingProbeRemoteNamespaceTypeHash represents the value Hash.
	PingProbeRemoteNamespaceTypeHash PingProbeRemoteNamespaceTypeValue = "Hash"

	// PingProbeRemoteNamespaceTypePlain represents the value Plain.
	PingProbeRemoteNamespaceTypePlain PingProbeRemoteNamespaceTypeValue = "Plain"
)

type PingProbeTypeValue added in v1.94.1

type PingProbeTypeValue string

PingProbeTypeValue represents the possible values for attribute "type".

const (
	// PingProbeTypeRequest represents the value Request.
	PingProbeTypeRequest PingProbeTypeValue = "Request"

	// PingProbeTypeResponse represents the value Response.
	PingProbeTypeResponse PingProbeTypeValue = "Response"
)

type PingProbesList added in v1.94.1

type PingProbesList []*PingProbe

PingProbesList represents a list of PingProbes

func (PingProbesList) Append added in v1.94.1

Append appends the objects to the a new copy of the PingProbesList.

func (PingProbesList) Copy added in v1.94.1

Copy returns a pointer to a copy the PingProbesList.

func (PingProbesList) DefaultOrder added in v1.94.1

func (o PingProbesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PingProbesList) Identity added in v1.94.1

func (o PingProbesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PingProbesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (PingProbesList) ToSparse added in v1.94.1

func (o PingProbesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PingProbesList converted to SparsePingProbesList. Objects in the list will only contain the given fields. No field means entire field set.

func (PingProbesList) Version added in v1.94.1

func (o PingProbesList) Version() int

Version returns the version of the content.

type PingRequest added in v1.94.1

type PingRequest struct {
	// Number of probes that will be triggered.
	Iterations int `json:"iterations" msgpack:"iterations" bson:"-" mapstructure:"iterations,omitempty"`

	// Unique ID generated for each ping request.
	PingID string `json:"pingID" msgpack:"pingID" bson:"-" mapstructure:"pingID,omitempty"`

	// Contains the refresh ID set by processing unit refresh event.
	RefreshID string `json:"refreshID" msgpack:"refreshID" bson:"-" mapstructure:"refreshID,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PingRequest represents the model of a pingrequest

func NewPingRequest added in v1.94.1

func NewPingRequest() *PingRequest

NewPingRequest returns a new *PingRequest

func (*PingRequest) AttributeSpecifications added in v1.94.1

func (*PingRequest) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PingRequest) BleveType added in v1.94.1

func (o *PingRequest) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PingRequest) DeepCopy added in v1.94.1

func (o *PingRequest) DeepCopy() *PingRequest

DeepCopy returns a deep copy if the PingRequest.

func (*PingRequest) DeepCopyInto added in v1.94.1

func (o *PingRequest) DeepCopyInto(out *PingRequest)

DeepCopyInto copies the receiver into the given *PingRequest.

func (*PingRequest) DefaultOrder added in v1.94.1

func (o *PingRequest) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PingRequest) Doc added in v1.94.1

func (o *PingRequest) Doc() string

Doc returns the documentation for the object

func (*PingRequest) GetBSON added in v1.94.1

func (o *PingRequest) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PingRequest) Identifier added in v1.94.1

func (o *PingRequest) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PingRequest) Identity added in v1.94.1

func (o *PingRequest) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PingRequest) Patch added in v1.94.1

func (o *PingRequest) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePingRequest to the object.

func (*PingRequest) SetBSON added in v1.94.1

func (o *PingRequest) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PingRequest) SetIdentifier added in v1.94.1

func (o *PingRequest) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PingRequest) SpecificationForAttribute added in v1.94.1

func (*PingRequest) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PingRequest) String added in v1.94.1

func (o *PingRequest) String() string

func (*PingRequest) ToSparse added in v1.94.1

func (o *PingRequest) 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 (*PingRequest) Validate added in v1.94.1

func (o *PingRequest) Validate() error

Validate valides the current information stored into the structure.

func (*PingRequest) ValueForAttribute added in v1.94.1

func (o *PingRequest) ValueForAttribute(name string) interface{}

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 (*PingRequest) Version added in v1.94.1

func (o *PingRequest) Version() int

Version returns the hardcoded version of the model.

type PingRequestsList added in v1.94.1

type PingRequestsList []*PingRequest

PingRequestsList represents a list of PingRequests

func (PingRequestsList) Append added in v1.94.1

Append appends the objects to the a new copy of the PingRequestsList.

func (PingRequestsList) Copy added in v1.94.1

Copy returns a pointer to a copy the PingRequestsList.

func (PingRequestsList) DefaultOrder added in v1.94.1

func (o PingRequestsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PingRequestsList) Identity added in v1.94.1

func (o PingRequestsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PingRequestsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (PingRequestsList) ToSparse added in v1.94.1

func (o PingRequestsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PingRequestsList converted to SparsePingRequestsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PingRequestsList) Version added in v1.94.1

func (o PingRequestsList) Version() int

Version returns the version of the content.

type PingResult added in v1.94.1

type PingResult struct {
	// 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"`

	// May contain a list of errors that have happened during the collection.
	Errors []string `json:"errors,omitempty" msgpack:"errors,omitempty" bson:"errors,omitempty" mapstructure:"errors,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the Ping ID.
	PingID string `json:"pingID" msgpack:"pingID" bson:"pingid" mapstructure:"pingID,omitempty"`

	// Contains the result of aggregated ping pairs.
	PingPairs []*PingPair `json:"pingPairs" msgpack:"pingPairs" bson:"pingpairs" mapstructure:"pingPairs,omitempty"`

	// Contains the refresh ID set by processing unit refresh event.
	RefreshID string `json:"refreshID" msgpack:"refreshID" bson:"refreshid" mapstructure:"refreshID,omitempty"`

	// Contains information about missing probes in the result. This field will be
	// populated in the ping probe is managed by a remote controller (federation) or is
	// stored in a namespace you don't have any permissions on.
	RemoteProbes []*RemotePingProbe `` /* 130-byte string literal not displayed */

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PingResult represents the model of a pingresult

func NewPingResult added in v1.94.1

func NewPingResult() *PingResult

NewPingResult returns a new *PingResult

func (*PingResult) AttributeSpecifications added in v1.94.1

func (*PingResult) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PingResult) BleveType added in v1.94.1

func (o *PingResult) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PingResult) DeepCopy added in v1.94.1

func (o *PingResult) DeepCopy() *PingResult

DeepCopy returns a deep copy if the PingResult.

func (*PingResult) DeepCopyInto added in v1.94.1

func (o *PingResult) DeepCopyInto(out *PingResult)

DeepCopyInto copies the receiver into the given *PingResult.

func (*PingResult) DefaultOrder added in v1.94.1

func (o *PingResult) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PingResult) Doc added in v1.94.1

func (o *PingResult) Doc() string

Doc returns the documentation for the object

func (*PingResult) GetBSON added in v1.94.1

func (o *PingResult) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PingResult) GetCreateTime added in v1.94.1

func (o *PingResult) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*PingResult) GetMigrationsLog added in v1.94.1

func (o *PingResult) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*PingResult) GetNamespace added in v1.94.1

func (o *PingResult) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*PingResult) GetUpdateTime added in v1.94.1

func (o *PingResult) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*PingResult) GetZHash added in v1.94.1

func (o *PingResult) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*PingResult) GetZone added in v1.94.1

func (o *PingResult) GetZone() int

GetZone returns the Zone of the receiver.

func (*PingResult) Identifier added in v1.94.1

func (o *PingResult) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PingResult) Identity added in v1.94.1

func (o *PingResult) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PingResult) Patch added in v1.94.1

func (o *PingResult) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePingResult to the object.

func (*PingResult) SetBSON added in v1.94.1

func (o *PingResult) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PingResult) SetCreateTime added in v1.94.1

func (o *PingResult) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*PingResult) SetIdentifier added in v1.94.1

func (o *PingResult) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PingResult) SetMigrationsLog added in v1.94.1

func (o *PingResult) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*PingResult) SetNamespace added in v1.94.1

func (o *PingResult) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*PingResult) SetUpdateTime added in v1.94.1

func (o *PingResult) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*PingResult) SetZHash added in v1.94.1

func (o *PingResult) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*PingResult) SetZone added in v1.94.1

func (o *PingResult) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*PingResult) SpecificationForAttribute added in v1.94.1

func (*PingResult) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PingResult) String added in v1.94.1

func (o *PingResult) String() string

func (*PingResult) ToSparse added in v1.94.1

func (o *PingResult) 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 (*PingResult) Validate added in v1.94.1

func (o *PingResult) Validate() error

Validate valides the current information stored into the structure.

func (*PingResult) ValueForAttribute added in v1.94.1

func (o *PingResult) ValueForAttribute(name string) interface{}

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 (*PingResult) Version added in v1.94.1

func (o *PingResult) Version() int

Version returns the hardcoded version of the model.

type PingResultsList added in v1.94.1

type PingResultsList []*PingResult

PingResultsList represents a list of PingResults

func (PingResultsList) Append added in v1.94.1

Append appends the objects to the a new copy of the PingResultsList.

func (PingResultsList) Copy added in v1.94.1

Copy returns a pointer to a copy the PingResultsList.

func (PingResultsList) DefaultOrder added in v1.94.1

func (o PingResultsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PingResultsList) Identity added in v1.94.1

func (o PingResultsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PingResultsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (PingResultsList) ToSparse added in v1.94.1

func (o PingResultsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PingResultsList converted to SparsePingResultsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PingResultsList) Version added in v1.94.1

func (o PingResultsList) Version() int

Version returns the version of the content.

type Plan

type Plan struct {
	// Contains the description of the plan.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Contains the key identifier of the plan.
	Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"`

	// Contains the name of the plan.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Defines the quota for each identity.
	Quotas map[string]int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// RequireAdminValidation indicates if the plan requires an admin approval.
	RequireAdminValidation bool `json:"-" msgpack:"-" bson:"requireadminvalidation" mapstructure:"-,omitempty"`

	// Roles defines the roles given to the account.
	Roles []string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Plan represents the model of a plan

func NewPlan

func NewPlan() *Plan

NewPlan returns a new *Plan

func (*Plan) AttributeSpecifications

func (*Plan) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Plan) BleveType added in v1.1.0

func (o *Plan) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Plan) DeepCopy

func (o *Plan) DeepCopy() *Plan

DeepCopy returns a deep copy if the Plan.

func (*Plan) DeepCopyInto

func (o *Plan) DeepCopyInto(out *Plan)

DeepCopyInto copies the receiver into the given *Plan.

func (*Plan) DefaultOrder

func (o *Plan) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Plan) Doc

func (o *Plan) Doc() string

Doc returns the documentation for the object

func (*Plan) GetBSON added in v1.80.0

func (o *Plan) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Plan) Identifier

func (o *Plan) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Plan) Identity

func (o *Plan) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Plan) Patch

func (o *Plan) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePlan to the object.

func (*Plan) SetBSON added in v1.80.0

func (o *Plan) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Plan) SetIdentifier

func (o *Plan) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Plan) SpecificationForAttribute

func (*Plan) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Plan) String

func (o *Plan) String() string

func (*Plan) ToSparse

func (o *Plan) 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 (*Plan) Validate

func (o *Plan) Validate() error

Validate valides the current information stored into the structure.

func (*Plan) ValueForAttribute

func (o *Plan) ValueForAttribute(name string) interface{}

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 (*Plan) Version

func (o *Plan) Version() int

Version returns the hardcoded version of the model.

type PlansList

type PlansList []*Plan

PlansList represents a list of Plans

func (PlansList) Append

Append appends the objects to the a new copy of the PlansList.

func (PlansList) Copy

Copy returns a pointer to a copy the PlansList.

func (PlansList) DefaultOrder

func (o PlansList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PlansList) Identity

func (o PlansList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PlansList) List

List converts the object to an elemental.IdentifiablesList.

func (PlansList) ToSparse

func (o PlansList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PlansList converted to SparsePlansList. Objects in the list will only contain the given fields. No field means entire field set.

func (PlansList) Version

func (o PlansList) Version() int

Version returns the version of the content.

type Poke

type Poke struct {
	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Poke represents the model of a poke

func NewPoke

func NewPoke() *Poke

NewPoke returns a new *Poke

func (*Poke) AttributeSpecifications

func (*Poke) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Poke) BleveType added in v1.1.0

func (o *Poke) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Poke) DeepCopy

func (o *Poke) DeepCopy() *Poke

DeepCopy returns a deep copy if the Poke.

func (*Poke) DeepCopyInto

func (o *Poke) DeepCopyInto(out *Poke)

DeepCopyInto copies the receiver into the given *Poke.

func (*Poke) DefaultOrder

func (o *Poke) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Poke) Doc

func (o *Poke) Doc() string

Doc returns the documentation for the object

func (*Poke) GetBSON added in v1.80.0

func (o *Poke) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Poke) Identifier

func (o *Poke) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Poke) Identity

func (o *Poke) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Poke) Patch

func (o *Poke) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePoke to the object.

func (*Poke) SetBSON added in v1.80.0

func (o *Poke) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Poke) SetIdentifier

func (o *Poke) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Poke) SpecificationForAttribute

func (*Poke) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Poke) String

func (o *Poke) String() string

func (*Poke) ToSparse

func (o *Poke) 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 (*Poke) Validate

func (o *Poke) Validate() error

Validate valides the current information stored into the structure.

func (*Poke) ValueForAttribute

func (o *Poke) ValueForAttribute(name string) interface{}

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 (*Poke) Version

func (o *Poke) Version() int

Version returns the hardcoded version of the model.

type PokesList

type PokesList []*Poke

PokesList represents a list of Pokes

func (PokesList) Append

Append appends the objects to the a new copy of the PokesList.

func (PokesList) Copy

Copy returns a pointer to a copy the PokesList.

func (PokesList) DefaultOrder

func (o PokesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PokesList) Identity

func (o PokesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PokesList) List

List converts the object to an elemental.IdentifiablesList.

func (PokesList) ToSparse

func (o PokesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PokesList converted to SparsePokesList. Objects in the list will only contain the given fields. No field means entire field set.

func (PokesList) Version

func (o PokesList) Version() int

Version returns the version of the content.

type PoliciesList

type PoliciesList []*Policy

PoliciesList represents a list of Policies

func (PoliciesList) Append

Append appends the objects to the a new copy of the PoliciesList.

func (PoliciesList) Copy

Copy returns a pointer to a copy the PoliciesList.

func (PoliciesList) DefaultOrder

func (o PoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PoliciesList) Identity

func (o PoliciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (PoliciesList) ToSparse

func (o PoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PoliciesList converted to SparsePoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (PoliciesList) Version

func (o PoliciesList) Version() int

Version returns the version of the content.

type Policy

type Policy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines a set of actions that must be enforced when a dependency is met.
	Action map[string]map[string]interface{} `json:"action" msgpack:"action" bson:"action" mapstructure:"action,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// This is a set of all object tags for matching in the DB.
	AllObjectTags []string `json:"-" msgpack:"-" bson:"allobjecttags" mapstructure:"-,omitempty"`

	// This is a set of all subject tags for matching in the DB.
	AllSubjectTags []string `json:"-" msgpack:"-" bson:"allsubjecttags" mapstructure:"-,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// If set the policy will be automatically deleted at the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Represents set of entities that another entity depends on. As subjects,
	// objects are identified as logical operations on tags when a policy is defined.
	Object [][]string `json:"object" msgpack:"object" bson:"object" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// If set to `true` while the policy is propagating, it won't be visible to
	// children
	// namespace, but still used for policy resolution.
	PropagationHidden bool `json:"propagationHidden" msgpack:"propagationHidden" bson:"propagationhidden" mapstructure:"propagationHidden,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Describes the required operation to be performed between subjects and
	// objects.
	Relation []string `json:"relation" msgpack:"relation" bson:"relation" mapstructure:"relation,omitempty"`

	// Represents sets of entities that will have a dependency other entities.
	// Subjects are defined as logical operations on tags. Logical operations can
	// include `AND` and `OR`.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// Type of the policy.
	Type PolicyTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Policy represents the model of a policy

func NewPolicy

func NewPolicy() *Policy

NewPolicy returns a new *Policy

func (*Policy) AttributeSpecifications

func (*Policy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Policy) BleveType added in v1.1.0

func (o *Policy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Policy) DeepCopy

func (o *Policy) DeepCopy() *Policy

DeepCopy returns a deep copy if the Policy.

func (*Policy) DeepCopyInto

func (o *Policy) DeepCopyInto(out *Policy)

DeepCopyInto copies the receiver into the given *Policy.

func (*Policy) DefaultOrder

func (o *Policy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Policy) Doc

func (o *Policy) Doc() string

Doc returns the documentation for the object

func (*Policy) GetActiveDuration

func (o *Policy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*Policy) GetActiveSchedule

func (o *Policy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*Policy) GetAnnotations

func (o *Policy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Policy) GetAssociatedTags

func (o *Policy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Policy) GetBSON added in v1.80.0

func (o *Policy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Policy) GetCreateIdempotencyKey

func (o *Policy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Policy) GetCreateTime

func (o *Policy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Policy) GetDescription

func (o *Policy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Policy) GetDisabled

func (o *Policy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*Policy) GetExpirationTime

func (o *Policy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*Policy) GetFallback

func (o *Policy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*Policy) GetMetadata

func (o *Policy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*Policy) GetMigrationsLog added in v1.30.0

func (o *Policy) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Policy) GetName

func (o *Policy) GetName() string

GetName returns the Name of the receiver.

func (*Policy) GetNamespace

func (o *Policy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Policy) GetNormalizedTags

func (o *Policy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Policy) GetObject

func (o *Policy) GetObject() [][]string

GetObject returns the Object of the receiver.

func (*Policy) GetPropagate

func (o *Policy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*Policy) GetPropagationHidden

func (o *Policy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*Policy) GetProtected

func (o *Policy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Policy) GetSubject

func (o *Policy) GetSubject() [][]string

GetSubject returns the Subject of the receiver.

func (*Policy) GetUpdateIdempotencyKey

func (o *Policy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Policy) GetUpdateTime

func (o *Policy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Policy) GetZHash

func (o *Policy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Policy) GetZone

func (o *Policy) GetZone() int

GetZone returns the Zone of the receiver.

func (*Policy) Identifier

func (o *Policy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Policy) Identity

func (o *Policy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Policy) Patch

func (o *Policy) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePolicy to the object.

func (*Policy) SetActiveDuration

func (o *Policy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*Policy) SetActiveSchedule

func (o *Policy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*Policy) SetAnnotations

func (o *Policy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Policy) SetAssociatedTags

func (o *Policy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Policy) SetBSON added in v1.80.0

func (o *Policy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Policy) SetCreateIdempotencyKey

func (o *Policy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Policy) SetCreateTime

func (o *Policy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Policy) SetDescription

func (o *Policy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Policy) SetDisabled

func (o *Policy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*Policy) SetExpirationTime

func (o *Policy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*Policy) SetFallback

func (o *Policy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*Policy) SetIdentifier

func (o *Policy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Policy) SetMetadata

func (o *Policy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*Policy) SetMigrationsLog added in v1.30.0

func (o *Policy) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Policy) SetName

func (o *Policy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Policy) SetNamespace

func (o *Policy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Policy) SetNormalizedTags

func (o *Policy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Policy) SetObject

func (o *Policy) SetObject(object [][]string)

SetObject sets the property Object of the receiver using the given value.

func (*Policy) SetPropagate

func (o *Policy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*Policy) SetPropagationHidden

func (o *Policy) SetPropagationHidden(propagationHidden bool)

SetPropagationHidden sets the property PropagationHidden of the receiver using the given value.

func (*Policy) SetProtected

func (o *Policy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Policy) SetSubject

func (o *Policy) SetSubject(subject [][]string)

SetSubject sets the property Subject of the receiver using the given value.

func (*Policy) SetUpdateIdempotencyKey

func (o *Policy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Policy) SetUpdateTime

func (o *Policy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Policy) SetZHash

func (o *Policy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Policy) SetZone

func (o *Policy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Policy) SpecificationForAttribute

func (*Policy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Policy) String

func (o *Policy) String() string

func (*Policy) ToSparse

func (o *Policy) 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 (*Policy) Validate

func (o *Policy) Validate() error

Validate valides the current information stored into the structure.

func (*Policy) ValueForAttribute

func (o *Policy) ValueForAttribute(name string) interface{}

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 (*Policy) Version

func (o *Policy) Version() int

Version returns the hardcoded version of the model.

type PolicyGraph

type PolicyGraph struct {
	// The set of tags that a future-activated processing unit will have for which
	// the user wants to evaluate policies and understand its connectivity options.
	PUIdentity []string `json:"PUIdentity" msgpack:"PUIdentity" bson:"-" mapstructure:"PUIdentity,omitempty"`

	// Contains the output of the policy evaluation. It is the same type of
	// dependency map as created by other APIs.
	DependencyMap *DependencyMap `json:"dependencyMap" msgpack:"dependencyMap" bson:"-" mapstructure:"dependencyMap,omitempty"`

	// Identifies the type of policy that should be analyzed: `Authorization`(default),
	// `Infrastructure`, or `Combined`.
	PolicyType PolicyGraphPolicyTypeValue `json:"policyType" msgpack:"policyType" bson:"-" mapstructure:"policyType,omitempty"`

	// Contains the tag expression that a processing unit must match in order
	// to evaluate policy for it.
	Selectors [][]string `json:"selectors" msgpack:"selectors" bson:"-" mapstructure:"selectors,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PolicyGraph represents the model of a policygraph

func NewPolicyGraph

func NewPolicyGraph() *PolicyGraph

NewPolicyGraph returns a new *PolicyGraph

func (*PolicyGraph) AttributeSpecifications

func (*PolicyGraph) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PolicyGraph) BleveType added in v1.1.0

func (o *PolicyGraph) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PolicyGraph) DeepCopy

func (o *PolicyGraph) DeepCopy() *PolicyGraph

DeepCopy returns a deep copy if the PolicyGraph.

func (*PolicyGraph) DeepCopyInto

func (o *PolicyGraph) DeepCopyInto(out *PolicyGraph)

DeepCopyInto copies the receiver into the given *PolicyGraph.

func (*PolicyGraph) DefaultOrder

func (o *PolicyGraph) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PolicyGraph) Doc

func (o *PolicyGraph) Doc() string

Doc returns the documentation for the object

func (*PolicyGraph) GetBSON added in v1.80.0

func (o *PolicyGraph) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyGraph) Identifier

func (o *PolicyGraph) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PolicyGraph) Identity

func (o *PolicyGraph) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PolicyGraph) Patch

func (o *PolicyGraph) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePolicyGraph to the object.

func (*PolicyGraph) SetBSON added in v1.80.0

func (o *PolicyGraph) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyGraph) SetIdentifier

func (o *PolicyGraph) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PolicyGraph) SpecificationForAttribute

func (*PolicyGraph) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PolicyGraph) String

func (o *PolicyGraph) String() string

func (*PolicyGraph) ToSparse

func (o *PolicyGraph) 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 (*PolicyGraph) Validate

func (o *PolicyGraph) Validate() error

Validate valides the current information stored into the structure.

func (*PolicyGraph) ValueForAttribute

func (o *PolicyGraph) ValueForAttribute(name string) interface{}

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 (*PolicyGraph) Version

func (o *PolicyGraph) Version() int

Version returns the hardcoded version of the model.

type PolicyGraphPolicyTypeValue added in v1.1.0

type PolicyGraphPolicyTypeValue string

PolicyGraphPolicyTypeValue represents the possible values for attribute "policyType".

const (
	// PolicyGraphPolicyTypeAuthorization represents the value Authorization.
	PolicyGraphPolicyTypeAuthorization PolicyGraphPolicyTypeValue = "Authorization"

	// PolicyGraphPolicyTypeCombined represents the value Combined.
	PolicyGraphPolicyTypeCombined PolicyGraphPolicyTypeValue = "Combined"

	// PolicyGraphPolicyTypeInfrastructure represents the value Infrastructure.
	PolicyGraphPolicyTypeInfrastructure PolicyGraphPolicyTypeValue = "Infrastructure"
)

type PolicyGraphsList

type PolicyGraphsList []*PolicyGraph

PolicyGraphsList represents a list of PolicyGraphs

func (PolicyGraphsList) Append

Append appends the objects to the a new copy of the PolicyGraphsList.

func (PolicyGraphsList) Copy

Copy returns a pointer to a copy the PolicyGraphsList.

func (PolicyGraphsList) DefaultOrder

func (o PolicyGraphsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PolicyGraphsList) Identity

func (o PolicyGraphsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PolicyGraphsList) List

List converts the object to an elemental.IdentifiablesList.

func (PolicyGraphsList) ToSparse

func (o PolicyGraphsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PolicyGraphsList converted to SparsePolicyGraphsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PolicyGraphsList) Version

func (o PolicyGraphsList) Version() int

Version returns the version of the content.

type PolicyRefresh

type PolicyRefresh struct {
	// Contains the original ID of the updated object.
	SourceID string `json:"sourceID" msgpack:"sourceID" bson:"sourceid" mapstructure:"sourceID,omitempty"`

	// Contains the original namespace of the updated object.
	SourceNamespace string `json:"sourceNamespace" msgpack:"sourceNamespace" bson:"sourcenamespace" mapstructure:"sourceNamespace,omitempty"`

	// Contains the policy type that is affected.
	Type string `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PolicyRefresh represents the model of a policyrefresh

func NewPolicyRefresh

func NewPolicyRefresh() *PolicyRefresh

NewPolicyRefresh returns a new *PolicyRefresh

func (*PolicyRefresh) AttributeSpecifications

func (*PolicyRefresh) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PolicyRefresh) BleveType added in v1.1.0

func (o *PolicyRefresh) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PolicyRefresh) DeepCopy

func (o *PolicyRefresh) DeepCopy() *PolicyRefresh

DeepCopy returns a deep copy if the PolicyRefresh.

func (*PolicyRefresh) DeepCopyInto

func (o *PolicyRefresh) DeepCopyInto(out *PolicyRefresh)

DeepCopyInto copies the receiver into the given *PolicyRefresh.

func (*PolicyRefresh) DefaultOrder

func (o *PolicyRefresh) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PolicyRefresh) Doc

func (o *PolicyRefresh) Doc() string

Doc returns the documentation for the object

func (*PolicyRefresh) GetBSON added in v1.80.0

func (o *PolicyRefresh) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyRefresh) Identifier

func (o *PolicyRefresh) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PolicyRefresh) Identity

func (o *PolicyRefresh) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PolicyRefresh) Patch

func (o *PolicyRefresh) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePolicyRefresh to the object.

func (*PolicyRefresh) SetBSON added in v1.80.0

func (o *PolicyRefresh) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyRefresh) SetIdentifier

func (o *PolicyRefresh) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PolicyRefresh) SpecificationForAttribute

func (*PolicyRefresh) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PolicyRefresh) String

func (o *PolicyRefresh) String() string

func (*PolicyRefresh) ToSparse

func (o *PolicyRefresh) 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 (*PolicyRefresh) Validate

func (o *PolicyRefresh) Validate() error

Validate valides the current information stored into the structure.

func (*PolicyRefresh) ValueForAttribute

func (o *PolicyRefresh) ValueForAttribute(name string) interface{}

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 (*PolicyRefresh) Version

func (o *PolicyRefresh) Version() int

Version returns the hardcoded version of the model.

type PolicyRefreshsList

type PolicyRefreshsList []*PolicyRefresh

PolicyRefreshsList represents a list of PolicyRefreshs

func (PolicyRefreshsList) Append

Append appends the objects to the a new copy of the PolicyRefreshsList.

func (PolicyRefreshsList) Copy

Copy returns a pointer to a copy the PolicyRefreshsList.

func (PolicyRefreshsList) DefaultOrder

func (o PolicyRefreshsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PolicyRefreshsList) Identity

func (o PolicyRefreshsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PolicyRefreshsList) List

List converts the object to an elemental.IdentifiablesList.

func (PolicyRefreshsList) ToSparse

func (o PolicyRefreshsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PolicyRefreshsList converted to SparsePolicyRefreshsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PolicyRefreshsList) Version

func (o PolicyRefreshsList) Version() int

Version returns the version of the content.

type PolicyRenderer

type PolicyRenderer struct {
	// List of policies rendered for the given set of tags.
	Policies PolicyRulesList `json:"policies" msgpack:"policies" bson:"-" mapstructure:"policies,omitempty"`

	// `Subject` (default): Set if the `processMode` should use the subject. `Object`:
	// Set if
	// the `processMode` should use the object. This only has effect when rendering an
	// SSH
	// authorization for now.
	ProcessMode PolicyRendererProcessModeValue `json:"processMode" msgpack:"processMode" bson:"-" mapstructure:"processMode,omitempty"`

	// List of tags of the object to render the hook for.
	Tags []string `json:"tags" msgpack:"tags" bson:"-" mapstructure:"tags,omitempty"`

	// Type of policy to render.
	Type PolicyRendererTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PolicyRenderer represents the model of a policyrenderer

func NewPolicyRenderer

func NewPolicyRenderer() *PolicyRenderer

NewPolicyRenderer returns a new *PolicyRenderer

func (*PolicyRenderer) AttributeSpecifications

func (*PolicyRenderer) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PolicyRenderer) BleveType added in v1.1.0

func (o *PolicyRenderer) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PolicyRenderer) DeepCopy

func (o *PolicyRenderer) DeepCopy() *PolicyRenderer

DeepCopy returns a deep copy if the PolicyRenderer.

func (*PolicyRenderer) DeepCopyInto

func (o *PolicyRenderer) DeepCopyInto(out *PolicyRenderer)

DeepCopyInto copies the receiver into the given *PolicyRenderer.

func (*PolicyRenderer) DefaultOrder

func (o *PolicyRenderer) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PolicyRenderer) Doc

func (o *PolicyRenderer) Doc() string

Doc returns the documentation for the object

func (*PolicyRenderer) GetBSON added in v1.80.0

func (o *PolicyRenderer) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyRenderer) Identifier

func (o *PolicyRenderer) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PolicyRenderer) Identity

func (o *PolicyRenderer) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PolicyRenderer) Patch

func (o *PolicyRenderer) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePolicyRenderer to the object.

func (*PolicyRenderer) SetBSON added in v1.80.0

func (o *PolicyRenderer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyRenderer) SetIdentifier

func (o *PolicyRenderer) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PolicyRenderer) SpecificationForAttribute

func (*PolicyRenderer) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PolicyRenderer) String

func (o *PolicyRenderer) String() string

func (*PolicyRenderer) ToSparse

func (o *PolicyRenderer) 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 (*PolicyRenderer) Validate

func (o *PolicyRenderer) Validate() error

Validate valides the current information stored into the structure.

func (*PolicyRenderer) ValueForAttribute

func (o *PolicyRenderer) ValueForAttribute(name string) interface{}

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 (*PolicyRenderer) Version

func (o *PolicyRenderer) Version() int

Version returns the hardcoded version of the model.

type PolicyRendererProcessModeValue

type PolicyRendererProcessModeValue string

PolicyRendererProcessModeValue represents the possible values for attribute "processMode".

const (
	// PolicyRendererProcessModeObject represents the value Object.
	PolicyRendererProcessModeObject PolicyRendererProcessModeValue = "Object"

	// PolicyRendererProcessModeSubject represents the value Subject.
	PolicyRendererProcessModeSubject PolicyRendererProcessModeValue = "Subject"
)

type PolicyRendererTypeValue

type PolicyRendererTypeValue string

PolicyRendererTypeValue represents the possible values for attribute "type".

const (
	// PolicyRendererTypeAPIAuthorization represents the value APIAuthorization.
	PolicyRendererTypeAPIAuthorization PolicyRendererTypeValue = "APIAuthorization"

	// PolicyRendererTypeEnforcerProfile represents the value EnforcerProfile.
	PolicyRendererTypeEnforcerProfile PolicyRendererTypeValue = "EnforcerProfile"

	// PolicyRendererTypeFile represents the value File.
	PolicyRendererTypeFile PolicyRendererTypeValue = "File"

	// PolicyRendererTypeHook represents the value Hook.
	PolicyRendererTypeHook PolicyRendererTypeValue = "Hook"

	// PolicyRendererTypeInfrastructure represents the value Infrastructure.
	PolicyRendererTypeInfrastructure PolicyRendererTypeValue = "Infrastructure"

	// PolicyRendererTypeNamespaceMapping represents the value NamespaceMapping.
	PolicyRendererTypeNamespaceMapping PolicyRendererTypeValue = "NamespaceMapping"

	// PolicyRendererTypeNetwork represents the value Network.
	PolicyRendererTypeNetwork PolicyRendererTypeValue = "Network"

	// PolicyRendererTypeProcessingUnit represents the value ProcessingUnit.
	PolicyRendererTypeProcessingUnit PolicyRendererTypeValue = "ProcessingUnit"

	// PolicyRendererTypeQuota represents the value Quota.
	PolicyRendererTypeQuota PolicyRendererTypeValue = "Quota"

	// PolicyRendererTypeSSHAuthorization represents the value SSHAuthorization.
	PolicyRendererTypeSSHAuthorization PolicyRendererTypeValue = "SSHAuthorization"

	// PolicyRendererTypeSyscall represents the value Syscall.
	PolicyRendererTypeSyscall PolicyRendererTypeValue = "Syscall"

	// PolicyRendererTypeTokenScope represents the value TokenScope.
	PolicyRendererTypeTokenScope PolicyRendererTypeValue = "TokenScope"

	// PolicyRendererTypeUserAccess represents the value UserAccess.
	PolicyRendererTypeUserAccess PolicyRendererTypeValue = "UserAccess"
)

type PolicyRenderersList

type PolicyRenderersList []*PolicyRenderer

PolicyRenderersList represents a list of PolicyRenderers

func (PolicyRenderersList) Append

Append appends the objects to the a new copy of the PolicyRenderersList.

func (PolicyRenderersList) Copy

Copy returns a pointer to a copy the PolicyRenderersList.

func (PolicyRenderersList) DefaultOrder

func (o PolicyRenderersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PolicyRenderersList) Identity

func (o PolicyRenderersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PolicyRenderersList) List

List converts the object to an elemental.IdentifiablesList.

func (PolicyRenderersList) ToSparse

func (o PolicyRenderersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PolicyRenderersList converted to SparsePolicyRenderersList. Objects in the list will only contain the given fields. No field means entire field set.

func (PolicyRenderersList) Version

func (o PolicyRenderersList) Version() int

Version returns the version of the content.

type PolicyRule

type PolicyRule struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines set of actions that must be enforced when a dependency is met.
	Action map[string]map[string]interface{} `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

	// Provides the audit profiles that must be applied.
	AuditProfiles AuditProfilesList `json:"auditProfiles,omitempty" msgpack:"auditProfiles,omitempty" bson:"-" mapstructure:"auditProfiles,omitempty"`

	// Provides information about the enforcer profile.
	EnforcerProfiles EnforcerProfilesList `json:"enforcerProfiles,omitempty" msgpack:"enforcerProfiles,omitempty" bson:"-" mapstructure:"enforcerProfiles,omitempty"`

	// Provides the external network that the policy targets.
	ExternalNetworks ExternalNetworksList `json:"externalNetworks,omitempty" msgpack:"externalNetworks,omitempty" bson:"-" mapstructure:"externalNetworks,omitempty"`

	// Provides the file paths that the policy targets.
	FilePaths FilePathsList `json:"filePaths,omitempty" msgpack:"filePaths,omitempty" bson:"-" mapstructure:"filePaths,omitempty"`

	// Provides the list of host services that must be instantiated.
	HostServices HostServicesList `json:"hostServices,omitempty" msgpack:"hostServices,omitempty" bson:"-" mapstructure:"hostServices,omitempty"`

	// Provides the isolation profiles of the rule.
	IsolationProfiles IsolationProfilesList `json:"isolationProfiles,omitempty" msgpack:"isolationProfiles,omitempty" bson:"-" mapstructure:"isolationProfiles,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// The namespace that the policy targets.
	Namespaces NamespacesList `json:"namespaces,omitempty" msgpack:"namespaces,omitempty" bson:"-" mapstructure:"namespaces,omitempty"`

	// The namespace of the policy that created this rule.
	PolicyNamespace string `json:"policyNamespace" msgpack:"policyNamespace" bson:"-" mapstructure:"policyNamespace,omitempty"`

	// Last time the policy was updated.
	PolicyUpdateTime time.Time `json:"policyUpdateTime" msgpack:"policyUpdateTime" bson:"-" mapstructure:"policyUpdateTime,omitempty"`

	// Indicates if the policy is propagated.
	Propagated bool `json:"propagated" msgpack:"propagated" bson:"-" mapstructure:"propagated,omitempty"`

	// Describes the required operation to be performed between subjects and objects.
	Relation []string `json:"relation" msgpack:"relation" bson:"-" mapstructure:"relation,omitempty"`

	// Provides the services of this policy rule.
	Services ServicesList `json:"services,omitempty" msgpack:"services,omitempty" bson:"-" mapstructure:"services,omitempty"`

	// Policy target tags.
	TagClauses [][]string `json:"tagClauses,omitempty" msgpack:"tagClauses,omitempty" bson:"-" mapstructure:"tagClauses,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PolicyRule represents the model of a policyrule

func NewPolicyRule

func NewPolicyRule() *PolicyRule

NewPolicyRule returns a new *PolicyRule

func (*PolicyRule) AttributeSpecifications

func (*PolicyRule) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PolicyRule) BleveType added in v1.1.0

func (o *PolicyRule) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PolicyRule) DeepCopy

func (o *PolicyRule) DeepCopy() *PolicyRule

DeepCopy returns a deep copy if the PolicyRule.

func (*PolicyRule) DeepCopyInto

func (o *PolicyRule) DeepCopyInto(out *PolicyRule)

DeepCopyInto copies the receiver into the given *PolicyRule.

func (*PolicyRule) DefaultOrder

func (o *PolicyRule) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PolicyRule) Doc

func (o *PolicyRule) Doc() string

Doc returns the documentation for the object

func (*PolicyRule) GetBSON added in v1.80.0

func (o *PolicyRule) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyRule) GetName

func (o *PolicyRule) GetName() string

GetName returns the Name of the receiver.

func (*PolicyRule) Identifier

func (o *PolicyRule) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PolicyRule) Identity

func (o *PolicyRule) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PolicyRule) Patch

func (o *PolicyRule) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePolicyRule to the object.

func (*PolicyRule) SetBSON added in v1.80.0

func (o *PolicyRule) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyRule) SetIdentifier

func (o *PolicyRule) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PolicyRule) SetName

func (o *PolicyRule) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*PolicyRule) SpecificationForAttribute

func (*PolicyRule) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PolicyRule) String

func (o *PolicyRule) String() string

func (*PolicyRule) ToSparse

func (o *PolicyRule) 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 (*PolicyRule) Validate

func (o *PolicyRule) Validate() error

Validate valides the current information stored into the structure.

func (*PolicyRule) ValueForAttribute

func (o *PolicyRule) ValueForAttribute(name string) interface{}

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 (*PolicyRule) Version

func (o *PolicyRule) Version() int

Version returns the hardcoded version of the model.

type PolicyRulesList

type PolicyRulesList []*PolicyRule

PolicyRulesList represents a list of PolicyRules

func (PolicyRulesList) Append

Append appends the objects to the a new copy of the PolicyRulesList.

func (PolicyRulesList) Copy

Copy returns a pointer to a copy the PolicyRulesList.

func (PolicyRulesList) DefaultOrder

func (o PolicyRulesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PolicyRulesList) Identity

func (o PolicyRulesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PolicyRulesList) List

List converts the object to an elemental.IdentifiablesList.

func (PolicyRulesList) ToSparse

func (o PolicyRulesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PolicyRulesList converted to SparsePolicyRulesList. Objects in the list will only contain the given fields. No field means entire field set.

func (PolicyRulesList) Version

func (o PolicyRulesList) Version() int

Version returns the version of the content.

type PolicyTTL

type PolicyTTL struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Time when the policy must be deleted.
	ExpirationTime time.Time `json:"-" msgpack:"-" bson:"expirationtime" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PolicyTTL represents the model of a policyttl

func NewPolicyTTL

func NewPolicyTTL() *PolicyTTL

NewPolicyTTL returns a new *PolicyTTL

func (*PolicyTTL) AttributeSpecifications

func (*PolicyTTL) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PolicyTTL) BleveType added in v1.1.0

func (o *PolicyTTL) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PolicyTTL) DeepCopy

func (o *PolicyTTL) DeepCopy() *PolicyTTL

DeepCopy returns a deep copy if the PolicyTTL.

func (*PolicyTTL) DeepCopyInto

func (o *PolicyTTL) DeepCopyInto(out *PolicyTTL)

DeepCopyInto copies the receiver into the given *PolicyTTL.

func (*PolicyTTL) DefaultOrder

func (o *PolicyTTL) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PolicyTTL) Doc

func (o *PolicyTTL) Doc() string

Doc returns the documentation for the object

func (*PolicyTTL) GetBSON added in v1.80.0

func (o *PolicyTTL) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyTTL) Identifier

func (o *PolicyTTL) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PolicyTTL) Identity

func (o *PolicyTTL) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PolicyTTL) Patch

func (o *PolicyTTL) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePolicyTTL to the object.

func (*PolicyTTL) SetBSON added in v1.80.0

func (o *PolicyTTL) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PolicyTTL) SetIdentifier

func (o *PolicyTTL) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PolicyTTL) SpecificationForAttribute

func (*PolicyTTL) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PolicyTTL) String

func (o *PolicyTTL) String() string

func (*PolicyTTL) ToSparse

func (o *PolicyTTL) 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 (*PolicyTTL) Validate

func (o *PolicyTTL) Validate() error

Validate valides the current information stored into the structure.

func (*PolicyTTL) ValueForAttribute

func (o *PolicyTTL) ValueForAttribute(name string) interface{}

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 (*PolicyTTL) Version

func (o *PolicyTTL) Version() int

Version returns the hardcoded version of the model.

type PolicyTTLsList

type PolicyTTLsList []*PolicyTTL

PolicyTTLsList represents a list of PolicyTTLs

func (PolicyTTLsList) Append

Append appends the objects to the a new copy of the PolicyTTLsList.

func (PolicyTTLsList) Copy

Copy returns a pointer to a copy the PolicyTTLsList.

func (PolicyTTLsList) DefaultOrder

func (o PolicyTTLsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PolicyTTLsList) Identity

func (o PolicyTTLsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PolicyTTLsList) List

List converts the object to an elemental.IdentifiablesList.

func (PolicyTTLsList) ToSparse

func (o PolicyTTLsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PolicyTTLsList converted to SparsePolicyTTLsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PolicyTTLsList) Version

func (o PolicyTTLsList) Version() int

Version returns the version of the content.

type PolicyTypeValue

type PolicyTypeValue string

PolicyTypeValue represents the possible values for attribute "type".

const (
	// PolicyTypeAPIAuthorization represents the value APIAuthorization.
	PolicyTypeAPIAuthorization PolicyTypeValue = "APIAuthorization"

	// PolicyTypeAuditProfileMapping represents the value AuditProfileMapping.
	PolicyTypeAuditProfileMapping PolicyTypeValue = "AuditProfileMapping"

	// PolicyTypeEnforcerProfile represents the value EnforcerProfile.
	PolicyTypeEnforcerProfile PolicyTypeValue = "EnforcerProfile"

	// PolicyTypeFile represents the value File.
	PolicyTypeFile PolicyTypeValue = "File"

	// PolicyTypeHook represents the value Hook.
	PolicyTypeHook PolicyTypeValue = "Hook"

	// PolicyTypeHostServiceMapping represents the value HostServiceMapping.
	PolicyTypeHostServiceMapping PolicyTypeValue = "HostServiceMapping"

	// PolicyTypeInfrastructure represents the value Infrastructure.
	PolicyTypeInfrastructure PolicyTypeValue = "Infrastructure"

	// PolicyTypeNamespaceMapping represents the value NamespaceMapping.
	PolicyTypeNamespaceMapping PolicyTypeValue = "NamespaceMapping"

	// PolicyTypeNetwork represents the value Network.
	PolicyTypeNetwork PolicyTypeValue = "Network"

	// PolicyTypeNetworkRuleSet represents the value NetworkRuleSet.
	PolicyTypeNetworkRuleSet PolicyTypeValue = "NetworkRuleSet"

	// PolicyTypeProcessingUnit represents the value ProcessingUnit.
	PolicyTypeProcessingUnit PolicyTypeValue = "ProcessingUnit"

	// PolicyTypeQuota represents the value Quota.
	PolicyTypeQuota PolicyTypeValue = "Quota"

	// PolicyTypeSSHAuthorization represents the value SSHAuthorization.
	PolicyTypeSSHAuthorization PolicyTypeValue = "SSHAuthorization"

	// PolicyTypeService represents the value Service.
	PolicyTypeService PolicyTypeValue = "Service"

	// PolicyTypeServiceDependency represents the value ServiceDependency.
	PolicyTypeServiceDependency PolicyTypeValue = "ServiceDependency"

	// PolicyTypeSyscall represents the value Syscall.
	PolicyTypeSyscall PolicyTypeValue = "Syscall"

	// PolicyTypeTokenScope represents the value TokenScope.
	PolicyTypeTokenScope PolicyTypeValue = "TokenScope"

	// PolicyTypeUserAccess represents the value UserAccess.
	PolicyTypeUserAccess PolicyTypeValue = "UserAccess"
)

type PollAccount added in v1.101.0

type PollAccount struct {
	// The ID of the account.
	AccountID string `json:"accountID" msgpack:"accountID" bson:"-" mapstructure:"accountID,omitempty"`

	// The region to use for authorization.
	AuthorizationRegion string `json:"authorizationRegion" msgpack:"authorizationRegion" bson:"-" mapstructure:"authorizationRegion,omitempty"`

	// The cloud type for the account.
	CloudType PollAccountCloudTypeValue `json:"cloudType" msgpack:"cloudType" bson:"-" mapstructure:"cloudType,omitempty"`

	// The name of the account.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The role that it should use to poll the account.
	Role string `json:"role" msgpack:"role" bson:"-" mapstructure:"role,omitempty"`

	// Limit polling to these regions only. If empty, all regions will be polled.
	TargetRegions []string `json:"targetRegions" msgpack:"targetRegions" bson:"-" mapstructure:"targetRegions,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

PollAccount represents the model of a pollaccount

func NewPollAccount added in v1.101.0

func NewPollAccount() *PollAccount

NewPollAccount returns a new *PollAccount

func (*PollAccount) AttributeSpecifications added in v1.101.0

func (*PollAccount) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*PollAccount) BleveType added in v1.101.0

func (o *PollAccount) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PollAccount) DeepCopy added in v1.101.0

func (o *PollAccount) DeepCopy() *PollAccount

DeepCopy returns a deep copy if the PollAccount.

func (*PollAccount) DeepCopyInto added in v1.101.0

func (o *PollAccount) DeepCopyInto(out *PollAccount)

DeepCopyInto copies the receiver into the given *PollAccount.

func (*PollAccount) DefaultOrder added in v1.101.0

func (o *PollAccount) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*PollAccount) Doc added in v1.101.0

func (o *PollAccount) Doc() string

Doc returns the documentation for the object

func (*PollAccount) GetBSON added in v1.101.0

func (o *PollAccount) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PollAccount) Identifier added in v1.101.0

func (o *PollAccount) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*PollAccount) Identity added in v1.101.0

func (o *PollAccount) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*PollAccount) Patch added in v1.101.0

func (o *PollAccount) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparsePollAccount to the object.

func (*PollAccount) SetBSON added in v1.101.0

func (o *PollAccount) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*PollAccount) SetIdentifier added in v1.101.0

func (o *PollAccount) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*PollAccount) SpecificationForAttribute added in v1.101.0

func (*PollAccount) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PollAccount) String added in v1.101.0

func (o *PollAccount) String() string

func (*PollAccount) ToSparse added in v1.101.0

func (o *PollAccount) 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 (*PollAccount) Validate added in v1.101.0

func (o *PollAccount) Validate() error

Validate valides the current information stored into the structure.

func (*PollAccount) ValueForAttribute added in v1.101.0

func (o *PollAccount) ValueForAttribute(name string) interface{}

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 (*PollAccount) Version added in v1.101.0

func (o *PollAccount) Version() int

Version returns the hardcoded version of the model.

type PollAccountCloudTypeValue added in v1.101.0

type PollAccountCloudTypeValue string

PollAccountCloudTypeValue represents the possible values for attribute "cloudType".

const (
	// PollAccountCloudTypeAWS represents the value AWS.
	PollAccountCloudTypeAWS PollAccountCloudTypeValue = "AWS"

	// PollAccountCloudTypeGCP represents the value GCP.
	PollAccountCloudTypeGCP PollAccountCloudTypeValue = "GCP"
)

type PollAccountsList added in v1.101.0

type PollAccountsList []*PollAccount

PollAccountsList represents a list of PollAccounts

func (PollAccountsList) Append added in v1.101.0

Append appends the objects to the a new copy of the PollAccountsList.

func (PollAccountsList) Copy added in v1.101.0

Copy returns a pointer to a copy the PollAccountsList.

func (PollAccountsList) DefaultOrder added in v1.101.0

func (o PollAccountsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PollAccountsList) Identity added in v1.101.0

func (o PollAccountsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PollAccountsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (PollAccountsList) ToSparse added in v1.101.0

func (o PollAccountsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the PollAccountsList converted to SparsePollAccountsList. Objects in the list will only contain the given fields. No field means entire field set.

func (PollAccountsList) Version added in v1.101.0

func (o PollAccountsList) Version() int

Version returns the version of the content.

type ProcessingUnit

type ProcessingUnit struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// The local PUID set by enforcer. Enforcer may create a local PU if it cannot
	// communicate with the Microsegmentation Console. When eventually the
	// Microsegmentation Console is able to create the PU, the `clientLocalID` will be
	// used to convert a CachedFlowReport containing a local PUID to a real FlowReport.
	ClientLocalID string `` /* 134-byte string literal not displayed */

	// A value of `true` indicates to the enforcer that it needs to collect information
	// for this processing unit.
	CollectInfo bool `json:"collectInfo" msgpack:"collectInfo" bson:"collectinfo" mapstructure:"collectInfo,omitempty"`

	// Represents the latest information collected by the enforcer for this processing
	// unit.
	CollectedInfo map[string]string `json:"collectedInfo" msgpack:"collectedInfo" bson:"collectedinfo" mapstructure:"collectedInfo,omitempty"`

	// The Microsegmentation Console identifier managing this object. This property is
	// mostly
	// useful when federating multiple Microsegmentation Consoles.
	Controller string `json:"controller" msgpack:"controller" bson:"controller" mapstructure:"controller,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The datapath type that processing units are implementing:
	// - `Aporeto`: The enforcer is managing and handling the datapath.
	// - `EnvoyAuthorizer`: The enforcer is serving Envoy-compatible gRPC APIs
	// that for example can be used by an Envoy proxy to use the Microsegmentation PKI
	// and implement Microsegmentation network policies. NOTE: The enforcer is not
	// owning the datapath in this case. It is merely providing an authorizer API.
	DatapathType ProcessingUnitDatapathTypeValue `json:"datapathType" msgpack:"datapathType" bson:"datapathtype" mapstructure:"datapathType,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Contains the state of the enforcer for the processing unit. `Inactive`
	// (default): the enforcer is not enforcing any host service. `Active`: the
	// enforcer is enforcing a host service. `Failed`: an error occurred during the
	// enforcement attempt.
	EnforcementStatus ProcessingUnitEnforcementStatusValue `json:"enforcementStatus" msgpack:"enforcementStatus" bson:"enforcementstatus" mapstructure:"enforcementStatus,omitempty"`

	// The ID of the enforcer associated with the processing unit.
	EnforcerID string `json:"enforcerID" msgpack:"enforcerID" bson:"enforcerid" mapstructure:"enforcerID,omitempty"`

	// The namespace of the enforcer associated with the processing unit.
	EnforcerNamespace string `json:"enforcerNamespace" msgpack:"enforcerNamespace" bson:"enforcernamespace" mapstructure:"enforcerNamespace,omitempty"`

	// This field is deprecated and it is there for backward compatibility. Use
	// `images` instead.
	Image string `json:"image" msgpack:"image" bson:"-" mapstructure:"image,omitempty"`

	// List of images or executable paths used by the processing unit.
	Images []string `json:"images" msgpack:"images" bson:"images" mapstructure:"images,omitempty"`

	// The date and time when the information was collected.
	LastCollectionTime time.Time `json:"lastCollectionTime" msgpack:"lastCollectionTime" bson:"lastcollectiontime" mapstructure:"lastCollectionTime,omitempty"`

	// Time and date of the processing unit set by the enforcer.
	LastLocalTimestamp time.Time `json:"lastLocalTimestamp" msgpack:"lastLocalTimestamp" bson:"-" mapstructure:"lastLocalTimestamp,omitempty"`

	// The date and time of the last policy resolution.
	LastSyncTime time.Time `json:"lastSyncTime" msgpack:"lastSyncTime" bson:"lastsynctime" mapstructure:"lastSyncTime,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// The Docker UUID or service PID.
	NativeContextID string `json:"nativeContextID" msgpack:"nativeContextID" bson:"nativecontextid" mapstructure:"nativeContextID,omitempty"`

	// The list of services that this processing unit has declared that it will be
	// listening to,
	// either in its activation command or by exposing the ports in a container
	// manifest.
	NetworkServices []*ProcessingUnitService `json:"networkServices" msgpack:"networkServices" bson:"networkservices" mapstructure:"networkServices,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Operational status of the processing unit: `Initialized` (default), `Paused`,
	// `Running`,
	// `Stopped`, or `Terminated`.
	OperationalStatus ProcessingUnitOperationalStatusValue `json:"operationalStatus" msgpack:"operationalStatus" bson:"operationalstatus" mapstructure:"operationalStatus,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Indicates if this processing unit must be placed in tracing mode.
	Tracing *TraceMode `json:"tracing" msgpack:"tracing" bson:"-" mapstructure:"tracing,omitempty"`

	// Type of processing unit: `APIGateway`, `Docker`, `Host`, `HostService`,
	// `LinuxService`, `WindowsService`, `RKT`, `User`, or `SSHSession`.
	Type ProcessingUnitTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// List of vulnerabilities affecting this processing unit.
	Vulnerabilities []string `json:"-" msgpack:"-" bson:"vulnerabilities" mapstructure:"-,omitempty"`

	// List of vulnerabilities affecting this processing unit.
	VulnerabilityLevel string `json:"vulnerabilityLevel" msgpack:"vulnerabilityLevel" bson:"vulnerabilitylevel" mapstructure:"vulnerabilityLevel,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProcessingUnit represents the model of a processingunit

func NewProcessingUnit

func NewProcessingUnit() *ProcessingUnit

NewProcessingUnit returns a new *ProcessingUnit

func (*ProcessingUnit) AttributeSpecifications

func (*ProcessingUnit) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ProcessingUnit) BleveType added in v1.1.0

func (o *ProcessingUnit) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProcessingUnit) DeepCopy

func (o *ProcessingUnit) DeepCopy() *ProcessingUnit

DeepCopy returns a deep copy if the ProcessingUnit.

func (*ProcessingUnit) DeepCopyInto

func (o *ProcessingUnit) DeepCopyInto(out *ProcessingUnit)

DeepCopyInto copies the receiver into the given *ProcessingUnit.

func (*ProcessingUnit) DefaultOrder

func (o *ProcessingUnit) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ProcessingUnit) Doc

func (o *ProcessingUnit) Doc() string

Doc returns the documentation for the object

func (*ProcessingUnit) GetAnnotations

func (o *ProcessingUnit) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*ProcessingUnit) GetArchived

func (o *ProcessingUnit) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*ProcessingUnit) GetAssociatedTags

func (o *ProcessingUnit) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*ProcessingUnit) GetBSON added in v1.80.0

func (o *ProcessingUnit) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProcessingUnit) GetController added in v1.94.1

func (o *ProcessingUnit) GetController() string

GetController returns the Controller of the receiver.

func (*ProcessingUnit) GetCreateIdempotencyKey

func (o *ProcessingUnit) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*ProcessingUnit) GetCreateTime

func (o *ProcessingUnit) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ProcessingUnit) GetDescription

func (o *ProcessingUnit) GetDescription() string

GetDescription returns the Description of the receiver.

func (*ProcessingUnit) GetMetadata

func (o *ProcessingUnit) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*ProcessingUnit) GetMigrationsLog added in v1.30.0

func (o *ProcessingUnit) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*ProcessingUnit) GetName

func (o *ProcessingUnit) GetName() string

GetName returns the Name of the receiver.

func (*ProcessingUnit) GetNamespace

func (o *ProcessingUnit) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ProcessingUnit) GetNormalizedTags

func (o *ProcessingUnit) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*ProcessingUnit) GetProtected

func (o *ProcessingUnit) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*ProcessingUnit) GetUpdateIdempotencyKey

func (o *ProcessingUnit) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*ProcessingUnit) GetUpdateTime

func (o *ProcessingUnit) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ProcessingUnit) GetZHash

func (o *ProcessingUnit) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ProcessingUnit) GetZone

func (o *ProcessingUnit) GetZone() int

GetZone returns the Zone of the receiver.

func (*ProcessingUnit) Identifier

func (o *ProcessingUnit) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ProcessingUnit) Identity

func (o *ProcessingUnit) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ProcessingUnit) Patch

func (o *ProcessingUnit) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseProcessingUnit to the object.

func (*ProcessingUnit) SetAnnotations

func (o *ProcessingUnit) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*ProcessingUnit) SetArchived

func (o *ProcessingUnit) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the given value.

func (*ProcessingUnit) SetAssociatedTags

func (o *ProcessingUnit) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*ProcessingUnit) SetBSON added in v1.80.0

func (o *ProcessingUnit) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProcessingUnit) SetController added in v1.94.1

func (o *ProcessingUnit) SetController(controller string)

SetController sets the property Controller of the receiver using the given value.

func (*ProcessingUnit) SetCreateIdempotencyKey

func (o *ProcessingUnit) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*ProcessingUnit) SetCreateTime

func (o *ProcessingUnit) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ProcessingUnit) SetDescription

func (o *ProcessingUnit) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*ProcessingUnit) SetIdentifier

func (o *ProcessingUnit) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ProcessingUnit) SetMetadata

func (o *ProcessingUnit) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*ProcessingUnit) SetMigrationsLog added in v1.30.0

func (o *ProcessingUnit) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*ProcessingUnit) SetName

func (o *ProcessingUnit) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*ProcessingUnit) SetNamespace

func (o *ProcessingUnit) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ProcessingUnit) SetNormalizedTags

func (o *ProcessingUnit) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*ProcessingUnit) SetProtected

func (o *ProcessingUnit) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*ProcessingUnit) SetUpdateIdempotencyKey

func (o *ProcessingUnit) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*ProcessingUnit) SetUpdateTime

func (o *ProcessingUnit) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ProcessingUnit) SetZHash

func (o *ProcessingUnit) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ProcessingUnit) SetZone

func (o *ProcessingUnit) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ProcessingUnit) SpecificationForAttribute

func (*ProcessingUnit) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ProcessingUnit) String

func (o *ProcessingUnit) String() string

func (*ProcessingUnit) ToSparse

func (o *ProcessingUnit) 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 (*ProcessingUnit) Validate

func (o *ProcessingUnit) Validate() error

Validate valides the current information stored into the structure.

func (*ProcessingUnit) ValueForAttribute

func (o *ProcessingUnit) ValueForAttribute(name string) interface{}

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 (*ProcessingUnit) Version

func (o *ProcessingUnit) Version() int

Version returns the hardcoded version of the model.

type ProcessingUnitDatapathTypeValue added in v1.86.0

type ProcessingUnitDatapathTypeValue string

ProcessingUnitDatapathTypeValue represents the possible values for attribute "datapathType".

const (
	// ProcessingUnitDatapathTypeAporeto represents the value Aporeto.
	ProcessingUnitDatapathTypeAporeto ProcessingUnitDatapathTypeValue = "Aporeto"

	// ProcessingUnitDatapathTypeEnvoyAuthorizer represents the value EnvoyAuthorizer.
	ProcessingUnitDatapathTypeEnvoyAuthorizer ProcessingUnitDatapathTypeValue = "EnvoyAuthorizer"
)

type ProcessingUnitEnforcementStatusValue

type ProcessingUnitEnforcementStatusValue string

ProcessingUnitEnforcementStatusValue represents the possible values for attribute "enforcementStatus".

const (
	// ProcessingUnitEnforcementStatusActive represents the value Active.
	ProcessingUnitEnforcementStatusActive ProcessingUnitEnforcementStatusValue = "Active"

	// ProcessingUnitEnforcementStatusFailed represents the value Failed.
	ProcessingUnitEnforcementStatusFailed ProcessingUnitEnforcementStatusValue = "Failed"

	// ProcessingUnitEnforcementStatusInactive represents the value Inactive.
	ProcessingUnitEnforcementStatusInactive ProcessingUnitEnforcementStatusValue = "Inactive"
)

type ProcessingUnitOperationalStatusValue

type ProcessingUnitOperationalStatusValue string

ProcessingUnitOperationalStatusValue represents the possible values for attribute "operationalStatus".

const (
	// ProcessingUnitOperationalStatusInitialized represents the value Initialized.
	ProcessingUnitOperationalStatusInitialized ProcessingUnitOperationalStatusValue = "Initialized"

	// ProcessingUnitOperationalStatusPaused represents the value Paused.
	ProcessingUnitOperationalStatusPaused ProcessingUnitOperationalStatusValue = "Paused"

	// ProcessingUnitOperationalStatusRunning represents the value Running.
	ProcessingUnitOperationalStatusRunning ProcessingUnitOperationalStatusValue = "Running"

	// ProcessingUnitOperationalStatusStopped represents the value Stopped.
	ProcessingUnitOperationalStatusStopped ProcessingUnitOperationalStatusValue = "Stopped"

	// ProcessingUnitOperationalStatusTerminated represents the value Terminated.
	ProcessingUnitOperationalStatusTerminated ProcessingUnitOperationalStatusValue = "Terminated"
)

type ProcessingUnitPoliciesList

type ProcessingUnitPoliciesList []*ProcessingUnitPolicy

ProcessingUnitPoliciesList represents a list of ProcessingUnitPolicies

func (ProcessingUnitPoliciesList) Append

Append appends the objects to the a new copy of the ProcessingUnitPoliciesList.

func (ProcessingUnitPoliciesList) Copy

Copy returns a pointer to a copy the ProcessingUnitPoliciesList.

func (ProcessingUnitPoliciesList) DefaultOrder

func (o ProcessingUnitPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProcessingUnitPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (ProcessingUnitPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (ProcessingUnitPoliciesList) ToSparse

ToSparse returns the ProcessingUnitPoliciesList converted to SparseProcessingUnitPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProcessingUnitPoliciesList) Version

func (o ProcessingUnitPoliciesList) Version() int

Version returns the version of the content.

type ProcessingUnitPolicy

type ProcessingUnitPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Action determines the action to take while enforcing the isolation profile.
	// NOTE: Choose `Default` if your processing unit is not supposed to make a
	// decision on isolation profiles at all.
	Action ProcessingUnitPolicyActionValue `json:"action" msgpack:"action" bson:"action" mapstructure:"action,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// The datapath type that processing units selected by `subject` should implement:
	// - `Default`: This policy is not making a decision for the datapath
	// - `Aporeto`: The enforcer is managing and handling the datapath
	// - `EnvoyAuthorizer`: The enforcer is serving Envoy-compatible gRPC APIs for
	// every processing unit that for example can be used by an Envoy proxy to use the
	// Microsegmentation PKI and implement Microsegmentation network policies. NOTE:
	// The enforcer is not going to own the datapath in this example. It is merely
	// providing an authorizer API.
	DatapathType ProcessingUnitPolicyDatapathTypeValue `json:"datapathType" msgpack:"datapathType" bson:"datapathtype" mapstructure:"datapathType,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// The isolation profiles to be mapped. Only applies to `Enforce` and
	// `LogCompliance` actions.
	IsolationProfileSelector [][]string `` /* 148-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Contains the tag expression the tags need to match for the policy to
	// apply.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProcessingUnitPolicy represents the model of a processingunitpolicy

func NewProcessingUnitPolicy

func NewProcessingUnitPolicy() *ProcessingUnitPolicy

NewProcessingUnitPolicy returns a new *ProcessingUnitPolicy

func (*ProcessingUnitPolicy) AttributeSpecifications

func (*ProcessingUnitPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ProcessingUnitPolicy) BleveType added in v1.1.0

func (o *ProcessingUnitPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProcessingUnitPolicy) DeepCopy

DeepCopy returns a deep copy if the ProcessingUnitPolicy.

func (*ProcessingUnitPolicy) DeepCopyInto

func (o *ProcessingUnitPolicy) DeepCopyInto(out *ProcessingUnitPolicy)

DeepCopyInto copies the receiver into the given *ProcessingUnitPolicy.

func (*ProcessingUnitPolicy) DefaultOrder

func (o *ProcessingUnitPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ProcessingUnitPolicy) Doc

func (o *ProcessingUnitPolicy) Doc() string

Doc returns the documentation for the object

func (*ProcessingUnitPolicy) GetActiveDuration

func (o *ProcessingUnitPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*ProcessingUnitPolicy) GetActiveSchedule

func (o *ProcessingUnitPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*ProcessingUnitPolicy) GetAnnotations

func (o *ProcessingUnitPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*ProcessingUnitPolicy) GetAssociatedTags

func (o *ProcessingUnitPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*ProcessingUnitPolicy) GetBSON added in v1.80.0

func (o *ProcessingUnitPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProcessingUnitPolicy) GetCreateIdempotencyKey

func (o *ProcessingUnitPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*ProcessingUnitPolicy) GetCreateTime

func (o *ProcessingUnitPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ProcessingUnitPolicy) GetDescription

func (o *ProcessingUnitPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*ProcessingUnitPolicy) GetDisabled

func (o *ProcessingUnitPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*ProcessingUnitPolicy) GetFallback

func (o *ProcessingUnitPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*ProcessingUnitPolicy) GetMetadata

func (o *ProcessingUnitPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*ProcessingUnitPolicy) GetName

func (o *ProcessingUnitPolicy) GetName() string

GetName returns the Name of the receiver.

func (*ProcessingUnitPolicy) GetNamespace

func (o *ProcessingUnitPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ProcessingUnitPolicy) GetNormalizedTags

func (o *ProcessingUnitPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*ProcessingUnitPolicy) GetPropagate

func (o *ProcessingUnitPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*ProcessingUnitPolicy) GetProtected

func (o *ProcessingUnitPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*ProcessingUnitPolicy) GetUpdateIdempotencyKey

func (o *ProcessingUnitPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*ProcessingUnitPolicy) GetUpdateTime

func (o *ProcessingUnitPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ProcessingUnitPolicy) Identifier

func (o *ProcessingUnitPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ProcessingUnitPolicy) Identity

func (o *ProcessingUnitPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ProcessingUnitPolicy) Patch

Patch apply the non nil value of a *SparseProcessingUnitPolicy to the object.

func (*ProcessingUnitPolicy) SetActiveDuration

func (o *ProcessingUnitPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*ProcessingUnitPolicy) SetActiveSchedule

func (o *ProcessingUnitPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*ProcessingUnitPolicy) SetAnnotations

func (o *ProcessingUnitPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*ProcessingUnitPolicy) SetAssociatedTags

func (o *ProcessingUnitPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*ProcessingUnitPolicy) SetBSON added in v1.80.0

func (o *ProcessingUnitPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProcessingUnitPolicy) SetCreateIdempotencyKey

func (o *ProcessingUnitPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*ProcessingUnitPolicy) SetCreateTime

func (o *ProcessingUnitPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ProcessingUnitPolicy) SetDescription

func (o *ProcessingUnitPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*ProcessingUnitPolicy) SetDisabled

func (o *ProcessingUnitPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*ProcessingUnitPolicy) SetFallback

func (o *ProcessingUnitPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*ProcessingUnitPolicy) SetIdentifier

func (o *ProcessingUnitPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ProcessingUnitPolicy) SetMetadata

func (o *ProcessingUnitPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*ProcessingUnitPolicy) SetName

func (o *ProcessingUnitPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*ProcessingUnitPolicy) SetNamespace

func (o *ProcessingUnitPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ProcessingUnitPolicy) SetNormalizedTags

func (o *ProcessingUnitPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*ProcessingUnitPolicy) SetPropagate

func (o *ProcessingUnitPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*ProcessingUnitPolicy) SetProtected

func (o *ProcessingUnitPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*ProcessingUnitPolicy) SetUpdateIdempotencyKey

func (o *ProcessingUnitPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*ProcessingUnitPolicy) SetUpdateTime

func (o *ProcessingUnitPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ProcessingUnitPolicy) SpecificationForAttribute

func (*ProcessingUnitPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ProcessingUnitPolicy) String

func (o *ProcessingUnitPolicy) String() string

func (*ProcessingUnitPolicy) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ProcessingUnitPolicy) Validate

func (o *ProcessingUnitPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*ProcessingUnitPolicy) ValueForAttribute

func (o *ProcessingUnitPolicy) ValueForAttribute(name string) interface{}

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 (*ProcessingUnitPolicy) Version

func (o *ProcessingUnitPolicy) Version() int

Version returns the hardcoded version of the model.

type ProcessingUnitPolicyActionValue

type ProcessingUnitPolicyActionValue string

ProcessingUnitPolicyActionValue represents the possible values for attribute "action".

const (
	// ProcessingUnitPolicyActionDefault represents the value Default.
	ProcessingUnitPolicyActionDefault ProcessingUnitPolicyActionValue = "Default"

	// ProcessingUnitPolicyActionDelete represents the value Delete.
	ProcessingUnitPolicyActionDelete ProcessingUnitPolicyActionValue = "Delete"

	// ProcessingUnitPolicyActionEnforce represents the value Enforce.
	ProcessingUnitPolicyActionEnforce ProcessingUnitPolicyActionValue = "Enforce"

	// ProcessingUnitPolicyActionLogCompliance represents the value LogCompliance.
	ProcessingUnitPolicyActionLogCompliance ProcessingUnitPolicyActionValue = "LogCompliance"

	// ProcessingUnitPolicyActionReject represents the value Reject.
	ProcessingUnitPolicyActionReject ProcessingUnitPolicyActionValue = "Reject"

	// ProcessingUnitPolicyActionSnapshot represents the value Snapshot.
	ProcessingUnitPolicyActionSnapshot ProcessingUnitPolicyActionValue = "Snapshot"

	// ProcessingUnitPolicyActionStop represents the value Stop.
	ProcessingUnitPolicyActionStop ProcessingUnitPolicyActionValue = "Stop"
)

type ProcessingUnitPolicyDatapathTypeValue added in v1.86.0

type ProcessingUnitPolicyDatapathTypeValue string

ProcessingUnitPolicyDatapathTypeValue represents the possible values for attribute "datapathType".

const (
	// ProcessingUnitPolicyDatapathTypeAporeto represents the value Aporeto.
	ProcessingUnitPolicyDatapathTypeAporeto ProcessingUnitPolicyDatapathTypeValue = "Aporeto"

	// ProcessingUnitPolicyDatapathTypeDefault represents the value Default.
	ProcessingUnitPolicyDatapathTypeDefault ProcessingUnitPolicyDatapathTypeValue = "Default"

	// ProcessingUnitPolicyDatapathTypeEnvoyAuthorizer represents the value EnvoyAuthorizer.
	ProcessingUnitPolicyDatapathTypeEnvoyAuthorizer ProcessingUnitPolicyDatapathTypeValue = "EnvoyAuthorizer"
)

type ProcessingUnitRefresh

type ProcessingUnitRefresh struct {
	// Contains the ID of the target processing unit.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// If set to true, start reporting debug information for the target processing
	// unit.
	Debug bool `json:"debug,omitempty" msgpack:"debug,omitempty" bson:"-" mapstructure:"debug,omitempty"`

	// Contains the original namespace of the processing unit.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	// Destination address to run ping.
	PingAddress string `json:"pingAddress,omitempty" msgpack:"pingAddress,omitempty" bson:"-" mapstructure:"pingAddress,omitempty"`

	// If set to true, start ping to the destination.
	PingEnabled bool `json:"pingEnabled,omitempty" msgpack:"pingEnabled,omitempty" bson:"-" mapstructure:"pingEnabled,omitempty"`

	// Number of iterations to run a ping probe.
	PingIterations int `json:"pingIterations,omitempty" msgpack:"pingIterations,omitempty" bson:"-" mapstructure:"pingIterations,omitempty"`

	// Represents the mode of ping to be used.
	PingMode ProcessingUnitRefreshPingModeValue `json:"pingMode" msgpack:"pingMode" bson:"-" mapstructure:"pingMode,omitempty"`

	// Destination port to run ping.
	PingPort int `json:"pingPort,omitempty" msgpack:"pingPort,omitempty" bson:"-" mapstructure:"pingPort,omitempty"`

	// ID unique per ProcessingUnitRefresh event.
	RefreshID string `json:"refreshID" msgpack:"refreshID" bson:"-" mapstructure:"refreshID,omitempty"`

	// If set to true, the target processing unit will refresh its policy immediately.
	RefreshPolicy bool `json:"refreshPolicy,omitempty" msgpack:"refreshPolicy,omitempty" bson:"-" mapstructure:"refreshPolicy,omitempty"`

	// Instructs the enforcer to send records for all
	// application-initiated connections for the target processing unit.
	TraceApplicationConnections bool `` /* 154-byte string literal not displayed */

	// Determines the length of the time interval that the trace must be
	// enabled, using [Golang duration
	// syntax](https://golang.org/pkg/time/#example_Duration).
	TraceDuration string `json:"traceDuration,omitempty" msgpack:"traceDuration,omitempty" bson:"-" mapstructure:"traceDuration,omitempty"`

	// Instructs the enforcers to provide an iptables trace for the target processing
	// unit.
	TraceIPTables bool `json:"traceIPTables,omitempty" msgpack:"traceIPTables,omitempty" bson:"-" mapstructure:"traceIPTables,omitempty"`

	// Instructs the enforcer to send records for all
	// network-initiated connections for the target processing unit.
	TraceNetworkConnections bool `` /* 142-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProcessingUnitRefresh represents the model of a processingunitrefresh

func NewProcessingUnitRefresh

func NewProcessingUnitRefresh() *ProcessingUnitRefresh

NewProcessingUnitRefresh returns a new *ProcessingUnitRefresh

func (*ProcessingUnitRefresh) AttributeSpecifications

func (*ProcessingUnitRefresh) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ProcessingUnitRefresh) BleveType added in v1.1.0

func (o *ProcessingUnitRefresh) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProcessingUnitRefresh) DeepCopy

DeepCopy returns a deep copy if the ProcessingUnitRefresh.

func (*ProcessingUnitRefresh) DeepCopyInto

func (o *ProcessingUnitRefresh) DeepCopyInto(out *ProcessingUnitRefresh)

DeepCopyInto copies the receiver into the given *ProcessingUnitRefresh.

func (*ProcessingUnitRefresh) DefaultOrder

func (o *ProcessingUnitRefresh) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ProcessingUnitRefresh) Doc

func (o *ProcessingUnitRefresh) Doc() string

Doc returns the documentation for the object

func (*ProcessingUnitRefresh) GetBSON added in v1.80.0

func (o *ProcessingUnitRefresh) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProcessingUnitRefresh) GetID added in v1.94.1

func (o *ProcessingUnitRefresh) GetID() string

GetID returns the ID of the receiver.

func (*ProcessingUnitRefresh) Identifier

func (o *ProcessingUnitRefresh) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ProcessingUnitRefresh) Identity

Identity returns the Identity of the object.

func (*ProcessingUnitRefresh) Patch

Patch apply the non nil value of a *SparseProcessingUnitRefresh to the object.

func (*ProcessingUnitRefresh) SetBSON added in v1.80.0

func (o *ProcessingUnitRefresh) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProcessingUnitRefresh) SetID added in v1.94.1

func (o *ProcessingUnitRefresh) SetID(ID string)

SetID sets the property ID of the receiver using the given value.

func (*ProcessingUnitRefresh) SetIdentifier

func (o *ProcessingUnitRefresh) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ProcessingUnitRefresh) SpecificationForAttribute

func (*ProcessingUnitRefresh) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ProcessingUnitRefresh) String

func (o *ProcessingUnitRefresh) String() string

func (*ProcessingUnitRefresh) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ProcessingUnitRefresh) Validate

func (o *ProcessingUnitRefresh) Validate() error

Validate valides the current information stored into the structure.

func (*ProcessingUnitRefresh) ValueForAttribute

func (o *ProcessingUnitRefresh) ValueForAttribute(name string) interface{}

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 (*ProcessingUnitRefresh) Version

func (o *ProcessingUnitRefresh) Version() int

Version returns the hardcoded version of the model.

type ProcessingUnitRefreshPingModeValue added in v1.94.1

type ProcessingUnitRefreshPingModeValue string

ProcessingUnitRefreshPingModeValue represents the possible values for attribute "pingMode".

const (
	// ProcessingUnitRefreshPingModeAuto represents the value Auto.
	ProcessingUnitRefreshPingModeAuto ProcessingUnitRefreshPingModeValue = "Auto"

	// ProcessingUnitRefreshPingModeL3 represents the value L3.
	ProcessingUnitRefreshPingModeL3 ProcessingUnitRefreshPingModeValue = "L3"

	// ProcessingUnitRefreshPingModeL4 represents the value L4.
	ProcessingUnitRefreshPingModeL4 ProcessingUnitRefreshPingModeValue = "L4"

	// ProcessingUnitRefreshPingModeL7 represents the value L7.
	ProcessingUnitRefreshPingModeL7 ProcessingUnitRefreshPingModeValue = "L7"
)

type ProcessingUnitRefreshsList

type ProcessingUnitRefreshsList []*ProcessingUnitRefresh

ProcessingUnitRefreshsList represents a list of ProcessingUnitRefreshs

func (ProcessingUnitRefreshsList) Append

Append appends the objects to the a new copy of the ProcessingUnitRefreshsList.

func (ProcessingUnitRefreshsList) Copy

Copy returns a pointer to a copy the ProcessingUnitRefreshsList.

func (ProcessingUnitRefreshsList) DefaultOrder

func (o ProcessingUnitRefreshsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProcessingUnitRefreshsList) Identity

Identity returns the identity of the objects in the list.

func (ProcessingUnitRefreshsList) List

List converts the object to an elemental.IdentifiablesList.

func (ProcessingUnitRefreshsList) ToSparse

ToSparse returns the ProcessingUnitRefreshsList converted to SparseProcessingUnitRefreshsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProcessingUnitRefreshsList) Version

func (o ProcessingUnitRefreshsList) Version() int

Version returns the version of the content.

type ProcessingUnitService

type ProcessingUnitService struct {
	// Contains the list of allowed ports and ranges.
	Ports string `json:"ports" msgpack:"ports" bson:"ports" mapstructure:"ports,omitempty"`

	// Protocol used by the service.
	Protocol int `json:"protocol" msgpack:"protocol" bson:"protocol" mapstructure:"protocol,omitempty"`

	// List of single ports or range (xx:yy).
	TargetPorts []string `json:"targetPorts" msgpack:"targetPorts" bson:"targetports" mapstructure:"targetPorts,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ProcessingUnitService represents the model of a processingunitservice

func NewProcessingUnitService

func NewProcessingUnitService() *ProcessingUnitService

NewProcessingUnitService returns a new *ProcessingUnitService

func (*ProcessingUnitService) BleveType added in v1.1.0

func (o *ProcessingUnitService) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ProcessingUnitService) DeepCopy

DeepCopy returns a deep copy if the ProcessingUnitService.

func (*ProcessingUnitService) DeepCopyInto

func (o *ProcessingUnitService) DeepCopyInto(out *ProcessingUnitService)

DeepCopyInto copies the receiver into the given *ProcessingUnitService.

func (*ProcessingUnitService) GetBSON added in v1.80.0

func (o *ProcessingUnitService) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProcessingUnitService) SetBSON added in v1.80.0

func (o *ProcessingUnitService) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ProcessingUnitService) Validate

func (o *ProcessingUnitService) Validate() error

Validate valides the current information stored into the structure.

type ProcessingUnitTypeValue

type ProcessingUnitTypeValue string

ProcessingUnitTypeValue represents the possible values for attribute "type".

const (
	// ProcessingUnitTypeAPIGateway represents the value APIGateway.
	ProcessingUnitTypeAPIGateway ProcessingUnitTypeValue = "APIGateway"

	// ProcessingUnitTypeDocker represents the value Docker.
	ProcessingUnitTypeDocker ProcessingUnitTypeValue = "Docker"

	// ProcessingUnitTypeHost represents the value Host.
	ProcessingUnitTypeHost ProcessingUnitTypeValue = "Host"

	// ProcessingUnitTypeHostService represents the value HostService.
	ProcessingUnitTypeHostService ProcessingUnitTypeValue = "HostService"

	// ProcessingUnitTypeLinuxService represents the value LinuxService.
	ProcessingUnitTypeLinuxService ProcessingUnitTypeValue = "LinuxService"

	// ProcessingUnitTypeRKT represents the value RKT.
	ProcessingUnitTypeRKT ProcessingUnitTypeValue = "RKT"

	// ProcessingUnitTypeSSHSession represents the value SSHSession.
	ProcessingUnitTypeSSHSession ProcessingUnitTypeValue = "SSHSession"

	// ProcessingUnitTypeUser represents the value User.
	ProcessingUnitTypeUser ProcessingUnitTypeValue = "User"

	// ProcessingUnitTypeWindowsService represents the value WindowsService.
	ProcessingUnitTypeWindowsService ProcessingUnitTypeValue = "WindowsService"
)

type ProcessingUnitsList

type ProcessingUnitsList []*ProcessingUnit

ProcessingUnitsList represents a list of ProcessingUnits

func (ProcessingUnitsList) Append

Append appends the objects to the a new copy of the ProcessingUnitsList.

func (ProcessingUnitsList) Copy

Copy returns a pointer to a copy the ProcessingUnitsList.

func (ProcessingUnitsList) DefaultOrder

func (o ProcessingUnitsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ProcessingUnitsList) Identity

func (o ProcessingUnitsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ProcessingUnitsList) List

List converts the object to an elemental.IdentifiablesList.

func (ProcessingUnitsList) ToSparse

func (o ProcessingUnitsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ProcessingUnitsList converted to SparseProcessingUnitsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ProcessingUnitsList) Version

func (o ProcessingUnitsList) Version() int

Version returns the version of the content.

type QuotaCheck

type QuotaCheck struct {
	// Contains the maximum number of matching entities that can be created.
	Quota int `json:"quota" msgpack:"quota" bson:"-" mapstructure:"quota,omitempty"`

	// If the parameter `remaining=true` is passed, this value will be populated with
	// the number of remaining objects in the quota.
	Remaining int `json:"remaining" msgpack:"remaining" bson:"-" mapstructure:"remaining,omitempty"`

	// The identity name of the object you want to check the quota on.
	TargetIdentity string `json:"targetIdentity" msgpack:"targetIdentity" bson:"-" mapstructure:"targetIdentity,omitempty"`

	// The namespace from which you want to check the quota on.
	TargetNamespace string `json:"targetNamespace" msgpack:"targetNamespace" bson:"-" mapstructure:"targetNamespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

QuotaCheck represents the model of a quotacheck

func NewQuotaCheck

func NewQuotaCheck() *QuotaCheck

NewQuotaCheck returns a new *QuotaCheck

func (*QuotaCheck) AttributeSpecifications

func (*QuotaCheck) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*QuotaCheck) BleveType added in v1.1.0

func (o *QuotaCheck) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*QuotaCheck) DeepCopy

func (o *QuotaCheck) DeepCopy() *QuotaCheck

DeepCopy returns a deep copy if the QuotaCheck.

func (*QuotaCheck) DeepCopyInto

func (o *QuotaCheck) DeepCopyInto(out *QuotaCheck)

DeepCopyInto copies the receiver into the given *QuotaCheck.

func (*QuotaCheck) DefaultOrder

func (o *QuotaCheck) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*QuotaCheck) Doc

func (o *QuotaCheck) Doc() string

Doc returns the documentation for the object

func (*QuotaCheck) GetBSON added in v1.80.0

func (o *QuotaCheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*QuotaCheck) Identifier

func (o *QuotaCheck) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*QuotaCheck) Identity

func (o *QuotaCheck) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*QuotaCheck) Patch

func (o *QuotaCheck) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseQuotaCheck to the object.

func (*QuotaCheck) SetBSON added in v1.80.0

func (o *QuotaCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*QuotaCheck) SetIdentifier

func (o *QuotaCheck) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*QuotaCheck) SpecificationForAttribute

func (*QuotaCheck) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*QuotaCheck) String

func (o *QuotaCheck) String() string

func (*QuotaCheck) ToSparse

func (o *QuotaCheck) 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 (*QuotaCheck) Validate

func (o *QuotaCheck) Validate() error

Validate valides the current information stored into the structure.

func (*QuotaCheck) ValueForAttribute

func (o *QuotaCheck) ValueForAttribute(name string) interface{}

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 (*QuotaCheck) Version

func (o *QuotaCheck) Version() int

Version returns the hardcoded version of the model.

type QuotaChecksList

type QuotaChecksList []*QuotaCheck

QuotaChecksList represents a list of QuotaChecks

func (QuotaChecksList) Append

Append appends the objects to the a new copy of the QuotaChecksList.

func (QuotaChecksList) Copy

Copy returns a pointer to a copy the QuotaChecksList.

func (QuotaChecksList) DefaultOrder

func (o QuotaChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (QuotaChecksList) Identity

func (o QuotaChecksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (QuotaChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (QuotaChecksList) ToSparse

func (o QuotaChecksList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the QuotaChecksList converted to SparseQuotaChecksList. Objects in the list will only contain the given fields. No field means entire field set.

func (QuotaChecksList) Version

func (o QuotaChecksList) Version() int

Version returns the version of the content.

type QuotaPoliciesList

type QuotaPoliciesList []*QuotaPolicy

QuotaPoliciesList represents a list of QuotaPolicies

func (QuotaPoliciesList) Append

Append appends the objects to the a new copy of the QuotaPoliciesList.

func (QuotaPoliciesList) Copy

Copy returns a pointer to a copy the QuotaPoliciesList.

func (QuotaPoliciesList) DefaultOrder

func (o QuotaPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (QuotaPoliciesList) Identity

func (o QuotaPoliciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (QuotaPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (QuotaPoliciesList) ToSparse

func (o QuotaPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the QuotaPoliciesList converted to SparseQuotaPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (QuotaPoliciesList) Version

func (o QuotaPoliciesList) Version() int

Version returns the version of the content.

type QuotaPolicy

type QuotaPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// If set the quota will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Contains the list of identity names where the quota will be applied.
	Identities []string `json:"identities" msgpack:"identities" bson:"identities" mapstructure:"identities,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// If set to `true` while the policy is propagating, it won't be visible to
	// children
	// namespace, but still used for policy resolution.
	PropagationHidden bool `json:"propagationHidden" msgpack:"propagationHidden" bson:"propagationhidden" mapstructure:"propagationHidden,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Specifies the maximum number of objects matching the policy subject that can be
	// created.
	Quota int `json:"quota" msgpack:"quota" bson:"-" mapstructure:"quota,omitempty"`

	// Contains the base namespace from where the count will be done.
	TargetNamespace string `json:"targetNamespace" msgpack:"targetNamespace" bson:"targetnamespace" mapstructure:"targetNamespace,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

QuotaPolicy represents the model of a quotapolicy

func NewQuotaPolicy

func NewQuotaPolicy() *QuotaPolicy

NewQuotaPolicy returns a new *QuotaPolicy

func (*QuotaPolicy) AttributeSpecifications

func (*QuotaPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*QuotaPolicy) BleveType added in v1.1.0

func (o *QuotaPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*QuotaPolicy) DeepCopy

func (o *QuotaPolicy) DeepCopy() *QuotaPolicy

DeepCopy returns a deep copy if the QuotaPolicy.

func (*QuotaPolicy) DeepCopyInto

func (o *QuotaPolicy) DeepCopyInto(out *QuotaPolicy)

DeepCopyInto copies the receiver into the given *QuotaPolicy.

func (*QuotaPolicy) DefaultOrder

func (o *QuotaPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*QuotaPolicy) Doc

func (o *QuotaPolicy) Doc() string

Doc returns the documentation for the object

func (*QuotaPolicy) GetAnnotations

func (o *QuotaPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*QuotaPolicy) GetAssociatedTags

func (o *QuotaPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*QuotaPolicy) GetBSON added in v1.80.0

func (o *QuotaPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*QuotaPolicy) GetCreateIdempotencyKey

func (o *QuotaPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*QuotaPolicy) GetCreateTime

func (o *QuotaPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*QuotaPolicy) GetDescription

func (o *QuotaPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*QuotaPolicy) GetDisabled

func (o *QuotaPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*QuotaPolicy) GetExpirationTime

func (o *QuotaPolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*QuotaPolicy) GetFallback

func (o *QuotaPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*QuotaPolicy) GetMetadata

func (o *QuotaPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*QuotaPolicy) GetName

func (o *QuotaPolicy) GetName() string

GetName returns the Name of the receiver.

func (*QuotaPolicy) GetNamespace

func (o *QuotaPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*QuotaPolicy) GetNormalizedTags

func (o *QuotaPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*QuotaPolicy) GetPropagate

func (o *QuotaPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*QuotaPolicy) GetPropagationHidden

func (o *QuotaPolicy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*QuotaPolicy) GetProtected

func (o *QuotaPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*QuotaPolicy) GetUpdateIdempotencyKey

func (o *QuotaPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*QuotaPolicy) GetUpdateTime

func (o *QuotaPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*QuotaPolicy) Identifier

func (o *QuotaPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*QuotaPolicy) Identity

func (o *QuotaPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*QuotaPolicy) Patch

func (o *QuotaPolicy) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseQuotaPolicy to the object.

func (*QuotaPolicy) SetAnnotations

func (o *QuotaPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*QuotaPolicy) SetAssociatedTags

func (o *QuotaPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*QuotaPolicy) SetBSON added in v1.80.0

func (o *QuotaPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*QuotaPolicy) SetCreateIdempotencyKey

func (o *QuotaPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*QuotaPolicy) SetCreateTime

func (o *QuotaPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*QuotaPolicy) SetDescription

func (o *QuotaPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*QuotaPolicy) SetDisabled

func (o *QuotaPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*QuotaPolicy) SetExpirationTime

func (o *QuotaPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*QuotaPolicy) SetFallback

func (o *QuotaPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*QuotaPolicy) SetIdentifier

func (o *QuotaPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*QuotaPolicy) SetMetadata

func (o *QuotaPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*QuotaPolicy) SetName

func (o *QuotaPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*QuotaPolicy) SetNamespace

func (o *QuotaPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*QuotaPolicy) SetNormalizedTags

func (o *QuotaPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*QuotaPolicy) SetPropagate

func (o *QuotaPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*QuotaPolicy) SetPropagationHidden

func (o *QuotaPolicy) SetPropagationHidden(propagationHidden bool)

SetPropagationHidden sets the property PropagationHidden of the receiver using the given value.

func (*QuotaPolicy) SetProtected

func (o *QuotaPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*QuotaPolicy) SetUpdateIdempotencyKey

func (o *QuotaPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*QuotaPolicy) SetUpdateTime

func (o *QuotaPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*QuotaPolicy) SpecificationForAttribute

func (*QuotaPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*QuotaPolicy) String

func (o *QuotaPolicy) String() string

func (*QuotaPolicy) ToSparse

func (o *QuotaPolicy) 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 (*QuotaPolicy) Validate

func (o *QuotaPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*QuotaPolicy) ValueForAttribute

func (o *QuotaPolicy) ValueForAttribute(name string) interface{}

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 (*QuotaPolicy) Version

func (o *QuotaPolicy) Version() int

Version returns the hardcoded version of the model.

type Recipe added in v1.1.0

type Recipe struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Defines the deployment mode of the recipe. If `Unrestricted`, the recipe can be
	// deployed multiple times in the current namespace and below. If `Unique`,only one
	// deployment is allowed in the current namespace and its child namespaces. If
	// `NamespaceUnique`, only one deployment is allowed in the current namespace.
	DeploymentMode RecipeDeploymentModeValue `json:"deploymentMode" msgpack:"deploymentMode" bson:"deploymentmode" mapstructure:"deploymentMode,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Contains a base64-encoded image for the recipe.
	Icon string `json:"icon" msgpack:"icon" bson:"icon" mapstructure:"icon,omitempty"`

	// The unique key of the recipe.
	Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"`

	// Defines the recipe.
	Label string `json:"label" msgpack:"label" bson:"label" mapstructure:"label,omitempty"`

	// Provides a long description of the recipe.
	LongDescription string `json:"longDescription" msgpack:"longDescription" bson:"longdescription" mapstructure:"longDescription,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Options of the recipe.
	Options *RecipeOptions `json:"options" msgpack:"options" bson:"options" mapstructure:"options,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Contains all the steps with parameters to follow for the recipe.
	Steps []*UIStep `json:"steps" msgpack:"steps" bson:"steps" mapstructure:"steps,omitempty"`

	// A string message presented upon success (optional).
	SuccessfullMessage string `json:"successfullMessage" msgpack:"successfullMessage" bson:"successfullmessage" mapstructure:"successfullMessage,omitempty"`

	// Contains the list of identities the recipes will try to create.
	TargetIdentities []string `json:"targetIdentities" msgpack:"targetIdentities" bson:"targetidentities" mapstructure:"targetIdentities,omitempty"`

	// Template of the recipe to import.
	Template string `json:"template" msgpack:"template" bson:"template" mapstructure:"template,omitempty"`

	// A hash of the template.
	TemplateHash string `json:"templateHash" msgpack:"templateHash" bson:"templatehash" mapstructure:"templateHash,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Recipe represents the model of a recipe

func NewRecipe added in v1.1.0

func NewRecipe() *Recipe

NewRecipe returns a new *Recipe

func (*Recipe) AttributeSpecifications added in v1.1.0

func (*Recipe) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Recipe) BleveType added in v1.1.0

func (o *Recipe) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Recipe) DeepCopy added in v1.1.0

func (o *Recipe) DeepCopy() *Recipe

DeepCopy returns a deep copy if the Recipe.

func (*Recipe) DeepCopyInto added in v1.1.0

func (o *Recipe) DeepCopyInto(out *Recipe)

DeepCopyInto copies the receiver into the given *Recipe.

func (*Recipe) DefaultOrder added in v1.1.0

func (o *Recipe) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Recipe) Doc added in v1.1.0

func (o *Recipe) Doc() string

Doc returns the documentation for the object

func (*Recipe) GetAnnotations added in v1.1.0

func (o *Recipe) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Recipe) GetAssociatedTags added in v1.1.0

func (o *Recipe) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Recipe) GetBSON added in v1.80.0

func (o *Recipe) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Recipe) GetCreateIdempotencyKey added in v1.1.0

func (o *Recipe) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Recipe) GetCreateTime added in v1.1.0

func (o *Recipe) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Recipe) GetDescription added in v1.1.0

func (o *Recipe) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Recipe) GetMetadata added in v1.1.0

func (o *Recipe) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*Recipe) GetMigrationsLog added in v1.30.0

func (o *Recipe) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Recipe) GetName added in v1.1.0

func (o *Recipe) GetName() string

GetName returns the Name of the receiver.

func (*Recipe) GetNamespace added in v1.1.0

func (o *Recipe) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Recipe) GetNormalizedTags added in v1.1.0

func (o *Recipe) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Recipe) GetPropagate added in v1.1.0

func (o *Recipe) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*Recipe) GetProtected added in v1.1.0

func (o *Recipe) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Recipe) GetUpdateIdempotencyKey added in v1.1.0

func (o *Recipe) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Recipe) GetUpdateTime added in v1.1.0

func (o *Recipe) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Recipe) GetZHash added in v1.1.0

func (o *Recipe) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Recipe) GetZone added in v1.1.0

func (o *Recipe) GetZone() int

GetZone returns the Zone of the receiver.

func (*Recipe) Identifier added in v1.1.0

func (o *Recipe) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Recipe) Identity added in v1.1.0

func (o *Recipe) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Recipe) Patch added in v1.1.0

func (o *Recipe) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseRecipe to the object.

func (*Recipe) SetAnnotations added in v1.1.0

func (o *Recipe) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Recipe) SetAssociatedTags added in v1.1.0

func (o *Recipe) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Recipe) SetBSON added in v1.80.0

func (o *Recipe) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Recipe) SetCreateIdempotencyKey added in v1.1.0

func (o *Recipe) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Recipe) SetCreateTime added in v1.1.0

func (o *Recipe) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Recipe) SetDescription added in v1.1.0

func (o *Recipe) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Recipe) SetIdentifier added in v1.1.0

func (o *Recipe) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Recipe) SetMetadata added in v1.1.0

func (o *Recipe) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*Recipe) SetMigrationsLog added in v1.30.0

func (o *Recipe) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Recipe) SetName added in v1.1.0

func (o *Recipe) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Recipe) SetNamespace added in v1.1.0

func (o *Recipe) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Recipe) SetNormalizedTags added in v1.1.0

func (o *Recipe) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Recipe) SetPropagate added in v1.1.0

func (o *Recipe) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*Recipe) SetProtected added in v1.1.0

func (o *Recipe) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Recipe) SetUpdateIdempotencyKey added in v1.1.0

func (o *Recipe) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Recipe) SetUpdateTime added in v1.1.0

func (o *Recipe) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Recipe) SetZHash added in v1.1.0

func (o *Recipe) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Recipe) SetZone added in v1.1.0

func (o *Recipe) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Recipe) SpecificationForAttribute added in v1.1.0

func (*Recipe) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Recipe) String added in v1.1.0

func (o *Recipe) String() string

func (*Recipe) ToSparse added in v1.1.0

func (o *Recipe) 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 (*Recipe) Validate added in v1.1.0

func (o *Recipe) Validate() error

Validate valides the current information stored into the structure.

func (*Recipe) ValueForAttribute added in v1.1.0

func (o *Recipe) ValueForAttribute(name string) interface{}

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 (*Recipe) Version added in v1.1.0

func (o *Recipe) Version() int

Version returns the hardcoded version of the model.

type RecipeDeploymentModeValue added in v1.94.1

type RecipeDeploymentModeValue string

RecipeDeploymentModeValue represents the possible values for attribute "deploymentMode".

const (
	// RecipeDeploymentModeNamespaceUnique represents the value NamespaceUnique.
	RecipeDeploymentModeNamespaceUnique RecipeDeploymentModeValue = "NamespaceUnique"

	// RecipeDeploymentModeUnique represents the value Unique.
	RecipeDeploymentModeUnique RecipeDeploymentModeValue = "Unique"

	// RecipeDeploymentModeUnrestricted represents the value Unrestricted.
	RecipeDeploymentModeUnrestricted RecipeDeploymentModeValue = "Unrestricted"
)

type RecipeOptions added in v1.1.0

type RecipeOptions struct {
	// Indicates the format of the app credential.
	AppCrendentialFormat RecipeOptionsAppCrendentialFormatValue `` /* 132-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

RecipeOptions represents the model of a recipeoptions

func NewRecipeOptions added in v1.1.0

func NewRecipeOptions() *RecipeOptions

NewRecipeOptions returns a new *RecipeOptions

func (*RecipeOptions) BleveType added in v1.1.0

func (o *RecipeOptions) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*RecipeOptions) DeepCopy added in v1.1.0

func (o *RecipeOptions) DeepCopy() *RecipeOptions

DeepCopy returns a deep copy if the RecipeOptions.

func (*RecipeOptions) DeepCopyInto added in v1.1.0

func (o *RecipeOptions) DeepCopyInto(out *RecipeOptions)

DeepCopyInto copies the receiver into the given *RecipeOptions.

func (*RecipeOptions) GetBSON added in v1.80.0

func (o *RecipeOptions) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RecipeOptions) SetBSON added in v1.80.0

func (o *RecipeOptions) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RecipeOptions) Validate added in v1.1.0

func (o *RecipeOptions) Validate() error

Validate valides the current information stored into the structure.

type RecipeOptionsAppCrendentialFormatValue added in v1.1.0

type RecipeOptionsAppCrendentialFormatValue string

RecipeOptionsAppCrendentialFormatValue represents the possible values for attribute "appCrendentialFormat".

const (
	// RecipeOptionsAppCrendentialFormatJSON represents the value JSON.
	RecipeOptionsAppCrendentialFormatJSON RecipeOptionsAppCrendentialFormatValue = "JSON"

	// RecipeOptionsAppCrendentialFormatYAML represents the value YAML.
	RecipeOptionsAppCrendentialFormatYAML RecipeOptionsAppCrendentialFormatValue = "YAML"
)

type RecipesList added in v1.1.0

type RecipesList []*Recipe

RecipesList represents a list of Recipes

func (RecipesList) Append added in v1.1.0

Append appends the objects to the a new copy of the RecipesList.

func (RecipesList) Copy added in v1.1.0

Copy returns a pointer to a copy the RecipesList.

func (RecipesList) DefaultOrder added in v1.1.0

func (o RecipesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (RecipesList) Identity added in v1.1.0

func (o RecipesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (RecipesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (RecipesList) ToSparse added in v1.1.0

func (o RecipesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the RecipesList converted to SparseRecipesList. Objects in the list will only contain the given fields. No field means entire field set.

func (RecipesList) Version added in v1.1.0

func (o RecipesList) Version() int

Version returns the version of the content.

type RemotePingProbe added in v1.94.1

type RemotePingProbe struct {
	// The controller ID that manages the ping report.
	ControllerID string `` /* 130-byte string literal not displayed */

	// The namespace where the ping report is stored. Only applicable when the remote
	// controller is empty.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Type of the namespace reported. It can be hash or plain, depending on various
	// factors.
	NamespaceType RemotePingProbeNamespaceTypeValue `json:"namespaceType" msgpack:"namespaceType" bson:"namespacetype" mapstructure:"namespaceType,omitempty"`

	// The ID of the probe. Only applicable when the remote controller is empty.
	ProbeID string `json:"probeID,omitempty" msgpack:"probeID,omitempty" bson:"probeid,omitempty" mapstructure:"probeID,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

RemotePingProbe represents the model of a remotepingprobe

func NewRemotePingProbe added in v1.94.1

func NewRemotePingProbe() *RemotePingProbe

NewRemotePingProbe returns a new *RemotePingProbe

func (*RemotePingProbe) BleveType added in v1.94.1

func (o *RemotePingProbe) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*RemotePingProbe) DeepCopy added in v1.94.1

func (o *RemotePingProbe) DeepCopy() *RemotePingProbe

DeepCopy returns a deep copy if the RemotePingProbe.

func (*RemotePingProbe) DeepCopyInto added in v1.94.1

func (o *RemotePingProbe) DeepCopyInto(out *RemotePingProbe)

DeepCopyInto copies the receiver into the given *RemotePingProbe.

func (*RemotePingProbe) GetBSON added in v1.94.1

func (o *RemotePingProbe) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RemotePingProbe) SetBSON added in v1.94.1

func (o *RemotePingProbe) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RemotePingProbe) Validate added in v1.94.1

func (o *RemotePingProbe) Validate() error

Validate valides the current information stored into the structure.

type RemotePingProbeNamespaceTypeValue added in v1.94.1

type RemotePingProbeNamespaceTypeValue string

RemotePingProbeNamespaceTypeValue represents the possible values for attribute "namespaceType".

const (
	// RemotePingProbeNamespaceTypeHash represents the value Hash.
	RemotePingProbeNamespaceTypeHash RemotePingProbeNamespaceTypeValue = "Hash"

	// RemotePingProbeNamespaceTypePlain represents the value Plain.
	RemotePingProbeNamespaceTypePlain RemotePingProbeNamespaceTypeValue = "Plain"
)

type RemoteProcessor

type RemoteProcessor struct {
	// Represents the claims of the currently managed object.
	Claims []string `json:"claims" msgpack:"claims" bson:"-" mapstructure:"claims,omitempty"`

	// Represents data received from the service.
	Input json.RawMessage `json:"input" msgpack:"input" bson:"-" mapstructure:"input,omitempty"`

	// Defines the hook's type.
	Mode RemoteProcessorModeValue `json:"mode" msgpack:"mode" bson:"-" mapstructure:"mode,omitempty"`

	// Represents the current namespace.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	// Defines the operation that is currently handled by the service.
	Operation elemental.Operation `json:"operation" msgpack:"operation" bson:"-" mapstructure:"operation,omitempty"`

	// Returns `OutputData` filled with the processor information.
	Output elemental.Identifiable `json:"output" msgpack:"output" bson:"-" mapstructure:"output,omitempty"`

	// Gives the ID of the request coming from the main server.
	RequestID string `json:"requestID" msgpack:"requestID" bson:"requestid" mapstructure:"requestID,omitempty"`

	// Represents the identity name of the managed object.
	TargetIdentity string `json:"targetIdentity" msgpack:"targetIdentity" bson:"-" mapstructure:"targetIdentity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

RemoteProcessor represents the model of a remoteprocessor

func NewRemoteProcessor

func NewRemoteProcessor() *RemoteProcessor

NewRemoteProcessor returns a new *RemoteProcessor

func (*RemoteProcessor) AttributeSpecifications

func (*RemoteProcessor) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*RemoteProcessor) BleveType added in v1.1.0

func (o *RemoteProcessor) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*RemoteProcessor) DeepCopy

func (o *RemoteProcessor) DeepCopy() *RemoteProcessor

DeepCopy returns a deep copy if the RemoteProcessor.

func (*RemoteProcessor) DeepCopyInto

func (o *RemoteProcessor) DeepCopyInto(out *RemoteProcessor)

DeepCopyInto copies the receiver into the given *RemoteProcessor.

func (*RemoteProcessor) DefaultOrder

func (o *RemoteProcessor) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*RemoteProcessor) Doc

func (o *RemoteProcessor) Doc() string

Doc returns the documentation for the object

func (*RemoteProcessor) GetBSON added in v1.80.0

func (o *RemoteProcessor) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RemoteProcessor) Identifier

func (o *RemoteProcessor) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*RemoteProcessor) Identity

func (o *RemoteProcessor) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*RemoteProcessor) Patch

func (o *RemoteProcessor) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseRemoteProcessor to the object.

func (*RemoteProcessor) SetBSON added in v1.80.0

func (o *RemoteProcessor) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RemoteProcessor) SetIdentifier

func (o *RemoteProcessor) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*RemoteProcessor) SpecificationForAttribute

func (*RemoteProcessor) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*RemoteProcessor) String

func (o *RemoteProcessor) String() string

func (*RemoteProcessor) ToSparse

func (o *RemoteProcessor) 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 (*RemoteProcessor) Validate

func (o *RemoteProcessor) Validate() error

Validate valides the current information stored into the structure.

func (*RemoteProcessor) ValueForAttribute

func (o *RemoteProcessor) ValueForAttribute(name string) interface{}

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 (*RemoteProcessor) Version

func (o *RemoteProcessor) Version() int

Version returns the hardcoded version of the model.

type RemoteProcessorModeValue

type RemoteProcessorModeValue string

RemoteProcessorModeValue represents the possible values for attribute "mode".

const (
	// RemoteProcessorModePost represents the value Post.
	RemoteProcessorModePost RemoteProcessorModeValue = "Post"

	// RemoteProcessorModePre represents the value Pre.
	RemoteProcessorModePre RemoteProcessorModeValue = "Pre"
)

type RemoteProcessorsList

type RemoteProcessorsList []*RemoteProcessor

RemoteProcessorsList represents a list of RemoteProcessors

func (RemoteProcessorsList) Append

Append appends the objects to the a new copy of the RemoteProcessorsList.

func (RemoteProcessorsList) Copy

Copy returns a pointer to a copy the RemoteProcessorsList.

func (RemoteProcessorsList) DefaultOrder

func (o RemoteProcessorsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (RemoteProcessorsList) Identity

Identity returns the identity of the objects in the list.

func (RemoteProcessorsList) List

List converts the object to an elemental.IdentifiablesList.

func (RemoteProcessorsList) ToSparse

func (o RemoteProcessorsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the RemoteProcessorsList converted to SparseRemoteProcessorsList. Objects in the list will only contain the given fields. No field means entire field set.

func (RemoteProcessorsList) Version

func (o RemoteProcessorsList) Version() int

Version returns the version of the content.

type RenderTemplate added in v1.1.0

type RenderTemplate struct {
	// Holds the rendered template.
	Output string `json:"output" msgpack:"output" bson:"-" mapstructure:"output,omitempty"`

	// Contains the computed parameters.
	Parameters map[string]interface{} `json:"parameters" msgpack:"parameters" bson:"-" mapstructure:"parameters,omitempty"`

	// Template of the recipe.
	Template string `json:"template" msgpack:"template" bson:"-" mapstructure:"template,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

RenderTemplate represents the model of a rendertemplate

func NewRenderTemplate added in v1.1.0

func NewRenderTemplate() *RenderTemplate

NewRenderTemplate returns a new *RenderTemplate

func (*RenderTemplate) AttributeSpecifications added in v1.1.0

func (*RenderTemplate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*RenderTemplate) BleveType added in v1.1.0

func (o *RenderTemplate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*RenderTemplate) DeepCopy added in v1.1.0

func (o *RenderTemplate) DeepCopy() *RenderTemplate

DeepCopy returns a deep copy if the RenderTemplate.

func (*RenderTemplate) DeepCopyInto added in v1.1.0

func (o *RenderTemplate) DeepCopyInto(out *RenderTemplate)

DeepCopyInto copies the receiver into the given *RenderTemplate.

func (*RenderTemplate) DefaultOrder added in v1.1.0

func (o *RenderTemplate) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*RenderTemplate) Doc added in v1.1.0

func (o *RenderTemplate) Doc() string

Doc returns the documentation for the object

func (*RenderTemplate) GetBSON added in v1.80.0

func (o *RenderTemplate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RenderTemplate) Identifier added in v1.1.0

func (o *RenderTemplate) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*RenderTemplate) Identity added in v1.1.0

func (o *RenderTemplate) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*RenderTemplate) Patch added in v1.1.0

func (o *RenderTemplate) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseRenderTemplate to the object.

func (*RenderTemplate) SetBSON added in v1.80.0

func (o *RenderTemplate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RenderTemplate) SetIdentifier added in v1.1.0

func (o *RenderTemplate) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*RenderTemplate) SpecificationForAttribute added in v1.1.0

func (*RenderTemplate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*RenderTemplate) String added in v1.1.0

func (o *RenderTemplate) String() string

func (*RenderTemplate) ToSparse added in v1.1.0

func (o *RenderTemplate) 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 (*RenderTemplate) Validate added in v1.1.0

func (o *RenderTemplate) Validate() error

Validate valides the current information stored into the structure.

func (*RenderTemplate) ValueForAttribute added in v1.1.0

func (o *RenderTemplate) ValueForAttribute(name string) interface{}

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 (*RenderTemplate) Version added in v1.1.0

func (o *RenderTemplate) Version() int

Version returns the hardcoded version of the model.

type RenderTemplatesList added in v1.1.0

type RenderTemplatesList []*RenderTemplate

RenderTemplatesList represents a list of RenderTemplates

func (RenderTemplatesList) Append added in v1.1.0

Append appends the objects to the a new copy of the RenderTemplatesList.

func (RenderTemplatesList) Copy added in v1.1.0

Copy returns a pointer to a copy the RenderTemplatesList.

func (RenderTemplatesList) DefaultOrder added in v1.1.0

func (o RenderTemplatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (RenderTemplatesList) Identity added in v1.1.0

func (o RenderTemplatesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (RenderTemplatesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (RenderTemplatesList) ToSparse added in v1.1.0

func (o RenderTemplatesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the RenderTemplatesList converted to SparseRenderTemplatesList. Objects in the list will only contain the given fields. No field means entire field set.

func (RenderTemplatesList) Version added in v1.1.0

func (o RenderTemplatesList) Version() int

Version returns the version of the content.

type RenderedPoliciesList

type RenderedPoliciesList []*RenderedPolicy

RenderedPoliciesList represents a list of RenderedPolicies

func (RenderedPoliciesList) Append

Append appends the objects to the a new copy of the RenderedPoliciesList.

func (RenderedPoliciesList) Copy

Copy returns a pointer to a copy the RenderedPoliciesList.

func (RenderedPoliciesList) DefaultOrder

func (o RenderedPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (RenderedPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (RenderedPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (RenderedPoliciesList) ToSparse

func (o RenderedPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the RenderedPoliciesList converted to SparseRenderedPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (RenderedPoliciesList) Version

func (o RenderedPoliciesList) Version() int

Version returns the version of the content.

type RenderedPolicy

type RenderedPolicy struct {
	// The certificate associated with this processing unit. It will identify the
	// processing unit to any internal or external services.
	Certificate string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// The datapath type that this processing unit must implement according to
	// the rendered policy:
	// - `Default`: This policy is not making a decision for the datapath.
	// - `Aporeto`: The enforcer is managing and handling the datapath.
	// - `EnvoyAuthorizer`: The enforcer is serving Envoy-compatible gRPC APIs
	// that for example can be used by an Envoy proxy to use the Microsegmentation PKI
	// and implement Microsegmentation network policies. NOTE: The enforcer is not
	// owning the datapath in this case. It is merely providing an authorizer API.
	DatapathType RenderedPolicyDatapathTypeValue `json:"datapathType,omitempty" msgpack:"datapathType,omitempty" bson:"-" mapstructure:"datapathType,omitempty"`

	// Describes the default for incoming traffic.
	DefaultPUIncomingTrafficAction RenderedPolicyDefaultPUIncomingTrafficActionValue `` /* 143-byte string literal not displayed */

	// Describes the default for outgoing traffic.
	DefaultPUOutgoingTrafficAction RenderedPolicyDefaultPUOutgoingTrafficActionValue `` /* 143-byte string literal not displayed */

	// The list of services that this processing unit depends on.
	DependendServices ServicesList `json:"dependendServices" msgpack:"dependendServices" bson:"-" mapstructure:"dependendServices,omitempty"`

	// Lists all the egress policies attached to processing unit.
	EgressPolicies map[string]PolicyRulesList `json:"egressPolicies,omitempty" msgpack:"egressPolicies,omitempty" bson:"-" mapstructure:"egressPolicies,omitempty"`

	// The list of services that this processing unit is implementing.
	ExposedServices ServicesList `json:"exposedServices" msgpack:"exposedServices" bson:"-" mapstructure:"exposedServices,omitempty"`

	// Contains the list of all tags and their hashed that have been used.
	HashedTags map[string]string `json:"hashedTags" msgpack:"hashedTags" bson:"-" mapstructure:"hashedTags,omitempty"`

	// Lists all the ingress policies attached to the processing unit.
	IngressPolicies map[string]PolicyRulesList `json:"ingressPolicies,omitempty" msgpack:"ingressPolicies,omitempty" bson:"-" mapstructure:"ingressPolicies,omitempty"`

	// Contains the list of tags that matched the policies.
	MatchingTags []string `json:"matchingTags,omitempty" msgpack:"matchingTags,omitempty" bson:"-" mapstructure:"matchingTags,omitempty"`

	// Can be set during a `POST` operation to render a policy on a processing unit
	// that has not been created yet.
	ProcessingUnit *ProcessingUnit `json:"processingUnit,omitempty" msgpack:"processingUnit,omitempty" bson:"-" mapstructure:"processingUnit,omitempty"`

	// Identifier of the processing unit.
	ProcessingUnitID string `json:"processingUnitID,omitempty" msgpack:"processingUnitID,omitempty" bson:"-" mapstructure:"processingUnitID,omitempty"`

	// Can be set during a `POST` operation to render a policy on a processing unit
	// tags.
	ProcessingUnitTags []string `` /* 127-byte string literal not displayed */

	// Indicates the version of the engine used to render the policies.
	RendererVersion int `json:"rendererVersion,omitempty" msgpack:"rendererVersion,omitempty" bson:"-" mapstructure:"rendererVersion,omitempty"`

	// Lists all the rule set policies attached to processing unit.
	RuleSetPolicies PolicyRulesList `json:"ruleSetPolicies,omitempty" msgpack:"ruleSetPolicies,omitempty" bson:"-" mapstructure:"ruleSetPolicies,omitempty"`

	// The set of scopes granted to this processing unit that has to be
	// present in HTTP requests.
	Scopes []string `json:"scopes" msgpack:"scopes" bson:"scopes" mapstructure:"scopes,omitempty"`

	// Contains the list of tags that must go on the wire.
	WireTags []string `json:"wireTags,omitempty" msgpack:"wireTags,omitempty" bson:"-" mapstructure:"wireTags,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

RenderedPolicy represents the model of a renderedpolicy

func NewRenderedPolicy

func NewRenderedPolicy() *RenderedPolicy

NewRenderedPolicy returns a new *RenderedPolicy

func (*RenderedPolicy) AttributeSpecifications

func (*RenderedPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*RenderedPolicy) BleveType added in v1.1.0

func (o *RenderedPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*RenderedPolicy) DeepCopy

func (o *RenderedPolicy) DeepCopy() *RenderedPolicy

DeepCopy returns a deep copy if the RenderedPolicy.

func (*RenderedPolicy) DeepCopyInto

func (o *RenderedPolicy) DeepCopyInto(out *RenderedPolicy)

DeepCopyInto copies the receiver into the given *RenderedPolicy.

func (*RenderedPolicy) DefaultOrder

func (o *RenderedPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*RenderedPolicy) Doc

func (o *RenderedPolicy) Doc() string

Doc returns the documentation for the object

func (*RenderedPolicy) GetBSON added in v1.80.0

func (o *RenderedPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RenderedPolicy) Identifier

func (o *RenderedPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*RenderedPolicy) Identity

func (o *RenderedPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*RenderedPolicy) Patch

func (o *RenderedPolicy) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseRenderedPolicy to the object.

func (*RenderedPolicy) SetBSON added in v1.80.0

func (o *RenderedPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*RenderedPolicy) SetIdentifier

func (o *RenderedPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*RenderedPolicy) SpecificationForAttribute

func (*RenderedPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*RenderedPolicy) String

func (o *RenderedPolicy) String() string

func (*RenderedPolicy) ToSparse

func (o *RenderedPolicy) 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 (*RenderedPolicy) Validate

func (o *RenderedPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*RenderedPolicy) ValueForAttribute

func (o *RenderedPolicy) ValueForAttribute(name string) interface{}

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 (*RenderedPolicy) Version

func (o *RenderedPolicy) Version() int

Version returns the hardcoded version of the model.

type RenderedPolicyDatapathTypeValue added in v1.86.0

type RenderedPolicyDatapathTypeValue string

RenderedPolicyDatapathTypeValue represents the possible values for attribute "datapathType".

const (
	// RenderedPolicyDatapathTypeAporeto represents the value Aporeto.
	RenderedPolicyDatapathTypeAporeto RenderedPolicyDatapathTypeValue = "Aporeto"

	// RenderedPolicyDatapathTypeDefault represents the value Default.
	RenderedPolicyDatapathTypeDefault RenderedPolicyDatapathTypeValue = "Default"

	// RenderedPolicyDatapathTypeEnvoyAuthorizer represents the value EnvoyAuthorizer.
	RenderedPolicyDatapathTypeEnvoyAuthorizer RenderedPolicyDatapathTypeValue = "EnvoyAuthorizer"
)

type RenderedPolicyDefaultPUIncomingTrafficActionValue added in v1.94.1

type RenderedPolicyDefaultPUIncomingTrafficActionValue string

RenderedPolicyDefaultPUIncomingTrafficActionValue represents the possible values for attribute "defaultPUIncomingTrafficAction".

const (
	// RenderedPolicyDefaultPUIncomingTrafficActionAllow represents the value Allow.
	RenderedPolicyDefaultPUIncomingTrafficActionAllow RenderedPolicyDefaultPUIncomingTrafficActionValue = "Allow"

	// RenderedPolicyDefaultPUIncomingTrafficActionReject represents the value Reject.
	RenderedPolicyDefaultPUIncomingTrafficActionReject RenderedPolicyDefaultPUIncomingTrafficActionValue = "Reject"
)

type RenderedPolicyDefaultPUOutgoingTrafficActionValue added in v1.94.1

type RenderedPolicyDefaultPUOutgoingTrafficActionValue string

RenderedPolicyDefaultPUOutgoingTrafficActionValue represents the possible values for attribute "defaultPUOutgoingTrafficAction".

const (
	// RenderedPolicyDefaultPUOutgoingTrafficActionAllow represents the value Allow.
	RenderedPolicyDefaultPUOutgoingTrafficActionAllow RenderedPolicyDefaultPUOutgoingTrafficActionValue = "Allow"

	// RenderedPolicyDefaultPUOutgoingTrafficActionReject represents the value Reject.
	RenderedPolicyDefaultPUOutgoingTrafficActionReject RenderedPolicyDefaultPUOutgoingTrafficActionValue = "Reject"
)

type Report

type Report struct {
	// TSDB Fields to set for the report.
	Fields map[string]interface{} `json:"fields" msgpack:"fields" bson:"-" mapstructure:"fields,omitempty"`

	// Kind contains the kind of report.
	Kind ReportKindValue `json:"kind" msgpack:"kind" bson:"-" mapstructure:"kind,omitempty"`

	// Tags contains the tags associated to the data point.
	Tags map[string]string `json:"tags" msgpack:"tags" bson:"-" mapstructure:"tags,omitempty"`

	// Timestamp contains the time for the report.
	Timestamp time.Time `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,omitempty"`

	// Value contains the value for the report.
	Value float64 `json:"value" msgpack:"value" bson:"-" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Report represents the model of a report

func NewReport

func NewReport() *Report

NewReport returns a new *Report

func (*Report) AttributeSpecifications

func (*Report) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Report) BleveType added in v1.1.0

func (o *Report) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Report) DeepCopy

func (o *Report) DeepCopy() *Report

DeepCopy returns a deep copy if the Report.

func (*Report) DeepCopyInto

func (o *Report) DeepCopyInto(out *Report)

DeepCopyInto copies the receiver into the given *Report.

func (*Report) DefaultOrder

func (o *Report) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Report) Doc

func (o *Report) Doc() string

Doc returns the documentation for the object

func (*Report) GetBSON added in v1.80.0

func (o *Report) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Report) Identifier

func (o *Report) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Report) Identity

func (o *Report) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Report) Patch

func (o *Report) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseReport to the object.

func (*Report) SetBSON added in v1.80.0

func (o *Report) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Report) SetIdentifier

func (o *Report) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Report) SpecificationForAttribute

func (*Report) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Report) String

func (o *Report) String() string

func (*Report) ToSparse

func (o *Report) 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 (*Report) Validate

func (o *Report) Validate() error

Validate valides the current information stored into the structure.

func (*Report) ValueForAttribute

func (o *Report) ValueForAttribute(name string) interface{}

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 (*Report) Version

func (o *Report) Version() int

Version returns the hardcoded version of the model.

type ReportKindValue

type ReportKindValue string

ReportKindValue represents the possible values for attribute "kind".

const (
	// ReportKindAudit represents the value Audit.
	ReportKindAudit ReportKindValue = "Audit"

	// ReportKindClaims represents the value Claims.
	ReportKindClaims ReportKindValue = "Claims"

	// ReportKindEnforcer represents the value Enforcer.
	ReportKindEnforcer ReportKindValue = "Enforcer"

	// ReportKindFileAccess represents the value FileAccess.
	ReportKindFileAccess ReportKindValue = "FileAccess"

	// ReportKindFlow represents the value Flow.
	ReportKindFlow ReportKindValue = "Flow"

	// ReportKindProcessingUnit represents the value ProcessingUnit.
	ReportKindProcessingUnit ReportKindValue = "ProcessingUnit"

	// ReportKindSyscall represents the value Syscall.
	ReportKindSyscall ReportKindValue = "Syscall"
)

type ReportsList

type ReportsList []*Report

ReportsList represents a list of Reports

func (ReportsList) Append

Append appends the objects to the a new copy of the ReportsList.

func (ReportsList) Copy

Copy returns a pointer to a copy the ReportsList.

func (ReportsList) DefaultOrder

func (o ReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ReportsList) Identity

func (o ReportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (ReportsList) ToSparse

func (o ReportsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ReportsList converted to SparseReportsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ReportsList) Version

func (o ReportsList) Version() int

Version returns the version of the content.

type ReportsQueriesList added in v1.94.1

type ReportsQueriesList []*ReportsQuery

ReportsQueriesList represents a list of ReportsQueries

func (ReportsQueriesList) Append added in v1.94.1

Append appends the objects to the a new copy of the ReportsQueriesList.

func (ReportsQueriesList) Copy added in v1.94.1

Copy returns a pointer to a copy the ReportsQueriesList.

func (ReportsQueriesList) DefaultOrder added in v1.94.1

func (o ReportsQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ReportsQueriesList) Identity added in v1.94.1

func (o ReportsQueriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ReportsQueriesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (ReportsQueriesList) ToSparse added in v1.94.1

func (o ReportsQueriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ReportsQueriesList converted to SparseReportsQueriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ReportsQueriesList) Version added in v1.94.1

func (o ReportsQueriesList) Version() int

Version returns the version of the content.

type ReportsQuery added in v1.94.1

type ReportsQuery struct {
	// List of DNSLookupReports.
	DNSLookupReports DNSLookupReportsList `json:"DNSLookupReports,omitempty" msgpack:"DNSLookupReports,omitempty" bson:"-" mapstructure:"DNSLookupReports,omitempty"`

	// List of ConnectionExceptionReports.
	ConnectionExceptionReports ConnectionExceptionReportsList `` /* 151-byte string literal not displayed */

	// List of CounterReports.
	CounterReports CounterReportsList `json:"counterReports,omitempty" msgpack:"counterReports,omitempty" bson:"-" mapstructure:"counterReports,omitempty"`

	// List of EnforcerReports.
	EnforcerReports EnforcerReportsList `json:"enforcerReports,omitempty" msgpack:"enforcerReports,omitempty" bson:"-" mapstructure:"enforcerReports,omitempty"`

	// List of EventLogs.
	EventLogs EventLogsList `json:"eventLogs,omitempty" msgpack:"eventLogs,omitempty" bson:"-" mapstructure:"eventLogs,omitempty"`

	// List of FlowReports.
	FlowReports FlowReportsList `json:"flowReports,omitempty" msgpack:"flowReports,omitempty" bson:"-" mapstructure:"flowReports,omitempty"`

	// List of PacketReports.
	PacketReports PacketReportsList `json:"packetReports,omitempty" msgpack:"packetReports,omitempty" bson:"-" mapstructure:"packetReports,omitempty"`

	// Name of the report type to query.
	Report ReportsQueryReportValue `json:"report" msgpack:"report" bson:"-" mapstructure:"report,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ReportsQuery represents the model of a reportsquery

func NewReportsQuery added in v1.94.1

func NewReportsQuery() *ReportsQuery

NewReportsQuery returns a new *ReportsQuery

func (*ReportsQuery) AttributeSpecifications added in v1.94.1

func (*ReportsQuery) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ReportsQuery) BleveType added in v1.94.1

func (o *ReportsQuery) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ReportsQuery) DeepCopy added in v1.94.1

func (o *ReportsQuery) DeepCopy() *ReportsQuery

DeepCopy returns a deep copy if the ReportsQuery.

func (*ReportsQuery) DeepCopyInto added in v1.94.1

func (o *ReportsQuery) DeepCopyInto(out *ReportsQuery)

DeepCopyInto copies the receiver into the given *ReportsQuery.

func (*ReportsQuery) DefaultOrder added in v1.94.1

func (o *ReportsQuery) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ReportsQuery) Doc added in v1.94.1

func (o *ReportsQuery) Doc() string

Doc returns the documentation for the object

func (*ReportsQuery) GetBSON added in v1.94.1

func (o *ReportsQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ReportsQuery) Identifier added in v1.94.1

func (o *ReportsQuery) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ReportsQuery) Identity added in v1.94.1

func (o *ReportsQuery) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ReportsQuery) Patch added in v1.94.1

func (o *ReportsQuery) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseReportsQuery to the object.

func (*ReportsQuery) SetBSON added in v1.94.1

func (o *ReportsQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ReportsQuery) SetIdentifier added in v1.94.1

func (o *ReportsQuery) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ReportsQuery) SpecificationForAttribute added in v1.94.1

func (*ReportsQuery) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ReportsQuery) String added in v1.94.1

func (o *ReportsQuery) String() string

func (*ReportsQuery) ToSparse added in v1.94.1

func (o *ReportsQuery) 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 (*ReportsQuery) Validate added in v1.94.1

func (o *ReportsQuery) Validate() error

Validate valides the current information stored into the structure.

func (*ReportsQuery) ValueForAttribute added in v1.94.1

func (o *ReportsQuery) ValueForAttribute(name string) interface{}

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 (*ReportsQuery) Version added in v1.94.1

func (o *ReportsQuery) Version() int

Version returns the hardcoded version of the model.

type ReportsQueryReportValue added in v1.94.1

type ReportsQueryReportValue string

ReportsQueryReportValue represents the possible values for attribute "report".

const (
	// ReportsQueryReportConnectionExceptions represents the value ConnectionExceptions.
	ReportsQueryReportConnectionExceptions ReportsQueryReportValue = "ConnectionExceptions"

	// ReportsQueryReportCounters represents the value Counters.
	ReportsQueryReportCounters ReportsQueryReportValue = "Counters"

	// ReportsQueryReportDNSLookups represents the value DNSLookups.
	ReportsQueryReportDNSLookups ReportsQueryReportValue = "DNSLookups"

	// ReportsQueryReportEnforcers represents the value Enforcers.
	ReportsQueryReportEnforcers ReportsQueryReportValue = "Enforcers"

	// ReportsQueryReportEventLogs represents the value EventLogs.
	ReportsQueryReportEventLogs ReportsQueryReportValue = "EventLogs"

	// ReportsQueryReportFlows represents the value Flows.
	ReportsQueryReportFlows ReportsQueryReportValue = "Flows"

	// ReportsQueryReportPackets represents the value Packets.
	ReportsQueryReportPackets ReportsQueryReportValue = "Packets"
)

type Revocation

type Revocation struct {
	// ID contains the ID of the revocation.
	ID string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Contains the certificate expiration date. This will be used to clean up revoked
	// certificates that have expired.
	ExpirationDate time.Time `json:"expirationDate" msgpack:"expirationDate" bson:"expirationdate" mapstructure:"expirationDate,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Set time from when the certificate will be revoked.
	RevokeDate time.Time `json:"revokeDate" msgpack:"revokeDate" bson:"revokedate" mapstructure:"revokeDate,omitempty"`

	// SerialNumber of the revoked certificate.
	SerialNumber string `json:"serialNumber" msgpack:"serialNumber" bson:"serialnumber" mapstructure:"serialNumber,omitempty"`

	// Subject of the certificate related to the revocation.
	Subject string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Revocation represents the model of a revocation

func NewRevocation

func NewRevocation() *Revocation

NewRevocation returns a new *Revocation

func (*Revocation) AttributeSpecifications

func (*Revocation) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Revocation) BleveType added in v1.1.0

func (o *Revocation) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Revocation) DeepCopy

func (o *Revocation) DeepCopy() *Revocation

DeepCopy returns a deep copy if the Revocation.

func (*Revocation) DeepCopyInto

func (o *Revocation) DeepCopyInto(out *Revocation)

DeepCopyInto copies the receiver into the given *Revocation.

func (*Revocation) DefaultOrder

func (o *Revocation) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Revocation) Doc

func (o *Revocation) Doc() string

Doc returns the documentation for the object

func (*Revocation) GetBSON added in v1.80.0

func (o *Revocation) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Revocation) GetMigrationsLog added in v1.30.0

func (o *Revocation) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Revocation) GetZHash added in v1.1.0

func (o *Revocation) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Revocation) GetZone added in v1.1.0

func (o *Revocation) GetZone() int

GetZone returns the Zone of the receiver.

func (*Revocation) Identifier

func (o *Revocation) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Revocation) Identity

func (o *Revocation) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Revocation) Patch

func (o *Revocation) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseRevocation to the object.

func (*Revocation) SetBSON added in v1.80.0

func (o *Revocation) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Revocation) SetIdentifier

func (o *Revocation) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Revocation) SetMigrationsLog added in v1.30.0

func (o *Revocation) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Revocation) SetZHash added in v1.1.0

func (o *Revocation) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Revocation) SetZone added in v1.1.0

func (o *Revocation) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Revocation) SpecificationForAttribute

func (*Revocation) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Revocation) String

func (o *Revocation) String() string

func (*Revocation) ToSparse

func (o *Revocation) 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 (*Revocation) Validate

func (o *Revocation) Validate() error

Validate valides the current information stored into the structure.

func (*Revocation) ValueForAttribute

func (o *Revocation) ValueForAttribute(name string) interface{}

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 (*Revocation) Version

func (o *Revocation) Version() int

Version returns the hardcoded version of the model.

type RevocationsList

type RevocationsList []*Revocation

RevocationsList represents a list of Revocations

func (RevocationsList) Append

Append appends the objects to the a new copy of the RevocationsList.

func (RevocationsList) Copy

Copy returns a pointer to a copy the RevocationsList.

func (RevocationsList) DefaultOrder

func (o RevocationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (RevocationsList) Identity

func (o RevocationsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (RevocationsList) List

List converts the object to an elemental.IdentifiablesList.

func (RevocationsList) ToSparse

func (o RevocationsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the RevocationsList converted to SparseRevocationsList. Objects in the list will only contain the given fields. No field means entire field set.

func (RevocationsList) Version

func (o RevocationsList) Version() int

Version returns the version of the content.

type Role

type Role struct {
	// Authorizations of the role.
	Authorizations map[string][]string `json:"authorizations" msgpack:"authorizations" bson:"-" mapstructure:"authorizations,omitempty"`

	// Description of the role.
	Description string `json:"description" msgpack:"description" bson:"-" mapstructure:"description,omitempty"`

	// Key of the role.
	Key string `json:"key" msgpack:"key" bson:"-" mapstructure:"key,omitempty"`

	// Name of the role.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// Set to `true` to make the role private and hidden from the UI.
	Private bool `json:"private" msgpack:"private" bson:"-" mapstructure:"private,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Role represents the model of a role

func NewRole

func NewRole() *Role

NewRole returns a new *Role

func (*Role) AttributeSpecifications

func (*Role) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Role) BleveType added in v1.1.0

func (o *Role) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Role) DeepCopy

func (o *Role) DeepCopy() *Role

DeepCopy returns a deep copy if the Role.

func (*Role) DeepCopyInto

func (o *Role) DeepCopyInto(out *Role)

DeepCopyInto copies the receiver into the given *Role.

func (*Role) DefaultOrder

func (o *Role) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Role) Doc

func (o *Role) Doc() string

Doc returns the documentation for the object

func (*Role) GetBSON added in v1.80.0

func (o *Role) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Role) Identifier

func (o *Role) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Role) Identity

func (o *Role) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Role) Patch

func (o *Role) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseRole to the object.

func (*Role) SetBSON added in v1.80.0

func (o *Role) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Role) SetIdentifier

func (o *Role) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Role) SpecificationForAttribute

func (*Role) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Role) String

func (o *Role) String() string

func (*Role) ToSparse

func (o *Role) 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 (*Role) Validate

func (o *Role) Validate() error

Validate valides the current information stored into the structure.

func (*Role) ValueForAttribute

func (o *Role) ValueForAttribute(name string) interface{}

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 (*Role) Version

func (o *Role) Version() int

Version returns the hardcoded version of the model.

type RolesList

type RolesList []*Role

RolesList represents a list of Roles

func (RolesList) Append

Append appends the objects to the a new copy of the RolesList.

func (RolesList) Copy

Copy returns a pointer to a copy the RolesList.

func (RolesList) DefaultOrder

func (o RolesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (RolesList) Identity

func (o RolesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (RolesList) List

List converts the object to an elemental.IdentifiablesList.

func (RolesList) ToSparse

func (o RolesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the RolesList converted to SparseRolesList. Objects in the list will only contain the given fields. No field means entire field set.

func (RolesList) Version

func (o RolesList) Version() int

Version returns the version of the content.

type Root

type Root struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Root represents the model of a root

func NewRoot

func NewRoot() *Root

NewRoot returns a new *Root

func (*Root) AttributeSpecifications

func (*Root) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Root) BleveType added in v1.1.0

func (o *Root) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Root) DeepCopy

func (o *Root) DeepCopy() *Root

DeepCopy returns a deep copy if the Root.

func (*Root) DeepCopyInto

func (o *Root) DeepCopyInto(out *Root)

DeepCopyInto copies the receiver into the given *Root.

func (*Root) DefaultOrder

func (o *Root) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Root) Doc

func (o *Root) Doc() string

Doc returns the documentation for the object

func (*Root) GetBSON added in v1.80.0

func (o *Root) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Root) Identifier

func (o *Root) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Root) Identity

func (o *Root) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Root) SetBSON added in v1.80.0

func (o *Root) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Root) SetIdentifier

func (o *Root) SetIdentifier(id string)

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) String

func (o *Root) String() string

func (*Root) Validate

func (o *Root) Validate() error

Validate valides the current information stored into the structure.

func (*Root) ValueForAttribute

func (o *Root) ValueForAttribute(name string) interface{}

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 (*Root) Version

func (o *Root) Version() int

Version returns the hardcoded version of the model.

type SAMLProvider added in v1.49.0

type SAMLProvider struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Identity provider certificate in PEM format.
	IDPCertificate string `json:"IDPCertificate" msgpack:"IDPCertificate" bson:"idpcertificate" mapstructure:"IDPCertificate,omitempty"`

	// Identity Provider Issuer (also called Entity ID).
	IDPIssuer string `json:"IDPIssuer" msgpack:"IDPIssuer" bson:"idpissuer" mapstructure:"IDPIssuer,omitempty"`

	// Pass some XML data containing the IDP metadata that can be used for automatic
	// configuration. If you pass this attribute, every other one will be overwritten
	// with the data contained in the metadata file.
	IDPMetadata string `json:"IDPMetadata,omitempty" msgpack:"IDPMetadata,omitempty" bson:"-" mapstructure:"IDPMetadata,omitempty"`

	// URL of the identity provider.
	IDPURL string `json:"IDPURL" msgpack:"IDPURL" bson:"idpurl" mapstructure:"IDPURL,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// If set, this will be the default SAML provider. There can be only one default
	// provider in your account. When logging in with SAML, if no provider name is
	// given, the default will be used.
	Default bool `json:"default" msgpack:"default" bson:"default" mapstructure:"default,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// List of claims that will provide the subject.
	Subjects []string `json:"subjects" msgpack:"subjects" bson:"subjects" mapstructure:"subjects,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SAMLProvider represents the model of a samlprovider

func NewSAMLProvider added in v1.49.0

func NewSAMLProvider() *SAMLProvider

NewSAMLProvider returns a new *SAMLProvider

func (*SAMLProvider) AttributeSpecifications added in v1.49.0

func (*SAMLProvider) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SAMLProvider) BleveType added in v1.49.0

func (o *SAMLProvider) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SAMLProvider) DeepCopy added in v1.49.0

func (o *SAMLProvider) DeepCopy() *SAMLProvider

DeepCopy returns a deep copy if the SAMLProvider.

func (*SAMLProvider) DeepCopyInto added in v1.49.0

func (o *SAMLProvider) DeepCopyInto(out *SAMLProvider)

DeepCopyInto copies the receiver into the given *SAMLProvider.

func (*SAMLProvider) DefaultOrder added in v1.49.0

func (o *SAMLProvider) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SAMLProvider) Doc added in v1.49.0

func (o *SAMLProvider) Doc() string

Doc returns the documentation for the object

func (*SAMLProvider) GetAnnotations added in v1.49.0

func (o *SAMLProvider) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SAMLProvider) GetAssociatedTags added in v1.49.0

func (o *SAMLProvider) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SAMLProvider) GetBSON added in v1.80.0

func (o *SAMLProvider) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SAMLProvider) GetCreateIdempotencyKey added in v1.49.0

func (o *SAMLProvider) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SAMLProvider) GetCreateTime added in v1.49.0

func (o *SAMLProvider) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*SAMLProvider) GetDescription added in v1.94.1

func (o *SAMLProvider) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SAMLProvider) GetMigrationsLog added in v1.49.0

func (o *SAMLProvider) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SAMLProvider) GetName added in v1.49.0

func (o *SAMLProvider) GetName() string

GetName returns the Name of the receiver.

func (*SAMLProvider) GetNamespace added in v1.49.0

func (o *SAMLProvider) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SAMLProvider) GetNormalizedTags added in v1.49.0

func (o *SAMLProvider) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SAMLProvider) GetProtected added in v1.49.0

func (o *SAMLProvider) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SAMLProvider) GetUpdateIdempotencyKey added in v1.49.0

func (o *SAMLProvider) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SAMLProvider) GetUpdateTime added in v1.49.0

func (o *SAMLProvider) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*SAMLProvider) GetZHash added in v1.49.0

func (o *SAMLProvider) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SAMLProvider) GetZone added in v1.49.0

func (o *SAMLProvider) GetZone() int

GetZone returns the Zone of the receiver.

func (*SAMLProvider) Identifier added in v1.49.0

func (o *SAMLProvider) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SAMLProvider) Identity added in v1.49.0

func (o *SAMLProvider) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SAMLProvider) Patch added in v1.49.0

func (o *SAMLProvider) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSAMLProvider to the object.

func (*SAMLProvider) SetAnnotations added in v1.49.0

func (o *SAMLProvider) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*SAMLProvider) SetAssociatedTags added in v1.49.0

func (o *SAMLProvider) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*SAMLProvider) SetBSON added in v1.80.0

func (o *SAMLProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SAMLProvider) SetCreateIdempotencyKey added in v1.49.0

func (o *SAMLProvider) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*SAMLProvider) SetCreateTime added in v1.49.0

func (o *SAMLProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*SAMLProvider) SetDescription added in v1.94.1

func (o *SAMLProvider) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*SAMLProvider) SetIdentifier added in v1.49.0

func (o *SAMLProvider) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SAMLProvider) SetMigrationsLog added in v1.49.0

func (o *SAMLProvider) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*SAMLProvider) SetName added in v1.49.0

func (o *SAMLProvider) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*SAMLProvider) SetNamespace added in v1.49.0

func (o *SAMLProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*SAMLProvider) SetNormalizedTags added in v1.49.0

func (o *SAMLProvider) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*SAMLProvider) SetProtected added in v1.49.0

func (o *SAMLProvider) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*SAMLProvider) SetUpdateIdempotencyKey added in v1.49.0

func (o *SAMLProvider) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*SAMLProvider) SetUpdateTime added in v1.49.0

func (o *SAMLProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*SAMLProvider) SetZHash added in v1.49.0

func (o *SAMLProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*SAMLProvider) SetZone added in v1.49.0

func (o *SAMLProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*SAMLProvider) SpecificationForAttribute added in v1.49.0

func (*SAMLProvider) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SAMLProvider) String added in v1.49.0

func (o *SAMLProvider) String() string

func (*SAMLProvider) ToSparse added in v1.49.0

func (o *SAMLProvider) 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 (*SAMLProvider) Validate added in v1.49.0

func (o *SAMLProvider) Validate() error

Validate valides the current information stored into the structure.

func (*SAMLProvider) ValueForAttribute added in v1.49.0

func (o *SAMLProvider) ValueForAttribute(name string) interface{}

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 (*SAMLProvider) Version added in v1.49.0

func (o *SAMLProvider) Version() int

Version returns the hardcoded version of the model.

type SAMLProvidersList added in v1.49.0

type SAMLProvidersList []*SAMLProvider

SAMLProvidersList represents a list of SAMLProviders

func (SAMLProvidersList) Append added in v1.49.0

Append appends the objects to the a new copy of the SAMLProvidersList.

func (SAMLProvidersList) Copy added in v1.49.0

Copy returns a pointer to a copy the SAMLProvidersList.

func (SAMLProvidersList) DefaultOrder added in v1.49.0

func (o SAMLProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SAMLProvidersList) Identity added in v1.49.0

func (o SAMLProvidersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SAMLProvidersList) List added in v1.49.0

List converts the object to an elemental.IdentifiablesList.

func (SAMLProvidersList) ToSparse added in v1.49.0

func (o SAMLProvidersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SAMLProvidersList converted to SparseSAMLProvidersList. Objects in the list will only contain the given fields. No field means entire field set.

func (SAMLProvidersList) Version added in v1.49.0

func (o SAMLProvidersList) Version() int

Version returns the version of the content.

type SSHAuthoritiesList

type SSHAuthoritiesList []*SSHAuthority

SSHAuthoritiesList represents a list of SSHAuthorities

func (SSHAuthoritiesList) Append

Append appends the objects to the a new copy of the SSHAuthoritiesList.

func (SSHAuthoritiesList) Copy

Copy returns a pointer to a copy the SSHAuthoritiesList.

func (SSHAuthoritiesList) DefaultOrder

func (o SSHAuthoritiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SSHAuthoritiesList) Identity

func (o SSHAuthoritiesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SSHAuthoritiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SSHAuthoritiesList) ToSparse

func (o SSHAuthoritiesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SSHAuthoritiesList converted to SparseSSHAuthoritiesList. Objects in the list will only contain the given fields. No field means entire field set.

func (SSHAuthoritiesList) Version

func (o SSHAuthoritiesList) Version() int

Version returns the version of the content.

type SSHAuthority

type SSHAuthority struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Algorithm to use for the CA.
	Alg SSHAuthorityAlgValue `json:"alg" msgpack:"alg" bson:"alg" mapstructure:"alg,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Contains the private key of the CA.
	PrivateKey string `json:"-" msgpack:"-" bson:"privatekey" mapstructure:"-,omitempty"`

	// Contains the public key of the CA.
	PublicKey string `json:"publicKey" msgpack:"publicKey" bson:"publickey" mapstructure:"publicKey,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SSHAuthority represents the model of a sshauthority

func NewSSHAuthority

func NewSSHAuthority() *SSHAuthority

NewSSHAuthority returns a new *SSHAuthority

func (*SSHAuthority) AttributeSpecifications

func (*SSHAuthority) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SSHAuthority) BleveType added in v1.1.0

func (o *SSHAuthority) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SSHAuthority) DecryptAttributes added in v1.57.0

func (o *SSHAuthority) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SSHAuthority) DeepCopy

func (o *SSHAuthority) DeepCopy() *SSHAuthority

DeepCopy returns a deep copy if the SSHAuthority.

func (*SSHAuthority) DeepCopyInto

func (o *SSHAuthority) DeepCopyInto(out *SSHAuthority)

DeepCopyInto copies the receiver into the given *SSHAuthority.

func (*SSHAuthority) DefaultOrder

func (o *SSHAuthority) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SSHAuthority) Doc

func (o *SSHAuthority) Doc() string

Doc returns the documentation for the object

func (*SSHAuthority) EncryptAttributes added in v1.57.0

func (o *SSHAuthority) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SSHAuthority) GetBSON added in v1.80.0

func (o *SSHAuthority) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SSHAuthority) GetCreateTime

func (o *SSHAuthority) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*SSHAuthority) GetMigrationsLog added in v1.30.0

func (o *SSHAuthority) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SSHAuthority) GetName

func (o *SSHAuthority) GetName() string

GetName returns the Name of the receiver.

func (*SSHAuthority) GetUpdateTime

func (o *SSHAuthority) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*SSHAuthority) GetZHash added in v1.1.0

func (o *SSHAuthority) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SSHAuthority) GetZone added in v1.1.0

func (o *SSHAuthority) GetZone() int

GetZone returns the Zone of the receiver.

func (*SSHAuthority) Identifier

func (o *SSHAuthority) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SSHAuthority) Identity

func (o *SSHAuthority) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SSHAuthority) Patch

func (o *SSHAuthority) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSSHAuthority to the object.

func (*SSHAuthority) SetBSON added in v1.80.0

func (o *SSHAuthority) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SSHAuthority) SetCreateTime

func (o *SSHAuthority) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*SSHAuthority) SetIdentifier

func (o *SSHAuthority) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SSHAuthority) SetMigrationsLog added in v1.30.0

func (o *SSHAuthority) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*SSHAuthority) SetName

func (o *SSHAuthority) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*SSHAuthority) SetUpdateTime

func (o *SSHAuthority) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*SSHAuthority) SetZHash added in v1.1.0

func (o *SSHAuthority) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*SSHAuthority) SetZone added in v1.1.0

func (o *SSHAuthority) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*SSHAuthority) SpecificationForAttribute

func (*SSHAuthority) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SSHAuthority) String

func (o *SSHAuthority) String() string

func (*SSHAuthority) ToSparse

func (o *SSHAuthority) 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 (*SSHAuthority) Validate

func (o *SSHAuthority) Validate() error

Validate valides the current information stored into the structure.

func (*SSHAuthority) ValueForAttribute

func (o *SSHAuthority) ValueForAttribute(name string) interface{}

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 (*SSHAuthority) Version

func (o *SSHAuthority) Version() int

Version returns the hardcoded version of the model.

type SSHAuthorityAlgValue

type SSHAuthorityAlgValue string

SSHAuthorityAlgValue represents the possible values for attribute "alg".

const (
	// SSHAuthorityAlgECDSA represents the value ECDSA.
	SSHAuthorityAlgECDSA SSHAuthorityAlgValue = "ECDSA"

	// SSHAuthorityAlgRSA represents the value RSA.
	SSHAuthorityAlgRSA SSHAuthorityAlgValue = "RSA"
)

type SSHAuthorizationPoliciesList

type SSHAuthorizationPoliciesList []*SSHAuthorizationPolicy

SSHAuthorizationPoliciesList represents a list of SSHAuthorizationPolicies

func (SSHAuthorizationPoliciesList) Append

Append appends the objects to the a new copy of the SSHAuthorizationPoliciesList.

func (SSHAuthorizationPoliciesList) Copy

Copy returns a pointer to a copy the SSHAuthorizationPoliciesList.

func (SSHAuthorizationPoliciesList) DefaultOrder

func (o SSHAuthorizationPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SSHAuthorizationPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SSHAuthorizationPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SSHAuthorizationPoliciesList) ToSparse

ToSparse returns the SSHAuthorizationPoliciesList converted to SparseSSHAuthorizationPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (SSHAuthorizationPoliciesList) Version

func (o SSHAuthorizationPoliciesList) Version() int

Version returns the version of the content.

type SSHAuthorizationPolicy

type SSHAuthorizationPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// If set, the SSH authorization will only be valid if the request comes from one
	// the declared subnets.
	AuthorizedSubnets []string `json:"authorizedSubnets" msgpack:"authorizedSubnets" bson:"-" mapstructure:"authorizedSubnets,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// If set the SSH authorization will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// The list of permissions to apply to the OpenSSH certificate. You can check the
	// list of
	// standard extensions at
	// <https://github.com/openssh/openssh-portable/blob/38e83e4f219c752ebb1560633b73f06f0392018b/PROTOCOL.certkeys#L281>.
	Extensions []string `json:"extensions" msgpack:"extensions" bson:"-" mapstructure:"extensions,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Specify a single command that the user can issue on the remote host. This can be
	// useful
	// for issuing single-purpose certificates; ensuring that users stay in their home
	// directories
	// (`internal-sftp`); and restricting users to a bash shell (`/bin/bash`),
	// preventing them
	// from running arbitrary and unlogged commands such as `scp`, `rsync`, `-essh`,
	// and `sftp`.
	// Refer to the [FreeBSD
	// documentation](https://www.freebsd.org/cgi/man.cgi?sshd_config(5))
	// for more information.
	ForceCommand string `json:"forceCommand" msgpack:"forceCommand" bson:"-" mapstructure:"forceCommand,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Contains the tag expression identifying the enforcers on the hosts the `subject`
	// is allowed to access.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// On systems without an enforcer, you must provide the name of the Linux user.
	// Otherwise, Microsegmentation will automatically populate this field and adding a
	// value here is optional and not used during the authorization. However, the value
	// becomes a tag associated with the SSH processing unit, which could be useful.
	Principals []string `json:"principals" msgpack:"principals" bson:"-" mapstructure:"principals,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// If selected, the system account will be used to log into the resource.
	RequireSystemAccountMatching bool `` /* 164-byte string literal not displayed */

	// Contains the tag expression that identifies the user or group of users that
	// should be
	// allowed to access the remote hosts. If the user authenticates against an OIDC
	// provider,
	// these tags correspond to claims in the ID token.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// Set the validity of the delivered SSH certificate.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SSHAuthorizationPolicy represents the model of a sshauthorizationpolicy

func NewSSHAuthorizationPolicy

func NewSSHAuthorizationPolicy() *SSHAuthorizationPolicy

NewSSHAuthorizationPolicy returns a new *SSHAuthorizationPolicy

func (*SSHAuthorizationPolicy) AttributeSpecifications

func (*SSHAuthorizationPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SSHAuthorizationPolicy) BleveType added in v1.1.0

func (o *SSHAuthorizationPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SSHAuthorizationPolicy) DeepCopy

DeepCopy returns a deep copy if the SSHAuthorizationPolicy.

func (*SSHAuthorizationPolicy) DeepCopyInto

func (o *SSHAuthorizationPolicy) DeepCopyInto(out *SSHAuthorizationPolicy)

DeepCopyInto copies the receiver into the given *SSHAuthorizationPolicy.

func (*SSHAuthorizationPolicy) DefaultOrder

func (o *SSHAuthorizationPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SSHAuthorizationPolicy) Doc

func (o *SSHAuthorizationPolicy) Doc() string

Doc returns the documentation for the object

func (*SSHAuthorizationPolicy) GetActiveDuration

func (o *SSHAuthorizationPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SSHAuthorizationPolicy) GetActiveSchedule

func (o *SSHAuthorizationPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SSHAuthorizationPolicy) GetAnnotations

func (o *SSHAuthorizationPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SSHAuthorizationPolicy) GetAssociatedTags

func (o *SSHAuthorizationPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SSHAuthorizationPolicy) GetBSON added in v1.80.0

func (o *SSHAuthorizationPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SSHAuthorizationPolicy) GetCreateIdempotencyKey

func (o *SSHAuthorizationPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SSHAuthorizationPolicy) GetCreateTime

func (o *SSHAuthorizationPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*SSHAuthorizationPolicy) GetDescription

func (o *SSHAuthorizationPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SSHAuthorizationPolicy) GetDisabled

func (o *SSHAuthorizationPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SSHAuthorizationPolicy) GetExpirationTime

func (o *SSHAuthorizationPolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SSHAuthorizationPolicy) GetFallback

func (o *SSHAuthorizationPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SSHAuthorizationPolicy) GetMetadata

func (o *SSHAuthorizationPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*SSHAuthorizationPolicy) GetName

func (o *SSHAuthorizationPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SSHAuthorizationPolicy) GetNamespace

func (o *SSHAuthorizationPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SSHAuthorizationPolicy) GetNormalizedTags

func (o *SSHAuthorizationPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SSHAuthorizationPolicy) GetPropagate

func (o *SSHAuthorizationPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SSHAuthorizationPolicy) GetProtected

func (o *SSHAuthorizationPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SSHAuthorizationPolicy) GetUpdateIdempotencyKey

func (o *SSHAuthorizationPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SSHAuthorizationPolicy) GetUpdateTime

func (o *SSHAuthorizationPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*SSHAuthorizationPolicy) Identifier

func (o *SSHAuthorizationPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SSHAuthorizationPolicy) Identity

Identity returns the Identity of the object.

func (*SSHAuthorizationPolicy) Patch

Patch apply the non nil value of a *SparseSSHAuthorizationPolicy to the object.

func (*SSHAuthorizationPolicy) SetActiveDuration

func (o *SSHAuthorizationPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetActiveSchedule

func (o *SSHAuthorizationPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetAnnotations

func (o *SSHAuthorizationPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetAssociatedTags

func (o *SSHAuthorizationPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetBSON added in v1.80.0

func (o *SSHAuthorizationPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SSHAuthorizationPolicy) SetCreateIdempotencyKey

func (o *SSHAuthorizationPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetCreateTime

func (o *SSHAuthorizationPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetDescription

func (o *SSHAuthorizationPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetDisabled

func (o *SSHAuthorizationPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetExpirationTime

func (o *SSHAuthorizationPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetFallback

func (o *SSHAuthorizationPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetIdentifier

func (o *SSHAuthorizationPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SSHAuthorizationPolicy) SetMetadata

func (o *SSHAuthorizationPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetName

func (o *SSHAuthorizationPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetNamespace

func (o *SSHAuthorizationPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetNormalizedTags

func (o *SSHAuthorizationPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetPropagate

func (o *SSHAuthorizationPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetProtected

func (o *SSHAuthorizationPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetUpdateIdempotencyKey

func (o *SSHAuthorizationPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*SSHAuthorizationPolicy) SetUpdateTime

func (o *SSHAuthorizationPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*SSHAuthorizationPolicy) SpecificationForAttribute

func (*SSHAuthorizationPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SSHAuthorizationPolicy) String

func (o *SSHAuthorizationPolicy) String() string

func (*SSHAuthorizationPolicy) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*SSHAuthorizationPolicy) Validate

func (o *SSHAuthorizationPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*SSHAuthorizationPolicy) ValueForAttribute

func (o *SSHAuthorizationPolicy) ValueForAttribute(name string) interface{}

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 (*SSHAuthorizationPolicy) Version

func (o *SSHAuthorizationPolicy) Version() int

Version returns the hardcoded version of the model.

type SSHCertificate

type SSHCertificate struct {
	// Contains the signed SSH certificate in OpenSSH format.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// List of extensions to set in the SSH certificate.
	Extensions map[string]string `json:"extensions" msgpack:"extensions" bson:"-" mapstructure:"extensions,omitempty"`

	// List of options to set in the SSH certificate.
	Options map[string]string `json:"options" msgpack:"options" bson:"-" mapstructure:"options,omitempty"`

	// List of principals to set in the SSH certificate.
	Principals []string `json:"principals" msgpack:"principals" bson:"-" mapstructure:"principals,omitempty"`

	// Contains the public key to sign in OpenSSH format.
	PublicKey string `json:"publicKey" msgpack:"publicKey" bson:"-" mapstructure:"publicKey,omitempty"`

	// The identifier of the CA to use to sign the certificate.
	SignerID string `json:"signerID" msgpack:"signerID" bson:"-" mapstructure:"signerID,omitempty"`

	// Type of SSH certificate.
	Type SSHCertificateTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	// Set the validity of the SSH certificate.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SSHCertificate represents the model of a sshcertificate

func NewSSHCertificate

func NewSSHCertificate() *SSHCertificate

NewSSHCertificate returns a new *SSHCertificate

func (*SSHCertificate) AttributeSpecifications

func (*SSHCertificate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SSHCertificate) BleveType added in v1.1.0

func (o *SSHCertificate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SSHCertificate) DeepCopy

func (o *SSHCertificate) DeepCopy() *SSHCertificate

DeepCopy returns a deep copy if the SSHCertificate.

func (*SSHCertificate) DeepCopyInto

func (o *SSHCertificate) DeepCopyInto(out *SSHCertificate)

DeepCopyInto copies the receiver into the given *SSHCertificate.

func (*SSHCertificate) DefaultOrder

func (o *SSHCertificate) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SSHCertificate) Doc

func (o *SSHCertificate) Doc() string

Doc returns the documentation for the object

func (*SSHCertificate) GetBSON added in v1.80.0

func (o *SSHCertificate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SSHCertificate) Identifier

func (o *SSHCertificate) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SSHCertificate) Identity

func (o *SSHCertificate) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SSHCertificate) Patch

func (o *SSHCertificate) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSSHCertificate to the object.

func (*SSHCertificate) SetBSON added in v1.80.0

func (o *SSHCertificate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SSHCertificate) SetIdentifier

func (o *SSHCertificate) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SSHCertificate) SpecificationForAttribute

func (*SSHCertificate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SSHCertificate) String

func (o *SSHCertificate) String() string

func (*SSHCertificate) ToSparse

func (o *SSHCertificate) 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 (*SSHCertificate) Validate

func (o *SSHCertificate) Validate() error

Validate valides the current information stored into the structure.

func (*SSHCertificate) ValueForAttribute

func (o *SSHCertificate) ValueForAttribute(name string) interface{}

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 (*SSHCertificate) Version

func (o *SSHCertificate) Version() int

Version returns the hardcoded version of the model.

type SSHCertificateTypeValue

type SSHCertificateTypeValue string

SSHCertificateTypeValue represents the possible values for attribute "type".

const (
	// SSHCertificateTypeHost represents the value Host.
	SSHCertificateTypeHost SSHCertificateTypeValue = "Host"

	// SSHCertificateTypeUser represents the value User.
	SSHCertificateTypeUser SSHCertificateTypeValue = "User"
)

type SSHCertificatesList

type SSHCertificatesList []*SSHCertificate

SSHCertificatesList represents a list of SSHCertificates

func (SSHCertificatesList) Append

Append appends the objects to the a new copy of the SSHCertificatesList.

func (SSHCertificatesList) Copy

Copy returns a pointer to a copy the SSHCertificatesList.

func (SSHCertificatesList) DefaultOrder

func (o SSHCertificatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SSHCertificatesList) Identity

func (o SSHCertificatesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SSHCertificatesList) List

List converts the object to an elemental.IdentifiablesList.

func (SSHCertificatesList) ToSparse

func (o SSHCertificatesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SSHCertificatesList converted to SparseSSHCertificatesList. Objects in the list will only contain the given fields. No field means entire field set.

func (SSHCertificatesList) Version

func (o SSHCertificatesList) Version() int

Version returns the version of the content.

type SSHIdentitiesList

type SSHIdentitiesList []*SSHIdentity

SSHIdentitiesList represents a list of SSHIdentities

func (SSHIdentitiesList) Append

Append appends the objects to the a new copy of the SSHIdentitiesList.

func (SSHIdentitiesList) Copy

Copy returns a pointer to a copy the SSHIdentitiesList.

func (SSHIdentitiesList) DefaultOrder

func (o SSHIdentitiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SSHIdentitiesList) Identity

func (o SSHIdentitiesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SSHIdentitiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SSHIdentitiesList) ToSparse

func (o SSHIdentitiesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SSHIdentitiesList converted to SparseSSHIdentitiesList. Objects in the list will only contain the given fields. No field means entire field set.

func (SSHIdentitiesList) Version

func (o SSHIdentitiesList) Version() int

Version returns the version of the content.

type SSHIdentity

type SSHIdentity struct {
	// Contains the signed SSH certificate in OpenSSH format.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// Contains the public key to sign in OpenSSH format. You can generate an SSH
	// public key with the standard `ssh-keygen` tool.
	PublicKey string `json:"publicKey" msgpack:"publicKey" bson:"-" mapstructure:"publicKey,omitempty"`

	// Define the targeted system account name.
	SystemAccount string `json:"systemAccount" msgpack:"systemAccount" bson:"-" mapstructure:"systemAccount,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SSHIdentity represents the model of a sshidentity

func NewSSHIdentity

func NewSSHIdentity() *SSHIdentity

NewSSHIdentity returns a new *SSHIdentity

func (*SSHIdentity) AttributeSpecifications

func (*SSHIdentity) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SSHIdentity) BleveType added in v1.1.0

func (o *SSHIdentity) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SSHIdentity) DeepCopy

func (o *SSHIdentity) DeepCopy() *SSHIdentity

DeepCopy returns a deep copy if the SSHIdentity.

func (*SSHIdentity) DeepCopyInto

func (o *SSHIdentity) DeepCopyInto(out *SSHIdentity)

DeepCopyInto copies the receiver into the given *SSHIdentity.

func (*SSHIdentity) DefaultOrder

func (o *SSHIdentity) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SSHIdentity) Doc

func (o *SSHIdentity) Doc() string

Doc returns the documentation for the object

func (*SSHIdentity) GetBSON added in v1.80.0

func (o *SSHIdentity) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SSHIdentity) Identifier

func (o *SSHIdentity) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SSHIdentity) Identity

func (o *SSHIdentity) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SSHIdentity) Patch

func (o *SSHIdentity) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSSHIdentity to the object.

func (*SSHIdentity) SetBSON added in v1.80.0

func (o *SSHIdentity) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SSHIdentity) SetIdentifier

func (o *SSHIdentity) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SSHIdentity) SpecificationForAttribute

func (*SSHIdentity) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SSHIdentity) String

func (o *SSHIdentity) String() string

func (*SSHIdentity) ToSparse

func (o *SSHIdentity) 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 (*SSHIdentity) Validate

func (o *SSHIdentity) Validate() error

Validate valides the current information stored into the structure.

func (*SSHIdentity) ValueForAttribute

func (o *SSHIdentity) ValueForAttribute(name string) interface{}

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 (*SSHIdentity) Version

func (o *SSHIdentity) Version() int

Version returns the hardcoded version of the model.

type Sandbox added in v1.87.0

type Sandbox struct {
	// Contains a link to directly connect the UI to your API sandbox.
	URL string `json:"URL" msgpack:"URL" bson:"-" mapstructure:"URL,omitempty"`

	// The app credential data.
	Credentials *Credential `json:"credentials" msgpack:"credentials" bson:"-" mapstructure:"credentials,omitempty"`

	// Contains the lifetime of the sandbox namespace.
	Lifetime string `json:"lifetime" msgpack:"lifetime" bson:"-" mapstructure:"lifetime,omitempty"`

	// Contains the name of the sandbox namespace that has been created.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Sandbox represents the model of a sandbox

func NewSandbox added in v1.87.0

func NewSandbox() *Sandbox

NewSandbox returns a new *Sandbox

func (*Sandbox) AttributeSpecifications added in v1.87.0

func (*Sandbox) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Sandbox) BleveType added in v1.87.0

func (o *Sandbox) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Sandbox) DeepCopy added in v1.87.0

func (o *Sandbox) DeepCopy() *Sandbox

DeepCopy returns a deep copy if the Sandbox.

func (*Sandbox) DeepCopyInto added in v1.87.0

func (o *Sandbox) DeepCopyInto(out *Sandbox)

DeepCopyInto copies the receiver into the given *Sandbox.

func (*Sandbox) DefaultOrder added in v1.87.0

func (o *Sandbox) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Sandbox) Doc added in v1.87.0

func (o *Sandbox) Doc() string

Doc returns the documentation for the object

func (*Sandbox) GetBSON added in v1.87.0

func (o *Sandbox) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Sandbox) Identifier added in v1.87.0

func (o *Sandbox) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Sandbox) Identity added in v1.87.0

func (o *Sandbox) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Sandbox) Patch added in v1.87.0

func (o *Sandbox) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSandbox to the object.

func (*Sandbox) SetBSON added in v1.87.0

func (o *Sandbox) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Sandbox) SetIdentifier added in v1.87.0

func (o *Sandbox) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Sandbox) SpecificationForAttribute added in v1.87.0

func (*Sandbox) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Sandbox) String added in v1.87.0

func (o *Sandbox) String() string

func (*Sandbox) ToSparse added in v1.87.0

func (o *Sandbox) 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 (*Sandbox) Validate added in v1.87.0

func (o *Sandbox) Validate() error

Validate valides the current information stored into the structure.

func (*Sandbox) ValueForAttribute added in v1.87.0

func (o *Sandbox) ValueForAttribute(name string) interface{}

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 (*Sandbox) Version added in v1.87.0

func (o *Sandbox) Version() int

Version returns the hardcoded version of the model.

type SandboxsList added in v1.87.0

type SandboxsList []*Sandbox

SandboxsList represents a list of Sandboxs

func (SandboxsList) Append added in v1.87.0

Append appends the objects to the a new copy of the SandboxsList.

func (SandboxsList) Copy added in v1.87.0

Copy returns a pointer to a copy the SandboxsList.

func (SandboxsList) DefaultOrder added in v1.87.0

func (o SandboxsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SandboxsList) Identity added in v1.87.0

func (o SandboxsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SandboxsList) List added in v1.87.0

List converts the object to an elemental.IdentifiablesList.

func (SandboxsList) ToSparse added in v1.87.0

func (o SandboxsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SandboxsList converted to SparseSandboxsList. Objects in the list will only contain the given fields. No field means entire field set.

func (SandboxsList) Version added in v1.87.0

func (o SandboxsList) Version() int

Version returns the version of the content.

type Search struct {
	// Contains the matched object.
	Object interface{} `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Contains the ID of the match.
	ObjectID string `json:"objectID" msgpack:"objectID" bson:"-" mapstructure:"objectID,omitempty"`

	// Contains the identity of the match.
	ObjectIdentity string `json:"objectIdentity" msgpack:"objectIdentity" bson:"-" mapstructure:"objectIdentity,omitempty"`

	// Contains the namespace of the match.
	ObjectNamespace string `json:"objectNamespace" msgpack:"objectNamespace" bson:"-" mapstructure:"objectNamespace,omitempty"`

	// Contains the score of the match.
	Score float64 `json:"score" msgpack:"score" bson:"-" mapstructure:"score,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Search represents the model of a search

func NewSearch added in v1.1.0

func NewSearch() *Search

NewSearch returns a new *Search

func (*Search) AttributeSpecifications added in v1.1.0

func (*Search) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Search) BleveType added in v1.1.0

func (o *Search) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Search) DeepCopy added in v1.1.0

func (o *Search) DeepCopy() *Search

DeepCopy returns a deep copy if the Search.

func (*Search) DeepCopyInto added in v1.1.0

func (o *Search) DeepCopyInto(out *Search)

DeepCopyInto copies the receiver into the given *Search.

func (*Search) DefaultOrder added in v1.1.0

func (o *Search) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Search) Doc added in v1.1.0

func (o *Search) Doc() string

Doc returns the documentation for the object

func (*Search) GetBSON added in v1.80.0

func (o *Search) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Search) Identifier added in v1.1.0

func (o *Search) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Search) Identity added in v1.1.0

func (o *Search) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Search) Patch added in v1.1.0

func (o *Search) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSearch to the object.

func (*Search) SetBSON added in v1.80.0

func (o *Search) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Search) SetIdentifier added in v1.1.0

func (o *Search) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Search) SpecificationForAttribute added in v1.1.0

func (*Search) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Search) String added in v1.1.0

func (o *Search) String() string

func (*Search) ToSparse added in v1.1.0

func (o *Search) 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 (*Search) Validate added in v1.1.0

func (o *Search) Validate() error

Validate valides the current information stored into the structure.

func (*Search) ValueForAttribute added in v1.1.0

func (o *Search) ValueForAttribute(name string) interface{}

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 (*Search) Version added in v1.1.0

func (o *Search) Version() int

Version returns the hardcoded version of the model.

type SearchesList added in v1.1.0

type SearchesList []*Search

SearchesList represents a list of Searches

func (SearchesList) Append added in v1.1.0

Append appends the objects to the a new copy of the SearchesList.

func (SearchesList) Copy added in v1.1.0

Copy returns a pointer to a copy the SearchesList.

func (SearchesList) DefaultOrder added in v1.1.0

func (o SearchesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SearchesList) Identity added in v1.1.0

func (o SearchesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SearchesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SearchesList) ToSparse added in v1.1.0

func (o SearchesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SearchesList converted to SparseSearchesList. Objects in the list will only contain the given fields. No field means entire field set.

func (SearchesList) Version added in v1.1.0

func (o SearchesList) Version() int

Version returns the version of the content.

type Service

type Service struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// The list of IP addresses where the service can be accessed. This is an optional
	// attribute and is only required if no host names are provided. The system will
	// automatically resolve IP addresses from host names otherwise.
	IPs []string `json:"IPs" msgpack:"IPs" bson:"ips" mapstructure:"IPs,omitempty"`

	// PEM-encoded certificate that will be used to validate the user's JSON web token
	// (JWT)
	// in HTTP requests. This is an optional field, needed only if the
	// `authorizationType`
	// is set to `JWT`.
	JWTSigningCertificate string `` /* 136-byte string literal not displayed */

	// PEM-encoded certificate authority to use to verify client certificates. This
	// only applies if `authorizationType` is set to `MTLS`. If it is not set,
	// Microsegmentation Console's public signing certificate authority will be used.
	MTLSCertificateAuthority string `` /* 148-byte string literal not displayed */

	// This is an advanced setting. Optional OIDC callback URL. If you don't set it,
	// the enforcer will autodiscover it. It will be
	// `https://<hosts[0]|IPs[0]>/aporeto/oidc/callback`.
	OIDCCallbackURL string `json:"OIDCCallbackURL" msgpack:"OIDCCallbackURL" bson:"oidccallbackurl" mapstructure:"OIDCCallbackURL,omitempty"`

	// OIDC Client ID. Only has effect if the `authorizationType` is set to `OIDC`.
	OIDCClientID string `json:"OIDCClientID" msgpack:"OIDCClientID" bson:"oidcclientid" mapstructure:"OIDCClientID,omitempty"`

	// OIDC Client Secret. Only has effect if the `authorizationType` is set to `OIDC`.
	OIDCClientSecret string `json:"OIDCClientSecret" msgpack:"OIDCClientSecret" bson:"oidcclientsecret" mapstructure:"OIDCClientSecret,omitempty"`

	// OIDC discovery endpoint. Only has effect if the `authorizationType`
	// is set to `OIDC`.
	OIDCProviderURL string `json:"OIDCProviderURL" msgpack:"OIDCProviderURL" bson:"oidcproviderurl" mapstructure:"OIDCProviderURL,omitempty"`

	// Configures the scopes you want to request from the OIDC provider. Only has
	// effect
	// if `authorizationType` is set to `OIDC`.
	OIDCScopes []string `json:"OIDCScopes" msgpack:"OIDCScopes" bson:"oidcscopes" mapstructure:"OIDCScopes,omitempty"`

	// PEM-encoded certificate to expose to the clients for TLS. Only has effect and
	// required if `TLSType` is set to `External`.
	TLSCertificate string `json:"TLSCertificate" msgpack:"TLSCertificate" bson:"tlscertificate" mapstructure:"TLSCertificate,omitempty"`

	// PEM-encoded certificate key associated with `TLSCertificate`. Only has effect
	// and required if `TLSType` is set to `External`.
	TLSCertificateKey string `json:"TLSCertificateKey" msgpack:"TLSCertificateKey" bson:"tlscertificatekey" mapstructure:"TLSCertificateKey,omitempty"`

	// Set how to provide a server certificate to the service.
	//
	// - `Aporeto`: Generate a certificate signed by the Microsegmentation
	// Console public CA.
	// - `LetsEncrypt`: Issue a certificate from Let's Encrypt.
	// - `External`: Let you define your own certificate and key to use.
	// - `None`: TLS is disabled (not recommended).
	TLSType ServiceTLSTypeValue `json:"TLSType" msgpack:"TLSType" bson:"tlstype" mapstructure:"TLSType,omitempty"`

	// This is a set of all API tags for matching in the database.
	AllAPITags []string `json:"-" msgpack:"-" bson:"allapitags" mapstructure:"-,omitempty"`

	// This is a set of all selector tags for matching in the database.
	AllProcessingUnitsTags []string `json:"-" msgpack:"-" bson:"allprocessingunitstags" mapstructure:"-,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// Defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Defines the user authorization type that should be used.
	//
	// - `None` (default): No authorization.
	// - `JWT`:  Configures a simple JWT verification from the HTTP `Authorization`
	// header.
	// - `OIDC`: Configures OIDC authorization. You must then set
	// `OIDCClientID`,`OIDCClientSecret`, `OIDCProviderURL`.
	// - `MTLS`: Configures client certificate authorization. Then you can optionally
	// use `MTLSCertificateAuthority`, otherwise Microsegmentation Console's public
	// signing certificate will be used.
	AuthorizationType ServiceAuthorizationTypeValue `json:"authorizationType" msgpack:"authorizationType" bson:"authorizationtype" mapstructure:"authorizationType,omitempty"`

	// Defines a list of mappings between claims and HTTP headers. When these mappings
	// are defined, the enforcer will copy the values of the claims to the
	// corresponding HTTP headers.
	ClaimsToHTTPHeaderMappings []*ClaimMapping `` /* 156-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Resolves the API endpoints that the service is exposing. Only valid during
	// policy rendering.
	Endpoints []*Endpoint `json:"endpoints" msgpack:"endpoints" bson:"-" mapstructure:"endpoints,omitempty"`

	// Contains a tag expression that will determine which APIs a service is exposing.
	// The APIs can be defined as the `RESTAPISpec` or similar specifications for other
	// layer 7 protocols.
	ExposedAPIs [][]string `json:"exposedAPIs" msgpack:"exposedAPIs" bson:"exposedapis" mapstructure:"exposedAPIs,omitempty"`

	// The port that the service can be accessed on. Note that this is different from
	// the `port` attribute that describes the port that the service is actually
	// listening on. For example if a load balancer is used, the `exposedPort` is
	// the port that the load balancer is listening for the service, whereas the
	// port that the implementation is listening on can be different.
	ExposedPort int `json:"exposedPort" msgpack:"exposedPort" bson:"exposedport" mapstructure:"exposedPort,omitempty"`

	// Indicates that the exposed service is TLS. This means that the enforcer has to
	// initiate a TLS session in order to forward traffic to the service.
	ExposedServiceIsTLS bool `` /* 128-byte string literal not displayed */

	// Indicates if this is an external service.
	External bool `json:"external" msgpack:"external" bson:"external" mapstructure:"external,omitempty"`

	// The host names that the service can be accessed on.
	Hosts []string `json:"hosts" msgpack:"hosts" bson:"hosts" mapstructure:"hosts,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// The port that the implementation of the service is listening to. It can be
	// different than `exposedPort`. This is needed for port mapping use cases
	// where there are private and public ports.
	Port int `json:"port" msgpack:"port" bson:"port" mapstructure:"port,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Enable trust in proxy protocols header.
	ProxyProtocolEnabled bool `` /* 132-byte string literal not displayed */

	// Only allow proxy protocols from the given subnets .
	ProxyProtocolSubnets []string `` /* 132-byte string literal not displayed */

	// A new virtual port that the service can be accessed on using HTTPS. Since the
	// enforcer transparently inserts TLS in the application path, you might want
	// to declare a new port where the enforcer listens for TLS. However, the
	// application does not need to be modified and the enforcer will map the
	// traffic to the correct application port. This is useful when
	// an application is being accessed from a public network.
	PublicApplicationPort int `` /* 136-byte string literal not displayed */

	// If this is set, the user will be redirected to that URL in case of any
	// authorization failure, allowing you to provide a nice message to the user.
	// The query parameter `?failure_message=<message>` will be added to that
	// URL explaining the possible reason for the failure.
	RedirectURLOnAuthorizationFailure string `` /* 184-byte string literal not displayed */

	// A tag or tag expression that identifies the processing unit that implements this
	// particular service.
	Selectors [][]string `json:"selectors" msgpack:"selectors" bson:"selectors" mapstructure:"selectors,omitempty"`

	// PEM-encoded certificate authorities to trust when additional hops are needed. It
	// must be set if the service must reach a service marked as `external` or must go
	// through an additional TLS termination point like a layer 7 load balancer.
	TrustedCertificateAuthorities string `` /* 168-byte string literal not displayed */

	// Type of service.
	Type ServiceTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Service represents the model of a service

func NewService

func NewService() *Service

NewService returns a new *Service

func (*Service) AttributeSpecifications

func (*Service) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Service) BleveType added in v1.1.0

func (o *Service) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Service) DecryptAttributes added in v1.57.0

func (o *Service) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*Service) DeepCopy

func (o *Service) DeepCopy() *Service

DeepCopy returns a deep copy if the Service.

func (*Service) DeepCopyInto

func (o *Service) DeepCopyInto(out *Service)

DeepCopyInto copies the receiver into the given *Service.

func (*Service) DefaultOrder

func (o *Service) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Service) Doc

func (o *Service) Doc() string

Doc returns the documentation for the object

func (*Service) EncryptAttributes added in v1.57.0

func (o *Service) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*Service) GetAnnotations

func (o *Service) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Service) GetArchived

func (o *Service) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*Service) GetAssociatedTags

func (o *Service) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Service) GetBSON added in v1.80.0

func (o *Service) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Service) GetCreateIdempotencyKey

func (o *Service) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Service) GetCreateTime

func (o *Service) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*Service) GetDescription

func (o *Service) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Service) GetDisabled

func (o *Service) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*Service) GetMetadata

func (o *Service) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*Service) GetMigrationsLog added in v1.30.0

func (o *Service) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Service) GetName

func (o *Service) GetName() string

GetName returns the Name of the receiver.

func (*Service) GetNamespace

func (o *Service) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Service) GetNormalizedTags

func (o *Service) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Service) GetPropagate added in v1.94.1

func (o *Service) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*Service) GetProtected

func (o *Service) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Service) GetUpdateIdempotencyKey

func (o *Service) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Service) GetUpdateTime

func (o *Service) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*Service) GetZHash

func (o *Service) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Service) GetZone

func (o *Service) GetZone() int

GetZone returns the Zone of the receiver.

func (*Service) Identifier

func (o *Service) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Service) Identity

func (o *Service) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Service) Patch

func (o *Service) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseService to the object.

func (*Service) SetAnnotations

func (o *Service) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Service) SetArchived

func (o *Service) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the given value.

func (*Service) SetAssociatedTags

func (o *Service) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Service) SetBSON added in v1.80.0

func (o *Service) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Service) SetCreateIdempotencyKey

func (o *Service) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Service) SetCreateTime

func (o *Service) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*Service) SetDescription

func (o *Service) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Service) SetDisabled

func (o *Service) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*Service) SetIdentifier

func (o *Service) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Service) SetMetadata

func (o *Service) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*Service) SetMigrationsLog added in v1.30.0

func (o *Service) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Service) SetName

func (o *Service) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Service) SetNamespace

func (o *Service) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Service) SetNormalizedTags

func (o *Service) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Service) SetPropagate added in v1.94.1

func (o *Service) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*Service) SetProtected

func (o *Service) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Service) SetUpdateIdempotencyKey

func (o *Service) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Service) SetUpdateTime

func (o *Service) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*Service) SetZHash

func (o *Service) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Service) SetZone

func (o *Service) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Service) SpecificationForAttribute

func (*Service) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Service) String

func (o *Service) String() string

func (*Service) ToSparse

func (o *Service) 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 (*Service) Validate

func (o *Service) Validate() error

Validate valides the current information stored into the structure.

func (*Service) ValueForAttribute

func (o *Service) ValueForAttribute(name string) interface{}

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 (*Service) Version

func (o *Service) Version() int

Version returns the hardcoded version of the model.

type ServiceAuthorizationTypeValue

type ServiceAuthorizationTypeValue string

ServiceAuthorizationTypeValue represents the possible values for attribute "authorizationType".

const (
	// ServiceAuthorizationTypeJWT represents the value JWT.
	ServiceAuthorizationTypeJWT ServiceAuthorizationTypeValue = "JWT"

	// ServiceAuthorizationTypeMTLS represents the value MTLS.
	ServiceAuthorizationTypeMTLS ServiceAuthorizationTypeValue = "MTLS"

	// ServiceAuthorizationTypeNone represents the value None.
	ServiceAuthorizationTypeNone ServiceAuthorizationTypeValue = "None"

	// ServiceAuthorizationTypeOIDC represents the value OIDC.
	ServiceAuthorizationTypeOIDC ServiceAuthorizationTypeValue = "OIDC"
)

type ServiceCertificate added in v1.103.0

type ServiceCertificate struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// The fingerprint of the public key.
	Fingerprint string `json:"fingerprint" msgpack:"fingerprint" bson:"fingerprint" mapstructure:"fingerprint,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Private key in PEM format.
	Private string `json:"private" msgpack:"private" bson:"private" mapstructure:"private,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Public key in PEM format.
	Public string `json:"public" msgpack:"public" bson:"public" mapstructure:"public,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ServiceCertificate represents the model of a servicecertificate

func NewServiceCertificate added in v1.103.0

func NewServiceCertificate() *ServiceCertificate

NewServiceCertificate returns a new *ServiceCertificate

func (*ServiceCertificate) AttributeSpecifications added in v1.103.0

func (*ServiceCertificate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ServiceCertificate) BleveType added in v1.103.0

func (o *ServiceCertificate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ServiceCertificate) DecryptAttributes added in v1.103.0

func (o *ServiceCertificate) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*ServiceCertificate) DeepCopy added in v1.103.0

func (o *ServiceCertificate) DeepCopy() *ServiceCertificate

DeepCopy returns a deep copy if the ServiceCertificate.

func (*ServiceCertificate) DeepCopyInto added in v1.103.0

func (o *ServiceCertificate) DeepCopyInto(out *ServiceCertificate)

DeepCopyInto copies the receiver into the given *ServiceCertificate.

func (*ServiceCertificate) DefaultOrder added in v1.103.0

func (o *ServiceCertificate) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ServiceCertificate) Doc added in v1.103.0

func (o *ServiceCertificate) Doc() string

Doc returns the documentation for the object

func (*ServiceCertificate) EncryptAttributes added in v1.103.0

func (o *ServiceCertificate) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*ServiceCertificate) GetAnnotations added in v1.103.0

func (o *ServiceCertificate) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*ServiceCertificate) GetAssociatedTags added in v1.103.0

func (o *ServiceCertificate) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*ServiceCertificate) GetBSON added in v1.103.0

func (o *ServiceCertificate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ServiceCertificate) GetCreateIdempotencyKey added in v1.103.0

func (o *ServiceCertificate) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*ServiceCertificate) GetCreateTime added in v1.103.0

func (o *ServiceCertificate) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ServiceCertificate) GetDescription added in v1.103.0

func (o *ServiceCertificate) GetDescription() string

GetDescription returns the Description of the receiver.

func (*ServiceCertificate) GetName added in v1.103.0

func (o *ServiceCertificate) GetName() string

GetName returns the Name of the receiver.

func (*ServiceCertificate) GetNamespace added in v1.103.0

func (o *ServiceCertificate) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ServiceCertificate) GetNormalizedTags added in v1.103.0

func (o *ServiceCertificate) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*ServiceCertificate) GetPropagate added in v1.103.0

func (o *ServiceCertificate) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*ServiceCertificate) GetProtected added in v1.103.0

func (o *ServiceCertificate) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*ServiceCertificate) GetUpdateIdempotencyKey added in v1.103.0

func (o *ServiceCertificate) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*ServiceCertificate) GetUpdateTime added in v1.103.0

func (o *ServiceCertificate) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ServiceCertificate) GetZHash added in v1.103.0

func (o *ServiceCertificate) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ServiceCertificate) GetZone added in v1.103.0

func (o *ServiceCertificate) GetZone() int

GetZone returns the Zone of the receiver.

func (*ServiceCertificate) Identifier added in v1.103.0

func (o *ServiceCertificate) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ServiceCertificate) Identity added in v1.103.0

func (o *ServiceCertificate) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ServiceCertificate) Patch added in v1.103.0

Patch apply the non nil value of a *SparseServiceCertificate to the object.

func (*ServiceCertificate) SetAnnotations added in v1.103.0

func (o *ServiceCertificate) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*ServiceCertificate) SetAssociatedTags added in v1.103.0

func (o *ServiceCertificate) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*ServiceCertificate) SetBSON added in v1.103.0

func (o *ServiceCertificate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ServiceCertificate) SetCreateIdempotencyKey added in v1.103.0

func (o *ServiceCertificate) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*ServiceCertificate) SetCreateTime added in v1.103.0

func (o *ServiceCertificate) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ServiceCertificate) SetDescription added in v1.103.0

func (o *ServiceCertificate) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*ServiceCertificate) SetIdentifier added in v1.103.0

func (o *ServiceCertificate) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ServiceCertificate) SetName added in v1.103.0

func (o *ServiceCertificate) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*ServiceCertificate) SetNamespace added in v1.103.0

func (o *ServiceCertificate) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ServiceCertificate) SetNormalizedTags added in v1.103.0

func (o *ServiceCertificate) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*ServiceCertificate) SetPropagate added in v1.103.0

func (o *ServiceCertificate) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*ServiceCertificate) SetProtected added in v1.103.0

func (o *ServiceCertificate) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*ServiceCertificate) SetUpdateIdempotencyKey added in v1.103.0

func (o *ServiceCertificate) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*ServiceCertificate) SetUpdateTime added in v1.103.0

func (o *ServiceCertificate) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ServiceCertificate) SetZHash added in v1.103.0

func (o *ServiceCertificate) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*ServiceCertificate) SetZone added in v1.103.0

func (o *ServiceCertificate) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*ServiceCertificate) SpecificationForAttribute added in v1.103.0

func (*ServiceCertificate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ServiceCertificate) String added in v1.103.0

func (o *ServiceCertificate) String() string

func (*ServiceCertificate) ToSparse added in v1.103.0

func (o *ServiceCertificate) 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 (*ServiceCertificate) Validate added in v1.103.0

func (o *ServiceCertificate) Validate() error

Validate valides the current information stored into the structure.

func (*ServiceCertificate) ValueForAttribute added in v1.103.0

func (o *ServiceCertificate) ValueForAttribute(name string) interface{}

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 (*ServiceCertificate) Version added in v1.103.0

func (o *ServiceCertificate) Version() int

Version returns the hardcoded version of the model.

type ServiceCertificatesList added in v1.103.0

type ServiceCertificatesList []*ServiceCertificate

ServiceCertificatesList represents a list of ServiceCertificates

func (ServiceCertificatesList) Append added in v1.103.0

Append appends the objects to the a new copy of the ServiceCertificatesList.

func (ServiceCertificatesList) Copy added in v1.103.0

Copy returns a pointer to a copy the ServiceCertificatesList.

func (ServiceCertificatesList) DefaultOrder added in v1.103.0

func (o ServiceCertificatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ServiceCertificatesList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (ServiceCertificatesList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (ServiceCertificatesList) ToSparse added in v1.103.0

func (o ServiceCertificatesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ServiceCertificatesList converted to SparseServiceCertificatesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ServiceCertificatesList) Version added in v1.103.0

func (o ServiceCertificatesList) Version() int

Version returns the version of the content.

type ServiceDependencyPoliciesList added in v1.101.0

type ServiceDependencyPoliciesList []*ServiceDependencyPolicy

ServiceDependencyPoliciesList represents a list of ServiceDependencyPolicies

func (ServiceDependencyPoliciesList) Append added in v1.101.0

Append appends the objects to the a new copy of the ServiceDependencyPoliciesList.

func (ServiceDependencyPoliciesList) Copy added in v1.101.0

Copy returns a pointer to a copy the ServiceDependencyPoliciesList.

func (ServiceDependencyPoliciesList) DefaultOrder added in v1.101.0

func (o ServiceDependencyPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ServiceDependencyPoliciesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (ServiceDependencyPoliciesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (ServiceDependencyPoliciesList) ToSparse added in v1.101.0

ToSparse returns the ServiceDependencyPoliciesList converted to SparseServiceDependencyPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ServiceDependencyPoliciesList) Version added in v1.101.0

func (o ServiceDependencyPoliciesList) Version() int

Version returns the version of the content.

type ServiceDependencyPolicy added in v1.101.0

type ServiceDependencyPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Object of the service dependency.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Subject of the service dependency.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ServiceDependencyPolicy represents the model of a servicedependencypolicy

func NewServiceDependencyPolicy added in v1.101.0

func NewServiceDependencyPolicy() *ServiceDependencyPolicy

NewServiceDependencyPolicy returns a new *ServiceDependencyPolicy

func (*ServiceDependencyPolicy) AttributeSpecifications added in v1.101.0

func (*ServiceDependencyPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ServiceDependencyPolicy) BleveType added in v1.101.0

func (o *ServiceDependencyPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ServiceDependencyPolicy) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the ServiceDependencyPolicy.

func (*ServiceDependencyPolicy) DeepCopyInto added in v1.101.0

func (o *ServiceDependencyPolicy) DeepCopyInto(out *ServiceDependencyPolicy)

DeepCopyInto copies the receiver into the given *ServiceDependencyPolicy.

func (*ServiceDependencyPolicy) DefaultOrder added in v1.101.0

func (o *ServiceDependencyPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ServiceDependencyPolicy) Doc added in v1.101.0

Doc returns the documentation for the object

func (*ServiceDependencyPolicy) GetActiveDuration added in v1.101.0

func (o *ServiceDependencyPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*ServiceDependencyPolicy) GetActiveSchedule added in v1.101.0

func (o *ServiceDependencyPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*ServiceDependencyPolicy) GetAnnotations added in v1.101.0

func (o *ServiceDependencyPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*ServiceDependencyPolicy) GetAssociatedTags added in v1.101.0

func (o *ServiceDependencyPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*ServiceDependencyPolicy) GetBSON added in v1.101.0

func (o *ServiceDependencyPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ServiceDependencyPolicy) GetCreateIdempotencyKey added in v1.101.0

func (o *ServiceDependencyPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*ServiceDependencyPolicy) GetCreateTime added in v1.101.0

func (o *ServiceDependencyPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*ServiceDependencyPolicy) GetDescription added in v1.101.0

func (o *ServiceDependencyPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*ServiceDependencyPolicy) GetDisabled added in v1.101.0

func (o *ServiceDependencyPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*ServiceDependencyPolicy) GetFallback added in v1.101.0

func (o *ServiceDependencyPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*ServiceDependencyPolicy) GetMetadata added in v1.101.0

func (o *ServiceDependencyPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*ServiceDependencyPolicy) GetName added in v1.101.0

func (o *ServiceDependencyPolicy) GetName() string

GetName returns the Name of the receiver.

func (*ServiceDependencyPolicy) GetNamespace added in v1.101.0

func (o *ServiceDependencyPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ServiceDependencyPolicy) GetNormalizedTags added in v1.101.0

func (o *ServiceDependencyPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*ServiceDependencyPolicy) GetPropagate added in v1.101.0

func (o *ServiceDependencyPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*ServiceDependencyPolicy) GetProtected added in v1.101.0

func (o *ServiceDependencyPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*ServiceDependencyPolicy) GetUpdateIdempotencyKey added in v1.101.0

func (o *ServiceDependencyPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*ServiceDependencyPolicy) GetUpdateTime added in v1.101.0

func (o *ServiceDependencyPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*ServiceDependencyPolicy) Identifier added in v1.101.0

func (o *ServiceDependencyPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ServiceDependencyPolicy) Identity added in v1.101.0

Identity returns the Identity of the object.

func (*ServiceDependencyPolicy) Patch added in v1.101.0

Patch apply the non nil value of a *SparseServiceDependencyPolicy to the object.

func (*ServiceDependencyPolicy) SetActiveDuration added in v1.101.0

func (o *ServiceDependencyPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*ServiceDependencyPolicy) SetActiveSchedule added in v1.101.0

func (o *ServiceDependencyPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*ServiceDependencyPolicy) SetAnnotations added in v1.101.0

func (o *ServiceDependencyPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*ServiceDependencyPolicy) SetAssociatedTags added in v1.101.0

func (o *ServiceDependencyPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*ServiceDependencyPolicy) SetBSON added in v1.101.0

func (o *ServiceDependencyPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ServiceDependencyPolicy) SetCreateIdempotencyKey added in v1.101.0

func (o *ServiceDependencyPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*ServiceDependencyPolicy) SetCreateTime added in v1.101.0

func (o *ServiceDependencyPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*ServiceDependencyPolicy) SetDescription added in v1.101.0

func (o *ServiceDependencyPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*ServiceDependencyPolicy) SetDisabled added in v1.101.0

func (o *ServiceDependencyPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*ServiceDependencyPolicy) SetFallback added in v1.101.0

func (o *ServiceDependencyPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*ServiceDependencyPolicy) SetIdentifier added in v1.101.0

func (o *ServiceDependencyPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ServiceDependencyPolicy) SetMetadata added in v1.101.0

func (o *ServiceDependencyPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*ServiceDependencyPolicy) SetName added in v1.101.0

func (o *ServiceDependencyPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*ServiceDependencyPolicy) SetNamespace added in v1.101.0

func (o *ServiceDependencyPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*ServiceDependencyPolicy) SetNormalizedTags added in v1.101.0

func (o *ServiceDependencyPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*ServiceDependencyPolicy) SetPropagate added in v1.101.0

func (o *ServiceDependencyPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*ServiceDependencyPolicy) SetProtected added in v1.101.0

func (o *ServiceDependencyPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*ServiceDependencyPolicy) SetUpdateIdempotencyKey added in v1.101.0

func (o *ServiceDependencyPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*ServiceDependencyPolicy) SetUpdateTime added in v1.101.0

func (o *ServiceDependencyPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*ServiceDependencyPolicy) SpecificationForAttribute added in v1.101.0

func (*ServiceDependencyPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ServiceDependencyPolicy) String added in v1.101.0

func (o *ServiceDependencyPolicy) String() string

func (*ServiceDependencyPolicy) ToSparse added in v1.101.0

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*ServiceDependencyPolicy) Validate added in v1.101.0

func (o *ServiceDependencyPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*ServiceDependencyPolicy) ValueForAttribute added in v1.101.0

func (o *ServiceDependencyPolicy) ValueForAttribute(name string) interface{}

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 (*ServiceDependencyPolicy) Version added in v1.101.0

func (o *ServiceDependencyPolicy) Version() int

Version returns the hardcoded version of the model.

type ServicePublication added in v1.101.0

type ServicePublication struct {
	// The service object that will be published.
	Service *Service `json:"service" msgpack:"service" bson:"-" mapstructure:"service,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ServicePublication represents the model of a servicepublication

func NewServicePublication added in v1.101.0

func NewServicePublication() *ServicePublication

NewServicePublication returns a new *ServicePublication

func (*ServicePublication) AttributeSpecifications added in v1.101.0

func (*ServicePublication) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ServicePublication) BleveType added in v1.101.0

func (o *ServicePublication) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ServicePublication) DeepCopy added in v1.101.0

func (o *ServicePublication) DeepCopy() *ServicePublication

DeepCopy returns a deep copy if the ServicePublication.

func (*ServicePublication) DeepCopyInto added in v1.101.0

func (o *ServicePublication) DeepCopyInto(out *ServicePublication)

DeepCopyInto copies the receiver into the given *ServicePublication.

func (*ServicePublication) DefaultOrder added in v1.101.0

func (o *ServicePublication) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ServicePublication) Doc added in v1.101.0

func (o *ServicePublication) Doc() string

Doc returns the documentation for the object

func (*ServicePublication) GetBSON added in v1.101.0

func (o *ServicePublication) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ServicePublication) Identifier added in v1.101.0

func (o *ServicePublication) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ServicePublication) Identity added in v1.101.0

func (o *ServicePublication) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ServicePublication) Patch added in v1.101.0

Patch apply the non nil value of a *SparseServicePublication to the object.

func (*ServicePublication) SetBSON added in v1.101.0

func (o *ServicePublication) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ServicePublication) SetIdentifier added in v1.101.0

func (o *ServicePublication) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ServicePublication) SpecificationForAttribute added in v1.101.0

func (*ServicePublication) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ServicePublication) String added in v1.101.0

func (o *ServicePublication) String() string

func (*ServicePublication) ToSparse added in v1.101.0

func (o *ServicePublication) 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 (*ServicePublication) Validate added in v1.101.0

func (o *ServicePublication) Validate() error

Validate valides the current information stored into the structure.

func (*ServicePublication) ValueForAttribute added in v1.101.0

func (o *ServicePublication) ValueForAttribute(name string) interface{}

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 (*ServicePublication) Version added in v1.101.0

func (o *ServicePublication) Version() int

Version returns the hardcoded version of the model.

type ServicePublicationsList added in v1.101.0

type ServicePublicationsList []*ServicePublication

ServicePublicationsList represents a list of ServicePublications

func (ServicePublicationsList) Append added in v1.101.0

Append appends the objects to the a new copy of the ServicePublicationsList.

func (ServicePublicationsList) Copy added in v1.101.0

Copy returns a pointer to a copy the ServicePublicationsList.

func (ServicePublicationsList) DefaultOrder added in v1.101.0

func (o ServicePublicationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ServicePublicationsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (ServicePublicationsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (ServicePublicationsList) ToSparse added in v1.101.0

func (o ServicePublicationsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ServicePublicationsList converted to SparseServicePublicationsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ServicePublicationsList) Version added in v1.101.0

func (o ServicePublicationsList) Version() int

Version returns the version of the content.

type ServiceTLSTypeValue

type ServiceTLSTypeValue string

ServiceTLSTypeValue represents the possible values for attribute "TLSType".

const (
	// ServiceTLSTypeAporeto represents the value Aporeto.
	ServiceTLSTypeAporeto ServiceTLSTypeValue = "Aporeto"

	// ServiceTLSTypeExternal represents the value External.
	ServiceTLSTypeExternal ServiceTLSTypeValue = "External"

	// ServiceTLSTypeLetsEncrypt represents the value LetsEncrypt.
	ServiceTLSTypeLetsEncrypt ServiceTLSTypeValue = "LetsEncrypt"

	// ServiceTLSTypeNone represents the value None.
	ServiceTLSTypeNone ServiceTLSTypeValue = "None"
)

type ServiceToken added in v1.20.0

type ServiceToken struct {
	// If given, the issued token will only be valid for the audience provided. If
	// empty, the audience will be resolved from the policies. If no audience can be
	// resolved, the request will be rejected with an error.
	Audience string `json:"audience" msgpack:"audience" bson:"-" mapstructure:"audience,omitempty"`

	// ID of the object you want to issue a token for.
	ObjectID string `json:"objectID" msgpack:"objectID" bson:"-" mapstructure:"objectID,omitempty"`

	// Provides the session ID of the enforcer when retrieving a datapath certificate.
	SessionID string `json:"sessionID" msgpack:"sessionID" bson:"-" mapstructure:"sessionID,omitempty"`

	// Token is the signed JWT service token.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"`

	// Type of token request.
	Type ServiceTokenTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	// Validity configures the max validity time for a token. If it is bigger than the
	// configured max validity, it will be capped.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ServiceToken represents the model of a servicetoken

func NewServiceToken added in v1.20.0

func NewServiceToken() *ServiceToken

NewServiceToken returns a new *ServiceToken

func (*ServiceToken) AttributeSpecifications added in v1.20.0

func (*ServiceToken) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ServiceToken) BleveType added in v1.20.0

func (o *ServiceToken) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ServiceToken) DeepCopy added in v1.20.0

func (o *ServiceToken) DeepCopy() *ServiceToken

DeepCopy returns a deep copy if the ServiceToken.

func (*ServiceToken) DeepCopyInto added in v1.20.0

func (o *ServiceToken) DeepCopyInto(out *ServiceToken)

DeepCopyInto copies the receiver into the given *ServiceToken.

func (*ServiceToken) DefaultOrder added in v1.20.0

func (o *ServiceToken) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ServiceToken) Doc added in v1.20.0

func (o *ServiceToken) Doc() string

Doc returns the documentation for the object

func (*ServiceToken) GetBSON added in v1.80.0

func (o *ServiceToken) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ServiceToken) Identifier added in v1.20.0

func (o *ServiceToken) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ServiceToken) Identity added in v1.20.0

func (o *ServiceToken) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ServiceToken) Patch added in v1.20.0

func (o *ServiceToken) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseServiceToken to the object.

func (*ServiceToken) SetBSON added in v1.80.0

func (o *ServiceToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ServiceToken) SetIdentifier added in v1.20.0

func (o *ServiceToken) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ServiceToken) SpecificationForAttribute added in v1.20.0

func (*ServiceToken) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ServiceToken) String added in v1.20.0

func (o *ServiceToken) String() string

func (*ServiceToken) ToSparse added in v1.20.0

func (o *ServiceToken) 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 (*ServiceToken) Validate added in v1.20.0

func (o *ServiceToken) Validate() error

Validate valides the current information stored into the structure.

func (*ServiceToken) ValueForAttribute added in v1.20.0

func (o *ServiceToken) ValueForAttribute(name string) interface{}

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 (*ServiceToken) Version added in v1.20.0

func (o *ServiceToken) Version() int

Version returns the hardcoded version of the model.

type ServiceTokenTypeValue added in v1.20.0

type ServiceTokenTypeValue string

ServiceTokenTypeValue represents the possible values for attribute "type".

const (
	// ServiceTokenTypeProcessingUnit represents the value ProcessingUnit.
	ServiceTokenTypeProcessingUnit ServiceTokenTypeValue = "ProcessingUnit"

	// ServiceTokenTypeService represents the value Service.
	ServiceTokenTypeService ServiceTokenTypeValue = "Service"
)

type ServiceTokensList added in v1.20.0

type ServiceTokensList []*ServiceToken

ServiceTokensList represents a list of ServiceTokens

func (ServiceTokensList) Append added in v1.20.0

Append appends the objects to the a new copy of the ServiceTokensList.

func (ServiceTokensList) Copy added in v1.20.0

Copy returns a pointer to a copy the ServiceTokensList.

func (ServiceTokensList) DefaultOrder added in v1.20.0

func (o ServiceTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ServiceTokensList) Identity added in v1.20.0

func (o ServiceTokensList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ServiceTokensList) List added in v1.20.0

List converts the object to an elemental.IdentifiablesList.

func (ServiceTokensList) ToSparse added in v1.20.0

func (o ServiceTokensList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ServiceTokensList converted to SparseServiceTokensList. Objects in the list will only contain the given fields. No field means entire field set.

func (ServiceTokensList) Version added in v1.20.0

func (o ServiceTokensList) Version() int

Version returns the version of the content.

type ServiceTypeValue

type ServiceTypeValue string

ServiceTypeValue represents the possible values for attribute "type".

const (
	// ServiceTypeHTTP represents the value HTTP.
	ServiceTypeHTTP ServiceTypeValue = "HTTP"

	// ServiceTypeKubernetesSecrets represents the value KubernetesSecrets.
	ServiceTypeKubernetesSecrets ServiceTypeValue = "KubernetesSecrets"

	// ServiceTypeTCP represents the value TCP.
	ServiceTypeTCP ServiceTypeValue = "TCP"

	// ServiceTypeVaultSecrets represents the value VaultSecrets.
	ServiceTypeVaultSecrets ServiceTypeValue = "VaultSecrets"
)

type ServicesList

type ServicesList []*Service

ServicesList represents a list of Services

func (ServicesList) Append

Append appends the objects to the a new copy of the ServicesList.

func (ServicesList) Copy

Copy returns a pointer to a copy the ServicesList.

func (ServicesList) DefaultOrder

func (o ServicesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ServicesList) Identity

func (o ServicesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ServicesList) List

List converts the object to an elemental.IdentifiablesList.

func (ServicesList) ToSparse

func (o ServicesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ServicesList converted to SparseServicesList. Objects in the list will only contain the given fields. No field means entire field set.

func (ServicesList) Version

func (o ServicesList) Version() int

Version returns the version of the content.

type SparseAPIAuthorizationPoliciesList

type SparseAPIAuthorizationPoliciesList []*SparseAPIAuthorizationPolicy

SparseAPIAuthorizationPoliciesList represents a list of SparseAPIAuthorizationPolicies

func (SparseAPIAuthorizationPoliciesList) Append

Append appends the objects to the a new copy of the SparseAPIAuthorizationPoliciesList.

func (SparseAPIAuthorizationPoliciesList) Copy

Copy returns a pointer to a copy the SparseAPIAuthorizationPoliciesList.

func (SparseAPIAuthorizationPoliciesList) DefaultOrder

func (o SparseAPIAuthorizationPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAPIAuthorizationPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseAPIAuthorizationPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAPIAuthorizationPoliciesList) ToPlain

ToPlain returns the SparseAPIAuthorizationPoliciesList converted to APIAuthorizationPoliciesList.

func (SparseAPIAuthorizationPoliciesList) Version

Version returns the version of the content.

type SparseAPIAuthorizationPolicy

type SparseAPIAuthorizationPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// This is a set of all subject tags for matching in the DB.
	AllSubjectTags *[]string `json:"-" msgpack:"-" bson:"allsubjecttags,omitempty" mapstructure:"-,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// A list of roles assigned to the user.
	AuthorizedIdentities *[]string `` /* 162-byte string literal not displayed */

	// Defines the namespace the user is authorized to access.
	AuthorizedNamespace *string `` /* 158-byte string literal not displayed */

	// If set, the API authorization will only be valid if the request comes from one
	// the declared subnets.
	AuthorizedSubnets *[]string `` /* 150-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set, the policy will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the api authorization to all of its children.
	Propagate *bool `json:"-" msgpack:"-" bson:"propagate,omitempty" mapstructure:"-,omitempty"`

	// If set to `true` while the policy is propagating, it won't be visible to
	// children
	// namespace, but still used for policy resolution.
	PropagationHidden *bool `` /* 150-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// A tag or tag expression that identifies the authorized user(s).
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAPIAuthorizationPolicy represents the sparse version of a apiauthorizationpolicy.

func NewSparseAPIAuthorizationPolicy

func NewSparseAPIAuthorizationPolicy() *SparseAPIAuthorizationPolicy

NewSparseAPIAuthorizationPolicy returns a new SparseAPIAuthorizationPolicy.

func (*SparseAPIAuthorizationPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseAPIAuthorizationPolicy.

func (*SparseAPIAuthorizationPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseAPIAuthorizationPolicy.

func (*SparseAPIAuthorizationPolicy) GetActiveDuration

func (o *SparseAPIAuthorizationPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseAPIAuthorizationPolicy) GetActiveSchedule

func (o *SparseAPIAuthorizationPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseAPIAuthorizationPolicy) GetAnnotations

func (o *SparseAPIAuthorizationPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseAPIAuthorizationPolicy) GetAssociatedTags

func (o *SparseAPIAuthorizationPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAPIAuthorizationPolicy) GetBSON added in v1.80.0

func (o *SparseAPIAuthorizationPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAPIAuthorizationPolicy) GetCreateIdempotencyKey

func (o *SparseAPIAuthorizationPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAPIAuthorizationPolicy) GetCreateTime

func (o *SparseAPIAuthorizationPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAPIAuthorizationPolicy) GetDescription

func (o *SparseAPIAuthorizationPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseAPIAuthorizationPolicy) GetDisabled

func (o *SparseAPIAuthorizationPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseAPIAuthorizationPolicy) GetExpirationTime

func (o *SparseAPIAuthorizationPolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseAPIAuthorizationPolicy) GetFallback

func (o *SparseAPIAuthorizationPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseAPIAuthorizationPolicy) GetMetadata

func (o *SparseAPIAuthorizationPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseAPIAuthorizationPolicy) GetName

func (o *SparseAPIAuthorizationPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseAPIAuthorizationPolicy) GetNamespace

func (o *SparseAPIAuthorizationPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAPIAuthorizationPolicy) GetNormalizedTags

func (o *SparseAPIAuthorizationPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAPIAuthorizationPolicy) GetPropagate

func (o *SparseAPIAuthorizationPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseAPIAuthorizationPolicy) GetPropagationHidden

func (o *SparseAPIAuthorizationPolicy) GetPropagationHidden() (out bool)

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*SparseAPIAuthorizationPolicy) GetProtected

func (o *SparseAPIAuthorizationPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseAPIAuthorizationPolicy) GetUpdateIdempotencyKey

func (o *SparseAPIAuthorizationPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAPIAuthorizationPolicy) GetUpdateTime

func (o *SparseAPIAuthorizationPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAPIAuthorizationPolicy) GetZHash

func (o *SparseAPIAuthorizationPolicy) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAPIAuthorizationPolicy) GetZone

func (o *SparseAPIAuthorizationPolicy) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAPIAuthorizationPolicy) Identifier

func (o *SparseAPIAuthorizationPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAPIAuthorizationPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseAPIAuthorizationPolicy) SetActiveDuration

func (o *SparseAPIAuthorizationPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetActiveSchedule

func (o *SparseAPIAuthorizationPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetAnnotations

func (o *SparseAPIAuthorizationPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetAssociatedTags

func (o *SparseAPIAuthorizationPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetBSON added in v1.80.0

func (o *SparseAPIAuthorizationPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAPIAuthorizationPolicy) SetCreateIdempotencyKey

func (o *SparseAPIAuthorizationPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetCreateTime

func (o *SparseAPIAuthorizationPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetDescription

func (o *SparseAPIAuthorizationPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetDisabled

func (o *SparseAPIAuthorizationPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetExpirationTime

func (o *SparseAPIAuthorizationPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetFallback

func (o *SparseAPIAuthorizationPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetIdentifier

func (o *SparseAPIAuthorizationPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAPIAuthorizationPolicy) SetMetadata

func (o *SparseAPIAuthorizationPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetName

func (o *SparseAPIAuthorizationPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetNamespace

func (o *SparseAPIAuthorizationPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetNormalizedTags

func (o *SparseAPIAuthorizationPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetPropagate

func (o *SparseAPIAuthorizationPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetPropagationHidden

func (o *SparseAPIAuthorizationPolicy) SetPropagationHidden(propagationHidden bool)

SetPropagationHidden sets the property PropagationHidden of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetProtected

func (o *SparseAPIAuthorizationPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetUpdateIdempotencyKey

func (o *SparseAPIAuthorizationPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetUpdateTime

func (o *SparseAPIAuthorizationPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetZHash

func (o *SparseAPIAuthorizationPolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) SetZone

func (o *SparseAPIAuthorizationPolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAPIAuthorizationPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAPIAuthorizationPolicy) Version

func (o *SparseAPIAuthorizationPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseAPICheck

type SparseAPICheck struct {
	// Contains the results of the check.
	Authorized *map[string]bool `json:"authorized,omitempty" msgpack:"authorized,omitempty" bson:"-" mapstructure:"authorized,omitempty"`

	// The namespace to use to check the API authorization.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// The operation you want to check.
	Operation *APICheckOperationValue `json:"operation,omitempty" msgpack:"operation,omitempty" bson:"operation,omitempty" mapstructure:"operation,omitempty"`

	// Contains the list of identities you want to check the
	// authorization of.
	TargetIdentities *[]string `json:"targetIdentities,omitempty" msgpack:"targetIdentities,omitempty" bson:"-" mapstructure:"targetIdentities,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAPICheck represents the sparse version of a apicheck.

func NewSparseAPICheck

func NewSparseAPICheck() *SparseAPICheck

NewSparseAPICheck returns a new SparseAPICheck.

func (*SparseAPICheck) DeepCopy

func (o *SparseAPICheck) DeepCopy() *SparseAPICheck

DeepCopy returns a deep copy if the SparseAPICheck.

func (*SparseAPICheck) DeepCopyInto

func (o *SparseAPICheck) DeepCopyInto(out *SparseAPICheck)

DeepCopyInto copies the receiver into the given *SparseAPICheck.

func (*SparseAPICheck) GetBSON added in v1.80.0

func (o *SparseAPICheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAPICheck) Identifier

func (o *SparseAPICheck) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAPICheck) Identity

func (o *SparseAPICheck) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAPICheck) SetBSON added in v1.80.0

func (o *SparseAPICheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAPICheck) SetIdentifier

func (o *SparseAPICheck) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAPICheck) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAPICheck) Version

func (o *SparseAPICheck) Version() int

Version returns the hardcoded version of the model.

type SparseAPIChecksList

type SparseAPIChecksList []*SparseAPICheck

SparseAPIChecksList represents a list of SparseAPIChecks

func (SparseAPIChecksList) Append

Append appends the objects to the a new copy of the SparseAPIChecksList.

func (SparseAPIChecksList) Copy

Copy returns a pointer to a copy the SparseAPIChecksList.

func (SparseAPIChecksList) DefaultOrder

func (o SparseAPIChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAPIChecksList) Identity

func (o SparseAPIChecksList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAPIChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAPIChecksList) ToPlain

ToPlain returns the SparseAPIChecksList converted to APIChecksList.

func (SparseAPIChecksList) Version

func (o SparseAPIChecksList) Version() int

Version returns the version of the content.

type SparseAccessReport added in v1.1.0

type SparseAccessReport struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Action applied to the access.
	Action *AccessReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// Hash of the claims used to communicate.
	ClaimHash *string `json:"claimHash,omitempty" msgpack:"claimHash,omitempty" bson:"b,omitempty" mapstructure:"claimHash,omitempty"`

	// Identifier of the enforcer.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"c,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer.
	EnforcerNamespace *string `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// ID of the processing unit of the report.
	ProcessingUnitID *string `` /* 131-byte string literal not displayed */

	// Name of the processing unit of the report.
	ProcessingUnitName *string `` /* 137-byte string literal not displayed */

	// Namespace of the processing unit of the report.
	ProcessingUnitNamespace *string `` /* 152-byte string literal not displayed */

	// This field is only set if `action` is set to `Reject`. It specifies the reason
	// for the rejection.
	Reason *string `json:"reason,omitempty" msgpack:"reason,omitempty" bson:"h,omitempty" mapstructure:"reason,omitempty"`

	// Date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"i,omitempty" mapstructure:"timestamp,omitempty"`

	// Type of the report.
	Type *AccessReportTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"j,omitempty" mapstructure:"type,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAccessReport represents the sparse version of a accessreport.

func NewSparseAccessReport added in v1.1.0

func NewSparseAccessReport() *SparseAccessReport

NewSparseAccessReport returns a new SparseAccessReport.

func (*SparseAccessReport) DeepCopy added in v1.1.0

func (o *SparseAccessReport) DeepCopy() *SparseAccessReport

DeepCopy returns a deep copy if the SparseAccessReport.

func (*SparseAccessReport) DeepCopyInto added in v1.1.0

func (o *SparseAccessReport) DeepCopyInto(out *SparseAccessReport)

DeepCopyInto copies the receiver into the given *SparseAccessReport.

func (*SparseAccessReport) GetBSON added in v1.80.0

func (o *SparseAccessReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccessReport) GetMigrationsLog added in v1.94.1

func (o *SparseAccessReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAccessReport) GetZHash added in v1.94.1

func (o *SparseAccessReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAccessReport) GetZone added in v1.94.1

func (o *SparseAccessReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAccessReport) Identifier added in v1.1.0

func (o *SparseAccessReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAccessReport) Identity added in v1.1.0

func (o *SparseAccessReport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAccessReport) SetBSON added in v1.80.0

func (o *SparseAccessReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccessReport) SetIdentifier added in v1.1.0

func (o *SparseAccessReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAccessReport) SetMigrationsLog added in v1.94.1

func (o *SparseAccessReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseAccessReport) SetZHash added in v1.94.1

func (o *SparseAccessReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAccessReport) SetZone added in v1.94.1

func (o *SparseAccessReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAccessReport) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseAccessReport) Version added in v1.1.0

func (o *SparseAccessReport) Version() int

Version returns the hardcoded version of the model.

type SparseAccessReportsList added in v1.1.0

type SparseAccessReportsList []*SparseAccessReport

SparseAccessReportsList represents a list of SparseAccessReports

func (SparseAccessReportsList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseAccessReportsList.

func (SparseAccessReportsList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseAccessReportsList.

func (SparseAccessReportsList) DefaultOrder added in v1.1.0

func (o SparseAccessReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAccessReportsList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (SparseAccessReportsList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseAccessReportsList) ToPlain added in v1.1.0

ToPlain returns the SparseAccessReportsList converted to AccessReportsList.

func (SparseAccessReportsList) Version added in v1.1.0

func (o SparseAccessReportsList) Version() int

Version returns the version of the content.

type SparseAccessibleNamespace added in v1.94.1

type SparseAccessibleNamespace struct {
	// Name of the namespace that is accessible.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAccessibleNamespace represents the sparse version of a accessiblenamespace.

func NewSparseAccessibleNamespace added in v1.94.1

func NewSparseAccessibleNamespace() *SparseAccessibleNamespace

NewSparseAccessibleNamespace returns a new SparseAccessibleNamespace.

func (*SparseAccessibleNamespace) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseAccessibleNamespace.

func (*SparseAccessibleNamespace) DeepCopyInto added in v1.94.1

DeepCopyInto copies the receiver into the given *SparseAccessibleNamespace.

func (*SparseAccessibleNamespace) GetBSON added in v1.94.1

func (o *SparseAccessibleNamespace) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccessibleNamespace) Identifier added in v1.94.1

func (o *SparseAccessibleNamespace) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAccessibleNamespace) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseAccessibleNamespace) SetBSON added in v1.94.1

func (o *SparseAccessibleNamespace) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccessibleNamespace) SetIdentifier added in v1.94.1

func (o *SparseAccessibleNamespace) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAccessibleNamespace) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseAccessibleNamespace) Version added in v1.94.1

func (o *SparseAccessibleNamespace) Version() int

Version returns the hardcoded version of the model.

type SparseAccessibleNamespacesList added in v1.94.1

type SparseAccessibleNamespacesList []*SparseAccessibleNamespace

SparseAccessibleNamespacesList represents a list of SparseAccessibleNamespaces

func (SparseAccessibleNamespacesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseAccessibleNamespacesList.

func (SparseAccessibleNamespacesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseAccessibleNamespacesList.

func (SparseAccessibleNamespacesList) DefaultOrder added in v1.94.1

func (o SparseAccessibleNamespacesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAccessibleNamespacesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseAccessibleNamespacesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseAccessibleNamespacesList) ToPlain added in v1.94.1

ToPlain returns the SparseAccessibleNamespacesList converted to AccessibleNamespacesList.

func (SparseAccessibleNamespacesList) Version added in v1.94.1

func (o SparseAccessibleNamespacesList) Version() int

Version returns the version of the content.

type SparseAccount

type SparseAccount struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Enable or disable two-factor authentication.
	OTPEnabled *bool `json:"OTPEnabled,omitempty" msgpack:"OTPEnabled,omitempty" bson:"otpenabled,omitempty" mapstructure:"OTPEnabled,omitempty"`

	// Returns the base64-encoded QR code for setting up two-factor authentication.
	OTPQRCode *string `json:"OTPQRCode,omitempty" msgpack:"OTPQRCode,omitempty" bson:"-" mapstructure:"OTPQRCode,omitempty"`

	// Stores the two-factor authentication secret.
	OTPSecret *string `json:"-" msgpack:"-" bson:"otpsecret,omitempty" mapstructure:"-,omitempty"`

	// Holds the SSH certificate authority used by the account namespace.
	SSHCA *string `json:"SSHCA,omitempty" msgpack:"SSHCA,omitempty" bson:"-" mapstructure:"SSHCA,omitempty"`

	// Set to `true` to renew the SSH certificate authority of the account namespace.
	SSHCARenew *bool `json:"SSHCARenew,omitempty" msgpack:"SSHCARenew,omitempty" bson:"-" mapstructure:"SSHCARenew,omitempty"`

	// Defines if the account holder should have access to the system.
	AccessEnabled *bool `` /* 134-byte string literal not displayed */

	// Contains the expiration date of the activation token.
	ActivationExpiration *time.Time `json:"-" msgpack:"-" bson:"activationexpiration,omitempty" mapstructure:"-,omitempty"`

	// Contains the activation token.
	ActivationToken *string `` /* 142-byte string literal not displayed */

	// Holds the ID of the associated API authorization.
	AssociatedAPIAuthPolicyID *string `json:"-" msgpack:"-" bson:"associatedapiauthpolicyid,omitempty" mapstructure:"-,omitempty"`

	// Contains a map of associated AWS enforcer policies.
	AssociatedAWSPolicies *map[string]string `json:"-" msgpack:"-" bson:"associatedawspolicies,omitempty" mapstructure:"-,omitempty"`

	// Contains the ID of the associated namespace.
	AssociatedNamespaceID *string `json:"-" msgpack:"-" bson:"associatednamespaceid,omitempty" mapstructure:"-,omitempty"`

	// Contains the plan key associated with this account.
	AssociatedPlanKey *string `` /* 150-byte string literal not displayed */

	// Contains a map of the associated quotas.
	AssociatedQuotaPolicies *map[string]string `json:"-" msgpack:"-" bson:"associatedquotapolicies,omitempty" mapstructure:"-,omitempty"`

	// Company of the account user.
	Company *string `json:"company,omitempty" msgpack:"company,omitempty" bson:"company,omitempty" mapstructure:"company,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Email of the account holder.
	Email *string `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// Internally keeps track of the number of failed attempt.
	FailedAuth *int `json:"-" msgpack:"-" bson:"failedauth,omitempty" mapstructure:"-,omitempty"`

	// Internally keeps track of the time of the last failed attempt.
	FailedTime *time.Time `json:"-" msgpack:"-" bson:"failedtime,omitempty" mapstructure:"-,omitempty"`

	// First name of the account user.
	FirstName *string `json:"firstName,omitempty" msgpack:"firstName,omitempty" bson:"firstname,omitempty" mapstructure:"firstName,omitempty"`

	// Last name of the account user.
	LastName *string `json:"lastName,omitempty" msgpack:"lastName,omitempty" bson:"lastname,omitempty" mapstructure:"lastName,omitempty"`

	// The certificate authority used by this namespace.
	LocalCA *string `json:"localCA,omitempty" msgpack:"localCA,omitempty" bson:"-" mapstructure:"localCA,omitempty"`

	// Set to `true` to renew the local certificate authority of the account namespace.
	LocalCARenew *bool `json:"localCARenew,omitempty" msgpack:"localCARenew,omitempty" bson:"-" mapstructure:"localCARenew,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the account.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// New password for the account. If set the previous password must be given through
	// the property `password`.
	NewPassword *string `json:"newPassword,omitempty" msgpack:"newPassword,omitempty" bson:"-" mapstructure:"newPassword,omitempty"`

	// Password for the account.
	Password *string `json:"password,omitempty" msgpack:"password,omitempty" bson:"password,omitempty" mapstructure:"password,omitempty"`

	// Contains the completely automated public Turing test (CAPTCHA)
	// validation if reCAPTCHA is enabled.
	ReCAPTCHAKey *string `json:"reCAPTCHAKey,omitempty" msgpack:"reCAPTCHAKey,omitempty" bson:"-" mapstructure:"reCAPTCHAKey,omitempty"`

	// Contains the expiration time for resetting the password.
	ResetPasswordExpiration *time.Time `json:"-" msgpack:"-" bson:"resetpasswordexpiration,omitempty" mapstructure:"-,omitempty"`

	// Contains the token to use for resetting password.
	ResetPasswordToken *string `json:"-" msgpack:"-" bson:"resetpasswordtoken,omitempty" mapstructure:"-,omitempty"`

	// Status of the account.
	Status *AccountStatusValue `json:"status,omitempty" msgpack:"status,omitempty" bson:"status,omitempty" mapstructure:"status,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAccount represents the sparse version of a account.

func NewSparseAccount

func NewSparseAccount() *SparseAccount

NewSparseAccount returns a new SparseAccount.

func (*SparseAccount) DeepCopy

func (o *SparseAccount) DeepCopy() *SparseAccount

DeepCopy returns a deep copy if the SparseAccount.

func (*SparseAccount) DeepCopyInto

func (o *SparseAccount) DeepCopyInto(out *SparseAccount)

DeepCopyInto copies the receiver into the given *SparseAccount.

func (*SparseAccount) GetBSON added in v1.80.0

func (o *SparseAccount) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccount) GetCreateTime

func (o *SparseAccount) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAccount) GetMigrationsLog added in v1.30.0

func (o *SparseAccount) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAccount) GetUpdateTime

func (o *SparseAccount) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAccount) GetZHash added in v1.1.0

func (o *SparseAccount) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAccount) GetZone added in v1.1.0

func (o *SparseAccount) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAccount) Identifier

func (o *SparseAccount) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAccount) Identity

func (o *SparseAccount) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAccount) SetBSON added in v1.80.0

func (o *SparseAccount) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccount) SetCreateTime

func (o *SparseAccount) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAccount) SetIdentifier

func (o *SparseAccount) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAccount) SetMigrationsLog added in v1.30.0

func (o *SparseAccount) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseAccount) SetUpdateTime

func (o *SparseAccount) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAccount) SetZHash added in v1.1.0

func (o *SparseAccount) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAccount) SetZone added in v1.1.0

func (o *SparseAccount) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAccount) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAccount) Version

func (o *SparseAccount) Version() int

Version returns the hardcoded version of the model.

type SparseAccountCheck

type SparseAccountCheck struct {
	// ID of the account if validated.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// eventual otp.
	OTP *string `json:"OTP,omitempty" msgpack:"OTP,omitempty" bson:"-" mapstructure:"OTP,omitempty"`

	// email of the account if validated.
	Email *string `json:"email,omitempty" msgpack:"email,omitempty" bson:"-" mapstructure:"email,omitempty"`

	// Account name of email.
	Handle *string `json:"handle,omitempty" msgpack:"handle,omitempty" bson:"-" mapstructure:"handle,omitempty"`

	// name of the account.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// provided password.
	Password *string `json:"password,omitempty" msgpack:"password,omitempty" bson:"-" mapstructure:"password,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAccountCheck represents the sparse version of a accountcheck.

func NewSparseAccountCheck

func NewSparseAccountCheck() *SparseAccountCheck

NewSparseAccountCheck returns a new SparseAccountCheck.

func (*SparseAccountCheck) DeepCopy

func (o *SparseAccountCheck) DeepCopy() *SparseAccountCheck

DeepCopy returns a deep copy if the SparseAccountCheck.

func (*SparseAccountCheck) DeepCopyInto

func (o *SparseAccountCheck) DeepCopyInto(out *SparseAccountCheck)

DeepCopyInto copies the receiver into the given *SparseAccountCheck.

func (*SparseAccountCheck) GetBSON added in v1.80.0

func (o *SparseAccountCheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccountCheck) Identifier

func (o *SparseAccountCheck) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAccountCheck) Identity

func (o *SparseAccountCheck) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAccountCheck) SetBSON added in v1.80.0

func (o *SparseAccountCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAccountCheck) SetIdentifier

func (o *SparseAccountCheck) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAccountCheck) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAccountCheck) Version

func (o *SparseAccountCheck) Version() int

Version returns the hardcoded version of the model.

type SparseAccountChecksList

type SparseAccountChecksList []*SparseAccountCheck

SparseAccountChecksList represents a list of SparseAccountChecks

func (SparseAccountChecksList) Append

Append appends the objects to the a new copy of the SparseAccountChecksList.

func (SparseAccountChecksList) Copy

Copy returns a pointer to a copy the SparseAccountChecksList.

func (SparseAccountChecksList) DefaultOrder

func (o SparseAccountChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAccountChecksList) Identity

Identity returns the identity of the objects in the list.

func (SparseAccountChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAccountChecksList) ToPlain

ToPlain returns the SparseAccountChecksList converted to AccountChecksList.

func (SparseAccountChecksList) Version

func (o SparseAccountChecksList) Version() int

Version returns the version of the content.

type SparseAccountsList

type SparseAccountsList []*SparseAccount

SparseAccountsList represents a list of SparseAccounts

func (SparseAccountsList) Append

Append appends the objects to the a new copy of the SparseAccountsList.

func (SparseAccountsList) Copy

Copy returns a pointer to a copy the SparseAccountsList.

func (SparseAccountsList) DefaultOrder

func (o SparseAccountsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAccountsList) Identity

func (o SparseAccountsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAccountsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAccountsList) ToPlain

ToPlain returns the SparseAccountsList converted to AccountsList.

func (SparseAccountsList) Version

func (o SparseAccountsList) Version() int

Version returns the version of the content.

type SparseActivate

type SparseActivate struct {
	// Contains the activation token.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseActivate represents the sparse version of a activate.

func NewSparseActivate

func NewSparseActivate() *SparseActivate

NewSparseActivate returns a new SparseActivate.

func (*SparseActivate) DeepCopy

func (o *SparseActivate) DeepCopy() *SparseActivate

DeepCopy returns a deep copy if the SparseActivate.

func (*SparseActivate) DeepCopyInto

func (o *SparseActivate) DeepCopyInto(out *SparseActivate)

DeepCopyInto copies the receiver into the given *SparseActivate.

func (*SparseActivate) GetBSON added in v1.80.0

func (o *SparseActivate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseActivate) Identifier

func (o *SparseActivate) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseActivate) Identity

func (o *SparseActivate) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseActivate) SetBSON added in v1.80.0

func (o *SparseActivate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseActivate) SetIdentifier

func (o *SparseActivate) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseActivate) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseActivate) Version

func (o *SparseActivate) Version() int

Version returns the hardcoded version of the model.

type SparseActivatesList

type SparseActivatesList []*SparseActivate

SparseActivatesList represents a list of SparseActivates

func (SparseActivatesList) Append

Append appends the objects to the a new copy of the SparseActivatesList.

func (SparseActivatesList) Copy

Copy returns a pointer to a copy the SparseActivatesList.

func (SparseActivatesList) DefaultOrder

func (o SparseActivatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseActivatesList) Identity

func (o SparseActivatesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseActivatesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseActivatesList) ToPlain

ToPlain returns the SparseActivatesList converted to ActivatesList.

func (SparseActivatesList) Version

func (o SparseActivatesList) Version() int

Version returns the version of the content.

type SparseActivitiesList

type SparseActivitiesList []*SparseActivity

SparseActivitiesList represents a list of SparseActivities

func (SparseActivitiesList) Append

Append appends the objects to the a new copy of the SparseActivitiesList.

func (SparseActivitiesList) Copy

Copy returns a pointer to a copy the SparseActivitiesList.

func (SparseActivitiesList) DefaultOrder

func (o SparseActivitiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseActivitiesList) Identity

Identity returns the identity of the objects in the list.

func (SparseActivitiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseActivitiesList) ToPlain

ToPlain returns the SparseActivitiesList converted to ActivitiesList.

func (SparseActivitiesList) Version

func (o SparseActivitiesList) Version() int

Version returns the version of the content.

type SparseActivity

type SparseActivity struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Claims of the user who performed the operation.
	Claims *interface{} `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// This is deprecated in favor of `diff`.
	Data *interface{} `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// Time-date stamp of the notification.
	Date *time.Time `json:"date,omitempty" msgpack:"date,omitempty" bson:"date,omitempty" mapstructure:"date,omitempty"`

	// Contains the diff of the change.
	Diff *string `json:"diff,omitempty" msgpack:"diff,omitempty" bson:"diff,omitempty" mapstructure:"diff,omitempty"`

	// Contains the error.
	Error *interface{} `json:"error,omitempty" msgpack:"error,omitempty" bson:"error,omitempty" mapstructure:"error,omitempty"`

	// Message of the notification.
	Message *string `json:"message,omitempty" msgpack:"message,omitempty" bson:"message,omitempty" mapstructure:"message,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Describes what kind of operation the notification represents.
	Operation *string `json:"operation,omitempty" msgpack:"operation,omitempty" bson:"operation,omitempty" mapstructure:"operation,omitempty"`

	// This is deprecated in favor of `diff`.
	OriginalData *interface{} `` /* 130-byte string literal not displayed */

	// Contains meta information about the source.
	Source *string `json:"source,omitempty" msgpack:"source,omitempty" bson:"source,omitempty" mapstructure:"source,omitempty"`

	// The identity of the related object.
	TargetIdentity *string `` /* 138-byte string literal not displayed */

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseActivity represents the sparse version of a activity.

func NewSparseActivity

func NewSparseActivity() *SparseActivity

NewSparseActivity returns a new SparseActivity.

func (*SparseActivity) DeepCopy

func (o *SparseActivity) DeepCopy() *SparseActivity

DeepCopy returns a deep copy if the SparseActivity.

func (*SparseActivity) DeepCopyInto

func (o *SparseActivity) DeepCopyInto(out *SparseActivity)

DeepCopyInto copies the receiver into the given *SparseActivity.

func (*SparseActivity) GetBSON added in v1.80.0

func (o *SparseActivity) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseActivity) GetMigrationsLog added in v1.30.0

func (o *SparseActivity) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseActivity) GetNamespace added in v1.1.0

func (o *SparseActivity) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseActivity) GetZHash

func (o *SparseActivity) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseActivity) GetZone

func (o *SparseActivity) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseActivity) Identifier

func (o *SparseActivity) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseActivity) Identity

func (o *SparseActivity) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseActivity) SetBSON added in v1.80.0

func (o *SparseActivity) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseActivity) SetIdentifier

func (o *SparseActivity) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseActivity) SetMigrationsLog added in v1.30.0

func (o *SparseActivity) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseActivity) SetNamespace added in v1.1.0

func (o *SparseActivity) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseActivity) SetZHash

func (o *SparseActivity) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseActivity) SetZone

func (o *SparseActivity) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseActivity) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseActivity) Version

func (o *SparseActivity) Version() int

Version returns the hardcoded version of the model.

type SparseAlarm

type SparseAlarm struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Content of the alarm.
	Content *string `json:"content,omitempty" msgpack:"content,omitempty" bson:"content,omitempty" mapstructure:"content,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Data represent user data related to the alarms.
	Data *[]map[string]string `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// A list of recipients that should be emailed when this alarm is
	// created.
	Emails *[]string `json:"emails,omitempty" msgpack:"emails,omitempty" bson:"emails,omitempty" mapstructure:"emails,omitempty"`

	// Identifies the kind of alarm. If two alarms are created with the same
	// identifier, then only the occurrence will be incremented.
	Kind *string `json:"kind,omitempty" msgpack:"kind,omitempty" bson:"kind,omitempty" mapstructure:"kind,omitempty"`

	// Time and date of the alarm set by the enforcer.
	LastLocalTimestamp *time.Time `` /* 127-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Number of times this alarm has been seen.
	Occurrences *[]time.Time `` /* 126-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Status of the alarm.
	Status *AlarmStatusValue `json:"status,omitempty" msgpack:"status,omitempty" bson:"status,omitempty" mapstructure:"status,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAlarm represents the sparse version of a alarm.

func NewSparseAlarm

func NewSparseAlarm() *SparseAlarm

NewSparseAlarm returns a new SparseAlarm.

func (*SparseAlarm) DeepCopy

func (o *SparseAlarm) DeepCopy() *SparseAlarm

DeepCopy returns a deep copy if the SparseAlarm.

func (*SparseAlarm) DeepCopyInto

func (o *SparseAlarm) DeepCopyInto(out *SparseAlarm)

DeepCopyInto copies the receiver into the given *SparseAlarm.

func (*SparseAlarm) GetAnnotations

func (o *SparseAlarm) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseAlarm) GetAssociatedTags

func (o *SparseAlarm) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAlarm) GetBSON added in v1.80.0

func (o *SparseAlarm) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAlarm) GetCreateIdempotencyKey

func (o *SparseAlarm) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAlarm) GetCreateTime

func (o *SparseAlarm) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAlarm) GetDescription

func (o *SparseAlarm) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseAlarm) GetMigrationsLog added in v1.30.0

func (o *SparseAlarm) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAlarm) GetName

func (o *SparseAlarm) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseAlarm) GetNamespace

func (o *SparseAlarm) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAlarm) GetNormalizedTags

func (o *SparseAlarm) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAlarm) GetProtected

func (o *SparseAlarm) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseAlarm) GetUpdateIdempotencyKey

func (o *SparseAlarm) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAlarm) GetUpdateTime

func (o *SparseAlarm) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAlarm) GetZHash

func (o *SparseAlarm) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAlarm) GetZone

func (o *SparseAlarm) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAlarm) Identifier

func (o *SparseAlarm) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAlarm) Identity

func (o *SparseAlarm) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAlarm) SetAnnotations

func (o *SparseAlarm) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseAlarm) SetAssociatedTags

func (o *SparseAlarm) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseAlarm) SetBSON added in v1.80.0

func (o *SparseAlarm) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAlarm) SetCreateIdempotencyKey

func (o *SparseAlarm) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAlarm) SetCreateTime

func (o *SparseAlarm) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAlarm) SetDescription

func (o *SparseAlarm) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseAlarm) SetIdentifier

func (o *SparseAlarm) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAlarm) SetMigrationsLog added in v1.30.0

func (o *SparseAlarm) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseAlarm) SetName

func (o *SparseAlarm) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseAlarm) SetNamespace

func (o *SparseAlarm) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAlarm) SetNormalizedTags

func (o *SparseAlarm) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseAlarm) SetProtected

func (o *SparseAlarm) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseAlarm) SetUpdateIdempotencyKey

func (o *SparseAlarm) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAlarm) SetUpdateTime

func (o *SparseAlarm) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAlarm) SetZHash

func (o *SparseAlarm) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAlarm) SetZone

func (o *SparseAlarm) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAlarm) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAlarm) Version

func (o *SparseAlarm) Version() int

Version returns the hardcoded version of the model.

type SparseAlarmsList

type SparseAlarmsList []*SparseAlarm

SparseAlarmsList represents a list of SparseAlarms

func (SparseAlarmsList) Append

Append appends the objects to the a new copy of the SparseAlarmsList.

func (SparseAlarmsList) Copy

Copy returns a pointer to a copy the SparseAlarmsList.

func (SparseAlarmsList) DefaultOrder

func (o SparseAlarmsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAlarmsList) Identity

func (o SparseAlarmsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAlarmsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAlarmsList) ToPlain

ToPlain returns the SparseAlarmsList converted to AlarmsList.

func (SparseAlarmsList) Version

func (o SparseAlarmsList) Version() int

Version returns the version of the content.

type SparseApp

type SparseApp struct {
	// Set to `true` to indicate that the app is in a beta version.
	Beta *bool `json:"beta,omitempty" msgpack:"beta,omitempty" bson:"-" mapstructure:"beta,omitempty"`

	// Category ID of the app.
	CategoryID *string `json:"categoryID,omitempty" msgpack:"categoryID,omitempty" bson:"-" mapstructure:"categoryID,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Contains a base64-encoded image for the app.
	Icon *string `json:"icon,omitempty" msgpack:"icon,omitempty" bson:"-" mapstructure:"icon,omitempty"`

	// Represents the latest version available of the app.
	LatestVersion *string `json:"latestVersion,omitempty" msgpack:"latestVersion,omitempty" bson:"-" mapstructure:"latestVersion,omitempty"`

	// Contains a more detailed description of the app.
	LongDescription *string `json:"longDescription,omitempty" msgpack:"longDescription,omitempty" bson:"-" mapstructure:"longDescription,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// List of steps that contain parameters.
	Steps *[]*UIStep `json:"steps,omitempty" msgpack:"steps,omitempty" bson:"steps,omitempty" mapstructure:"steps,omitempty"`

	// Represents the title of the app.
	Title *string `json:"title,omitempty" msgpack:"title,omitempty" bson:"-" mapstructure:"title,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseApp represents the sparse version of a app.

func NewSparseApp

func NewSparseApp() *SparseApp

NewSparseApp returns a new SparseApp.

func (*SparseApp) DeepCopy

func (o *SparseApp) DeepCopy() *SparseApp

DeepCopy returns a deep copy if the SparseApp.

func (*SparseApp) DeepCopyInto

func (o *SparseApp) DeepCopyInto(out *SparseApp)

DeepCopyInto copies the receiver into the given *SparseApp.

func (*SparseApp) GetBSON added in v1.80.0

func (o *SparseApp) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseApp) GetDescription

func (o *SparseApp) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseApp) GetName

func (o *SparseApp) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseApp) Identifier

func (o *SparseApp) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseApp) Identity

func (o *SparseApp) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseApp) SetBSON added in v1.80.0

func (o *SparseApp) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseApp) SetDescription

func (o *SparseApp) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseApp) SetIdentifier

func (o *SparseApp) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseApp) SetName

func (o *SparseApp) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseApp) ToPlain

func (o *SparseApp) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseApp) Version

func (o *SparseApp) Version() int

Version returns the hardcoded version of the model.

type SparseAppCredential

type SparseAppCredential struct {
	// Contains a PEM-encoded certificate signing request (CSR). It can
	// only be set during a renew.
	//
	// - The CN **MUST** be `app:credential:<appcred-id>:<appcred-name>`
	// - The O **MUST** be the namespace of the app credential
	//
	// If you send anything else, the signing request will be rejected.
	CSR *string `json:"CSR,omitempty" msgpack:"CSR,omitempty" bson:"-" mapstructure:"CSR,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// If set, the app credential will only be valid if the request comes from one
	// the declared subnets.
	AuthorizedSubnets *[]string `` /* 150-byte string literal not displayed */

	// The string representation of the certificate used by the app credential.
	Certificate *string `` /* 126-byte string literal not displayed */

	// Link to the certificate created for this app credential.
	CertificateSN *string `json:"-" msgpack:"-" bson:"certificatesn,omitempty" mapstructure:"-,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The app credential data.
	Credentials *Credential `json:"credentials,omitempty" msgpack:"credentials,omitempty" bson:"-" mapstructure:"credentials,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// The email address that will receive a copy of the app credential.
	Email *string `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// If set, this will limit the maximum validity of the token issued from this app
	// credential. This information will be embedded into the delivered certificate and
	// cannot be changed once set. In order to change it, you need to renew the
	// certificate.
	MaxIssuedTokenValidity *string `` /* 170-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the ID of the parent app credential if this is a derived app
	// credential.
	ParentIDs *[]string `json:"parentIDs,omitempty" msgpack:"parentIDs,omitempty" bson:"parentids,omitempty" mapstructure:"parentIDs,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// List of roles to give the app credential.
	Roles *[]string `json:"roles,omitempty" msgpack:"roles,omitempty" bson:"roles,omitempty" mapstructure:"roles,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAppCredential represents the sparse version of a appcredential.

func NewSparseAppCredential

func NewSparseAppCredential() *SparseAppCredential

NewSparseAppCredential returns a new SparseAppCredential.

func (*SparseAppCredential) DeepCopy

DeepCopy returns a deep copy if the SparseAppCredential.

func (*SparseAppCredential) DeepCopyInto

func (o *SparseAppCredential) DeepCopyInto(out *SparseAppCredential)

DeepCopyInto copies the receiver into the given *SparseAppCredential.

func (*SparseAppCredential) GetAnnotations

func (o *SparseAppCredential) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseAppCredential) GetAssociatedTags

func (o *SparseAppCredential) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAppCredential) GetBSON added in v1.80.0

func (o *SparseAppCredential) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAppCredential) GetCreateIdempotencyKey

func (o *SparseAppCredential) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAppCredential) GetCreateTime

func (o *SparseAppCredential) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAppCredential) GetDescription

func (o *SparseAppCredential) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseAppCredential) GetDisabled

func (o *SparseAppCredential) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseAppCredential) GetMetadata

func (o *SparseAppCredential) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseAppCredential) GetMigrationsLog added in v1.30.0

func (o *SparseAppCredential) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAppCredential) GetName

func (o *SparseAppCredential) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseAppCredential) GetNamespace

func (o *SparseAppCredential) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAppCredential) GetNormalizedTags

func (o *SparseAppCredential) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAppCredential) GetProtected

func (o *SparseAppCredential) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseAppCredential) GetUpdateIdempotencyKey

func (o *SparseAppCredential) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAppCredential) GetUpdateTime

func (o *SparseAppCredential) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAppCredential) GetZHash

func (o *SparseAppCredential) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAppCredential) GetZone

func (o *SparseAppCredential) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAppCredential) Identifier

func (o *SparseAppCredential) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAppCredential) Identity

func (o *SparseAppCredential) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAppCredential) SetAnnotations

func (o *SparseAppCredential) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseAppCredential) SetAssociatedTags

func (o *SparseAppCredential) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseAppCredential) SetBSON added in v1.80.0

func (o *SparseAppCredential) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAppCredential) SetCreateIdempotencyKey

func (o *SparseAppCredential) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAppCredential) SetCreateTime

func (o *SparseAppCredential) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAppCredential) SetDescription

func (o *SparseAppCredential) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseAppCredential) SetDisabled

func (o *SparseAppCredential) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseAppCredential) SetIdentifier

func (o *SparseAppCredential) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAppCredential) SetMetadata

func (o *SparseAppCredential) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseAppCredential) SetMigrationsLog added in v1.30.0

func (o *SparseAppCredential) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseAppCredential) SetName

func (o *SparseAppCredential) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseAppCredential) SetNamespace

func (o *SparseAppCredential) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAppCredential) SetNormalizedTags

func (o *SparseAppCredential) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseAppCredential) SetProtected

func (o *SparseAppCredential) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseAppCredential) SetUpdateIdempotencyKey

func (o *SparseAppCredential) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAppCredential) SetUpdateTime

func (o *SparseAppCredential) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAppCredential) SetZHash

func (o *SparseAppCredential) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAppCredential) SetZone

func (o *SparseAppCredential) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAppCredential) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAppCredential) Version

func (o *SparseAppCredential) Version() int

Version returns the hardcoded version of the model.

type SparseAppCredentialsList

type SparseAppCredentialsList []*SparseAppCredential

SparseAppCredentialsList represents a list of SparseAppCredentials

func (SparseAppCredentialsList) Append

Append appends the objects to the a new copy of the SparseAppCredentialsList.

func (SparseAppCredentialsList) Copy

Copy returns a pointer to a copy the SparseAppCredentialsList.

func (SparseAppCredentialsList) DefaultOrder

func (o SparseAppCredentialsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAppCredentialsList) Identity

Identity returns the identity of the objects in the list.

func (SparseAppCredentialsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAppCredentialsList) ToPlain

ToPlain returns the SparseAppCredentialsList converted to AppCredentialsList.

func (SparseAppCredentialsList) Version

func (o SparseAppCredentialsList) Version() int

Version returns the version of the content.

type SparseAppsList

type SparseAppsList []*SparseApp

SparseAppsList represents a list of SparseApps

func (SparseAppsList) Append

Append appends the objects to the a new copy of the SparseAppsList.

func (SparseAppsList) Copy

Copy returns a pointer to a copy the SparseAppsList.

func (SparseAppsList) DefaultOrder

func (o SparseAppsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAppsList) Identity

func (o SparseAppsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAppsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAppsList) ToPlain

ToPlain returns the SparseAppsList converted to AppsList.

func (SparseAppsList) Version

func (o SparseAppsList) Version() int

Version returns the version of the content.

type SparseAuditProfile

type SparseAuditProfile struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// List of audit rules associated with this profile.
	Rules *types.AuditProfileRuleList `json:"rules,omitempty" msgpack:"rules,omitempty" bson:"rules,omitempty" mapstructure:"rules,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAuditProfile represents the sparse version of a auditprofile.

func NewSparseAuditProfile

func NewSparseAuditProfile() *SparseAuditProfile

NewSparseAuditProfile returns a new SparseAuditProfile.

func (*SparseAuditProfile) DeepCopy

func (o *SparseAuditProfile) DeepCopy() *SparseAuditProfile

DeepCopy returns a deep copy if the SparseAuditProfile.

func (*SparseAuditProfile) DeepCopyInto

func (o *SparseAuditProfile) DeepCopyInto(out *SparseAuditProfile)

DeepCopyInto copies the receiver into the given *SparseAuditProfile.

func (*SparseAuditProfile) GetAnnotations

func (o *SparseAuditProfile) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseAuditProfile) GetAssociatedTags

func (o *SparseAuditProfile) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAuditProfile) GetBSON added in v1.80.0

func (o *SparseAuditProfile) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuditProfile) GetCreateIdempotencyKey

func (o *SparseAuditProfile) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAuditProfile) GetCreateTime

func (o *SparseAuditProfile) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAuditProfile) GetDescription

func (o *SparseAuditProfile) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseAuditProfile) GetMetadata

func (o *SparseAuditProfile) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseAuditProfile) GetMigrationsLog added in v1.30.0

func (o *SparseAuditProfile) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAuditProfile) GetName

func (o *SparseAuditProfile) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseAuditProfile) GetNamespace

func (o *SparseAuditProfile) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAuditProfile) GetNormalizedTags

func (o *SparseAuditProfile) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAuditProfile) GetPropagate

func (o *SparseAuditProfile) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseAuditProfile) GetProtected

func (o *SparseAuditProfile) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseAuditProfile) GetUpdateIdempotencyKey

func (o *SparseAuditProfile) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAuditProfile) GetUpdateTime

func (o *SparseAuditProfile) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAuditProfile) GetZHash

func (o *SparseAuditProfile) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAuditProfile) GetZone

func (o *SparseAuditProfile) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAuditProfile) Identifier

func (o *SparseAuditProfile) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAuditProfile) Identity

func (o *SparseAuditProfile) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAuditProfile) SetAnnotations

func (o *SparseAuditProfile) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseAuditProfile) SetAssociatedTags

func (o *SparseAuditProfile) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseAuditProfile) SetBSON added in v1.80.0

func (o *SparseAuditProfile) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuditProfile) SetCreateIdempotencyKey

func (o *SparseAuditProfile) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAuditProfile) SetCreateTime

func (o *SparseAuditProfile) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAuditProfile) SetDescription

func (o *SparseAuditProfile) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseAuditProfile) SetIdentifier

func (o *SparseAuditProfile) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAuditProfile) SetMetadata

func (o *SparseAuditProfile) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseAuditProfile) SetMigrationsLog added in v1.30.0

func (o *SparseAuditProfile) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseAuditProfile) SetName

func (o *SparseAuditProfile) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseAuditProfile) SetNamespace

func (o *SparseAuditProfile) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAuditProfile) SetNormalizedTags

func (o *SparseAuditProfile) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseAuditProfile) SetPropagate

func (o *SparseAuditProfile) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseAuditProfile) SetProtected

func (o *SparseAuditProfile) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseAuditProfile) SetUpdateIdempotencyKey

func (o *SparseAuditProfile) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAuditProfile) SetUpdateTime

func (o *SparseAuditProfile) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAuditProfile) SetZHash

func (o *SparseAuditProfile) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAuditProfile) SetZone

func (o *SparseAuditProfile) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAuditProfile) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAuditProfile) Version

func (o *SparseAuditProfile) Version() int

Version returns the hardcoded version of the model.

type SparseAuditProfileMappingPoliciesList

type SparseAuditProfileMappingPoliciesList []*SparseAuditProfileMappingPolicy

SparseAuditProfileMappingPoliciesList represents a list of SparseAuditProfileMappingPolicies

func (SparseAuditProfileMappingPoliciesList) Append

Append appends the objects to the a new copy of the SparseAuditProfileMappingPoliciesList.

func (SparseAuditProfileMappingPoliciesList) Copy

Copy returns a pointer to a copy the SparseAuditProfileMappingPoliciesList.

func (SparseAuditProfileMappingPoliciesList) DefaultOrder

func (o SparseAuditProfileMappingPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAuditProfileMappingPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseAuditProfileMappingPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAuditProfileMappingPoliciesList) ToPlain

ToPlain returns the SparseAuditProfileMappingPoliciesList converted to AuditProfileMappingPoliciesList.

func (SparseAuditProfileMappingPoliciesList) Version

Version returns the version of the content.

type SparseAuditProfileMappingPolicy

type SparseAuditProfileMappingPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// The tag or tag expression that identifies the audit profile to be mapped.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// The tag or tag expression that identifies the enforcer(s) to implement the audit
	// profile.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAuditProfileMappingPolicy represents the sparse version of a auditprofilemappingpolicy.

func NewSparseAuditProfileMappingPolicy

func NewSparseAuditProfileMappingPolicy() *SparseAuditProfileMappingPolicy

NewSparseAuditProfileMappingPolicy returns a new SparseAuditProfileMappingPolicy.

func (*SparseAuditProfileMappingPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseAuditProfileMappingPolicy.

func (*SparseAuditProfileMappingPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseAuditProfileMappingPolicy.

func (*SparseAuditProfileMappingPolicy) GetActiveDuration

func (o *SparseAuditProfileMappingPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseAuditProfileMappingPolicy) GetActiveSchedule

func (o *SparseAuditProfileMappingPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseAuditProfileMappingPolicy) GetAnnotations

func (o *SparseAuditProfileMappingPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseAuditProfileMappingPolicy) GetAssociatedTags

func (o *SparseAuditProfileMappingPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAuditProfileMappingPolicy) GetBSON added in v1.80.0

func (o *SparseAuditProfileMappingPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuditProfileMappingPolicy) GetCreateIdempotencyKey

func (o *SparseAuditProfileMappingPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAuditProfileMappingPolicy) GetCreateTime

func (o *SparseAuditProfileMappingPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAuditProfileMappingPolicy) GetDescription

func (o *SparseAuditProfileMappingPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseAuditProfileMappingPolicy) GetDisabled

func (o *SparseAuditProfileMappingPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseAuditProfileMappingPolicy) GetFallback

func (o *SparseAuditProfileMappingPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseAuditProfileMappingPolicy) GetMetadata

func (o *SparseAuditProfileMappingPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseAuditProfileMappingPolicy) GetName

func (o *SparseAuditProfileMappingPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseAuditProfileMappingPolicy) GetNamespace

func (o *SparseAuditProfileMappingPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAuditProfileMappingPolicy) GetNormalizedTags

func (o *SparseAuditProfileMappingPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAuditProfileMappingPolicy) GetPropagate

func (o *SparseAuditProfileMappingPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseAuditProfileMappingPolicy) GetProtected

func (o *SparseAuditProfileMappingPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseAuditProfileMappingPolicy) GetUpdateIdempotencyKey

func (o *SparseAuditProfileMappingPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAuditProfileMappingPolicy) GetUpdateTime

func (o *SparseAuditProfileMappingPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAuditProfileMappingPolicy) Identifier

func (o *SparseAuditProfileMappingPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAuditProfileMappingPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseAuditProfileMappingPolicy) SetActiveDuration

func (o *SparseAuditProfileMappingPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetActiveSchedule

func (o *SparseAuditProfileMappingPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetAnnotations

func (o *SparseAuditProfileMappingPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetAssociatedTags

func (o *SparseAuditProfileMappingPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetBSON added in v1.80.0

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuditProfileMappingPolicy) SetCreateIdempotencyKey

func (o *SparseAuditProfileMappingPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetCreateTime

func (o *SparseAuditProfileMappingPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetDescription

func (o *SparseAuditProfileMappingPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetDisabled

func (o *SparseAuditProfileMappingPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetFallback

func (o *SparseAuditProfileMappingPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetIdentifier

func (o *SparseAuditProfileMappingPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAuditProfileMappingPolicy) SetMetadata

func (o *SparseAuditProfileMappingPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetName

func (o *SparseAuditProfileMappingPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetNamespace

func (o *SparseAuditProfileMappingPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetNormalizedTags

func (o *SparseAuditProfileMappingPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetPropagate

func (o *SparseAuditProfileMappingPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetProtected

func (o *SparseAuditProfileMappingPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetUpdateIdempotencyKey

func (o *SparseAuditProfileMappingPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) SetUpdateTime

func (o *SparseAuditProfileMappingPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAuditProfileMappingPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAuditProfileMappingPolicy) Version

func (o *SparseAuditProfileMappingPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseAuditProfilesList

type SparseAuditProfilesList []*SparseAuditProfile

SparseAuditProfilesList represents a list of SparseAuditProfiles

func (SparseAuditProfilesList) Append

Append appends the objects to the a new copy of the SparseAuditProfilesList.

func (SparseAuditProfilesList) Copy

Copy returns a pointer to a copy the SparseAuditProfilesList.

func (SparseAuditProfilesList) DefaultOrder

func (o SparseAuditProfilesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAuditProfilesList) Identity

Identity returns the identity of the objects in the list.

func (SparseAuditProfilesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAuditProfilesList) ToPlain

ToPlain returns the SparseAuditProfilesList converted to AuditProfilesList.

func (SparseAuditProfilesList) Version

func (o SparseAuditProfilesList) Version() int

Version returns the version of the content.

type SparseAuditReport

type SparseAuditReport struct {
	// The login ID of the user who started the audited process.
	AUID *string `json:"AUID,omitempty" msgpack:"AUID,omitempty" bson:"a,omitempty" mapstructure:"AUID,omitempty"`

	// Command working directory.
	CWD *string `json:"CWD,omitempty" msgpack:"CWD,omitempty" bson:"b,omitempty" mapstructure:"CWD,omitempty"`

	// Effective group ID of the user who started the audited process.
	EGID *int `json:"EGID,omitempty" msgpack:"EGID,omitempty" bson:"c,omitempty" mapstructure:"EGID,omitempty"`

	// Effective user ID of the user who started the audited process.
	EUID *int `json:"EUID,omitempty" msgpack:"EUID,omitempty" bson:"d,omitempty" mapstructure:"EUID,omitempty"`

	// Path to the executable.
	EXE *string `json:"EXE,omitempty" msgpack:"EXE,omitempty" bson:"e,omitempty" mapstructure:"EXE,omitempty"`

	// File system group ID of the user who started the audited process.
	FSGID *int `json:"FSGID,omitempty" msgpack:"FSGID,omitempty" bson:"f,omitempty" mapstructure:"FSGID,omitempty"`

	// File system user ID of the user who started the audited process.
	FSUID *int `json:"FSUID,omitempty" msgpack:"FSUID,omitempty" bson:"g,omitempty" mapstructure:"FSUID,omitempty"`

	// Full path of the file that was passed to the system call.
	FilePath *string `json:"FilePath,omitempty" msgpack:"FilePath,omitempty" bson:"h,omitempty" mapstructure:"FilePath,omitempty"`

	// Group ID of the user who started the analyzed process.
	GID *int `json:"GID,omitempty" msgpack:"GID,omitempty" bson:"i,omitempty" mapstructure:"GID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// File or directory permissions.
	PER *int `json:"PER,omitempty" msgpack:"PER,omitempty" bson:"j,omitempty" mapstructure:"PER,omitempty"`

	// Process ID of the executable.
	PID *int `json:"PID,omitempty" msgpack:"PID,omitempty" bson:"k,omitempty" mapstructure:"PID,omitempty"`

	// Process ID of the parent executable.
	PPID *int `json:"PPID,omitempty" msgpack:"PPID,omitempty" bson:"l,omitempty" mapstructure:"PPID,omitempty"`

	// Set group ID of the user who started the audited process.
	SGID *int `json:"SGID,omitempty" msgpack:"SGID,omitempty" bson:"m,omitempty" mapstructure:"SGID,omitempty"`

	// Set user ID of the user who started the audited process.
	SUID *int `json:"SUID,omitempty" msgpack:"SUID,omitempty" bson:"n,omitempty" mapstructure:"SUID,omitempty"`

	// User ID.
	UID *int `json:"UID,omitempty" msgpack:"UID,omitempty" bson:"o,omitempty" mapstructure:"UID,omitempty"`

	// First argument of the executed system call.
	A0 *string `json:"a0,omitempty" msgpack:"a0,omitempty" bson:"p,omitempty" mapstructure:"a0,omitempty"`

	// Second argument of the executed system call.
	A1 *string `json:"a1,omitempty" msgpack:"a1,omitempty" bson:"q,omitempty" mapstructure:"a1,omitempty"`

	// Third argument of the executed system call.
	A2 *string `json:"a2,omitempty" msgpack:"a2,omitempty" bson:"r,omitempty" mapstructure:"a2,omitempty"`

	// Fourth argument of the executed system call.
	A3 *string `json:"a3,omitempty" msgpack:"a3,omitempty" bson:"s,omitempty" mapstructure:"a3,omitempty"`

	// Architecture of the system of the monitored process.
	Arch *string `json:"arch,omitempty" msgpack:"arch,omitempty" bson:"t,omitempty" mapstructure:"arch,omitempty"`

	// Arguments passed to the command.
	Arguments *[]string `json:"arguments,omitempty" msgpack:"arguments,omitempty" bson:"u,omitempty" mapstructure:"arguments,omitempty"`

	// ID of the audit profile that triggered the report.
	AuditProfileID *string `json:"auditProfileID,omitempty" msgpack:"auditProfileID,omitempty" bson:"v,omitempty" mapstructure:"auditProfileID,omitempty"`

	// Namespace of the audit profile that triggered the report.
	AuditProfileNamespace *string `` /* 146-byte string literal not displayed */

	// Command issued.
	Command *string `json:"command,omitempty" msgpack:"command,omitempty" bson:"x,omitempty" mapstructure:"command,omitempty"`

	// ID of the enforcer reporting.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"y,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer reporting.
	EnforcerNamespace *string `` /* 134-byte string literal not displayed */

	// Exit code of the executed system call.
	Exit *int `json:"exit,omitempty" msgpack:"exit,omitempty" bson:"aa,omitempty" mapstructure:"exit,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// ID of the processing unit originating the report.
	ProcessingUnitID *string `` /* 132-byte string literal not displayed */

	// Namespace of the processing unit originating the report.
	ProcessingUnitNamespace *string `` /* 153-byte string literal not displayed */

	// Type of audit record.
	RecordType *string `json:"recordType,omitempty" msgpack:"recordType,omitempty" bson:"ad,omitempty" mapstructure:"recordType,omitempty"`

	// Needs documentation.
	Sequence *int `json:"sequence,omitempty" msgpack:"sequence,omitempty" bson:"ae,omitempty" mapstructure:"sequence,omitempty"`

	// Tells if the operation has been a success or a failure.
	Success *bool `json:"success,omitempty" msgpack:"success,omitempty" bson:"af,omitempty" mapstructure:"success,omitempty"`

	// System call executed.
	Syscall *string `json:"syscall,omitempty" msgpack:"syscall,omitempty" bson:"ag,omitempty" mapstructure:"syscall,omitempty"`

	// Date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"ah,omitempty" mapstructure:"timestamp,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAuditReport represents the sparse version of a auditreport.

func NewSparseAuditReport

func NewSparseAuditReport() *SparseAuditReport

NewSparseAuditReport returns a new SparseAuditReport.

func (*SparseAuditReport) DeepCopy

func (o *SparseAuditReport) DeepCopy() *SparseAuditReport

DeepCopy returns a deep copy if the SparseAuditReport.

func (*SparseAuditReport) DeepCopyInto

func (o *SparseAuditReport) DeepCopyInto(out *SparseAuditReport)

DeepCopyInto copies the receiver into the given *SparseAuditReport.

func (*SparseAuditReport) GetBSON added in v1.80.0

func (o *SparseAuditReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuditReport) GetMigrationsLog added in v1.94.1

func (o *SparseAuditReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAuditReport) GetZHash added in v1.94.1

func (o *SparseAuditReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAuditReport) GetZone added in v1.94.1

func (o *SparseAuditReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAuditReport) Identifier

func (o *SparseAuditReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAuditReport) Identity

func (o *SparseAuditReport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAuditReport) SetBSON added in v1.80.0

func (o *SparseAuditReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuditReport) SetIdentifier

func (o *SparseAuditReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAuditReport) SetMigrationsLog added in v1.94.1

func (o *SparseAuditReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseAuditReport) SetZHash added in v1.94.1

func (o *SparseAuditReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAuditReport) SetZone added in v1.94.1

func (o *SparseAuditReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAuditReport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAuditReport) Version

func (o *SparseAuditReport) Version() int

Version returns the hardcoded version of the model.

type SparseAuditReportsList

type SparseAuditReportsList []*SparseAuditReport

SparseAuditReportsList represents a list of SparseAuditReports

func (SparseAuditReportsList) Append

Append appends the objects to the a new copy of the SparseAuditReportsList.

func (SparseAuditReportsList) Copy

Copy returns a pointer to a copy the SparseAuditReportsList.

func (SparseAuditReportsList) DefaultOrder

func (o SparseAuditReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAuditReportsList) Identity

Identity returns the identity of the objects in the list.

func (SparseAuditReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAuditReportsList) ToPlain

ToPlain returns the SparseAuditReportsList converted to AuditReportsList.

func (SparseAuditReportsList) Version

func (o SparseAuditReportsList) Version() int

Version returns the version of the content.

type SparseAuthn added in v1.34.0

type SparseAuthn struct {
	// The claims in the token.
	Claims *types.MidgardClaims `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"-" mapstructure:"claims,omitempty"`

	// The token to verify. This is only used if a POST request is used.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAuthn represents the sparse version of a authn.

func NewSparseAuthn added in v1.34.0

func NewSparseAuthn() *SparseAuthn

NewSparseAuthn returns a new SparseAuthn.

func (*SparseAuthn) DeepCopy added in v1.34.0

func (o *SparseAuthn) DeepCopy() *SparseAuthn

DeepCopy returns a deep copy if the SparseAuthn.

func (*SparseAuthn) DeepCopyInto added in v1.34.0

func (o *SparseAuthn) DeepCopyInto(out *SparseAuthn)

DeepCopyInto copies the receiver into the given *SparseAuthn.

func (*SparseAuthn) GetBSON added in v1.80.0

func (o *SparseAuthn) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuthn) Identifier added in v1.34.0

func (o *SparseAuthn) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAuthn) Identity added in v1.34.0

func (o *SparseAuthn) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAuthn) SetBSON added in v1.80.0

func (o *SparseAuthn) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuthn) SetIdentifier added in v1.34.0

func (o *SparseAuthn) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAuthn) ToPlain added in v1.34.0

ToPlain returns the plain version of the sparse model.

func (*SparseAuthn) Version added in v1.34.0

func (o *SparseAuthn) Version() int

Version returns the hardcoded version of the model.

type SparseAuthnsList added in v1.34.0

type SparseAuthnsList []*SparseAuthn

SparseAuthnsList represents a list of SparseAuthns

func (SparseAuthnsList) Append added in v1.34.0

Append appends the objects to the a new copy of the SparseAuthnsList.

func (SparseAuthnsList) Copy added in v1.34.0

Copy returns a pointer to a copy the SparseAuthnsList.

func (SparseAuthnsList) DefaultOrder added in v1.34.0

func (o SparseAuthnsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAuthnsList) Identity added in v1.34.0

func (o SparseAuthnsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAuthnsList) List added in v1.34.0

List converts the object to an elemental.IdentifiablesList.

func (SparseAuthnsList) ToPlain added in v1.34.0

ToPlain returns the SparseAuthnsList converted to AuthnsList.

func (SparseAuthnsList) Version added in v1.34.0

func (o SparseAuthnsList) Version() int

Version returns the version of the content.

type SparseAuthoritiesList

type SparseAuthoritiesList []*SparseAuthority

SparseAuthoritiesList represents a list of SparseAuthorities

func (SparseAuthoritiesList) Append

Append appends the objects to the a new copy of the SparseAuthoritiesList.

func (SparseAuthoritiesList) Copy

Copy returns a pointer to a copy the SparseAuthoritiesList.

func (SparseAuthoritiesList) DefaultOrder

func (o SparseAuthoritiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAuthoritiesList) Identity

Identity returns the identity of the objects in the list.

func (SparseAuthoritiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAuthoritiesList) ToPlain

ToPlain returns the SparseAuthoritiesList converted to AuthoritiesList.

func (SparseAuthoritiesList) Version

func (o SparseAuthoritiesList) Version() int

Version returns the version of the content.

type SparseAuthority

type SparseAuthority struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Algorithm defines the signing algorithm to be used.
	Algorithm *AuthorityAlgorithmValue `json:"algorithm,omitempty" msgpack:"algorithm,omitempty" bson:"algorithm,omitempty" mapstructure:"algorithm,omitempty"`

	// PEM encoded certificate data.
	Certificate *string `` /* 126-byte string literal not displayed */

	// CommonName contains the common name of the certificate.
	CommonName *string `json:"commonName,omitempty" msgpack:"commonName,omitempty" bson:"commonname,omitempty" mapstructure:"commonName,omitempty"`

	// Date of expiration of the issued certificate.
	ExpirationDate *time.Time `` /* 138-byte string literal not displayed */

	// Encrypted private key of the Authority.
	Key *string `json:"-" msgpack:"-" bson:"key,omitempty" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Organization field of the CA.
	Organization *string `` /* 130-byte string literal not displayed */

	// serialNumber of the certificate.
	SerialNumber *string `` /* 130-byte string literal not displayed */

	// Type of signing authority can be a CA or a JWT signing certificate.
	Type *AuthorityTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAuthority represents the sparse version of a authority.

func NewSparseAuthority

func NewSparseAuthority() *SparseAuthority

NewSparseAuthority returns a new SparseAuthority.

func (*SparseAuthority) DecryptAttributes added in v1.57.0

func (o *SparseAuthority) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseAuthority) DeepCopy

func (o *SparseAuthority) DeepCopy() *SparseAuthority

DeepCopy returns a deep copy if the SparseAuthority.

func (*SparseAuthority) DeepCopyInto

func (o *SparseAuthority) DeepCopyInto(out *SparseAuthority)

DeepCopyInto copies the receiver into the given *SparseAuthority.

func (*SparseAuthority) EncryptAttributes added in v1.57.0

func (o *SparseAuthority) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseAuthority) GetBSON added in v1.80.0

func (o *SparseAuthority) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuthority) GetMigrationsLog added in v1.30.0

func (o *SparseAuthority) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAuthority) GetZHash added in v1.1.0

func (o *SparseAuthority) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAuthority) GetZone added in v1.1.0

func (o *SparseAuthority) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAuthority) Identifier

func (o *SparseAuthority) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAuthority) Identity

func (o *SparseAuthority) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAuthority) SetBSON added in v1.80.0

func (o *SparseAuthority) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuthority) SetIdentifier

func (o *SparseAuthority) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAuthority) SetMigrationsLog added in v1.30.0

func (o *SparseAuthority) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseAuthority) SetZHash added in v1.1.0

func (o *SparseAuthority) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAuthority) SetZone added in v1.1.0

func (o *SparseAuthority) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAuthority) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAuthority) Version

func (o *SparseAuthority) Version() int

Version returns the hardcoded version of the model.

type SparseAuthz added in v1.34.0

type SparseAuthz struct {
	// Contains the API Authorization policies if
	// the query parameter `forwardpolicyrules=true` is set.
	APIAuthorizationPolicies *APIAuthorizationPoliciesList `` /* 145-byte string literal not displayed */

	// The list of verified claims.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"-" mapstructure:"claims,omitempty"`

	// IP of the client.
	ClientIP *string `json:"clientIP,omitempty" msgpack:"clientIP,omitempty" bson:"-" mapstructure:"clientIP,omitempty"`

	// Return an eventual error.
	Error *string `json:"error,omitempty" msgpack:"error,omitempty" bson:"-" mapstructure:"error,omitempty"`

	// If the parameter permissions=1 is set, targetIdentity and targetOperation are
	// ignored and this attribute will contain all the permission for the given claims.
	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 */

	// The ID of the object to check permission for.
	TargetID *string `json:"targetID,omitempty" msgpack:"targetID,omitempty" bson:"-" mapstructure:"targetID,omitempty"`

	// The namespace where to check permission from.
	TargetNamespace *string `json:"targetNamespace,omitempty" msgpack:"targetNamespace,omitempty" bson:"-" mapstructure:"targetNamespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAuthz represents the sparse version of a authz.

func NewSparseAuthz added in v1.34.0

func NewSparseAuthz() *SparseAuthz

NewSparseAuthz returns a new SparseAuthz.

func (*SparseAuthz) DeepCopy added in v1.34.0

func (o *SparseAuthz) DeepCopy() *SparseAuthz

DeepCopy returns a deep copy if the SparseAuthz.

func (*SparseAuthz) DeepCopyInto added in v1.34.0

func (o *SparseAuthz) DeepCopyInto(out *SparseAuthz)

DeepCopyInto copies the receiver into the given *SparseAuthz.

func (*SparseAuthz) GetBSON added in v1.80.0

func (o *SparseAuthz) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuthz) Identifier added in v1.34.0

func (o *SparseAuthz) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAuthz) Identity added in v1.34.0

func (o *SparseAuthz) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAuthz) SetBSON added in v1.80.0

func (o *SparseAuthz) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAuthz) SetIdentifier added in v1.34.0

func (o *SparseAuthz) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAuthz) ToPlain added in v1.34.0

ToPlain returns the plain version of the sparse model.

func (*SparseAuthz) Version added in v1.34.0

func (o *SparseAuthz) Version() int

Version returns the hardcoded version of the model.

type SparseAuthzsList added in v1.34.0

type SparseAuthzsList []*SparseAuthz

SparseAuthzsList represents a list of SparseAuthzs

func (SparseAuthzsList) Append added in v1.34.0

Append appends the objects to the a new copy of the SparseAuthzsList.

func (SparseAuthzsList) Copy added in v1.34.0

Copy returns a pointer to a copy the SparseAuthzsList.

func (SparseAuthzsList) DefaultOrder added in v1.34.0

func (o SparseAuthzsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAuthzsList) Identity added in v1.34.0

func (o SparseAuthzsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAuthzsList) List added in v1.34.0

List converts the object to an elemental.IdentifiablesList.

func (SparseAuthzsList) ToPlain added in v1.34.0

ToPlain returns the SparseAuthzsList converted to AuthzsList.

func (SparseAuthzsList) Version added in v1.34.0

func (o SparseAuthzsList) Version() int

Version returns the version of the content.

type SparseAutomation

type SparseAutomation struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Contains the code that will be executed if the condition is met.
	Actions *[]string `json:"actions,omitempty" msgpack:"actions,omitempty" bson:"actions,omitempty" mapstructure:"actions,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Contains the Microsegmentation token used by the automation's HTTP client. This
	// token is
	// derived from the automation's app credential attribute.
	AporetoToken *string `json:"-" msgpack:"-" bson:"aporetotoken,omitempty" mapstructure:"-,omitempty"`

	// Contains the app credential associated with the automation which has its roles
	// deduced from the automation's entitlements.
	AppCredential *string `json:"-" msgpack:"-" bson:"appcredential,omitempty" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Condition contains the code that will be executed to decide if any action(s)
	// should be executed. Providing a condition for an automation with a
	// "Webhook" trigger type will have no impact as the condition will not be
	// evaluated. If no condition is defined, then the automation action(s) will be
	// executed; this behaves akin to a condition that always succeeds.
	Condition *string `json:"condition,omitempty" msgpack:"condition,omitempty" bson:"condition,omitempty" mapstructure:"condition,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Declares which operations are allowed on which identities.
	Entitlements *map[string][]elemental.Operation `` /* 130-byte string literal not displayed */

	// Contains the error of the last run.
	Errors *[]string `json:"errors,omitempty" msgpack:"errors,omitempty" bson:"errors,omitempty" mapstructure:"errors,omitempty"`

	// Contains the identity and operation an event must have to trigger the
	// automation.
	Events *map[string][]elemental.EventType `json:"events,omitempty" msgpack:"events,omitempty" bson:"events,omitempty" mapstructure:"events,omitempty"`

	// If set and the trigger is of type Time, the automation will be run at create or
	// update before being scheduled.
	ImmediateExecution *bool `` /* 154-byte string literal not displayed */

	// The last successful execution tine.
	LastExecTime *time.Time `` /* 130-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the computed parameters.
	Parameters *map[string]interface{} `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Specifies when to run the automation. Must be in valid CRON format. This
	// only applies if the trigger is set to `Time`.
	Schedule *string `json:"schedule,omitempty" msgpack:"schedule,omitempty" bson:"schedule,omitempty" mapstructure:"schedule,omitempty"`

	// Signature to validate the authenticity of the object.
	Signature *string `json:"signature,omitempty" msgpack:"signature,omitempty" bson:"signature,omitempty" mapstructure:"signature,omitempty"`

	// Contains the standard output of the last run.
	Stdout *string `json:"stdout,omitempty" msgpack:"stdout,omitempty" bson:"stdout,omitempty" mapstructure:"stdout,omitempty"`

	// Holds the unique access token used as a password to trigger the
	// authentication. It will be visible only after creation.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"token,omitempty" mapstructure:"token,omitempty"`

	// If set to `true` a new token will be issued and the previous one invalidated.
	TokenRenew *bool `json:"tokenRenew,omitempty" msgpack:"tokenRenew,omitempty" bson:"-" mapstructure:"tokenRenew,omitempty"`

	// Controls when the automation should be triggered.
	Trigger *AutomationTriggerValue `json:"trigger,omitempty" msgpack:"trigger,omitempty" bson:"trigger,omitempty" mapstructure:"trigger,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAutomation represents the sparse version of a automation.

func NewSparseAutomation

func NewSparseAutomation() *SparseAutomation

NewSparseAutomation returns a new SparseAutomation.

func (*SparseAutomation) DecryptAttributes added in v1.94.1

func (o *SparseAutomation) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseAutomation) DeepCopy

func (o *SparseAutomation) DeepCopy() *SparseAutomation

DeepCopy returns a deep copy if the SparseAutomation.

func (*SparseAutomation) DeepCopyInto

func (o *SparseAutomation) DeepCopyInto(out *SparseAutomation)

DeepCopyInto copies the receiver into the given *SparseAutomation.

func (*SparseAutomation) EncryptAttributes added in v1.94.1

func (o *SparseAutomation) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseAutomation) GetAnnotations

func (o *SparseAutomation) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseAutomation) GetAssociatedTags

func (o *SparseAutomation) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAutomation) GetBSON added in v1.80.0

func (o *SparseAutomation) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAutomation) GetCreateIdempotencyKey

func (o *SparseAutomation) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAutomation) GetCreateTime

func (o *SparseAutomation) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAutomation) GetDescription

func (o *SparseAutomation) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseAutomation) GetDisabled

func (o *SparseAutomation) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseAutomation) GetMigrationsLog added in v1.30.0

func (o *SparseAutomation) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAutomation) GetName

func (o *SparseAutomation) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseAutomation) GetNamespace

func (o *SparseAutomation) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseAutomation) GetNormalizedTags

func (o *SparseAutomation) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAutomation) GetProtected

func (o *SparseAutomation) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseAutomation) GetSignature added in v1.94.1

func (o *SparseAutomation) GetSignature() (out string)

GetSignature returns the Signature of the receiver.

func (*SparseAutomation) GetUpdateIdempotencyKey

func (o *SparseAutomation) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAutomation) GetUpdateTime

func (o *SparseAutomation) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAutomation) GetZHash

func (o *SparseAutomation) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseAutomation) GetZone

func (o *SparseAutomation) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseAutomation) Identifier

func (o *SparseAutomation) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAutomation) Identity

func (o *SparseAutomation) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseAutomation) SetAnnotations

func (o *SparseAutomation) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseAutomation) SetAssociatedTags

func (o *SparseAutomation) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseAutomation) SetBSON added in v1.80.0

func (o *SparseAutomation) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAutomation) SetCreateIdempotencyKey

func (o *SparseAutomation) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAutomation) SetCreateTime

func (o *SparseAutomation) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseAutomation) SetDescription

func (o *SparseAutomation) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseAutomation) SetDisabled

func (o *SparseAutomation) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseAutomation) SetIdentifier

func (o *SparseAutomation) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAutomation) SetMigrationsLog added in v1.30.0

func (o *SparseAutomation) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseAutomation) SetName

func (o *SparseAutomation) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseAutomation) SetNamespace

func (o *SparseAutomation) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseAutomation) SetNormalizedTags

func (o *SparseAutomation) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseAutomation) SetProtected

func (o *SparseAutomation) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseAutomation) SetSignature added in v1.94.1

func (o *SparseAutomation) SetSignature(signature string)

SetSignature sets the property Signature of the receiver using the address of the given value.

func (*SparseAutomation) SetUpdateIdempotencyKey

func (o *SparseAutomation) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseAutomation) SetUpdateTime

func (o *SparseAutomation) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseAutomation) SetZHash

func (o *SparseAutomation) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseAutomation) SetZone

func (o *SparseAutomation) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseAutomation) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAutomation) Version

func (o *SparseAutomation) Version() int

Version returns the hardcoded version of the model.

type SparseAutomationTemplate

type SparseAutomationTemplate struct {
	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Contains the entitlements needed for executing the function.
	Entitlements *map[string][]elemental.Operation `json:"entitlements,omitempty" msgpack:"entitlements,omitempty" bson:"-" mapstructure:"entitlements,omitempty"`

	// Function contains the code.
	Function *string `json:"function,omitempty" msgpack:"function,omitempty" bson:"-" mapstructure:"function,omitempty"`

	// Contains the unique identifier key for the template.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"-" mapstructure:"key,omitempty"`

	// Represents the kind of template.
	Kind *AutomationTemplateKindValue `json:"kind,omitempty" msgpack:"kind,omitempty" bson:"-" mapstructure:"kind,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Contains the computed parameters.
	Parameters *map[string]interface{} `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"-" mapstructure:"parameters,omitempty"`

	// Contains all the steps with parameters.
	Steps *[]*UIStep `json:"steps,omitempty" msgpack:"steps,omitempty" bson:"-" mapstructure:"steps,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseAutomationTemplate represents the sparse version of a automationtemplate.

func NewSparseAutomationTemplate

func NewSparseAutomationTemplate() *SparseAutomationTemplate

NewSparseAutomationTemplate returns a new SparseAutomationTemplate.

func (*SparseAutomationTemplate) DeepCopy

DeepCopy returns a deep copy if the SparseAutomationTemplate.

func (*SparseAutomationTemplate) DeepCopyInto

func (o *SparseAutomationTemplate) DeepCopyInto(out *SparseAutomationTemplate)

DeepCopyInto copies the receiver into the given *SparseAutomationTemplate.

func (*SparseAutomationTemplate) GetBSON added in v1.80.0

func (o *SparseAutomationTemplate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAutomationTemplate) GetDescription

func (o *SparseAutomationTemplate) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseAutomationTemplate) GetName

func (o *SparseAutomationTemplate) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseAutomationTemplate) Identifier

func (o *SparseAutomationTemplate) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseAutomationTemplate) Identity

Identity returns the Identity of the sparse object.

func (*SparseAutomationTemplate) SetBSON added in v1.80.0

func (o *SparseAutomationTemplate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseAutomationTemplate) SetDescription

func (o *SparseAutomationTemplate) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseAutomationTemplate) SetIdentifier

func (o *SparseAutomationTemplate) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseAutomationTemplate) SetName

func (o *SparseAutomationTemplate) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseAutomationTemplate) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAutomationTemplate) Version

func (o *SparseAutomationTemplate) Version() int

Version returns the hardcoded version of the model.

type SparseAutomationTemplatesList

type SparseAutomationTemplatesList []*SparseAutomationTemplate

SparseAutomationTemplatesList represents a list of SparseAutomationTemplates

func (SparseAutomationTemplatesList) Append

Append appends the objects to the a new copy of the SparseAutomationTemplatesList.

func (SparseAutomationTemplatesList) Copy

Copy returns a pointer to a copy the SparseAutomationTemplatesList.

func (SparseAutomationTemplatesList) DefaultOrder

func (o SparseAutomationTemplatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAutomationTemplatesList) Identity

Identity returns the identity of the objects in the list.

func (SparseAutomationTemplatesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAutomationTemplatesList) ToPlain

ToPlain returns the SparseAutomationTemplatesList converted to AutomationTemplatesList.

func (SparseAutomationTemplatesList) Version

func (o SparseAutomationTemplatesList) Version() int

Version returns the version of the content.

type SparseAutomationsList

type SparseAutomationsList []*SparseAutomation

SparseAutomationsList represents a list of SparseAutomations

func (SparseAutomationsList) Append

Append appends the objects to the a new copy of the SparseAutomationsList.

func (SparseAutomationsList) Copy

Copy returns a pointer to a copy the SparseAutomationsList.

func (SparseAutomationsList) DefaultOrder

func (o SparseAutomationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAutomationsList) Identity

Identity returns the identity of the objects in the list.

func (SparseAutomationsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAutomationsList) ToPlain

ToPlain returns the SparseAutomationsList converted to AutomationsList.

func (SparseAutomationsList) Version

func (o SparseAutomationsList) Version() int

Version returns the version of the content.

type SparseCNSConfig added in v1.101.0

type SparseCNSConfig struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// If `true` net effective permissions feature is enabled.
	EnableNetEffectivePermissions *bool `` /* 198-byte string literal not displayed */

	// If `true` network security feature is enabled.
	EnableNetworkSecurity *bool `` /* 166-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Unique Prisma ID identifying the CNS configuration.
	PrismaID *string `json:"prismaID,omitempty" msgpack:"prismaID,omitempty" bson:"prismaid,omitempty" mapstructure:"prismaID,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCNSConfig represents the sparse version of a cnsconfig.

func NewSparseCNSConfig added in v1.101.0

func NewSparseCNSConfig() *SparseCNSConfig

NewSparseCNSConfig returns a new SparseCNSConfig.

func (*SparseCNSConfig) DeepCopy added in v1.101.0

func (o *SparseCNSConfig) DeepCopy() *SparseCNSConfig

DeepCopy returns a deep copy if the SparseCNSConfig.

func (*SparseCNSConfig) DeepCopyInto added in v1.101.0

func (o *SparseCNSConfig) DeepCopyInto(out *SparseCNSConfig)

DeepCopyInto copies the receiver into the given *SparseCNSConfig.

func (*SparseCNSConfig) GetAnnotations added in v1.101.0

func (o *SparseCNSConfig) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCNSConfig) GetAssociatedTags added in v1.101.0

func (o *SparseCNSConfig) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCNSConfig) GetBSON added in v1.101.0

func (o *SparseCNSConfig) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCNSConfig) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCNSConfig) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCNSConfig) GetCreateTime added in v1.101.0

func (o *SparseCNSConfig) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCNSConfig) GetMigrationsLog added in v1.101.0

func (o *SparseCNSConfig) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCNSConfig) GetNamespace added in v1.101.0

func (o *SparseCNSConfig) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCNSConfig) GetNormalizedTags added in v1.101.0

func (o *SparseCNSConfig) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCNSConfig) GetProtected added in v1.101.0

func (o *SparseCNSConfig) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCNSConfig) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCNSConfig) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCNSConfig) GetUpdateTime added in v1.101.0

func (o *SparseCNSConfig) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCNSConfig) GetZHash added in v1.101.0

func (o *SparseCNSConfig) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCNSConfig) GetZone added in v1.101.0

func (o *SparseCNSConfig) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCNSConfig) Identifier added in v1.101.0

func (o *SparseCNSConfig) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCNSConfig) Identity added in v1.101.0

func (o *SparseCNSConfig) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCNSConfig) SetAnnotations added in v1.101.0

func (o *SparseCNSConfig) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCNSConfig) SetAssociatedTags added in v1.101.0

func (o *SparseCNSConfig) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCNSConfig) SetBSON added in v1.101.0

func (o *SparseCNSConfig) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCNSConfig) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCNSConfig) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCNSConfig) SetCreateTime added in v1.101.0

func (o *SparseCNSConfig) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCNSConfig) SetIdentifier added in v1.101.0

func (o *SparseCNSConfig) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCNSConfig) SetMigrationsLog added in v1.101.0

func (o *SparseCNSConfig) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCNSConfig) SetNamespace added in v1.101.0

func (o *SparseCNSConfig) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCNSConfig) SetNormalizedTags added in v1.101.0

func (o *SparseCNSConfig) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCNSConfig) SetProtected added in v1.101.0

func (o *SparseCNSConfig) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCNSConfig) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCNSConfig) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCNSConfig) SetUpdateTime added in v1.101.0

func (o *SparseCNSConfig) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCNSConfig) SetZHash added in v1.101.0

func (o *SparseCNSConfig) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCNSConfig) SetZone added in v1.101.0

func (o *SparseCNSConfig) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCNSConfig) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCNSConfig) Version added in v1.101.0

func (o *SparseCNSConfig) Version() int

Version returns the hardcoded version of the model.

type SparseCNSConfigsList added in v1.101.0

type SparseCNSConfigsList []*SparseCNSConfig

SparseCNSConfigsList represents a list of SparseCNSConfigs

func (SparseCNSConfigsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCNSConfigsList.

func (SparseCNSConfigsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCNSConfigsList.

func (SparseCNSConfigsList) DefaultOrder added in v1.101.0

func (o SparseCNSConfigsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCNSConfigsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCNSConfigsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCNSConfigsList) ToPlain added in v1.101.0

ToPlain returns the SparseCNSConfigsList converted to CNSConfigsList.

func (SparseCNSConfigsList) Version added in v1.101.0

func (o SparseCNSConfigsList) Version() int

Version returns the version of the content.

type SparseCNSRQLQueriesList added in v1.103.0

type SparseCNSRQLQueriesList []*SparseCNSRQLQuery

SparseCNSRQLQueriesList represents a list of SparseCNSRQLQueries

func (SparseCNSRQLQueriesList) Append added in v1.103.0

Append appends the objects to the a new copy of the SparseCNSRQLQueriesList.

func (SparseCNSRQLQueriesList) Copy added in v1.103.0

Copy returns a pointer to a copy the SparseCNSRQLQueriesList.

func (SparseCNSRQLQueriesList) DefaultOrder added in v1.103.0

func (o SparseCNSRQLQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCNSRQLQueriesList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (SparseCNSRQLQueriesList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCNSRQLQueriesList) ToPlain added in v1.103.0

ToPlain returns the SparseCNSRQLQueriesList converted to CNSRQLQueriesList.

func (SparseCNSRQLQueriesList) Version added in v1.103.0

func (o SparseCNSRQLQueriesList) Version() int

Version returns the version of the content.

type SparseCNSRQLQuery added in v1.103.0

type SparseCNSRQLQuery struct {
	// ID of the query request.
	AlertID *string `json:"alertID,omitempty" msgpack:"alertID,omitempty" bson:"-" mapstructure:"alertID,omitempty"`

	// The policy for which the alert was generated.
	PolicyID *string `json:"policyID,omitempty" msgpack:"policyID,omitempty" bson:"-" mapstructure:"policyID,omitempty"`

	// The RQL query for the alert.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// Whether the response to request is valid.
	Valid *bool `json:"valid,omitempty" msgpack:"valid,omitempty" bson:"-" mapstructure:"valid,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCNSRQLQuery represents the sparse version of a cnsrqlquery.

func NewSparseCNSRQLQuery added in v1.103.0

func NewSparseCNSRQLQuery() *SparseCNSRQLQuery

NewSparseCNSRQLQuery returns a new SparseCNSRQLQuery.

func (*SparseCNSRQLQuery) DeepCopy added in v1.103.0

func (o *SparseCNSRQLQuery) DeepCopy() *SparseCNSRQLQuery

DeepCopy returns a deep copy if the SparseCNSRQLQuery.

func (*SparseCNSRQLQuery) DeepCopyInto added in v1.103.0

func (o *SparseCNSRQLQuery) DeepCopyInto(out *SparseCNSRQLQuery)

DeepCopyInto copies the receiver into the given *SparseCNSRQLQuery.

func (*SparseCNSRQLQuery) GetBSON added in v1.103.0

func (o *SparseCNSRQLQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCNSRQLQuery) Identifier added in v1.103.0

func (o *SparseCNSRQLQuery) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCNSRQLQuery) Identity added in v1.103.0

func (o *SparseCNSRQLQuery) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCNSRQLQuery) SetBSON added in v1.103.0

func (o *SparseCNSRQLQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCNSRQLQuery) SetIdentifier added in v1.103.0

func (o *SparseCNSRQLQuery) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCNSRQLQuery) ToPlain added in v1.103.0

ToPlain returns the plain version of the sparse model.

func (*SparseCNSRQLQuery) Version added in v1.103.0

func (o *SparseCNSRQLQuery) Version() int

Version returns the hardcoded version of the model.

type SparseCNSSearch added in v1.94.1

type SparseCNSSearch struct {
	// ID of the search request.
	ID *string `json:"id,omitempty" msgpack:"id,omitempty" bson:"-" mapstructure:"id,omitempty"`

	// The payload of the search results.
	Data *PCSearchResult `json:"data,omitempty" msgpack:"data,omitempty" bson:"-" mapstructure:"data,omitempty"`

	// Description of the search.
	Description *string `json:"description,omitempty" msgpack:"description,omitempty" bson:"-" mapstructure:"description,omitempty"`

	// Absolute end time of search, in UNIX time.
	EndAbsolute *int `json:"endAbsolute,omitempty" msgpack:"endAbsolute,omitempty" bson:"-" mapstructure:"endAbsolute,omitempty"`

	// The number of items to fetch.
	Limit *int `json:"limit,omitempty" msgpack:"limit,omitempty" bson:"-" mapstructure:"limit,omitempty"`

	// Name of the RQL search request. Should set to be empty.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// Represents the token to fetch next page.
	PageToken *string `json:"pageToken,omitempty" msgpack:"pageToken,omitempty" bson:"-" mapstructure:"pageToken,omitempty"`

	// The cloud network query data that was created after the RQL was parsed.
	ParsedQuery *map[string]interface{} `json:"parsedQuery,omitempty" msgpack:"parsedQuery,omitempty" bson:"-" mapstructure:"parsedQuery,omitempty"`

	// The RQL query.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// Indicates if the search has been saved.
	Saved *bool `json:"saved,omitempty" msgpack:"saved,omitempty" bson:"-" mapstructure:"saved,omitempty"`

	// Type of search request. Should set to be network.
	SearchType *string `json:"searchType,omitempty" msgpack:"searchType,omitempty" bson:"-" mapstructure:"searchType,omitempty"`

	// Absolute start time of search, in UNIX time.
	StartAbsolute *int `json:"startAbsolute,omitempty" msgpack:"startAbsolute,omitempty" bson:"-" mapstructure:"startAbsolute,omitempty"`

	// Time range used by PC APIs. Its type is dynamic. Aporeto needs to pass this data
	// to PC backend.
	TimeRange *PCTimeRange `json:"timeRange,omitempty" msgpack:"timeRange,omitempty" bson:"-" mapstructure:"timeRange,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCNSSearch represents the sparse version of a cnssearch.

func NewSparseCNSSearch added in v1.94.1

func NewSparseCNSSearch() *SparseCNSSearch

NewSparseCNSSearch returns a new SparseCNSSearch.

func (*SparseCNSSearch) DeepCopy added in v1.94.1

func (o *SparseCNSSearch) DeepCopy() *SparseCNSSearch

DeepCopy returns a deep copy if the SparseCNSSearch.

func (*SparseCNSSearch) DeepCopyInto added in v1.94.1

func (o *SparseCNSSearch) DeepCopyInto(out *SparseCNSSearch)

DeepCopyInto copies the receiver into the given *SparseCNSSearch.

func (*SparseCNSSearch) GetBSON added in v1.94.1

func (o *SparseCNSSearch) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCNSSearch) Identifier added in v1.94.1

func (o *SparseCNSSearch) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCNSSearch) Identity added in v1.94.1

func (o *SparseCNSSearch) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCNSSearch) SetBSON added in v1.94.1

func (o *SparseCNSSearch) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCNSSearch) SetIdentifier added in v1.94.1

func (o *SparseCNSSearch) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCNSSearch) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseCNSSearch) Version added in v1.94.1

func (o *SparseCNSSearch) Version() int

Version returns the hardcoded version of the model.

type SparseCNSSearchesList added in v1.94.1

type SparseCNSSearchesList []*SparseCNSSearch

SparseCNSSearchesList represents a list of SparseCNSSearches

func (SparseCNSSearchesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseCNSSearchesList.

func (SparseCNSSearchesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseCNSSearchesList.

func (SparseCNSSearchesList) DefaultOrder added in v1.94.1

func (o SparseCNSSearchesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCNSSearchesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseCNSSearchesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseCNSSearchesList) ToPlain added in v1.94.1

ToPlain returns the SparseCNSSearchesList converted to CNSSearchesList.

func (SparseCNSSearchesList) Version added in v1.94.1

func (o SparseCNSSearchesList) Version() int

Version returns the version of the content.

type SparseCNSSuggestion added in v1.94.1

type SparseCNSSuggestion struct {
	// Required by Prisma Cloud. Always set to true.
	NeedsOffsetUpdate *bool `json:"needsOffsetUpdate,omitempty" msgpack:"needsOffsetUpdate,omitempty" bson:"-" mapstructure:"needsOffsetUpdate,omitempty"`

	// The length of the RQL query part that is valid.
	Offset *int `json:"offset,omitempty" msgpack:"offset,omitempty" bson:"-" mapstructure:"offset,omitempty"`

	// Prisma Cloud's RQL query.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// List of query suggestions.
	Suggestions *[]string `json:"suggestions,omitempty" msgpack:"suggestions,omitempty" bson:"-" mapstructure:"suggestions,omitempty"`

	// Required by Prisma Cloud. Always set to false.
	Translate *bool `json:"translate,omitempty" msgpack:"translate,omitempty" bson:"-" mapstructure:"translate,omitempty"`

	// The validity of the RQL query.
	Valid *bool `json:"valid,omitempty" msgpack:"valid,omitempty" bson:"-" mapstructure:"valid,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCNSSuggestion represents the sparse version of a cnssuggestion.

func NewSparseCNSSuggestion added in v1.94.1

func NewSparseCNSSuggestion() *SparseCNSSuggestion

NewSparseCNSSuggestion returns a new SparseCNSSuggestion.

func (*SparseCNSSuggestion) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseCNSSuggestion.

func (*SparseCNSSuggestion) DeepCopyInto added in v1.94.1

func (o *SparseCNSSuggestion) DeepCopyInto(out *SparseCNSSuggestion)

DeepCopyInto copies the receiver into the given *SparseCNSSuggestion.

func (*SparseCNSSuggestion) GetBSON added in v1.94.1

func (o *SparseCNSSuggestion) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCNSSuggestion) Identifier added in v1.94.1

func (o *SparseCNSSuggestion) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCNSSuggestion) Identity added in v1.94.1

func (o *SparseCNSSuggestion) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCNSSuggestion) SetBSON added in v1.94.1

func (o *SparseCNSSuggestion) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCNSSuggestion) SetIdentifier added in v1.94.1

func (o *SparseCNSSuggestion) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCNSSuggestion) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseCNSSuggestion) Version added in v1.94.1

func (o *SparseCNSSuggestion) Version() int

Version returns the hardcoded version of the model.

type SparseCNSSuggestionsList added in v1.94.1

type SparseCNSSuggestionsList []*SparseCNSSuggestion

SparseCNSSuggestionsList represents a list of SparseCNSSuggestions

func (SparseCNSSuggestionsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseCNSSuggestionsList.

func (SparseCNSSuggestionsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseCNSSuggestionsList.

func (SparseCNSSuggestionsList) DefaultOrder added in v1.94.1

func (o SparseCNSSuggestionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCNSSuggestionsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseCNSSuggestionsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseCNSSuggestionsList) ToPlain added in v1.94.1

ToPlain returns the SparseCNSSuggestionsList converted to CNSSuggestionsList.

func (SparseCNSSuggestionsList) Version added in v1.94.1

func (o SparseCNSSuggestionsList) Version() int

Version returns the version of the content.

type SparseCachedFlowReport added in v1.94.1

type SparseCachedFlowReport struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Action applied to the flow.
	Action *CachedFlowReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// Identifier of the destination controller.
	DestinationController *string `` /* 146-byte string literal not displayed */

	// ID of the destination.
	DestinationID *string `json:"destinationID,omitempty" msgpack:"destinationID,omitempty" bson:"c,omitempty" mapstructure:"destinationID,omitempty"`

	// Destination IP address.
	DestinationIP *string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"d,omitempty" mapstructure:"destinationIP,omitempty"`

	// Namespace of the destination. This is deprecated. Use `remoteNamespace`. This
	// property does nothing.
	DestinationNamespace *string `` /* 143-byte string literal not displayed */

	// Identifier of the destination platform.
	DestinationPlatform *string `` /* 140-byte string literal not displayed */

	// Port of the destination.
	DestinationPort *int `` /* 128-byte string literal not displayed */

	// Destination type.
	DestinationType *CachedFlowReportDestinationTypeValue `` /* 128-byte string literal not displayed */

	// This field is only set if `action` is set to `Reject`. It specifies the reason
	// for the rejection.
	DropReason *string `json:"dropReason,omitempty" msgpack:"dropReason,omitempty" bson:"i,omitempty" mapstructure:"dropReason,omitempty"`

	// If `true`, the flow was encrypted.
	Encrypted *bool `json:"encrypted,omitempty" msgpack:"encrypted,omitempty" bson:"j,omitempty" mapstructure:"encrypted,omitempty"`

	// ID of the enforcer where the report was collected.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"ak,omitempty" mapstructure:"enforcerID,omitempty"`

	// Indicates if the destination endpoint is an enforcer-local processing unit.
	IsLocalDestinationID *bool `` /* 144-byte string literal not displayed */

	// Indicates if the source endpoint is an enforcer-local processing unit.
	IsLocalSourceID *bool `` /* 129-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// This is here for backward compatibility.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"k,omitempty" mapstructure:"namespace,omitempty"`

	// If `true`, design mode is on.
	Observed *bool `json:"observed,omitempty" msgpack:"observed,omitempty" bson:"l,omitempty" mapstructure:"observed,omitempty"`

	// Action observed on the flow.
	ObservedAction *CachedFlowReportObservedActionValue `json:"observedAction,omitempty" msgpack:"observedAction,omitempty" bson:"m,omitempty" mapstructure:"observedAction,omitempty"`

	// Specifies the reason for a rejection. Only set if `observedAction` is set
	// to `Reject`.
	ObservedDropReason *string `` /* 137-byte string literal not displayed */

	// Value of the encryption of the network policy that observed the flow.
	ObservedEncrypted *bool `` /* 134-byte string literal not displayed */

	// ID of the network policy that observed the flow.
	ObservedPolicyID *string `` /* 131-byte string literal not displayed */

	// Namespace of the network policy that observed the flow.
	ObservedPolicyNamespace *string `` /* 152-byte string literal not displayed */

	// ID of the network policy that accepted the flow.
	PolicyID *string `json:"policyID,omitempty" msgpack:"policyID,omitempty" bson:"r,omitempty" mapstructure:"policyID,omitempty"`

	// Namespace of the network policy that accepted the flow.
	PolicyNamespace *string `` /* 128-byte string literal not displayed */

	// Protocol number.
	Protocol *int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"t,omitempty" mapstructure:"protocol,omitempty"`

	// Namespace of the object at the other end of the flow.
	RemoteNamespace *string `` /* 128-byte string literal not displayed */

	// ID of the network policy that accepted the flow at the remote endpoint.
	RemotePolicyID *string `` /* 126-byte string literal not displayed */

	// Contains the eventual name assigned to the particular rule in the
	// NetworkRuleSetPolicy that acted on the flow.
	RuleName *string `json:"ruleName,omitempty" msgpack:"ruleName,omitempty" bson:"ba,omitempty" mapstructure:"ruleName,omitempty"`

	// Hash of the claims used to communicate.
	ServiceClaimHash *string `` /* 131-byte string literal not displayed */

	// ID of the service.
	ServiceID *string `json:"serviceID,omitempty" msgpack:"serviceID,omitempty" bson:"w,omitempty" mapstructure:"serviceID,omitempty"`

	// Namespace of Service accessed.
	ServiceNamespace *string `` /* 131-byte string literal not displayed */

	// ID of the service.
	ServiceType *CachedFlowReportServiceTypeValue `json:"serviceType,omitempty" msgpack:"serviceType,omitempty" bson:"y,omitempty" mapstructure:"serviceType,omitempty"`

	// Service URL accessed.
	ServiceURL *string `json:"serviceURL,omitempty" msgpack:"serviceURL,omitempty" bson:"z,omitempty" mapstructure:"serviceURL,omitempty"`

	// Identifier of the source controller.
	SourceController *string `` /* 132-byte string literal not displayed */

	// ID of the source.
	SourceID *string `json:"sourceID,omitempty" msgpack:"sourceID,omitempty" bson:"ab,omitempty" mapstructure:"sourceID,omitempty"`

	// Type of the source.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"ac,omitempty" mapstructure:"sourceIP,omitempty"`

	// Namespace of the source. This is deprecated. Use `remoteNamespace`. This
	// property does nothing.
	SourceNamespace *string `` /* 129-byte string literal not displayed */

	// Identifier of the source platform.
	SourcePlatform *string `` /* 126-byte string literal not displayed */

	// Type of the source.
	SourceType *CachedFlowReportSourceTypeValue `json:"sourceType,omitempty" msgpack:"sourceType,omitempty" bson:"af,omitempty" mapstructure:"sourceType,omitempty"`

	// Time and date of the log.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"ag,omitempty" mapstructure:"timestamp,omitempty"`

	// Number of flows in the log.
	Value *int `json:"value,omitempty" msgpack:"value,omitempty" bson:"ah,omitempty" mapstructure:"value,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCachedFlowReport represents the sparse version of a cachedflowreport.

func NewSparseCachedFlowReport added in v1.94.1

func NewSparseCachedFlowReport() *SparseCachedFlowReport

NewSparseCachedFlowReport returns a new SparseCachedFlowReport.

func (*SparseCachedFlowReport) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseCachedFlowReport.

func (*SparseCachedFlowReport) DeepCopyInto added in v1.94.1

func (o *SparseCachedFlowReport) DeepCopyInto(out *SparseCachedFlowReport)

DeepCopyInto copies the receiver into the given *SparseCachedFlowReport.

func (*SparseCachedFlowReport) GetBSON added in v1.94.1

func (o *SparseCachedFlowReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCachedFlowReport) GetMigrationsLog added in v1.94.1

func (o *SparseCachedFlowReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCachedFlowReport) GetZHash added in v1.94.1

func (o *SparseCachedFlowReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCachedFlowReport) GetZone added in v1.94.1

func (o *SparseCachedFlowReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCachedFlowReport) Identifier added in v1.94.1

func (o *SparseCachedFlowReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCachedFlowReport) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseCachedFlowReport) SetBSON added in v1.94.1

func (o *SparseCachedFlowReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCachedFlowReport) SetIdentifier added in v1.94.1

func (o *SparseCachedFlowReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCachedFlowReport) SetMigrationsLog added in v1.94.1

func (o *SparseCachedFlowReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCachedFlowReport) SetZHash added in v1.94.1

func (o *SparseCachedFlowReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCachedFlowReport) SetZone added in v1.94.1

func (o *SparseCachedFlowReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCachedFlowReport) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseCachedFlowReport) Version added in v1.94.1

func (o *SparseCachedFlowReport) Version() int

Version returns the hardcoded version of the model.

type SparseCachedFlowReportsList added in v1.94.1

type SparseCachedFlowReportsList []*SparseCachedFlowReport

SparseCachedFlowReportsList represents a list of SparseCachedFlowReports

func (SparseCachedFlowReportsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseCachedFlowReportsList.

func (SparseCachedFlowReportsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseCachedFlowReportsList.

func (SparseCachedFlowReportsList) DefaultOrder added in v1.94.1

func (o SparseCachedFlowReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCachedFlowReportsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseCachedFlowReportsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseCachedFlowReportsList) ToPlain added in v1.94.1

ToPlain returns the SparseCachedFlowReportsList converted to CachedFlowReportsList.

func (SparseCachedFlowReportsList) Version added in v1.94.1

func (o SparseCachedFlowReportsList) Version() int

Version returns the version of the content.

type SparseCategoriesList

type SparseCategoriesList []*SparseCategory

SparseCategoriesList represents a list of SparseCategories

func (SparseCategoriesList) Append

Append appends the objects to the a new copy of the SparseCategoriesList.

func (SparseCategoriesList) Copy

Copy returns a pointer to a copy the SparseCategoriesList.

func (SparseCategoriesList) DefaultOrder

func (o SparseCategoriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCategoriesList) Identity

Identity returns the identity of the objects in the list.

func (SparseCategoriesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseCategoriesList) ToPlain

ToPlain returns the SparseCategoriesList converted to CategoriesList.

func (SparseCategoriesList) Version

func (o SparseCategoriesList) Version() int

Version returns the version of the content.

type SparseCategory

type SparseCategory struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCategory represents the sparse version of a category.

func NewSparseCategory

func NewSparseCategory() *SparseCategory

NewSparseCategory returns a new SparseCategory.

func (*SparseCategory) DeepCopy

func (o *SparseCategory) DeepCopy() *SparseCategory

DeepCopy returns a deep copy if the SparseCategory.

func (*SparseCategory) DeepCopyInto

func (o *SparseCategory) DeepCopyInto(out *SparseCategory)

DeepCopyInto copies the receiver into the given *SparseCategory.

func (*SparseCategory) GetBSON added in v1.80.0

func (o *SparseCategory) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCategory) GetDescription

func (o *SparseCategory) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseCategory) GetName

func (o *SparseCategory) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCategory) Identifier

func (o *SparseCategory) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCategory) Identity

func (o *SparseCategory) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCategory) SetBSON added in v1.80.0

func (o *SparseCategory) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCategory) SetDescription

func (o *SparseCategory) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseCategory) SetIdentifier

func (o *SparseCategory) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCategory) SetName

func (o *SparseCategory) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCategory) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseCategory) Version

func (o *SparseCategory) Version() int

Version returns the hardcoded version of the model.

type SparseClaims

type SparseClaims struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Contains the raw JSON web token (JWT) claims.
	Content *map[string]string `json:"content,omitempty" msgpack:"content,omitempty" bson:"content,omitempty" mapstructure:"content,omitempty"`

	// Contains the date of the first appearance of the claims.
	FirstSeen *time.Time `json:"-" msgpack:"-" bson:"firstseen,omitempty" mapstructure:"-,omitempty"`

	// XXH64 hash of the claims content. It will be used as ID. To compute a correct
	// hash,
	// you must first clob `content` as an string array in the form `key=value`, sort
	// it
	// then apply the XXH64 function.
	Hash *string `json:"hash,omitempty" msgpack:"hash,omitempty" bson:"hash,omitempty" mapstructure:"hash,omitempty"`

	// Contains the date of the last appearance of the claims.
	LastSeen *time.Time `json:"-" msgpack:"-" bson:"lastseen,omitempty" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseClaims represents the sparse version of a claims.

func NewSparseClaims

func NewSparseClaims() *SparseClaims

NewSparseClaims returns a new SparseClaims.

func (*SparseClaims) DeepCopy

func (o *SparseClaims) DeepCopy() *SparseClaims

DeepCopy returns a deep copy if the SparseClaims.

func (*SparseClaims) DeepCopyInto

func (o *SparseClaims) DeepCopyInto(out *SparseClaims)

DeepCopyInto copies the receiver into the given *SparseClaims.

func (*SparseClaims) GetBSON added in v1.80.0

func (o *SparseClaims) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseClaims) GetMigrationsLog added in v1.30.0

func (o *SparseClaims) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseClaims) GetNamespace

func (o *SparseClaims) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseClaims) GetZHash

func (o *SparseClaims) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseClaims) GetZone

func (o *SparseClaims) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseClaims) Identifier

func (o *SparseClaims) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseClaims) Identity

func (o *SparseClaims) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseClaims) SetBSON added in v1.80.0

func (o *SparseClaims) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseClaims) SetIdentifier

func (o *SparseClaims) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseClaims) SetMigrationsLog added in v1.30.0

func (o *SparseClaims) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseClaims) SetNamespace

func (o *SparseClaims) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseClaims) SetZHash

func (o *SparseClaims) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseClaims) SetZone

func (o *SparseClaims) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseClaims) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseClaims) Version

func (o *SparseClaims) Version() int

Version returns the hardcoded version of the model.

type SparseClaimsList

type SparseClaimsList []*SparseClaims

SparseClaimsList represents a list of SparseClaims

func (SparseClaimsList) Append

Append appends the objects to the a new copy of the SparseClaimsList.

func (SparseClaimsList) Copy

Copy returns a pointer to a copy the SparseClaimsList.

func (SparseClaimsList) DefaultOrder

func (o SparseClaimsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseClaimsList) Identity

func (o SparseClaimsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseClaimsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseClaimsList) ToPlain

ToPlain returns the SparseClaimsList converted to ClaimsList.

func (SparseClaimsList) Version

func (o SparseClaimsList) Version() int

Version returns the version of the content.

type SparseClauseMatch added in v1.84.0

type SparseClauseMatch struct {
	// The tag clause to resolve.
	Clauses *[][]string `json:"clauses,omitempty" msgpack:"clauses,omitempty" bson:"clauses,omitempty" mapstructure:"clauses,omitempty"`

	// Contains the matched objects.
	Match *[]map[string]interface{} `json:"match,omitempty" msgpack:"match,omitempty" bson:"-" mapstructure:"match,omitempty"`

	// The identity to render the clauses from.
	TargetIdentity *string `json:"targetIdentity,omitempty" msgpack:"targetIdentity,omitempty" bson:"-" mapstructure:"targetIdentity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseClauseMatch represents the sparse version of a clausesmatch.

func NewSparseClauseMatch added in v1.84.0

func NewSparseClauseMatch() *SparseClauseMatch

NewSparseClauseMatch returns a new SparseClauseMatch.

func (*SparseClauseMatch) DeepCopy added in v1.84.0

func (o *SparseClauseMatch) DeepCopy() *SparseClauseMatch

DeepCopy returns a deep copy if the SparseClauseMatch.

func (*SparseClauseMatch) DeepCopyInto added in v1.84.0

func (o *SparseClauseMatch) DeepCopyInto(out *SparseClauseMatch)

DeepCopyInto copies the receiver into the given *SparseClauseMatch.

func (*SparseClauseMatch) GetBSON added in v1.84.0

func (o *SparseClauseMatch) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseClauseMatch) Identifier added in v1.84.0

func (o *SparseClauseMatch) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseClauseMatch) Identity added in v1.84.0

func (o *SparseClauseMatch) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseClauseMatch) SetBSON added in v1.84.0

func (o *SparseClauseMatch) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseClauseMatch) SetIdentifier added in v1.84.0

func (o *SparseClauseMatch) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseClauseMatch) ToPlain added in v1.84.0

ToPlain returns the plain version of the sparse model.

func (*SparseClauseMatch) Version added in v1.84.0

func (o *SparseClauseMatch) Version() int

Version returns the hardcoded version of the model.

type SparseClauseMatchesList added in v1.84.0

type SparseClauseMatchesList []*SparseClauseMatch

SparseClauseMatchesList represents a list of SparseClauseMatches

func (SparseClauseMatchesList) Append added in v1.84.0

Append appends the objects to the a new copy of the SparseClauseMatchesList.

func (SparseClauseMatchesList) Copy added in v1.84.0

Copy returns a pointer to a copy the SparseClauseMatchesList.

func (SparseClauseMatchesList) DefaultOrder added in v1.84.0

func (o SparseClauseMatchesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseClauseMatchesList) Identity added in v1.84.0

Identity returns the identity of the objects in the list.

func (SparseClauseMatchesList) List added in v1.84.0

List converts the object to an elemental.IdentifiablesList.

func (SparseClauseMatchesList) ToPlain added in v1.84.0

ToPlain returns the SparseClauseMatchesList converted to ClauseMatchesList.

func (SparseClauseMatchesList) Version added in v1.84.0

func (o SparseClauseMatchesList) Version() int

Version returns the version of the content.

type SparseCloudAccountCleaner added in v1.101.0

type SparseCloudAccountCleaner struct {
	// The date after which objects must be cleaned.
	Date *time.Time `json:"date,omitempty" msgpack:"date,omitempty" bson:"-" mapstructure:"date,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudAccountCleaner represents the sparse version of a cloudaccountcleaner.

func NewSparseCloudAccountCleaner added in v1.101.0

func NewSparseCloudAccountCleaner() *SparseCloudAccountCleaner

NewSparseCloudAccountCleaner returns a new SparseCloudAccountCleaner.

func (*SparseCloudAccountCleaner) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseCloudAccountCleaner.

func (*SparseCloudAccountCleaner) DeepCopyInto added in v1.101.0

DeepCopyInto copies the receiver into the given *SparseCloudAccountCleaner.

func (*SparseCloudAccountCleaner) GetBSON added in v1.101.0

func (o *SparseCloudAccountCleaner) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudAccountCleaner) Identifier added in v1.101.0

func (o *SparseCloudAccountCleaner) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudAccountCleaner) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseCloudAccountCleaner) SetBSON added in v1.101.0

func (o *SparseCloudAccountCleaner) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudAccountCleaner) SetIdentifier added in v1.101.0

func (o *SparseCloudAccountCleaner) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudAccountCleaner) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudAccountCleaner) Version added in v1.101.0

func (o *SparseCloudAccountCleaner) Version() int

Version returns the hardcoded version of the model.

type SparseCloudAccountCleanersList added in v1.101.0

type SparseCloudAccountCleanersList []*SparseCloudAccountCleaner

SparseCloudAccountCleanersList represents a list of SparseCloudAccountCleaners

func (SparseCloudAccountCleanersList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudAccountCleanersList.

func (SparseCloudAccountCleanersList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudAccountCleanersList.

func (SparseCloudAccountCleanersList) DefaultOrder added in v1.101.0

func (o SparseCloudAccountCleanersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudAccountCleanersList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudAccountCleanersList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudAccountCleanersList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudAccountCleanersList converted to CloudAccountCleanersList.

func (SparseCloudAccountCleanersList) Version added in v1.101.0

func (o SparseCloudAccountCleanersList) Version() int

Version returns the version of the content.

type SparseCloudAlert added in v1.101.0

type SparseCloudAlert struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// The list of policies that apply to this alert.
	Cloudpolicies *[]string `` /* 134-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Type of notifications.
	Notifications *[]string `` /* 134-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Selector of namespaces where this alert rule must apply. If empty it applies to
	// current namespace.
	TargetSelector *[][]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudAlert represents the sparse version of a cloudalert.

func NewSparseCloudAlert added in v1.101.0

func NewSparseCloudAlert() *SparseCloudAlert

NewSparseCloudAlert returns a new SparseCloudAlert.

func (*SparseCloudAlert) DeepCopy added in v1.101.0

func (o *SparseCloudAlert) DeepCopy() *SparseCloudAlert

DeepCopy returns a deep copy if the SparseCloudAlert.

func (*SparseCloudAlert) DeepCopyInto added in v1.101.0

func (o *SparseCloudAlert) DeepCopyInto(out *SparseCloudAlert)

DeepCopyInto copies the receiver into the given *SparseCloudAlert.

func (*SparseCloudAlert) GetAnnotations added in v1.101.0

func (o *SparseCloudAlert) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudAlert) GetAssociatedTags added in v1.101.0

func (o *SparseCloudAlert) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudAlert) GetBSON added in v1.101.0

func (o *SparseCloudAlert) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudAlert) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudAlert) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudAlert) GetDescription added in v1.101.0

func (o *SparseCloudAlert) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseCloudAlert) GetMigrationsLog added in v1.101.0

func (o *SparseCloudAlert) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudAlert) GetName added in v1.101.0

func (o *SparseCloudAlert) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudAlert) GetNamespace added in v1.101.0

func (o *SparseCloudAlert) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudAlert) GetNormalizedTags added in v1.101.0

func (o *SparseCloudAlert) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudAlert) GetProtected added in v1.101.0

func (o *SparseCloudAlert) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudAlert) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudAlert) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudAlert) GetZHash added in v1.101.0

func (o *SparseCloudAlert) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudAlert) GetZone added in v1.101.0

func (o *SparseCloudAlert) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudAlert) Identifier added in v1.101.0

func (o *SparseCloudAlert) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudAlert) Identity added in v1.101.0

func (o *SparseCloudAlert) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCloudAlert) SetAnnotations added in v1.101.0

func (o *SparseCloudAlert) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudAlert) SetAssociatedTags added in v1.101.0

func (o *SparseCloudAlert) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudAlert) SetBSON added in v1.101.0

func (o *SparseCloudAlert) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudAlert) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudAlert) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudAlert) SetDescription added in v1.101.0

func (o *SparseCloudAlert) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseCloudAlert) SetIdentifier added in v1.101.0

func (o *SparseCloudAlert) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudAlert) SetMigrationsLog added in v1.101.0

func (o *SparseCloudAlert) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudAlert) SetName added in v1.101.0

func (o *SparseCloudAlert) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudAlert) SetNamespace added in v1.101.0

func (o *SparseCloudAlert) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudAlert) SetNormalizedTags added in v1.101.0

func (o *SparseCloudAlert) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudAlert) SetProtected added in v1.101.0

func (o *SparseCloudAlert) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudAlert) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudAlert) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudAlert) SetZHash added in v1.101.0

func (o *SparseCloudAlert) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudAlert) SetZone added in v1.101.0

func (o *SparseCloudAlert) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudAlert) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudAlert) Version added in v1.101.0

func (o *SparseCloudAlert) Version() int

Version returns the hardcoded version of the model.

type SparseCloudAlertRule added in v1.103.0

type SparseCloudAlertRule struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines whether the Alert rule is enabled.
	Enabled *bool `json:"enabled,omitempty" msgpack:"enabled,omitempty" bson:"enabled,omitempty" mapstructure:"enabled,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Prisma Cloud Alert Rule id.
	PrismaCloudAlertRuleID *string `` /* 170-byte string literal not displayed */

	// List of Policy IDs associated to an Alert rule.
	PrismaCloudPolicyIDs *[]string `` /* 162-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// List of regions where the Alert rule is enforced.
	Regions *[]string `json:"regions,omitempty" msgpack:"regions,omitempty" bson:"regions,omitempty" mapstructure:"regions,omitempty"`

	// List of accounts associated to an Alert rule.
	TargetAccountIDs *[]string `` /* 146-byte string literal not displayed */

	// Prisma ID of the tenant in which the Alert Rule is created.
	TenantPrismaID *string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudAlertRule represents the sparse version of a cloudalertrule.

func NewSparseCloudAlertRule added in v1.103.0

func NewSparseCloudAlertRule() *SparseCloudAlertRule

NewSparseCloudAlertRule returns a new SparseCloudAlertRule.

func (*SparseCloudAlertRule) DeepCopy added in v1.103.0

DeepCopy returns a deep copy if the SparseCloudAlertRule.

func (*SparseCloudAlertRule) DeepCopyInto added in v1.103.0

func (o *SparseCloudAlertRule) DeepCopyInto(out *SparseCloudAlertRule)

DeepCopyInto copies the receiver into the given *SparseCloudAlertRule.

func (*SparseCloudAlertRule) GetAnnotations added in v1.103.0

func (o *SparseCloudAlertRule) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudAlertRule) GetAssociatedTags added in v1.103.0

func (o *SparseCloudAlertRule) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudAlertRule) GetBSON added in v1.103.0

func (o *SparseCloudAlertRule) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudAlertRule) GetCreateIdempotencyKey added in v1.103.0

func (o *SparseCloudAlertRule) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudAlertRule) GetCreateTime added in v1.103.0

func (o *SparseCloudAlertRule) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudAlertRule) GetDescription added in v1.103.0

func (o *SparseCloudAlertRule) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseCloudAlertRule) GetMigrationsLog added in v1.103.0

func (o *SparseCloudAlertRule) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudAlertRule) GetName added in v1.103.0

func (o *SparseCloudAlertRule) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudAlertRule) GetNamespace added in v1.103.0

func (o *SparseCloudAlertRule) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudAlertRule) GetNormalizedTags added in v1.103.0

func (o *SparseCloudAlertRule) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudAlertRule) GetProtected added in v1.103.0

func (o *SparseCloudAlertRule) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudAlertRule) GetUpdateIdempotencyKey added in v1.103.0

func (o *SparseCloudAlertRule) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudAlertRule) GetUpdateTime added in v1.103.0

func (o *SparseCloudAlertRule) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudAlertRule) GetZHash added in v1.103.0

func (o *SparseCloudAlertRule) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudAlertRule) GetZone added in v1.103.0

func (o *SparseCloudAlertRule) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudAlertRule) Identifier added in v1.103.0

func (o *SparseCloudAlertRule) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudAlertRule) Identity added in v1.103.0

func (o *SparseCloudAlertRule) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCloudAlertRule) SetAnnotations added in v1.103.0

func (o *SparseCloudAlertRule) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetAssociatedTags added in v1.103.0

func (o *SparseCloudAlertRule) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetBSON added in v1.103.0

func (o *SparseCloudAlertRule) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudAlertRule) SetCreateIdempotencyKey added in v1.103.0

func (o *SparseCloudAlertRule) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetCreateTime added in v1.103.0

func (o *SparseCloudAlertRule) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetDescription added in v1.103.0

func (o *SparseCloudAlertRule) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetIdentifier added in v1.103.0

func (o *SparseCloudAlertRule) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudAlertRule) SetMigrationsLog added in v1.103.0

func (o *SparseCloudAlertRule) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetName added in v1.103.0

func (o *SparseCloudAlertRule) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetNamespace added in v1.103.0

func (o *SparseCloudAlertRule) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetNormalizedTags added in v1.103.0

func (o *SparseCloudAlertRule) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetProtected added in v1.103.0

func (o *SparseCloudAlertRule) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetUpdateIdempotencyKey added in v1.103.0

func (o *SparseCloudAlertRule) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetUpdateTime added in v1.103.0

func (o *SparseCloudAlertRule) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetZHash added in v1.103.0

func (o *SparseCloudAlertRule) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudAlertRule) SetZone added in v1.103.0

func (o *SparseCloudAlertRule) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudAlertRule) ToPlain added in v1.103.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudAlertRule) Version added in v1.103.0

func (o *SparseCloudAlertRule) Version() int

Version returns the hardcoded version of the model.

type SparseCloudAlertRulesList added in v1.103.0

type SparseCloudAlertRulesList []*SparseCloudAlertRule

SparseCloudAlertRulesList represents a list of SparseCloudAlertRules

func (SparseCloudAlertRulesList) Append added in v1.103.0

Append appends the objects to the a new copy of the SparseCloudAlertRulesList.

func (SparseCloudAlertRulesList) Copy added in v1.103.0

Copy returns a pointer to a copy the SparseCloudAlertRulesList.

func (SparseCloudAlertRulesList) DefaultOrder added in v1.103.0

func (o SparseCloudAlertRulesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudAlertRulesList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (SparseCloudAlertRulesList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudAlertRulesList) ToPlain added in v1.103.0

ToPlain returns the SparseCloudAlertRulesList converted to CloudAlertRulesList.

func (SparseCloudAlertRulesList) Version added in v1.103.0

func (o SparseCloudAlertRulesList) Version() int

Version returns the version of the content.

type SparseCloudAlertsList added in v1.101.0

type SparseCloudAlertsList []*SparseCloudAlert

SparseCloudAlertsList represents a list of SparseCloudAlerts

func (SparseCloudAlertsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudAlertsList.

func (SparseCloudAlertsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudAlertsList.

func (SparseCloudAlertsList) DefaultOrder added in v1.101.0

func (o SparseCloudAlertsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudAlertsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudAlertsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudAlertsList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudAlertsList converted to CloudAlertsList.

func (SparseCloudAlertsList) Version added in v1.101.0

func (o SparseCloudAlertsList) Version() int

Version returns the version of the content.

type SparseCloudEndpoint added in v1.101.0

type SparseCloudEndpoint struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID *int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID *string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID *string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags *[]string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType *string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID *int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime *time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID *string `json:"nativeID,omitempty" msgpack:"nativeID,omitempty" bson:"nativeid,omitempty" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Endpoint related parameters.
	Parameters *CloudEndpointData `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences *[]string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName *string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID *int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudEndpoint represents the sparse version of a cloudendpoint.

func NewSparseCloudEndpoint added in v1.101.0

func NewSparseCloudEndpoint() *SparseCloudEndpoint

NewSparseCloudEndpoint returns a new SparseCloudEndpoint.

func (*SparseCloudEndpoint) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseCloudEndpoint.

func (*SparseCloudEndpoint) DeepCopyInto added in v1.101.0

func (o *SparseCloudEndpoint) DeepCopyInto(out *SparseCloudEndpoint)

DeepCopyInto copies the receiver into the given *SparseCloudEndpoint.

func (*SparseCloudEndpoint) GetAPIID added in v1.101.0

func (o *SparseCloudEndpoint) GetAPIID() (out int)

GetAPIID returns the APIID of the receiver.

func (*SparseCloudEndpoint) GetAccountID added in v1.101.0

func (o *SparseCloudEndpoint) GetAccountID() (out string)

GetAccountID returns the AccountID of the receiver.

func (*SparseCloudEndpoint) GetAnnotations added in v1.101.0

func (o *SparseCloudEndpoint) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudEndpoint) GetAssociatedTags added in v1.101.0

func (o *SparseCloudEndpoint) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudEndpoint) GetBSON added in v1.101.0

func (o *SparseCloudEndpoint) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudEndpoint) GetCloudTags added in v1.101.0

func (o *SparseCloudEndpoint) GetCloudTags() (out []string)

GetCloudTags returns the CloudTags of the receiver.

func (*SparseCloudEndpoint) GetCloudType added in v1.101.0

func (o *SparseCloudEndpoint) GetCloudType() (out string)

GetCloudType returns the CloudType of the receiver.

func (*SparseCloudEndpoint) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudEndpoint) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudEndpoint) GetCreateTime added in v1.101.0

func (o *SparseCloudEndpoint) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudEndpoint) GetCustomerID added in v1.101.0

func (o *SparseCloudEndpoint) GetCustomerID() (out int)

GetCustomerID returns the CustomerID of the receiver.

func (*SparseCloudEndpoint) GetIngestionTime added in v1.101.0

func (o *SparseCloudEndpoint) GetIngestionTime() (out time.Time)

GetIngestionTime returns the IngestionTime of the receiver.

func (*SparseCloudEndpoint) GetMigrationsLog added in v1.101.0

func (o *SparseCloudEndpoint) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudEndpoint) GetName added in v1.101.0

func (o *SparseCloudEndpoint) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudEndpoint) GetNamespace added in v1.101.0

func (o *SparseCloudEndpoint) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudEndpoint) GetNativeID added in v1.101.0

func (o *SparseCloudEndpoint) GetNativeID() (out string)

GetNativeID returns the NativeID of the receiver.

func (*SparseCloudEndpoint) GetNormalizedTags added in v1.101.0

func (o *SparseCloudEndpoint) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudEndpoint) GetPolicyReferences added in v1.101.0

func (o *SparseCloudEndpoint) GetPolicyReferences() (out []string)

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*SparseCloudEndpoint) GetProtected added in v1.101.0

func (o *SparseCloudEndpoint) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudEndpoint) GetRegionName added in v1.101.0

func (o *SparseCloudEndpoint) GetRegionName() (out string)

GetRegionName returns the RegionName of the receiver.

func (*SparseCloudEndpoint) GetResourceID added in v1.101.0

func (o *SparseCloudEndpoint) GetResourceID() (out int)

GetResourceID returns the ResourceID of the receiver.

func (*SparseCloudEndpoint) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudEndpoint) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudEndpoint) GetUpdateTime added in v1.101.0

func (o *SparseCloudEndpoint) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudEndpoint) GetVPCID added in v1.101.0

func (o *SparseCloudEndpoint) GetVPCID() (out string)

GetVPCID returns the VPCID of the receiver.

func (*SparseCloudEndpoint) GetZHash added in v1.101.0

func (o *SparseCloudEndpoint) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudEndpoint) GetZone added in v1.101.0

func (o *SparseCloudEndpoint) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudEndpoint) Identifier added in v1.101.0

func (o *SparseCloudEndpoint) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudEndpoint) Identity added in v1.101.0

func (o *SparseCloudEndpoint) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCloudEndpoint) SetAPIID added in v1.101.0

func (o *SparseCloudEndpoint) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetAccountID added in v1.101.0

func (o *SparseCloudEndpoint) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetAnnotations added in v1.101.0

func (o *SparseCloudEndpoint) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetAssociatedTags added in v1.101.0

func (o *SparseCloudEndpoint) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetBSON added in v1.101.0

func (o *SparseCloudEndpoint) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudEndpoint) SetCloudTags added in v1.101.0

func (o *SparseCloudEndpoint) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetCloudType added in v1.101.0

func (o *SparseCloudEndpoint) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudEndpoint) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetCreateTime added in v1.101.0

func (o *SparseCloudEndpoint) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetCustomerID added in v1.101.0

func (o *SparseCloudEndpoint) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetIdentifier added in v1.101.0

func (o *SparseCloudEndpoint) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudEndpoint) SetIngestionTime added in v1.101.0

func (o *SparseCloudEndpoint) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetMigrationsLog added in v1.101.0

func (o *SparseCloudEndpoint) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetName added in v1.101.0

func (o *SparseCloudEndpoint) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetNamespace added in v1.101.0

func (o *SparseCloudEndpoint) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetNativeID added in v1.101.0

func (o *SparseCloudEndpoint) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetNormalizedTags added in v1.101.0

func (o *SparseCloudEndpoint) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetPolicyReferences added in v1.101.0

func (o *SparseCloudEndpoint) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetProtected added in v1.101.0

func (o *SparseCloudEndpoint) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetRegionName added in v1.101.0

func (o *SparseCloudEndpoint) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetResourceID added in v1.101.0

func (o *SparseCloudEndpoint) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudEndpoint) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetUpdateTime added in v1.101.0

func (o *SparseCloudEndpoint) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetVPCID added in v1.101.0

func (o *SparseCloudEndpoint) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetZHash added in v1.101.0

func (o *SparseCloudEndpoint) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudEndpoint) SetZone added in v1.101.0

func (o *SparseCloudEndpoint) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudEndpoint) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudEndpoint) Version added in v1.101.0

func (o *SparseCloudEndpoint) Version() int

Version returns the hardcoded version of the model.

type SparseCloudEndpointsList added in v1.101.0

type SparseCloudEndpointsList []*SparseCloudEndpoint

SparseCloudEndpointsList represents a list of SparseCloudEndpoints

func (SparseCloudEndpointsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudEndpointsList.

func (SparseCloudEndpointsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudEndpointsList.

func (SparseCloudEndpointsList) DefaultOrder added in v1.101.0

func (o SparseCloudEndpointsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudEndpointsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudEndpointsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudEndpointsList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudEndpointsList converted to CloudEndpointsList.

func (SparseCloudEndpointsList) Version added in v1.101.0

func (o SparseCloudEndpointsList) Version() int

Version returns the version of the content.

type SparseCloudGraph added in v1.101.0

type SparseCloudGraph struct {
	// The edges of the map.
	InternalEdges *map[string]*CloudGraphEdge `json:"internalEdges,omitempty" msgpack:"internalEdges,omitempty" bson:"-" mapstructure:"internalEdges,omitempty"`

	// Refers to the nodes of the map.
	Nodes *map[string]*CloudGraphNode `json:"nodes,omitempty" msgpack:"nodes,omitempty" bson:"-" mapstructure:"nodes,omitempty"`

	// The set of paths from the given source to the given destination. Only provided
	// when the query type is NetworkPath.
	Paths *[][]*CloudPathElement `json:"paths,omitempty" msgpack:"paths,omitempty" bson:"-" mapstructure:"paths,omitempty"`

	// The edges of the map.
	PublicEdges *map[string]*CloudGraphEdge `json:"publicEdges,omitempty" msgpack:"publicEdges,omitempty" bson:"-" mapstructure:"publicEdges,omitempty"`

	// The cloud network query that should be used. This requires a POST operation on
	// the object.
	Query *CloudNetworkQuery `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The set of destinations that have been discovered based on the query and their
	// associated verdicts.
	SourceDestinationMap *map[string]map[string]*CloudNetworkQueryDestination `` /* 133-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudGraph represents the sparse version of a cloudgraph.

func NewSparseCloudGraph added in v1.101.0

func NewSparseCloudGraph() *SparseCloudGraph

NewSparseCloudGraph returns a new SparseCloudGraph.

func (*SparseCloudGraph) DeepCopy added in v1.101.0

func (o *SparseCloudGraph) DeepCopy() *SparseCloudGraph

DeepCopy returns a deep copy if the SparseCloudGraph.

func (*SparseCloudGraph) DeepCopyInto added in v1.101.0

func (o *SparseCloudGraph) DeepCopyInto(out *SparseCloudGraph)

DeepCopyInto copies the receiver into the given *SparseCloudGraph.

func (*SparseCloudGraph) GetBSON added in v1.101.0

func (o *SparseCloudGraph) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudGraph) Identifier added in v1.101.0

func (o *SparseCloudGraph) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudGraph) Identity added in v1.101.0

func (o *SparseCloudGraph) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCloudGraph) SetBSON added in v1.101.0

func (o *SparseCloudGraph) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudGraph) SetIdentifier added in v1.101.0

func (o *SparseCloudGraph) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudGraph) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudGraph) Version added in v1.101.0

func (o *SparseCloudGraph) Version() int

Version returns the hardcoded version of the model.

type SparseCloudGraphsList added in v1.101.0

type SparseCloudGraphsList []*SparseCloudGraph

SparseCloudGraphsList represents a list of SparseCloudGraphs

func (SparseCloudGraphsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudGraphsList.

func (SparseCloudGraphsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudGraphsList.

func (SparseCloudGraphsList) DefaultOrder added in v1.101.0

func (o SparseCloudGraphsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudGraphsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudGraphsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudGraphsList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudGraphsList converted to CloudGraphsList.

func (SparseCloudGraphsList) Version added in v1.101.0

func (o SparseCloudGraphsList) Version() int

Version returns the version of the content.

type SparseCloudManagedNetwork added in v1.101.0

type SparseCloudManagedNetwork struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID *int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID *string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID *string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags *[]string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType *string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID *int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// List of CIDRs.
	Entries *[]string `json:"entries,omitempty" msgpack:"entries,omitempty" bson:"entries,omitempty" mapstructure:"entries,omitempty"`

	// The time that the object was first ingested.
	IngestionTime *time.Time `` /* 134-byte string literal not displayed */

	// Internal unique key for a resource to guarantee no overlaps at write.
	Key *string `json:"-" msgpack:"-" bson:"key,omitempty" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID *string `json:"nativeID,omitempty" msgpack:"nativeID,omitempty" bson:"nativeid,omitempty" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// A list of policy references associated with this cloud node.
	PolicyReferences *[]string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName *string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID *int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// Internal representation of entries to accelerate processing. Not visible to
	// users.
	StoredEntries *[]*net.IPNet `json:"-" msgpack:"-" bson:"storedentries,omitempty" mapstructure:"-,omitempty"`

	// The type of cloud managed network.
	Type *CloudManagedNetworkTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudManagedNetwork represents the sparse version of a cloudmanagednetwork.

func NewSparseCloudManagedNetwork added in v1.101.0

func NewSparseCloudManagedNetwork() *SparseCloudManagedNetwork

NewSparseCloudManagedNetwork returns a new SparseCloudManagedNetwork.

func (*SparseCloudManagedNetwork) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseCloudManagedNetwork.

func (*SparseCloudManagedNetwork) DeepCopyInto added in v1.101.0

DeepCopyInto copies the receiver into the given *SparseCloudManagedNetwork.

func (*SparseCloudManagedNetwork) GetAPIID added in v1.101.0

func (o *SparseCloudManagedNetwork) GetAPIID() (out int)

GetAPIID returns the APIID of the receiver.

func (*SparseCloudManagedNetwork) GetAccountID added in v1.101.0

func (o *SparseCloudManagedNetwork) GetAccountID() (out string)

GetAccountID returns the AccountID of the receiver.

func (*SparseCloudManagedNetwork) GetAnnotations added in v1.101.0

func (o *SparseCloudManagedNetwork) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudManagedNetwork) GetAssociatedTags added in v1.101.0

func (o *SparseCloudManagedNetwork) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudManagedNetwork) GetBSON added in v1.101.0

func (o *SparseCloudManagedNetwork) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudManagedNetwork) GetCloudTags added in v1.101.0

func (o *SparseCloudManagedNetwork) GetCloudTags() (out []string)

GetCloudTags returns the CloudTags of the receiver.

func (*SparseCloudManagedNetwork) GetCloudType added in v1.101.0

func (o *SparseCloudManagedNetwork) GetCloudType() (out string)

GetCloudType returns the CloudType of the receiver.

func (*SparseCloudManagedNetwork) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudManagedNetwork) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudManagedNetwork) GetCreateTime added in v1.101.0

func (o *SparseCloudManagedNetwork) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudManagedNetwork) GetCustomerID added in v1.101.0

func (o *SparseCloudManagedNetwork) GetCustomerID() (out int)

GetCustomerID returns the CustomerID of the receiver.

func (*SparseCloudManagedNetwork) GetIngestionTime added in v1.101.0

func (o *SparseCloudManagedNetwork) GetIngestionTime() (out time.Time)

GetIngestionTime returns the IngestionTime of the receiver.

func (*SparseCloudManagedNetwork) GetMigrationsLog added in v1.101.0

func (o *SparseCloudManagedNetwork) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudManagedNetwork) GetName added in v1.101.0

func (o *SparseCloudManagedNetwork) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudManagedNetwork) GetNamespace added in v1.101.0

func (o *SparseCloudManagedNetwork) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudManagedNetwork) GetNativeID added in v1.101.0

func (o *SparseCloudManagedNetwork) GetNativeID() (out string)

GetNativeID returns the NativeID of the receiver.

func (*SparseCloudManagedNetwork) GetNormalizedTags added in v1.101.0

func (o *SparseCloudManagedNetwork) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudManagedNetwork) GetPolicyReferences added in v1.101.0

func (o *SparseCloudManagedNetwork) GetPolicyReferences() (out []string)

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*SparseCloudManagedNetwork) GetProtected added in v1.101.0

func (o *SparseCloudManagedNetwork) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudManagedNetwork) GetRegionName added in v1.101.0

func (o *SparseCloudManagedNetwork) GetRegionName() (out string)

GetRegionName returns the RegionName of the receiver.

func (*SparseCloudManagedNetwork) GetResourceID added in v1.101.0

func (o *SparseCloudManagedNetwork) GetResourceID() (out int)

GetResourceID returns the ResourceID of the receiver.

func (*SparseCloudManagedNetwork) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudManagedNetwork) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudManagedNetwork) GetUpdateTime added in v1.101.0

func (o *SparseCloudManagedNetwork) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudManagedNetwork) GetVPCID added in v1.101.0

func (o *SparseCloudManagedNetwork) GetVPCID() (out string)

GetVPCID returns the VPCID of the receiver.

func (*SparseCloudManagedNetwork) GetZHash added in v1.101.0

func (o *SparseCloudManagedNetwork) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudManagedNetwork) GetZone added in v1.101.0

func (o *SparseCloudManagedNetwork) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudManagedNetwork) Identifier added in v1.101.0

func (o *SparseCloudManagedNetwork) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudManagedNetwork) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseCloudManagedNetwork) SetAPIID added in v1.101.0

func (o *SparseCloudManagedNetwork) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetAccountID added in v1.101.0

func (o *SparseCloudManagedNetwork) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetAnnotations added in v1.101.0

func (o *SparseCloudManagedNetwork) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetAssociatedTags added in v1.101.0

func (o *SparseCloudManagedNetwork) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetBSON added in v1.101.0

func (o *SparseCloudManagedNetwork) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudManagedNetwork) SetCloudTags added in v1.101.0

func (o *SparseCloudManagedNetwork) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetCloudType added in v1.101.0

func (o *SparseCloudManagedNetwork) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudManagedNetwork) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetCreateTime added in v1.101.0

func (o *SparseCloudManagedNetwork) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetCustomerID added in v1.101.0

func (o *SparseCloudManagedNetwork) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetIdentifier added in v1.101.0

func (o *SparseCloudManagedNetwork) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudManagedNetwork) SetIngestionTime added in v1.101.0

func (o *SparseCloudManagedNetwork) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetMigrationsLog added in v1.101.0

func (o *SparseCloudManagedNetwork) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetName added in v1.101.0

func (o *SparseCloudManagedNetwork) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetNamespace added in v1.101.0

func (o *SparseCloudManagedNetwork) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetNativeID added in v1.101.0

func (o *SparseCloudManagedNetwork) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetNormalizedTags added in v1.101.0

func (o *SparseCloudManagedNetwork) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetPolicyReferences added in v1.101.0

func (o *SparseCloudManagedNetwork) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetProtected added in v1.101.0

func (o *SparseCloudManagedNetwork) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetRegionName added in v1.101.0

func (o *SparseCloudManagedNetwork) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetResourceID added in v1.101.0

func (o *SparseCloudManagedNetwork) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudManagedNetwork) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetUpdateTime added in v1.101.0

func (o *SparseCloudManagedNetwork) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetVPCID added in v1.101.0

func (o *SparseCloudManagedNetwork) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetZHash added in v1.101.0

func (o *SparseCloudManagedNetwork) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) SetZone added in v1.101.0

func (o *SparseCloudManagedNetwork) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudManagedNetwork) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudManagedNetwork) Version added in v1.101.0

func (o *SparseCloudManagedNetwork) Version() int

Version returns the hardcoded version of the model.

type SparseCloudManagedNetworksList added in v1.101.0

type SparseCloudManagedNetworksList []*SparseCloudManagedNetwork

SparseCloudManagedNetworksList represents a list of SparseCloudManagedNetworks

func (SparseCloudManagedNetworksList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudManagedNetworksList.

func (SparseCloudManagedNetworksList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudManagedNetworksList.

func (SparseCloudManagedNetworksList) DefaultOrder added in v1.101.0

func (o SparseCloudManagedNetworksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudManagedNetworksList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudManagedNetworksList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudManagedNetworksList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudManagedNetworksList converted to CloudManagedNetworksList.

func (SparseCloudManagedNetworksList) Version added in v1.101.0

func (o SparseCloudManagedNetworksList) Version() int

Version returns the version of the content.

type SparseCloudNetworkInterface added in v1.101.0

type SparseCloudNetworkInterface struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID *int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID *string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID *string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags *[]string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType *string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID *int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime *time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID *string `json:"nativeID,omitempty" msgpack:"nativeID,omitempty" bson:"nativeid,omitempty" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Cloud network interface related parameters.
	Parameters *CloudInterfaceData `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences *[]string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName *string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID *int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudNetworkInterface represents the sparse version of a cloudnetworkinterface.

func NewSparseCloudNetworkInterface added in v1.101.0

func NewSparseCloudNetworkInterface() *SparseCloudNetworkInterface

NewSparseCloudNetworkInterface returns a new SparseCloudNetworkInterface.

func (*SparseCloudNetworkInterface) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseCloudNetworkInterface.

func (*SparseCloudNetworkInterface) DeepCopyInto added in v1.101.0

DeepCopyInto copies the receiver into the given *SparseCloudNetworkInterface.

func (*SparseCloudNetworkInterface) GetAPIID added in v1.101.0

func (o *SparseCloudNetworkInterface) GetAPIID() (out int)

GetAPIID returns the APIID of the receiver.

func (*SparseCloudNetworkInterface) GetAccountID added in v1.101.0

func (o *SparseCloudNetworkInterface) GetAccountID() (out string)

GetAccountID returns the AccountID of the receiver.

func (*SparseCloudNetworkInterface) GetAnnotations added in v1.101.0

func (o *SparseCloudNetworkInterface) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudNetworkInterface) GetAssociatedTags added in v1.101.0

func (o *SparseCloudNetworkInterface) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudNetworkInterface) GetBSON added in v1.101.0

func (o *SparseCloudNetworkInterface) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudNetworkInterface) GetCloudTags added in v1.101.0

func (o *SparseCloudNetworkInterface) GetCloudTags() (out []string)

GetCloudTags returns the CloudTags of the receiver.

func (*SparseCloudNetworkInterface) GetCloudType added in v1.101.0

func (o *SparseCloudNetworkInterface) GetCloudType() (out string)

GetCloudType returns the CloudType of the receiver.

func (*SparseCloudNetworkInterface) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkInterface) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudNetworkInterface) GetCreateTime added in v1.101.0

func (o *SparseCloudNetworkInterface) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudNetworkInterface) GetCustomerID added in v1.101.0

func (o *SparseCloudNetworkInterface) GetCustomerID() (out int)

GetCustomerID returns the CustomerID of the receiver.

func (*SparseCloudNetworkInterface) GetIngestionTime added in v1.101.0

func (o *SparseCloudNetworkInterface) GetIngestionTime() (out time.Time)

GetIngestionTime returns the IngestionTime of the receiver.

func (*SparseCloudNetworkInterface) GetMigrationsLog added in v1.101.0

func (o *SparseCloudNetworkInterface) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudNetworkInterface) GetName added in v1.101.0

func (o *SparseCloudNetworkInterface) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudNetworkInterface) GetNamespace added in v1.101.0

func (o *SparseCloudNetworkInterface) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudNetworkInterface) GetNativeID added in v1.101.0

func (o *SparseCloudNetworkInterface) GetNativeID() (out string)

GetNativeID returns the NativeID of the receiver.

func (*SparseCloudNetworkInterface) GetNormalizedTags added in v1.101.0

func (o *SparseCloudNetworkInterface) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudNetworkInterface) GetPolicyReferences added in v1.101.0

func (o *SparseCloudNetworkInterface) GetPolicyReferences() (out []string)

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*SparseCloudNetworkInterface) GetProtected added in v1.101.0

func (o *SparseCloudNetworkInterface) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudNetworkInterface) GetRegionName added in v1.101.0

func (o *SparseCloudNetworkInterface) GetRegionName() (out string)

GetRegionName returns the RegionName of the receiver.

func (*SparseCloudNetworkInterface) GetResourceID added in v1.101.0

func (o *SparseCloudNetworkInterface) GetResourceID() (out int)

GetResourceID returns the ResourceID of the receiver.

func (*SparseCloudNetworkInterface) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkInterface) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudNetworkInterface) GetUpdateTime added in v1.101.0

func (o *SparseCloudNetworkInterface) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudNetworkInterface) GetVPCID added in v1.101.0

func (o *SparseCloudNetworkInterface) GetVPCID() (out string)

GetVPCID returns the VPCID of the receiver.

func (*SparseCloudNetworkInterface) GetZHash added in v1.101.0

func (o *SparseCloudNetworkInterface) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudNetworkInterface) GetZone added in v1.101.0

func (o *SparseCloudNetworkInterface) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudNetworkInterface) Identifier added in v1.101.0

func (o *SparseCloudNetworkInterface) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudNetworkInterface) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseCloudNetworkInterface) SetAPIID added in v1.101.0

func (o *SparseCloudNetworkInterface) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetAccountID added in v1.101.0

func (o *SparseCloudNetworkInterface) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetAnnotations added in v1.101.0

func (o *SparseCloudNetworkInterface) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetAssociatedTags added in v1.101.0

func (o *SparseCloudNetworkInterface) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetBSON added in v1.101.0

func (o *SparseCloudNetworkInterface) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudNetworkInterface) SetCloudTags added in v1.101.0

func (o *SparseCloudNetworkInterface) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetCloudType added in v1.101.0

func (o *SparseCloudNetworkInterface) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkInterface) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetCreateTime added in v1.101.0

func (o *SparseCloudNetworkInterface) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetCustomerID added in v1.101.0

func (o *SparseCloudNetworkInterface) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetIdentifier added in v1.101.0

func (o *SparseCloudNetworkInterface) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudNetworkInterface) SetIngestionTime added in v1.101.0

func (o *SparseCloudNetworkInterface) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetMigrationsLog added in v1.101.0

func (o *SparseCloudNetworkInterface) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetName added in v1.101.0

func (o *SparseCloudNetworkInterface) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetNamespace added in v1.101.0

func (o *SparseCloudNetworkInterface) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetNativeID added in v1.101.0

func (o *SparseCloudNetworkInterface) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetNormalizedTags added in v1.101.0

func (o *SparseCloudNetworkInterface) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetPolicyReferences added in v1.101.0

func (o *SparseCloudNetworkInterface) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetProtected added in v1.101.0

func (o *SparseCloudNetworkInterface) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetRegionName added in v1.101.0

func (o *SparseCloudNetworkInterface) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetResourceID added in v1.101.0

func (o *SparseCloudNetworkInterface) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkInterface) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetUpdateTime added in v1.101.0

func (o *SparseCloudNetworkInterface) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetVPCID added in v1.101.0

func (o *SparseCloudNetworkInterface) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetZHash added in v1.101.0

func (o *SparseCloudNetworkInterface) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) SetZone added in v1.101.0

func (o *SparseCloudNetworkInterface) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudNetworkInterface) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudNetworkInterface) Version added in v1.101.0

func (o *SparseCloudNetworkInterface) Version() int

Version returns the hardcoded version of the model.

type SparseCloudNetworkInterfacesList added in v1.101.0

type SparseCloudNetworkInterfacesList []*SparseCloudNetworkInterface

SparseCloudNetworkInterfacesList represents a list of SparseCloudNetworkInterfaces

func (SparseCloudNetworkInterfacesList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudNetworkInterfacesList.

func (SparseCloudNetworkInterfacesList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudNetworkInterfacesList.

func (SparseCloudNetworkInterfacesList) DefaultOrder added in v1.101.0

func (o SparseCloudNetworkInterfacesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudNetworkInterfacesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudNetworkInterfacesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudNetworkInterfacesList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudNetworkInterfacesList converted to CloudNetworkInterfacesList.

func (SparseCloudNetworkInterfacesList) Version added in v1.101.0

Version returns the version of the content.

type SparseCloudNetworkQueriesList added in v1.101.0

type SparseCloudNetworkQueriesList []*SparseCloudNetworkQuery

SparseCloudNetworkQueriesList represents a list of SparseCloudNetworkQueries

func (SparseCloudNetworkQueriesList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudNetworkQueriesList.

func (SparseCloudNetworkQueriesList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudNetworkQueriesList.

func (SparseCloudNetworkQueriesList) DefaultOrder added in v1.101.0

func (o SparseCloudNetworkQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudNetworkQueriesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudNetworkQueriesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudNetworkQueriesList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudNetworkQueriesList converted to CloudNetworkQueriesList.

func (SparseCloudNetworkQueriesList) Version added in v1.101.0

func (o SparseCloudNetworkQueriesList) Version() int

Version returns the version of the content.

type SparseCloudNetworkQuery added in v1.101.0

type SparseCloudNetworkQuery struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Group the instances generated by the query into VPCs or subnets so that when
	// alerts can be raised against the grouped resource.
	AlertOn *CloudNetworkQueryAlertOnValue `json:"alertOn,omitempty" msgpack:"alertOn,omitempty" bson:"alerton,omitempty" mapstructure:"alertOn,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// The destination IP of a trace route request. Might not always be an endpoint.
	DestinationIP *string `` /* 134-byte string literal not displayed */

	// A filter for selecting destinations for the query.
	DestinationSelector *CloudNetworkQueryFilter `` /* 158-byte string literal not displayed */

	// Filters the results based on the effective action. 'Allowed' means
	// that a destination is both reachable and allowed by security rules.
	// 'Denied' means that the destination is reachable through routing,
	// but traffic is blocked through one or more security rules. 'Reachable'
	// returns all destinations that are reachable from the selected sources
	// irrespective of the security rules.
	EffectiveAction *CloudNetworkQueryEffectiveActionValue `` /* 142-byte string literal not displayed */

	// If set, the evaluation will exclude enterprise IPs from the effective
	// permissions.
	ExcludeEnterpriseIPs *bool `` /* 162-byte string literal not displayed */

	// List of networks that should be a excluded from the calculation if the source or
	// destination is a network.
	ExcludedNetworks *[]string `` /* 146-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Represents the ports and protocols this policy applies to. Protocol/ports are
	// defined as tcp/80, udp/22. For protocols that do not have ports, the port
	// designation
	// is not allowed.
	ProtocolPorts *[]string `` /* 134-byte string literal not displayed */

	// The RQL string for this query as a reference.
	RawRQL *string `json:"-" msgpack:"-" bson:"rawrql,omitempty" mapstructure:"-,omitempty"`

	// The source IP of a trace route request. Might not be always and endpoint.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"sourceip,omitempty" mapstructure:"sourceIP,omitempty"`

	// A filter for selecting the sources of the request.
	SourceSelector *CloudNetworkQueryFilter `` /* 138-byte string literal not displayed */

	// Indicates the type of results that should be provided by the query.
	Type *CloudNetworkQueryTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudNetworkQuery represents the sparse version of a cloudnetworkquery.

func NewSparseCloudNetworkQuery added in v1.101.0

func NewSparseCloudNetworkQuery() *SparseCloudNetworkQuery

NewSparseCloudNetworkQuery returns a new SparseCloudNetworkQuery.

func (*SparseCloudNetworkQuery) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseCloudNetworkQuery.

func (*SparseCloudNetworkQuery) DeepCopyInto added in v1.101.0

func (o *SparseCloudNetworkQuery) DeepCopyInto(out *SparseCloudNetworkQuery)

DeepCopyInto copies the receiver into the given *SparseCloudNetworkQuery.

func (*SparseCloudNetworkQuery) GetAnnotations added in v1.101.0

func (o *SparseCloudNetworkQuery) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudNetworkQuery) GetAssociatedTags added in v1.101.0

func (o *SparseCloudNetworkQuery) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudNetworkQuery) GetBSON added in v1.101.0

func (o *SparseCloudNetworkQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudNetworkQuery) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkQuery) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudNetworkQuery) GetDescription added in v1.101.0

func (o *SparseCloudNetworkQuery) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseCloudNetworkQuery) GetMigrationsLog added in v1.101.0

func (o *SparseCloudNetworkQuery) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudNetworkQuery) GetName added in v1.101.0

func (o *SparseCloudNetworkQuery) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudNetworkQuery) GetNamespace added in v1.101.0

func (o *SparseCloudNetworkQuery) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudNetworkQuery) GetNormalizedTags added in v1.101.0

func (o *SparseCloudNetworkQuery) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudNetworkQuery) GetProtected added in v1.101.0

func (o *SparseCloudNetworkQuery) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudNetworkQuery) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkQuery) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudNetworkQuery) GetZHash added in v1.101.0

func (o *SparseCloudNetworkQuery) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudNetworkQuery) GetZone added in v1.101.0

func (o *SparseCloudNetworkQuery) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudNetworkQuery) Identifier added in v1.101.0

func (o *SparseCloudNetworkQuery) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudNetworkQuery) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseCloudNetworkQuery) SetAnnotations added in v1.101.0

func (o *SparseCloudNetworkQuery) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetAssociatedTags added in v1.101.0

func (o *SparseCloudNetworkQuery) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetBSON added in v1.101.0

func (o *SparseCloudNetworkQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudNetworkQuery) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkQuery) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetDescription added in v1.101.0

func (o *SparseCloudNetworkQuery) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetIdentifier added in v1.101.0

func (o *SparseCloudNetworkQuery) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudNetworkQuery) SetMigrationsLog added in v1.101.0

func (o *SparseCloudNetworkQuery) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetName added in v1.101.0

func (o *SparseCloudNetworkQuery) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetNamespace added in v1.101.0

func (o *SparseCloudNetworkQuery) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetNormalizedTags added in v1.101.0

func (o *SparseCloudNetworkQuery) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetProtected added in v1.101.0

func (o *SparseCloudNetworkQuery) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkQuery) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetZHash added in v1.101.0

func (o *SparseCloudNetworkQuery) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) SetZone added in v1.101.0

func (o *SparseCloudNetworkQuery) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudNetworkQuery) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudNetworkQuery) Version added in v1.101.0

func (o *SparseCloudNetworkQuery) Version() int

Version returns the hardcoded version of the model.

type SparseCloudNetworkRuleSet added in v1.101.0

type SparseCloudNetworkRuleSet struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID *int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID *string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID *string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags *[]string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType *string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID *int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime *time.Time `` /* 134-byte string literal not displayed */

	// Internal unique key for a resource to guarantee no overlaps at write.
	Key *string `json:"-" msgpack:"-" bson:"key,omitempty" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID *string `json:"nativeID,omitempty" msgpack:"nativeID,omitempty" bson:"nativeid,omitempty" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Cloud network ruleset data.
	Parameters *CloudNetworkRuleSetData `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences *[]string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName *string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID *int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudNetworkRuleSet represents the sparse version of a cloudnetworkruleset.

func NewSparseCloudNetworkRuleSet added in v1.101.0

func NewSparseCloudNetworkRuleSet() *SparseCloudNetworkRuleSet

NewSparseCloudNetworkRuleSet returns a new SparseCloudNetworkRuleSet.

func (*SparseCloudNetworkRuleSet) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseCloudNetworkRuleSet.

func (*SparseCloudNetworkRuleSet) DeepCopyInto added in v1.101.0

DeepCopyInto copies the receiver into the given *SparseCloudNetworkRuleSet.

func (*SparseCloudNetworkRuleSet) GetAPIID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetAPIID() (out int)

GetAPIID returns the APIID of the receiver.

func (*SparseCloudNetworkRuleSet) GetAccountID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetAccountID() (out string)

GetAccountID returns the AccountID of the receiver.

func (*SparseCloudNetworkRuleSet) GetAnnotations added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudNetworkRuleSet) GetAssociatedTags added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudNetworkRuleSet) GetBSON added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudNetworkRuleSet) GetCloudTags added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetCloudTags() (out []string)

GetCloudTags returns the CloudTags of the receiver.

func (*SparseCloudNetworkRuleSet) GetCloudType added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetCloudType() (out string)

GetCloudType returns the CloudType of the receiver.

func (*SparseCloudNetworkRuleSet) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudNetworkRuleSet) GetCreateTime added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudNetworkRuleSet) GetCustomerID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetCustomerID() (out int)

GetCustomerID returns the CustomerID of the receiver.

func (*SparseCloudNetworkRuleSet) GetIngestionTime added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetIngestionTime() (out time.Time)

GetIngestionTime returns the IngestionTime of the receiver.

func (*SparseCloudNetworkRuleSet) GetMigrationsLog added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudNetworkRuleSet) GetName added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudNetworkRuleSet) GetNamespace added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudNetworkRuleSet) GetNativeID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetNativeID() (out string)

GetNativeID returns the NativeID of the receiver.

func (*SparseCloudNetworkRuleSet) GetNormalizedTags added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudNetworkRuleSet) GetPolicyReferences added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetPolicyReferences() (out []string)

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*SparseCloudNetworkRuleSet) GetProtected added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudNetworkRuleSet) GetRegionName added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetRegionName() (out string)

GetRegionName returns the RegionName of the receiver.

func (*SparseCloudNetworkRuleSet) GetResourceID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetResourceID() (out int)

GetResourceID returns the ResourceID of the receiver.

func (*SparseCloudNetworkRuleSet) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudNetworkRuleSet) GetUpdateTime added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudNetworkRuleSet) GetVPCID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetVPCID() (out string)

GetVPCID returns the VPCID of the receiver.

func (*SparseCloudNetworkRuleSet) GetZHash added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudNetworkRuleSet) GetZone added in v1.101.0

func (o *SparseCloudNetworkRuleSet) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudNetworkRuleSet) Identifier added in v1.101.0

func (o *SparseCloudNetworkRuleSet) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudNetworkRuleSet) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseCloudNetworkRuleSet) SetAPIID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetAccountID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetAnnotations added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetAssociatedTags added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetBSON added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudNetworkRuleSet) SetCloudTags added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetCloudType added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetCreateTime added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetCustomerID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetIdentifier added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudNetworkRuleSet) SetIngestionTime added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetMigrationsLog added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetName added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetNamespace added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetNativeID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetNormalizedTags added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetPolicyReferences added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetProtected added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetRegionName added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetResourceID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetUpdateTime added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetVPCID added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetZHash added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) SetZone added in v1.101.0

func (o *SparseCloudNetworkRuleSet) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudNetworkRuleSet) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudNetworkRuleSet) Version added in v1.101.0

func (o *SparseCloudNetworkRuleSet) Version() int

Version returns the hardcoded version of the model.

type SparseCloudNetworkRuleSetsList added in v1.101.0

type SparseCloudNetworkRuleSetsList []*SparseCloudNetworkRuleSet

SparseCloudNetworkRuleSetsList represents a list of SparseCloudNetworkRuleSets

func (SparseCloudNetworkRuleSetsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudNetworkRuleSetsList.

func (SparseCloudNetworkRuleSetsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudNetworkRuleSetsList.

func (SparseCloudNetworkRuleSetsList) DefaultOrder added in v1.101.0

func (o SparseCloudNetworkRuleSetsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudNetworkRuleSetsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudNetworkRuleSetsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudNetworkRuleSetsList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudNetworkRuleSetsList converted to CloudNetworkRuleSetsList.

func (SparseCloudNetworkRuleSetsList) Version added in v1.101.0

func (o SparseCloudNetworkRuleSetsList) Version() int

Version returns the version of the content.

type SparseCloudNode added in v1.101.0

type SparseCloudNode struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID *int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID *string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID *string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// The list of attachments for this node.
	Attachments *[]string `` /* 126-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags *[]string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType *string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID *int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime *time.Time `` /* 134-byte string literal not displayed */

	// Internal unique key for a resource to guarantee no overlaps at write.
	Key *string `json:"-" msgpack:"-" bson:"key,omitempty" mapstructure:"-,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID *string `json:"nativeID,omitempty" msgpack:"nativeID,omitempty" bson:"nativeid,omitempty" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// The cloud attributes of the object.
	Parameters *map[string]interface{} `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences *[]string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName *string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// A reference to a related object.
	RelatedObjectID *string `` /* 142-byte string literal not displayed */

	// Prisma Cloud Resource ID.
	ResourceID *int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// List of security tags associated with the node.
	SecurityTags *[]string `` /* 130-byte string literal not displayed */

	// The sub-type of the object as found in the parameters. Used for indexing.
	SubType *string `json:"subType,omitempty" msgpack:"subType,omitempty" bson:"subtype,omitempty" mapstructure:"subType,omitempty"`

	// Type of the endpoint.
	Type *CloudNodeTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudNode represents the sparse version of a cloudnode.

func NewSparseCloudNode added in v1.101.0

func NewSparseCloudNode() *SparseCloudNode

NewSparseCloudNode returns a new SparseCloudNode.

func (*SparseCloudNode) DeepCopy added in v1.101.0

func (o *SparseCloudNode) DeepCopy() *SparseCloudNode

DeepCopy returns a deep copy if the SparseCloudNode.

func (*SparseCloudNode) DeepCopyInto added in v1.101.0

func (o *SparseCloudNode) DeepCopyInto(out *SparseCloudNode)

DeepCopyInto copies the receiver into the given *SparseCloudNode.

func (*SparseCloudNode) GetAPIID added in v1.101.0

func (o *SparseCloudNode) GetAPIID() (out int)

GetAPIID returns the APIID of the receiver.

func (*SparseCloudNode) GetAccountID added in v1.101.0

func (o *SparseCloudNode) GetAccountID() (out string)

GetAccountID returns the AccountID of the receiver.

func (*SparseCloudNode) GetAnnotations added in v1.101.0

func (o *SparseCloudNode) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudNode) GetAssociatedTags added in v1.101.0

func (o *SparseCloudNode) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudNode) GetAttachments added in v1.101.0

func (o *SparseCloudNode) GetAttachments() (out []string)

GetAttachments returns the Attachments of the receiver.

func (*SparseCloudNode) GetBSON added in v1.101.0

func (o *SparseCloudNode) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudNode) GetCloudTags added in v1.101.0

func (o *SparseCloudNode) GetCloudTags() (out []string)

GetCloudTags returns the CloudTags of the receiver.

func (*SparseCloudNode) GetCloudType added in v1.101.0

func (o *SparseCloudNode) GetCloudType() (out string)

GetCloudType returns the CloudType of the receiver.

func (*SparseCloudNode) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudNode) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudNode) GetCreateTime added in v1.101.0

func (o *SparseCloudNode) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudNode) GetCustomerID added in v1.101.0

func (o *SparseCloudNode) GetCustomerID() (out int)

GetCustomerID returns the CustomerID of the receiver.

func (*SparseCloudNode) GetIngestionTime added in v1.101.0

func (o *SparseCloudNode) GetIngestionTime() (out time.Time)

GetIngestionTime returns the IngestionTime of the receiver.

func (*SparseCloudNode) GetMigrationsLog added in v1.101.0

func (o *SparseCloudNode) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudNode) GetName added in v1.101.0

func (o *SparseCloudNode) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudNode) GetNamespace added in v1.101.0

func (o *SparseCloudNode) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudNode) GetNativeID added in v1.101.0

func (o *SparseCloudNode) GetNativeID() (out string)

GetNativeID returns the NativeID of the receiver.

func (*SparseCloudNode) GetNormalizedTags added in v1.101.0

func (o *SparseCloudNode) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudNode) GetParameters added in v1.101.0

func (o *SparseCloudNode) GetParameters() (out map[string]interface{})

GetParameters returns the Parameters of the receiver.

func (*SparseCloudNode) GetPolicyReferences added in v1.101.0

func (o *SparseCloudNode) GetPolicyReferences() (out []string)

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*SparseCloudNode) GetProtected added in v1.101.0

func (o *SparseCloudNode) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudNode) GetRegionName added in v1.101.0

func (o *SparseCloudNode) GetRegionName() (out string)

GetRegionName returns the RegionName of the receiver.

func (*SparseCloudNode) GetResourceID added in v1.101.0

func (o *SparseCloudNode) GetResourceID() (out int)

GetResourceID returns the ResourceID of the receiver.

func (*SparseCloudNode) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudNode) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudNode) GetUpdateTime added in v1.101.0

func (o *SparseCloudNode) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudNode) GetVPCID added in v1.101.0

func (o *SparseCloudNode) GetVPCID() (out string)

GetVPCID returns the VPCID of the receiver.

func (*SparseCloudNode) GetZHash added in v1.101.0

func (o *SparseCloudNode) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudNode) GetZone added in v1.101.0

func (o *SparseCloudNode) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudNode) Identifier added in v1.101.0

func (o *SparseCloudNode) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudNode) Identity added in v1.101.0

func (o *SparseCloudNode) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCloudNode) SetAPIID added in v1.101.0

func (o *SparseCloudNode) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the address of the given value.

func (*SparseCloudNode) SetAccountID added in v1.101.0

func (o *SparseCloudNode) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the address of the given value.

func (*SparseCloudNode) SetAnnotations added in v1.101.0

func (o *SparseCloudNode) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudNode) SetAssociatedTags added in v1.101.0

func (o *SparseCloudNode) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudNode) SetAttachments added in v1.101.0

func (o *SparseCloudNode) SetAttachments(attachments []string)

SetAttachments sets the property Attachments of the receiver using the address of the given value.

func (*SparseCloudNode) SetBSON added in v1.101.0

func (o *SparseCloudNode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudNode) SetCloudTags added in v1.101.0

func (o *SparseCloudNode) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the address of the given value.

func (*SparseCloudNode) SetCloudType added in v1.101.0

func (o *SparseCloudNode) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the address of the given value.

func (*SparseCloudNode) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudNode) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudNode) SetCreateTime added in v1.101.0

func (o *SparseCloudNode) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudNode) SetCustomerID added in v1.101.0

func (o *SparseCloudNode) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the address of the given value.

func (*SparseCloudNode) SetIdentifier added in v1.101.0

func (o *SparseCloudNode) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudNode) SetIngestionTime added in v1.101.0

func (o *SparseCloudNode) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the address of the given value.

func (*SparseCloudNode) SetMigrationsLog added in v1.101.0

func (o *SparseCloudNode) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudNode) SetName added in v1.101.0

func (o *SparseCloudNode) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudNode) SetNamespace added in v1.101.0

func (o *SparseCloudNode) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudNode) SetNativeID added in v1.101.0

func (o *SparseCloudNode) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the address of the given value.

func (*SparseCloudNode) SetNormalizedTags added in v1.101.0

func (o *SparseCloudNode) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudNode) SetParameters added in v1.101.0

func (o *SparseCloudNode) SetParameters(parameters map[string]interface{})

SetParameters sets the property Parameters of the receiver using the address of the given value.

func (*SparseCloudNode) SetPolicyReferences added in v1.101.0

func (o *SparseCloudNode) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the address of the given value.

func (*SparseCloudNode) SetProtected added in v1.101.0

func (o *SparseCloudNode) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudNode) SetRegionName added in v1.101.0

func (o *SparseCloudNode) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the address of the given value.

func (*SparseCloudNode) SetResourceID added in v1.101.0

func (o *SparseCloudNode) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the address of the given value.

func (*SparseCloudNode) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudNode) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudNode) SetUpdateTime added in v1.101.0

func (o *SparseCloudNode) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudNode) SetVPCID added in v1.101.0

func (o *SparseCloudNode) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the address of the given value.

func (*SparseCloudNode) SetZHash added in v1.101.0

func (o *SparseCloudNode) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudNode) SetZone added in v1.101.0

func (o *SparseCloudNode) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudNode) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudNode) Version added in v1.101.0

func (o *SparseCloudNode) Version() int

Version returns the hardcoded version of the model.

type SparseCloudNodesList added in v1.101.0

type SparseCloudNodesList []*SparseCloudNode

SparseCloudNodesList represents a list of SparseCloudNodes

func (SparseCloudNodesList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudNodesList.

func (SparseCloudNodesList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudNodesList.

func (SparseCloudNodesList) DefaultOrder added in v1.101.0

func (o SparseCloudNodesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudNodesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudNodesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudNodesList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudNodesList converted to CloudNodesList.

func (SparseCloudNodesList) Version added in v1.101.0

func (o SparseCloudNodesList) Version() int

Version returns the version of the content.

type SparseCloudPoliciesList added in v1.101.0

type SparseCloudPoliciesList []*SparseCloudPolicy

SparseCloudPoliciesList represents a list of SparseCloudPolicies

func (SparseCloudPoliciesList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudPoliciesList.

func (SparseCloudPoliciesList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudPoliciesList.

func (SparseCloudPoliciesList) DefaultOrder added in v1.101.0

func (o SparseCloudPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudPoliciesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudPoliciesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudPoliciesList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudPoliciesList converted to CloudPoliciesList.

func (SparseCloudPoliciesList) Version added in v1.101.0

func (o SparseCloudPoliciesList) Version() int

Version returns the version of the content.

type SparseCloudPolicy added in v1.101.0

type SparseCloudPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The actual RQL query that is associated to the policy.
	RQLQuery *string `json:"RQLQuery,omitempty" msgpack:"RQLQuery,omitempty" bson:"rqlquery,omitempty" mapstructure:"RQLQuery,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Reference to the corresponding Prisma Cloud Policy ID.
	PrismaCloudPolicyID *string `` /* 158-byte string literal not displayed */

	// The query ID that this policy refers to. This is auto-calculated since it is
	// derived from the parent.
	PrismaCloudQueryID *string `` /* 127-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// The severity of a policy violation.
	Severity *CloudPolicySeverityValue `json:"severity,omitempty" msgpack:"severity,omitempty" bson:"severity,omitempty" mapstructure:"severity,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudPolicy represents the sparse version of a cloudpolicy.

func NewSparseCloudPolicy added in v1.101.0

func NewSparseCloudPolicy() *SparseCloudPolicy

NewSparseCloudPolicy returns a new SparseCloudPolicy.

func (*SparseCloudPolicy) DeepCopy added in v1.101.0

func (o *SparseCloudPolicy) DeepCopy() *SparseCloudPolicy

DeepCopy returns a deep copy if the SparseCloudPolicy.

func (*SparseCloudPolicy) DeepCopyInto added in v1.101.0

func (o *SparseCloudPolicy) DeepCopyInto(out *SparseCloudPolicy)

DeepCopyInto copies the receiver into the given *SparseCloudPolicy.

func (*SparseCloudPolicy) GetAnnotations added in v1.101.0

func (o *SparseCloudPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudPolicy) GetAssociatedTags added in v1.101.0

func (o *SparseCloudPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudPolicy) GetBSON added in v1.101.0

func (o *SparseCloudPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudPolicy) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudPolicy) GetCreateTime added in v1.103.0

func (o *SparseCloudPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudPolicy) GetDescription added in v1.101.0

func (o *SparseCloudPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseCloudPolicy) GetMigrationsLog added in v1.101.0

func (o *SparseCloudPolicy) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudPolicy) GetName added in v1.101.0

func (o *SparseCloudPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudPolicy) GetNamespace added in v1.101.0

func (o *SparseCloudPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudPolicy) GetNormalizedTags added in v1.101.0

func (o *SparseCloudPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudPolicy) GetProtected added in v1.101.0

func (o *SparseCloudPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudPolicy) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudPolicy) GetUpdateTime added in v1.103.0

func (o *SparseCloudPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudPolicy) GetZHash added in v1.101.0

func (o *SparseCloudPolicy) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudPolicy) GetZone added in v1.101.0

func (o *SparseCloudPolicy) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudPolicy) Identifier added in v1.101.0

func (o *SparseCloudPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudPolicy) Identity added in v1.101.0

func (o *SparseCloudPolicy) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCloudPolicy) SetAnnotations added in v1.101.0

func (o *SparseCloudPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetAssociatedTags added in v1.101.0

func (o *SparseCloudPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetBSON added in v1.101.0

func (o *SparseCloudPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudPolicy) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetCreateTime added in v1.103.0

func (o *SparseCloudPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetDescription added in v1.101.0

func (o *SparseCloudPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetIdentifier added in v1.101.0

func (o *SparseCloudPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudPolicy) SetMigrationsLog added in v1.101.0

func (o *SparseCloudPolicy) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetName added in v1.101.0

func (o *SparseCloudPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetNamespace added in v1.101.0

func (o *SparseCloudPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetNormalizedTags added in v1.101.0

func (o *SparseCloudPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetProtected added in v1.101.0

func (o *SparseCloudPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetUpdateTime added in v1.103.0

func (o *SparseCloudPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetZHash added in v1.101.0

func (o *SparseCloudPolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudPolicy) SetZone added in v1.101.0

func (o *SparseCloudPolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudPolicy) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudPolicy) Version added in v1.101.0

func (o *SparseCloudPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseCloudRouteTable added in v1.101.0

type SparseCloudRouteTable struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID *int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID *string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID *string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags *[]string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType *string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID *int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime *time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID *string `json:"nativeID,omitempty" msgpack:"nativeID,omitempty" bson:"nativeid,omitempty" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Route table related parameters.
	Parameters *CloudRouteData `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences *[]string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName *string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID *int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudRouteTable represents the sparse version of a cloudroutetable.

func NewSparseCloudRouteTable added in v1.101.0

func NewSparseCloudRouteTable() *SparseCloudRouteTable

NewSparseCloudRouteTable returns a new SparseCloudRouteTable.

func (*SparseCloudRouteTable) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseCloudRouteTable.

func (*SparseCloudRouteTable) DeepCopyInto added in v1.101.0

func (o *SparseCloudRouteTable) DeepCopyInto(out *SparseCloudRouteTable)

DeepCopyInto copies the receiver into the given *SparseCloudRouteTable.

func (*SparseCloudRouteTable) GetAPIID added in v1.101.0

func (o *SparseCloudRouteTable) GetAPIID() (out int)

GetAPIID returns the APIID of the receiver.

func (*SparseCloudRouteTable) GetAccountID added in v1.101.0

func (o *SparseCloudRouteTable) GetAccountID() (out string)

GetAccountID returns the AccountID of the receiver.

func (*SparseCloudRouteTable) GetAnnotations added in v1.101.0

func (o *SparseCloudRouteTable) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudRouteTable) GetAssociatedTags added in v1.101.0

func (o *SparseCloudRouteTable) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudRouteTable) GetBSON added in v1.101.0

func (o *SparseCloudRouteTable) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudRouteTable) GetCloudTags added in v1.101.0

func (o *SparseCloudRouteTable) GetCloudTags() (out []string)

GetCloudTags returns the CloudTags of the receiver.

func (*SparseCloudRouteTable) GetCloudType added in v1.101.0

func (o *SparseCloudRouteTable) GetCloudType() (out string)

GetCloudType returns the CloudType of the receiver.

func (*SparseCloudRouteTable) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudRouteTable) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudRouteTable) GetCreateTime added in v1.101.0

func (o *SparseCloudRouteTable) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudRouteTable) GetCustomerID added in v1.101.0

func (o *SparseCloudRouteTable) GetCustomerID() (out int)

GetCustomerID returns the CustomerID of the receiver.

func (*SparseCloudRouteTable) GetIngestionTime added in v1.101.0

func (o *SparseCloudRouteTable) GetIngestionTime() (out time.Time)

GetIngestionTime returns the IngestionTime of the receiver.

func (*SparseCloudRouteTable) GetMigrationsLog added in v1.101.0

func (o *SparseCloudRouteTable) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudRouteTable) GetName added in v1.101.0

func (o *SparseCloudRouteTable) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudRouteTable) GetNamespace added in v1.101.0

func (o *SparseCloudRouteTable) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudRouteTable) GetNativeID added in v1.101.0

func (o *SparseCloudRouteTable) GetNativeID() (out string)

GetNativeID returns the NativeID of the receiver.

func (*SparseCloudRouteTable) GetNormalizedTags added in v1.101.0

func (o *SparseCloudRouteTable) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudRouteTable) GetPolicyReferences added in v1.101.0

func (o *SparseCloudRouteTable) GetPolicyReferences() (out []string)

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*SparseCloudRouteTable) GetProtected added in v1.101.0

func (o *SparseCloudRouteTable) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudRouteTable) GetRegionName added in v1.101.0

func (o *SparseCloudRouteTable) GetRegionName() (out string)

GetRegionName returns the RegionName of the receiver.

func (*SparseCloudRouteTable) GetResourceID added in v1.101.0

func (o *SparseCloudRouteTable) GetResourceID() (out int)

GetResourceID returns the ResourceID of the receiver.

func (*SparseCloudRouteTable) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudRouteTable) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudRouteTable) GetUpdateTime added in v1.101.0

func (o *SparseCloudRouteTable) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudRouteTable) GetVPCID added in v1.101.0

func (o *SparseCloudRouteTable) GetVPCID() (out string)

GetVPCID returns the VPCID of the receiver.

func (*SparseCloudRouteTable) GetZHash added in v1.101.0

func (o *SparseCloudRouteTable) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudRouteTable) GetZone added in v1.101.0

func (o *SparseCloudRouteTable) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudRouteTable) Identifier added in v1.101.0

func (o *SparseCloudRouteTable) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudRouteTable) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseCloudRouteTable) SetAPIID added in v1.101.0

func (o *SparseCloudRouteTable) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetAccountID added in v1.101.0

func (o *SparseCloudRouteTable) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetAnnotations added in v1.101.0

func (o *SparseCloudRouteTable) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetAssociatedTags added in v1.101.0

func (o *SparseCloudRouteTable) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetBSON added in v1.101.0

func (o *SparseCloudRouteTable) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudRouteTable) SetCloudTags added in v1.101.0

func (o *SparseCloudRouteTable) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetCloudType added in v1.101.0

func (o *SparseCloudRouteTable) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudRouteTable) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetCreateTime added in v1.101.0

func (o *SparseCloudRouteTable) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetCustomerID added in v1.101.0

func (o *SparseCloudRouteTable) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetIdentifier added in v1.101.0

func (o *SparseCloudRouteTable) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudRouteTable) SetIngestionTime added in v1.101.0

func (o *SparseCloudRouteTable) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetMigrationsLog added in v1.101.0

func (o *SparseCloudRouteTable) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetName added in v1.101.0

func (o *SparseCloudRouteTable) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetNamespace added in v1.101.0

func (o *SparseCloudRouteTable) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetNativeID added in v1.101.0

func (o *SparseCloudRouteTable) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetNormalizedTags added in v1.101.0

func (o *SparseCloudRouteTable) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetPolicyReferences added in v1.101.0

func (o *SparseCloudRouteTable) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetProtected added in v1.101.0

func (o *SparseCloudRouteTable) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetRegionName added in v1.101.0

func (o *SparseCloudRouteTable) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetResourceID added in v1.101.0

func (o *SparseCloudRouteTable) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudRouteTable) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetUpdateTime added in v1.101.0

func (o *SparseCloudRouteTable) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetVPCID added in v1.101.0

func (o *SparseCloudRouteTable) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetZHash added in v1.101.0

func (o *SparseCloudRouteTable) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudRouteTable) SetZone added in v1.101.0

func (o *SparseCloudRouteTable) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudRouteTable) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudRouteTable) Version added in v1.101.0

func (o *SparseCloudRouteTable) Version() int

Version returns the hardcoded version of the model.

type SparseCloudRouteTablesList added in v1.101.0

type SparseCloudRouteTablesList []*SparseCloudRouteTable

SparseCloudRouteTablesList represents a list of SparseCloudRouteTables

func (SparseCloudRouteTablesList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudRouteTablesList.

func (SparseCloudRouteTablesList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudRouteTablesList.

func (SparseCloudRouteTablesList) DefaultOrder added in v1.101.0

func (o SparseCloudRouteTablesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudRouteTablesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudRouteTablesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudRouteTablesList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudRouteTablesList converted to CloudRouteTablesList.

func (SparseCloudRouteTablesList) Version added in v1.101.0

func (o SparseCloudRouteTablesList) Version() int

Version returns the version of the content.

type SparseCloudScheduledNetworkQueriesList added in v1.103.0

type SparseCloudScheduledNetworkQueriesList []*SparseCloudScheduledNetworkQuery

SparseCloudScheduledNetworkQueriesList represents a list of SparseCloudScheduledNetworkQueries

func (SparseCloudScheduledNetworkQueriesList) Append added in v1.103.0

Append appends the objects to the a new copy of the SparseCloudScheduledNetworkQueriesList.

func (SparseCloudScheduledNetworkQueriesList) Copy added in v1.103.0

Copy returns a pointer to a copy the SparseCloudScheduledNetworkQueriesList.

func (SparseCloudScheduledNetworkQueriesList) DefaultOrder added in v1.103.0

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudScheduledNetworkQueriesList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (SparseCloudScheduledNetworkQueriesList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudScheduledNetworkQueriesList) ToPlain added in v1.103.0

ToPlain returns the SparseCloudScheduledNetworkQueriesList converted to CloudScheduledNetworkQueriesList.

func (SparseCloudScheduledNetworkQueriesList) Version added in v1.103.0

Version returns the version of the content.

type SparseCloudScheduledNetworkQuery added in v1.103.0

type SparseCloudScheduledNetworkQuery struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The result of the cloud network query.
	CloudGraphResult *CloudGraph `json:"cloudGraphResult,omitempty" msgpack:"cloudGraphResult,omitempty" bson:"-" mapstructure:"cloudGraphResult,omitempty"`

	// The cloud network query that should be used.
	CloudNetworkQuery *CloudNetworkQuery `` /* 150-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"`

	// Represents whether the associated policy was disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Result of the last successfully run query.
	LastExecutionTimestamp *time.Time `` /* 170-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Prisma Cloud Alert Rule ID.
	PrismaCloudAlertRuleID *string `` /* 170-byte string literal not displayed */

	// Prisma Cloud Policy ID.
	PrismaCloudPolicyID *string `` /* 158-byte string literal not displayed */

	// Prisma ID of the tenant in which the Alert Rule is created.
	TenantPrismaID *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"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudScheduledNetworkQuery represents the sparse version of a cloudschedulednetworkquery.

func NewSparseCloudScheduledNetworkQuery added in v1.103.0

func NewSparseCloudScheduledNetworkQuery() *SparseCloudScheduledNetworkQuery

NewSparseCloudScheduledNetworkQuery returns a new SparseCloudScheduledNetworkQuery.

func (*SparseCloudScheduledNetworkQuery) DeepCopy added in v1.103.0

DeepCopy returns a deep copy if the SparseCloudScheduledNetworkQuery.

func (*SparseCloudScheduledNetworkQuery) DeepCopyInto added in v1.103.0

DeepCopyInto copies the receiver into the given *SparseCloudScheduledNetworkQuery.

func (*SparseCloudScheduledNetworkQuery) GetBSON added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudScheduledNetworkQuery) GetCreateTime added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudScheduledNetworkQuery) GetMigrationsLog added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudScheduledNetworkQuery) GetNamespace added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudScheduledNetworkQuery) GetUpdateTime added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudScheduledNetworkQuery) GetZHash added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudScheduledNetworkQuery) GetZone added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudScheduledNetworkQuery) Identifier added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudScheduledNetworkQuery) Identity added in v1.103.0

Identity returns the Identity of the sparse object.

func (*SparseCloudScheduledNetworkQuery) SetBSON added in v1.103.0

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudScheduledNetworkQuery) SetCreateTime added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudScheduledNetworkQuery) SetIdentifier added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudScheduledNetworkQuery) SetMigrationsLog added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudScheduledNetworkQuery) SetNamespace added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudScheduledNetworkQuery) SetUpdateTime added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudScheduledNetworkQuery) SetZHash added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudScheduledNetworkQuery) SetZone added in v1.103.0

func (o *SparseCloudScheduledNetworkQuery) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudScheduledNetworkQuery) ToPlain added in v1.103.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudScheduledNetworkQuery) Version added in v1.103.0

Version returns the hardcoded version of the model.

type SparseCloudSnapshotAccount added in v1.101.0

type SparseCloudSnapshotAccount struct {
	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// The cloud type for the account.
	CloudType *CloudSnapshotAccountCloudTypeValue `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"-" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// The name of the account.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudSnapshotAccount represents the sparse version of a cloudsnapshotaccount.

func NewSparseCloudSnapshotAccount added in v1.101.0

func NewSparseCloudSnapshotAccount() *SparseCloudSnapshotAccount

NewSparseCloudSnapshotAccount returns a new SparseCloudSnapshotAccount.

func (*SparseCloudSnapshotAccount) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseCloudSnapshotAccount.

func (*SparseCloudSnapshotAccount) DeepCopyInto added in v1.101.0

DeepCopyInto copies the receiver into the given *SparseCloudSnapshotAccount.

func (*SparseCloudSnapshotAccount) GetAnnotations added in v1.101.0

func (o *SparseCloudSnapshotAccount) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudSnapshotAccount) GetAssociatedTags added in v1.101.0

func (o *SparseCloudSnapshotAccount) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudSnapshotAccount) GetBSON added in v1.101.0

func (o *SparseCloudSnapshotAccount) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudSnapshotAccount) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudSnapshotAccount) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudSnapshotAccount) GetNamespace added in v1.101.0

func (o *SparseCloudSnapshotAccount) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudSnapshotAccount) GetNormalizedTags added in v1.101.0

func (o *SparseCloudSnapshotAccount) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudSnapshotAccount) GetProtected added in v1.101.0

func (o *SparseCloudSnapshotAccount) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudSnapshotAccount) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudSnapshotAccount) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudSnapshotAccount) Identifier added in v1.101.0

func (o *SparseCloudSnapshotAccount) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudSnapshotAccount) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseCloudSnapshotAccount) SetAnnotations added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudSnapshotAccount) SetAssociatedTags added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudSnapshotAccount) SetBSON added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudSnapshotAccount) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudSnapshotAccount) SetIdentifier added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudSnapshotAccount) SetNamespace added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudSnapshotAccount) SetNormalizedTags added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudSnapshotAccount) SetProtected added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudSnapshotAccount) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudSnapshotAccount) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudSnapshotAccount) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudSnapshotAccount) Version added in v1.101.0

func (o *SparseCloudSnapshotAccount) Version() int

Version returns the hardcoded version of the model.

type SparseCloudSnapshotAccountsList added in v1.101.0

type SparseCloudSnapshotAccountsList []*SparseCloudSnapshotAccount

SparseCloudSnapshotAccountsList represents a list of SparseCloudSnapshotAccounts

func (SparseCloudSnapshotAccountsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudSnapshotAccountsList.

func (SparseCloudSnapshotAccountsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudSnapshotAccountsList.

func (SparseCloudSnapshotAccountsList) DefaultOrder added in v1.101.0

func (o SparseCloudSnapshotAccountsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudSnapshotAccountsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudSnapshotAccountsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudSnapshotAccountsList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudSnapshotAccountsList converted to CloudSnapshotAccountsList.

func (SparseCloudSnapshotAccountsList) Version added in v1.101.0

Version returns the version of the content.

type SparseCloudSubnet added in v1.101.0

type SparseCloudSubnet struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID *int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID *string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID *string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags *[]string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType *string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID *int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime *time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID *string `json:"nativeID,omitempty" msgpack:"nativeID,omitempty" bson:"nativeid,omitempty" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Subnet related parameters.
	Parameters *CloudSubnetData `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences *[]string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName *string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID *int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudSubnet represents the sparse version of a cloudsubnet.

func NewSparseCloudSubnet added in v1.101.0

func NewSparseCloudSubnet() *SparseCloudSubnet

NewSparseCloudSubnet returns a new SparseCloudSubnet.

func (*SparseCloudSubnet) DeepCopy added in v1.101.0

func (o *SparseCloudSubnet) DeepCopy() *SparseCloudSubnet

DeepCopy returns a deep copy if the SparseCloudSubnet.

func (*SparseCloudSubnet) DeepCopyInto added in v1.101.0

func (o *SparseCloudSubnet) DeepCopyInto(out *SparseCloudSubnet)

DeepCopyInto copies the receiver into the given *SparseCloudSubnet.

func (*SparseCloudSubnet) GetAPIID added in v1.101.0

func (o *SparseCloudSubnet) GetAPIID() (out int)

GetAPIID returns the APIID of the receiver.

func (*SparseCloudSubnet) GetAccountID added in v1.101.0

func (o *SparseCloudSubnet) GetAccountID() (out string)

GetAccountID returns the AccountID of the receiver.

func (*SparseCloudSubnet) GetAnnotations added in v1.101.0

func (o *SparseCloudSubnet) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudSubnet) GetAssociatedTags added in v1.101.0

func (o *SparseCloudSubnet) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudSubnet) GetBSON added in v1.101.0

func (o *SparseCloudSubnet) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudSubnet) GetCloudTags added in v1.101.0

func (o *SparseCloudSubnet) GetCloudTags() (out []string)

GetCloudTags returns the CloudTags of the receiver.

func (*SparseCloudSubnet) GetCloudType added in v1.101.0

func (o *SparseCloudSubnet) GetCloudType() (out string)

GetCloudType returns the CloudType of the receiver.

func (*SparseCloudSubnet) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudSubnet) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudSubnet) GetCreateTime added in v1.101.0

func (o *SparseCloudSubnet) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudSubnet) GetCustomerID added in v1.101.0

func (o *SparseCloudSubnet) GetCustomerID() (out int)

GetCustomerID returns the CustomerID of the receiver.

func (*SparseCloudSubnet) GetIngestionTime added in v1.101.0

func (o *SparseCloudSubnet) GetIngestionTime() (out time.Time)

GetIngestionTime returns the IngestionTime of the receiver.

func (*SparseCloudSubnet) GetMigrationsLog added in v1.101.0

func (o *SparseCloudSubnet) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudSubnet) GetName added in v1.101.0

func (o *SparseCloudSubnet) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudSubnet) GetNamespace added in v1.101.0

func (o *SparseCloudSubnet) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudSubnet) GetNativeID added in v1.101.0

func (o *SparseCloudSubnet) GetNativeID() (out string)

GetNativeID returns the NativeID of the receiver.

func (*SparseCloudSubnet) GetNormalizedTags added in v1.101.0

func (o *SparseCloudSubnet) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudSubnet) GetPolicyReferences added in v1.101.0

func (o *SparseCloudSubnet) GetPolicyReferences() (out []string)

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*SparseCloudSubnet) GetProtected added in v1.101.0

func (o *SparseCloudSubnet) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudSubnet) GetRegionName added in v1.101.0

func (o *SparseCloudSubnet) GetRegionName() (out string)

GetRegionName returns the RegionName of the receiver.

func (*SparseCloudSubnet) GetResourceID added in v1.101.0

func (o *SparseCloudSubnet) GetResourceID() (out int)

GetResourceID returns the ResourceID of the receiver.

func (*SparseCloudSubnet) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudSubnet) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudSubnet) GetUpdateTime added in v1.101.0

func (o *SparseCloudSubnet) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudSubnet) GetVPCID added in v1.101.0

func (o *SparseCloudSubnet) GetVPCID() (out string)

GetVPCID returns the VPCID of the receiver.

func (*SparseCloudSubnet) GetZHash added in v1.101.0

func (o *SparseCloudSubnet) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudSubnet) GetZone added in v1.101.0

func (o *SparseCloudSubnet) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudSubnet) Identifier added in v1.101.0

func (o *SparseCloudSubnet) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudSubnet) Identity added in v1.101.0

func (o *SparseCloudSubnet) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCloudSubnet) SetAPIID added in v1.101.0

func (o *SparseCloudSubnet) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetAccountID added in v1.101.0

func (o *SparseCloudSubnet) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetAnnotations added in v1.101.0

func (o *SparseCloudSubnet) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetAssociatedTags added in v1.101.0

func (o *SparseCloudSubnet) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetBSON added in v1.101.0

func (o *SparseCloudSubnet) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudSubnet) SetCloudTags added in v1.101.0

func (o *SparseCloudSubnet) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetCloudType added in v1.101.0

func (o *SparseCloudSubnet) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudSubnet) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetCreateTime added in v1.101.0

func (o *SparseCloudSubnet) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetCustomerID added in v1.101.0

func (o *SparseCloudSubnet) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetIdentifier added in v1.101.0

func (o *SparseCloudSubnet) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudSubnet) SetIngestionTime added in v1.101.0

func (o *SparseCloudSubnet) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetMigrationsLog added in v1.101.0

func (o *SparseCloudSubnet) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetName added in v1.101.0

func (o *SparseCloudSubnet) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetNamespace added in v1.101.0

func (o *SparseCloudSubnet) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetNativeID added in v1.101.0

func (o *SparseCloudSubnet) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetNormalizedTags added in v1.101.0

func (o *SparseCloudSubnet) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetPolicyReferences added in v1.101.0

func (o *SparseCloudSubnet) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetProtected added in v1.101.0

func (o *SparseCloudSubnet) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetRegionName added in v1.101.0

func (o *SparseCloudSubnet) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetResourceID added in v1.101.0

func (o *SparseCloudSubnet) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudSubnet) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetUpdateTime added in v1.101.0

func (o *SparseCloudSubnet) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetVPCID added in v1.101.0

func (o *SparseCloudSubnet) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetZHash added in v1.101.0

func (o *SparseCloudSubnet) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudSubnet) SetZone added in v1.101.0

func (o *SparseCloudSubnet) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudSubnet) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudSubnet) Version added in v1.101.0

func (o *SparseCloudSubnet) Version() int

Version returns the hardcoded version of the model.

type SparseCloudSubnetsList added in v1.101.0

type SparseCloudSubnetsList []*SparseCloudSubnet

SparseCloudSubnetsList represents a list of SparseCloudSubnets

func (SparseCloudSubnetsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudSubnetsList.

func (SparseCloudSubnetsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudSubnetsList.

func (SparseCloudSubnetsList) DefaultOrder added in v1.101.0

func (o SparseCloudSubnetsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudSubnetsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseCloudSubnetsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudSubnetsList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudSubnetsList converted to CloudSubnetsList.

func (SparseCloudSubnetsList) Version added in v1.101.0

func (o SparseCloudSubnetsList) Version() int

Version returns the version of the content.

type SparseCloudVPC added in v1.101.0

type SparseCloudVPC struct {
	// Prisma Cloud API ID (matches Prisma Cloud API ID).
	APIID *int `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"apiid,omitempty" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the host VPC.
	VPCID *string `json:"VPCID,omitempty" msgpack:"VPCID,omitempty" bson:"vpcid,omitempty" mapstructure:"VPCID,omitempty"`

	// Cloud account ID associated with the entity (matches Prisma Cloud accountID).
	AccountID *string `json:"accountId,omitempty" msgpack:"accountId,omitempty" bson:"accountid,omitempty" mapstructure:"accountId,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Internal representation of object tags retrieved from the cloud provider.
	CloudTags *[]string `json:"cloudTags,omitempty" msgpack:"cloudTags,omitempty" bson:"cloudtags,omitempty" mapstructure:"cloudTags,omitempty"`

	// Cloud type of the entity.
	CloudType *string `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"cloudtype,omitempty" mapstructure:"cloudType,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Customer ID as identified by Prisma Cloud.
	CustomerID *int `json:"customerID,omitempty" msgpack:"customerID,omitempty" bson:"customerid,omitempty" mapstructure:"customerID,omitempty"`

	// The time that the object was first ingested.
	IngestionTime *time.Time `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the object (optional).
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the cloud provider object.
	NativeID *string `json:"nativeID,omitempty" msgpack:"nativeID,omitempty" bson:"nativeid,omitempty" mapstructure:"nativeID,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// VPC related parameters.
	Parameters *CloudVPCData `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// A list of policy references associated with this cloud node.
	PolicyReferences *[]string `` /* 146-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Region name associated with the entity.
	RegionName *string `json:"regionName,omitempty" msgpack:"regionName,omitempty" bson:"regionname,omitempty" mapstructure:"regionName,omitempty"`

	// Prisma Cloud Resource ID.
	ResourceID *int `json:"resourceID,omitempty" msgpack:"resourceID,omitempty" bson:"resourceid,omitempty" mapstructure:"resourceID,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCloudVPC represents the sparse version of a cloudvpc.

func NewSparseCloudVPC added in v1.101.0

func NewSparseCloudVPC() *SparseCloudVPC

NewSparseCloudVPC returns a new SparseCloudVPC.

func (*SparseCloudVPC) DeepCopy added in v1.101.0

func (o *SparseCloudVPC) DeepCopy() *SparseCloudVPC

DeepCopy returns a deep copy if the SparseCloudVPC.

func (*SparseCloudVPC) DeepCopyInto added in v1.101.0

func (o *SparseCloudVPC) DeepCopyInto(out *SparseCloudVPC)

DeepCopyInto copies the receiver into the given *SparseCloudVPC.

func (*SparseCloudVPC) GetAPIID added in v1.101.0

func (o *SparseCloudVPC) GetAPIID() (out int)

GetAPIID returns the APIID of the receiver.

func (*SparseCloudVPC) GetAccountID added in v1.101.0

func (o *SparseCloudVPC) GetAccountID() (out string)

GetAccountID returns the AccountID of the receiver.

func (*SparseCloudVPC) GetAnnotations added in v1.101.0

func (o *SparseCloudVPC) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseCloudVPC) GetAssociatedTags added in v1.101.0

func (o *SparseCloudVPC) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseCloudVPC) GetBSON added in v1.101.0

func (o *SparseCloudVPC) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudVPC) GetCloudTags added in v1.101.0

func (o *SparseCloudVPC) GetCloudTags() (out []string)

GetCloudTags returns the CloudTags of the receiver.

func (*SparseCloudVPC) GetCloudType added in v1.101.0

func (o *SparseCloudVPC) GetCloudType() (out string)

GetCloudType returns the CloudType of the receiver.

func (*SparseCloudVPC) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudVPC) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseCloudVPC) GetCreateTime added in v1.101.0

func (o *SparseCloudVPC) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCloudVPC) GetCustomerID added in v1.101.0

func (o *SparseCloudVPC) GetCustomerID() (out int)

GetCustomerID returns the CustomerID of the receiver.

func (*SparseCloudVPC) GetIngestionTime added in v1.101.0

func (o *SparseCloudVPC) GetIngestionTime() (out time.Time)

GetIngestionTime returns the IngestionTime of the receiver.

func (*SparseCloudVPC) GetMigrationsLog added in v1.101.0

func (o *SparseCloudVPC) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCloudVPC) GetName added in v1.101.0

func (o *SparseCloudVPC) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseCloudVPC) GetNamespace added in v1.101.0

func (o *SparseCloudVPC) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCloudVPC) GetNativeID added in v1.101.0

func (o *SparseCloudVPC) GetNativeID() (out string)

GetNativeID returns the NativeID of the receiver.

func (*SparseCloudVPC) GetNormalizedTags added in v1.101.0

func (o *SparseCloudVPC) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseCloudVPC) GetPolicyReferences added in v1.101.0

func (o *SparseCloudVPC) GetPolicyReferences() (out []string)

GetPolicyReferences returns the PolicyReferences of the receiver.

func (*SparseCloudVPC) GetProtected added in v1.101.0

func (o *SparseCloudVPC) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseCloudVPC) GetRegionName added in v1.101.0

func (o *SparseCloudVPC) GetRegionName() (out string)

GetRegionName returns the RegionName of the receiver.

func (*SparseCloudVPC) GetResourceID added in v1.101.0

func (o *SparseCloudVPC) GetResourceID() (out int)

GetResourceID returns the ResourceID of the receiver.

func (*SparseCloudVPC) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudVPC) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseCloudVPC) GetUpdateTime added in v1.101.0

func (o *SparseCloudVPC) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCloudVPC) GetVPCID added in v1.101.0

func (o *SparseCloudVPC) GetVPCID() (out string)

GetVPCID returns the VPCID of the receiver.

func (*SparseCloudVPC) GetZHash added in v1.101.0

func (o *SparseCloudVPC) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCloudVPC) GetZone added in v1.101.0

func (o *SparseCloudVPC) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCloudVPC) Identifier added in v1.101.0

func (o *SparseCloudVPC) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCloudVPC) Identity added in v1.101.0

func (o *SparseCloudVPC) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCloudVPC) SetAPIID added in v1.101.0

func (o *SparseCloudVPC) SetAPIID(APIID int)

SetAPIID sets the property APIID of the receiver using the address of the given value.

func (*SparseCloudVPC) SetAccountID added in v1.101.0

func (o *SparseCloudVPC) SetAccountID(accountID string)

SetAccountID sets the property AccountID of the receiver using the address of the given value.

func (*SparseCloudVPC) SetAnnotations added in v1.101.0

func (o *SparseCloudVPC) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseCloudVPC) SetAssociatedTags added in v1.101.0

func (o *SparseCloudVPC) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseCloudVPC) SetBSON added in v1.101.0

func (o *SparseCloudVPC) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCloudVPC) SetCloudTags added in v1.101.0

func (o *SparseCloudVPC) SetCloudTags(cloudTags []string)

SetCloudTags sets the property CloudTags of the receiver using the address of the given value.

func (*SparseCloudVPC) SetCloudType added in v1.101.0

func (o *SparseCloudVPC) SetCloudType(cloudType string)

SetCloudType sets the property CloudType of the receiver using the address of the given value.

func (*SparseCloudVPC) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseCloudVPC) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudVPC) SetCreateTime added in v1.101.0

func (o *SparseCloudVPC) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseCloudVPC) SetCustomerID added in v1.101.0

func (o *SparseCloudVPC) SetCustomerID(customerID int)

SetCustomerID sets the property CustomerID of the receiver using the address of the given value.

func (*SparseCloudVPC) SetIdentifier added in v1.101.0

func (o *SparseCloudVPC) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCloudVPC) SetIngestionTime added in v1.101.0

func (o *SparseCloudVPC) SetIngestionTime(ingestionTime time.Time)

SetIngestionTime sets the property IngestionTime of the receiver using the address of the given value.

func (*SparseCloudVPC) SetMigrationsLog added in v1.101.0

func (o *SparseCloudVPC) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCloudVPC) SetName added in v1.101.0

func (o *SparseCloudVPC) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseCloudVPC) SetNamespace added in v1.101.0

func (o *SparseCloudVPC) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCloudVPC) SetNativeID added in v1.101.0

func (o *SparseCloudVPC) SetNativeID(nativeID string)

SetNativeID sets the property NativeID of the receiver using the address of the given value.

func (*SparseCloudVPC) SetNormalizedTags added in v1.101.0

func (o *SparseCloudVPC) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseCloudVPC) SetPolicyReferences added in v1.101.0

func (o *SparseCloudVPC) SetPolicyReferences(policyReferences []string)

SetPolicyReferences sets the property PolicyReferences of the receiver using the address of the given value.

func (*SparseCloudVPC) SetProtected added in v1.101.0

func (o *SparseCloudVPC) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseCloudVPC) SetRegionName added in v1.101.0

func (o *SparseCloudVPC) SetRegionName(regionName string)

SetRegionName sets the property RegionName of the receiver using the address of the given value.

func (*SparseCloudVPC) SetResourceID added in v1.101.0

func (o *SparseCloudVPC) SetResourceID(resourceID int)

SetResourceID sets the property ResourceID of the receiver using the address of the given value.

func (*SparseCloudVPC) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseCloudVPC) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseCloudVPC) SetUpdateTime added in v1.101.0

func (o *SparseCloudVPC) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseCloudVPC) SetVPCID added in v1.101.0

func (o *SparseCloudVPC) SetVPCID(VPCID string)

SetVPCID sets the property VPCID of the receiver using the address of the given value.

func (*SparseCloudVPC) SetZHash added in v1.101.0

func (o *SparseCloudVPC) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCloudVPC) SetZone added in v1.101.0

func (o *SparseCloudVPC) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCloudVPC) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseCloudVPC) Version added in v1.101.0

func (o *SparseCloudVPC) Version() int

Version returns the hardcoded version of the model.

type SparseCloudVPCsList added in v1.101.0

type SparseCloudVPCsList []*SparseCloudVPC

SparseCloudVPCsList represents a list of SparseCloudVPCs

func (SparseCloudVPCsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseCloudVPCsList.

func (SparseCloudVPCsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseCloudVPCsList.

func (SparseCloudVPCsList) DefaultOrder added in v1.101.0

func (o SparseCloudVPCsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCloudVPCsList) Identity added in v1.101.0

func (o SparseCloudVPCsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseCloudVPCsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCloudVPCsList) ToPlain added in v1.101.0

ToPlain returns the SparseCloudVPCsList converted to CloudVPCsList.

func (SparseCloudVPCsList) Version added in v1.101.0

func (o SparseCloudVPCsList) Version() int

Version returns the version of the content.

type SparseConnectionExceptionReport added in v1.94.1

type SparseConnectionExceptionReport struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Identifier of the destination controller. This should be set in
	// SynAckTransmitted state.
	DestinationController *string `` /* 146-byte string literal not displayed */

	// Destination IP address.
	DestinationIP *string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"b,omitempty" mapstructure:"destinationIP,omitempty"`

	// Port of the destination.
	DestinationPort *int `` /* 128-byte string literal not displayed */

	// ID of the destination processing unit. This should be set in SynAckTransmitted
	// state.
	DestinationProcessingUnitID *string `` /* 164-byte string literal not displayed */

	// ID of the enforcer.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"e,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer.
	EnforcerNamespace *string `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace of the processing unit that encountered this exception.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"p,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the processing unit encountered this exception.
	ProcessingUnitID *string `` /* 131-byte string literal not displayed */

	// Namespace of the processing unit encountered this exception.
	ProcessingUnitNamespace *string `` /* 152-byte string literal not displayed */

	// Protocol number.
	Protocol *int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"i,omitempty" mapstructure:"protocol,omitempty"`

	// It specifies the reason for the exception.
	Reason *string `json:"reason,omitempty" msgpack:"reason,omitempty" bson:"j,omitempty" mapstructure:"reason,omitempty"`

	// Type of the service.
	ServiceType *ConnectionExceptionReportServiceTypeValue `json:"serviceType,omitempty" msgpack:"serviceType,omitempty" bson:"o,omitempty" mapstructure:"serviceType,omitempty"`

	// Source IP address.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"k,omitempty" mapstructure:"sourceIP,omitempty"`

	// Represents the current state this report was generated.
	State *ConnectionExceptionReportStateValue `json:"state,omitempty" msgpack:"state,omitempty" bson:"l,omitempty" mapstructure:"state,omitempty"`

	// Time and date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"m,omitempty" mapstructure:"timestamp,omitempty"`

	// Number of packets hit.
	Value *int `json:"value,omitempty" msgpack:"value,omitempty" bson:"n,omitempty" mapstructure:"value,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseConnectionExceptionReport represents the sparse version of a connectionexceptionreport.

func NewSparseConnectionExceptionReport added in v1.94.1

func NewSparseConnectionExceptionReport() *SparseConnectionExceptionReport

NewSparseConnectionExceptionReport returns a new SparseConnectionExceptionReport.

func (*SparseConnectionExceptionReport) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseConnectionExceptionReport.

func (*SparseConnectionExceptionReport) DeepCopyInto added in v1.94.1

DeepCopyInto copies the receiver into the given *SparseConnectionExceptionReport.

func (*SparseConnectionExceptionReport) GetBSON added in v1.94.1

func (o *SparseConnectionExceptionReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseConnectionExceptionReport) GetMigrationsLog added in v1.94.1

func (o *SparseConnectionExceptionReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseConnectionExceptionReport) GetNamespace added in v1.94.1

func (o *SparseConnectionExceptionReport) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseConnectionExceptionReport) GetZHash added in v1.94.1

func (o *SparseConnectionExceptionReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseConnectionExceptionReport) GetZone added in v1.94.1

func (o *SparseConnectionExceptionReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseConnectionExceptionReport) Identifier added in v1.94.1

func (o *SparseConnectionExceptionReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseConnectionExceptionReport) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseConnectionExceptionReport) SetBSON added in v1.94.1

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseConnectionExceptionReport) SetIdentifier added in v1.94.1

func (o *SparseConnectionExceptionReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseConnectionExceptionReport) SetMigrationsLog added in v1.94.1

func (o *SparseConnectionExceptionReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseConnectionExceptionReport) SetNamespace added in v1.94.1

func (o *SparseConnectionExceptionReport) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseConnectionExceptionReport) SetZHash added in v1.94.1

func (o *SparseConnectionExceptionReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseConnectionExceptionReport) SetZone added in v1.94.1

func (o *SparseConnectionExceptionReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseConnectionExceptionReport) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseConnectionExceptionReport) Version added in v1.94.1

func (o *SparseConnectionExceptionReport) Version() int

Version returns the hardcoded version of the model.

type SparseConnectionExceptionReportsList added in v1.94.1

type SparseConnectionExceptionReportsList []*SparseConnectionExceptionReport

SparseConnectionExceptionReportsList represents a list of SparseConnectionExceptionReports

func (SparseConnectionExceptionReportsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseConnectionExceptionReportsList.

func (SparseConnectionExceptionReportsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseConnectionExceptionReportsList.

func (SparseConnectionExceptionReportsList) DefaultOrder added in v1.94.1

func (o SparseConnectionExceptionReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseConnectionExceptionReportsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseConnectionExceptionReportsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseConnectionExceptionReportsList) ToPlain added in v1.94.1

ToPlain returns the SparseConnectionExceptionReportsList converted to ConnectionExceptionReportsList.

func (SparseConnectionExceptionReportsList) Version added in v1.94.1

Version returns the version of the content.

type SparseCounterReport added in v1.29.0

type SparseCounterReport struct {
	// Counter for sending FIN ACK received in unknown connection state.
	AckInUnknownState *int `` /* 134-byte string literal not displayed */

	// Counter for ACK packet dropped because of invalid format.
	AckInvalidFormat *int `` /* 131-byte string literal not displayed */

	// Counter for ACK packets rejected as per policy.
	AckRejected *int `json:"AckRejected,omitempty" msgpack:"AckRejected,omitempty" bson:"c,omitempty" mapstructure:"AckRejected,omitempty"`

	// Counter for ACK packet dropped because signature validation failed.
	AckSigValidationFailed *int `` /* 149-byte string literal not displayed */

	// Counter for TCP authentication option not found.
	AckTCPNoTCPAuthOption *int `` /* 146-byte string literal not displayed */

	// Counter for connections processed.
	ConnectionsProcessed *int `` /* 143-byte string literal not displayed */

	// Counter for unable to find ContextID.
	ContextIDNotFound *int `` /* 134-byte string literal not displayed */

	// Counter for no ACLs found for external services. Dropping application SYN
	// packet.
	DroppedExternalService *int `` /* 149-byte string literal not displayed */

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Counter for invalid connection state.
	InvalidConnState *int `` /* 131-byte string literal not displayed */

	// Counter for invalid net state.
	InvalidNetState *int `` /* 128-byte string literal not displayed */

	// Counter for invalid protocol.
	InvalidProtocol *int `` /* 128-byte string literal not displayed */

	// Counter for processing unit is already dead - drop SYN ACK packet.
	InvalidSynAck *int `json:"InvalidSynAck,omitempty" msgpack:"InvalidSynAck,omitempty" bson:"l,omitempty" mapstructure:"InvalidSynAck,omitempty"`

	// Counter for processing unit mark not found.
	MarkNotFound *int `json:"MarkNotFound,omitempty" msgpack:"MarkNotFound,omitempty" bson:"m,omitempty" mapstructure:"MarkNotFound,omitempty"`

	// Counter for network SYN packet was not seen.
	NetSynNotSeen *int `json:"NetSynNotSeen,omitempty" msgpack:"NetSynNotSeen,omitempty" bson:"n,omitempty" mapstructure:"NetSynNotSeen,omitempty"`

	// Counter for no context or connection found.
	NoConnFound *int `json:"NoConnFound,omitempty" msgpack:"NoConnFound,omitempty" bson:"o,omitempty" mapstructure:"NoConnFound,omitempty"`

	// Counter for traffic that belongs to a non-processing unit process.
	NonPUTraffic *int `json:"NonPUTraffic,omitempty" msgpack:"NonPUTraffic,omitempty" bson:"p,omitempty" mapstructure:"NonPUTraffic,omitempty"`

	// Counter for SYN ACK for flow with processed FIN ACK.
	OutOfOrderSynAck *int `` /* 131-byte string literal not displayed */

	// Counter for port not found.
	PortNotFound *int `json:"PortNotFound,omitempty" msgpack:"PortNotFound,omitempty" bson:"r,omitempty" mapstructure:"PortNotFound,omitempty"`

	// Counter for reject the packet as per policy.
	RejectPacket *int `json:"RejectPacket,omitempty" msgpack:"RejectPacket,omitempty" bson:"s,omitempty" mapstructure:"RejectPacket,omitempty"`

	// Counter for post service processing failed for network packet.
	ServicePostprocessorFailed *int `` /* 161-byte string literal not displayed */

	// Counter for network packets that failed preprocessing.
	ServicePreprocessorFailed *int `` /* 158-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of bad claims.
	SynAckBadClaims *int `` /* 128-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of encryption mismatch.
	SynAckClaimsMisMatch *int `` /* 143-byte string literal not displayed */

	// Counter for SYN ACK from external service dropped.
	SynAckDroppedExternalService *int `` /* 167-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of invalid format.
	SynAckInvalidFormat *int `` /* 140-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of no claims.
	SynAckMissingClaims *int `` /* 140-byte string literal not displayed */

	// Counter for SYN ACK packet dropped because of missing token.
	SynAckMissingToken *int `` /* 138-byte string literal not displayed */

	// Counter for TCP authentication option not found.
	SynAckNoTCPAuthOption *int `` /* 147-byte string literal not displayed */

	// Counter for dropping because of reject rule on transmitter.
	SynAckRejected *int `` /* 126-byte string literal not displayed */

	// Counter for SYN packet dropped because of invalid format.
	SynDroppedInvalidFormat *int `` /* 153-byte string literal not displayed */

	// Counter for SYN packet dropped because of invalid token.
	SynDroppedInvalidToken *int `` /* 150-byte string literal not displayed */

	// Counter for SYN packet dropped because of no claims.
	SynDroppedNoClaims *int `` /* 138-byte string literal not displayed */

	// Counter for TCP authentication option not found.
	SynDroppedTCPOption *int `` /* 141-byte string literal not displayed */

	// Counter for SYN packet dropped due to policy.
	SynRejectPacket *int `` /* 129-byte string literal not displayed */

	// Counter for received SYN packet from unknown processing unit.
	SynUnexpectedPacket *int `` /* 141-byte string literal not displayed */

	// Counter for TCP authentication option not found.
	TCPAuthNotFound *int `` /* 129-byte string literal not displayed */

	// Counter for UDP ACK packet dropped due to an invalid signature.
	UDPAckInvalidSignature *int `` /* 150-byte string literal not displayed */

	// Counter for number of processed UDP connections.
	UDPConnectionsProcessed *int `` /* 153-byte string literal not displayed */

	// Counter for dropped UDP data packets with no context.
	UDPDropContextNotFound *int `` /* 150-byte string literal not displayed */

	// Counter for dropped UDP FIN handshake packets.
	UDPDropFin *int `json:"UDPDropFin,omitempty" msgpack:"UDPDropFin,omitempty" bson:"ao,omitempty" mapstructure:"UDPDropFin,omitempty"`

	// Counter for dropped UDP in NfQueue.
	UDPDropInNfQueue *int `` /* 132-byte string literal not displayed */

	// Counter for dropped UDP data packets with no connection.
	UDPDropNoConnection *int `` /* 141-byte string literal not displayed */

	// Counter for dropped UDP data packets.
	UDPDropPacket *int `json:"UDPDropPacket,omitempty" msgpack:"UDPDropPacket,omitempty" bson:"ar,omitempty" mapstructure:"UDPDropPacket,omitempty"`

	// Counter for dropped UDP queue full.
	UDPDropQueueFull *int `` /* 132-byte string literal not displayed */

	// Counter for dropped UDP SYN ACK handshake packets.
	UDPDropSynAck *int `json:"UDPDropSynAck,omitempty" msgpack:"UDPDropSynAck,omitempty" bson:"at,omitempty" mapstructure:"UDPDropSynAck,omitempty"`

	// Counter for UDP packets received in invalid network state.
	UDPInvalidNetState *int `` /* 138-byte string literal not displayed */

	// Counter for UDP packets failing postprocessing.
	UDPPostProcessingFailed *int `` /* 153-byte string literal not displayed */

	// Counter for UDP packets failing preprocessing.
	UDPPreProcessingFailed *int `` /* 150-byte string literal not displayed */

	// Counter for UDP packets dropped due to policy.
	UDPRejected *int `json:"UDPRejected,omitempty" msgpack:"UDPRejected,omitempty" bson:"ax,omitempty" mapstructure:"UDPRejected,omitempty"`

	// Counter for UDP SYN ACK packets dropped due to bad claims.
	UDPSynAckDropBadClaims *int `` /* 150-byte string literal not displayed */

	// Counter for UDP SYN ACK packets dropped due to missing claims.
	UDPSynAckMissingClaims *int `` /* 150-byte string literal not displayed */

	// Counter for UDP SYN ACK packets dropped due to bad claims.
	UDPSynAckPolicy *int `` /* 129-byte string literal not displayed */

	// Counter for dropped UDP SYN transmits.
	UDPSynDrop *int `json:"UDPSynDrop,omitempty" msgpack:"UDPSynDrop,omitempty" bson:"bb,omitempty" mapstructure:"UDPSynDrop,omitempty"`

	// Counter for dropped UDP SYN policy.
	UDPSynDropPolicy *int `` /* 132-byte string literal not displayed */

	// Counter for dropped UDP FIN handshake packets.
	UDPSynInvalidToken *int `` /* 138-byte string literal not displayed */

	// Counter for UDP SYN packet dropped due to missing claims.
	UDPSynMissingClaims *int `` /* 141-byte string literal not displayed */

	// Counter for unknown error.
	UnknownError *int `json:"UnknownError,omitempty" msgpack:"UnknownError,omitempty" bson:"bf,omitempty" mapstructure:"UnknownError,omitempty"`

	// Non-zero counter indicates analyzed connections for unencrypted, encrypted,
	// and packets from endpoint applications with the TCP Fast Open option set. These
	// are not dropped counter.
	ConnectionsAnalyzed *int `` /* 141-byte string literal not displayed */

	// Non-zero counter indicates dropped connections because of invalid state,
	// non-processing unit traffic, or out of order packets.
	ConnectionsDropped *int `` /* 138-byte string literal not displayed */

	// Non-zero counter indicates expired connections because of response not being
	// received within a certain amount of time after the request is made.
	ConnectionsExpired *int `` /* 138-byte string literal not displayed */

	// Non-zero counter indicates dropped packets that did not hit any of our iptables
	// rules and queue drops.
	DroppedPackets *int `` /* 126-byte string literal not displayed */

	// Non-zero counter indicates encryption processing failures of data packets.
	EncryptionFailures *int `` /* 138-byte string literal not displayed */

	// Identifier of the enforcer sending the report.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"bl,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer sending the report. This field is deprecated. Use the
	// 'namespace' field instead.
	// field instead.
	EnforcerNamespace *string `` /* 135-byte string literal not displayed */

	// Non-zero counter indicates connections going to and from external networks.
	// These may be drops or allowed counters.
	ExternalNetworkConnections *int `` /* 162-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace of the enforcer sending the report.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"bt,omitempty" mapstructure:"namespace,omitempty"`

	// Non-zero counter indicates packets dropped due to a reject policy.
	PolicyDrops *int `json:"policyDrops,omitempty" msgpack:"policyDrops,omitempty" bson:"bo,omitempty" mapstructure:"policyDrops,omitempty"`

	// PUID is the ID of the processing unit reporting the counter.
	ProcessingUnitID *string `` /* 132-byte string literal not displayed */

	// Namespace of the processing unit reporting the counter.
	ProcessingUnitNamespace *string `` /* 153-byte string literal not displayed */

	// Timestamp is the date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"br,omitempty" mapstructure:"timestamp,omitempty"`

	// Non-zero counter indicates packets rejected due to anything related to token
	// creation/parsing failures.
	TokenDrops *int `json:"tokenDrops,omitempty" msgpack:"tokenDrops,omitempty" bson:"bs,omitempty" mapstructure:"tokenDrops,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseCounterReport represents the sparse version of a counterreport.

func NewSparseCounterReport added in v1.29.0

func NewSparseCounterReport() *SparseCounterReport

NewSparseCounterReport returns a new SparseCounterReport.

func (*SparseCounterReport) DeepCopy added in v1.29.0

DeepCopy returns a deep copy if the SparseCounterReport.

func (*SparseCounterReport) DeepCopyInto added in v1.29.0

func (o *SparseCounterReport) DeepCopyInto(out *SparseCounterReport)

DeepCopyInto copies the receiver into the given *SparseCounterReport.

func (*SparseCounterReport) GetBSON added in v1.80.0

func (o *SparseCounterReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCounterReport) GetMigrationsLog added in v1.94.1

func (o *SparseCounterReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseCounterReport) GetNamespace added in v1.94.1

func (o *SparseCounterReport) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseCounterReport) GetZHash added in v1.94.1

func (o *SparseCounterReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseCounterReport) GetZone added in v1.94.1

func (o *SparseCounterReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseCounterReport) Identifier added in v1.29.0

func (o *SparseCounterReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseCounterReport) Identity added in v1.29.0

func (o *SparseCounterReport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseCounterReport) SetBSON added in v1.80.0

func (o *SparseCounterReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseCounterReport) SetIdentifier added in v1.29.0

func (o *SparseCounterReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseCounterReport) SetMigrationsLog added in v1.94.1

func (o *SparseCounterReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseCounterReport) SetNamespace added in v1.94.1

func (o *SparseCounterReport) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseCounterReport) SetZHash added in v1.94.1

func (o *SparseCounterReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseCounterReport) SetZone added in v1.94.1

func (o *SparseCounterReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseCounterReport) ToPlain added in v1.29.0

ToPlain returns the plain version of the sparse model.

func (*SparseCounterReport) Version added in v1.29.0

func (o *SparseCounterReport) Version() int

Version returns the hardcoded version of the model.

type SparseCounterReportsList added in v1.29.0

type SparseCounterReportsList []*SparseCounterReport

SparseCounterReportsList represents a list of SparseCounterReports

func (SparseCounterReportsList) Append added in v1.29.0

Append appends the objects to the a new copy of the SparseCounterReportsList.

func (SparseCounterReportsList) Copy added in v1.29.0

Copy returns a pointer to a copy the SparseCounterReportsList.

func (SparseCounterReportsList) DefaultOrder added in v1.29.0

func (o SparseCounterReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCounterReportsList) Identity added in v1.29.0

Identity returns the identity of the objects in the list.

func (SparseCounterReportsList) List added in v1.29.0

List converts the object to an elemental.IdentifiablesList.

func (SparseCounterReportsList) ToPlain added in v1.29.0

ToPlain returns the SparseCounterReportsList converted to CounterReportsList.

func (SparseCounterReportsList) Version added in v1.29.0

func (o SparseCounterReportsList) Version() int

Version returns the version of the content.

type SparseDNSLookupReport added in v1.63.0

type SparseDNSLookupReport struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Action of the DNS request.
	Action *DNSLookupReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// ID of the enforcer.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"b,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer.
	EnforcerNamespace *string `` /* 134-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the PU.
	ProcessingUnitID *string `` /* 131-byte string literal not displayed */

	// Namespace of the PU. This is deprecated. Use `namespace` instead.
	ProcessingUnitNamespace *string `` /* 152-byte string literal not displayed */

	// This field is only set when the lookup fails. It specifies the reason for the
	// failure.
	Reason *string `json:"reason,omitempty" msgpack:"reason,omitempty" bson:"f,omitempty" mapstructure:"reason,omitempty"`

	// CNAME aliases.
	ResolvedCNAMEs *[]string `json:"resolvedCNAMEs,omitempty" msgpack:"resolvedCNAMEs,omitempty" bson:"k,omitempty" mapstructure:"resolvedCNAMEs,omitempty"`

	// resolved IP addresses.
	ResolvedIPs *[]string `json:"resolvedIPs,omitempty" msgpack:"resolvedIPs,omitempty" bson:"l,omitempty" mapstructure:"resolvedIPs,omitempty"`

	// name used for DNS resolution.
	ResolvedName *string `json:"resolvedName,omitempty" msgpack:"resolvedName,omitempty" bson:"g,omitempty" mapstructure:"resolvedName,omitempty"`

	// Type of the source.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"h,omitempty" mapstructure:"sourceIP,omitempty"`

	// Time and date of the log.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"i,omitempty" mapstructure:"timestamp,omitempty"`

	// Number of times the client saw this activity.
	Value *int `json:"value,omitempty" msgpack:"value,omitempty" bson:"j,omitempty" mapstructure:"value,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseDNSLookupReport represents the sparse version of a dnslookupreport.

func NewSparseDNSLookupReport added in v1.63.0

func NewSparseDNSLookupReport() *SparseDNSLookupReport

NewSparseDNSLookupReport returns a new SparseDNSLookupReport.

func (*SparseDNSLookupReport) DeepCopy added in v1.63.0

DeepCopy returns a deep copy if the SparseDNSLookupReport.

func (*SparseDNSLookupReport) DeepCopyInto added in v1.63.0

func (o *SparseDNSLookupReport) DeepCopyInto(out *SparseDNSLookupReport)

DeepCopyInto copies the receiver into the given *SparseDNSLookupReport.

func (*SparseDNSLookupReport) GetBSON added in v1.80.0

func (o *SparseDNSLookupReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDNSLookupReport) GetMigrationsLog added in v1.94.1

func (o *SparseDNSLookupReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseDNSLookupReport) GetNamespace added in v1.94.1

func (o *SparseDNSLookupReport) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseDNSLookupReport) GetZHash added in v1.94.1

func (o *SparseDNSLookupReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseDNSLookupReport) GetZone added in v1.94.1

func (o *SparseDNSLookupReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseDNSLookupReport) Identifier added in v1.63.0

func (o *SparseDNSLookupReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseDNSLookupReport) Identity added in v1.63.0

Identity returns the Identity of the sparse object.

func (*SparseDNSLookupReport) SetBSON added in v1.80.0

func (o *SparseDNSLookupReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDNSLookupReport) SetIdentifier added in v1.63.0

func (o *SparseDNSLookupReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseDNSLookupReport) SetMigrationsLog added in v1.94.1

func (o *SparseDNSLookupReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseDNSLookupReport) SetNamespace added in v1.94.1

func (o *SparseDNSLookupReport) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseDNSLookupReport) SetZHash added in v1.94.1

func (o *SparseDNSLookupReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseDNSLookupReport) SetZone added in v1.94.1

func (o *SparseDNSLookupReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseDNSLookupReport) ToPlain added in v1.63.0

ToPlain returns the plain version of the sparse model.

func (*SparseDNSLookupReport) Version added in v1.63.0

func (o *SparseDNSLookupReport) Version() int

Version returns the hardcoded version of the model.

type SparseDNSLookupReportsList added in v1.63.0

type SparseDNSLookupReportsList []*SparseDNSLookupReport

SparseDNSLookupReportsList represents a list of SparseDNSLookupReports

func (SparseDNSLookupReportsList) Append added in v1.63.0

Append appends the objects to the a new copy of the SparseDNSLookupReportsList.

func (SparseDNSLookupReportsList) Copy added in v1.63.0

Copy returns a pointer to a copy the SparseDNSLookupReportsList.

func (SparseDNSLookupReportsList) DefaultOrder added in v1.63.0

func (o SparseDNSLookupReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseDNSLookupReportsList) Identity added in v1.63.0

Identity returns the identity of the objects in the list.

func (SparseDNSLookupReportsList) List added in v1.63.0

List converts the object to an elemental.IdentifiablesList.

func (SparseDNSLookupReportsList) ToPlain added in v1.63.0

ToPlain returns the SparseDNSLookupReportsList converted to DNSLookupReportsList.

func (SparseDNSLookupReportsList) Version added in v1.63.0

func (o SparseDNSLookupReportsList) Version() int

Version returns the version of the content.

type SparseDataPathCertificate

type SparseDataPathCertificate struct {
	// Contains a certificate signing request (CSR) from the enforcer. Depending on the
	// certificate there will be various requirements for the Microsegmentation Console
	// to accept the CSR.
	CSR *string `json:"CSR,omitempty" msgpack:"CSR,omitempty" bson:"-" mapstructure:"CSR,omitempty"`

	// The certificate.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// ID of the object you want to issue a certificate for.
	ObjectID *string `json:"objectID,omitempty" msgpack:"objectID,omitempty" bson:"-" mapstructure:"objectID,omitempty"`

	// Provides the session ID of the enforcer when retrieving a datapath certificate.
	SessionID *string `json:"sessionID,omitempty" msgpack:"sessionID,omitempty" bson:"-" mapstructure:"sessionID,omitempty"`

	// Contains the CA that signed the delivered certificate.
	Signer *string `json:"signer,omitempty" msgpack:"signer,omitempty" bson:"-" mapstructure:"signer,omitempty"`

	// Contains a cryptographic token.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// Type of certificate.
	Type *DataPathCertificateTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseDataPathCertificate represents the sparse version of a datapathcertificate.

func NewSparseDataPathCertificate

func NewSparseDataPathCertificate() *SparseDataPathCertificate

NewSparseDataPathCertificate returns a new SparseDataPathCertificate.

func (*SparseDataPathCertificate) DeepCopy

DeepCopy returns a deep copy if the SparseDataPathCertificate.

func (*SparseDataPathCertificate) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseDataPathCertificate.

func (*SparseDataPathCertificate) GetBSON added in v1.80.0

func (o *SparseDataPathCertificate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDataPathCertificate) Identifier

func (o *SparseDataPathCertificate) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseDataPathCertificate) Identity

Identity returns the Identity of the sparse object.

func (*SparseDataPathCertificate) SetBSON added in v1.80.0

func (o *SparseDataPathCertificate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDataPathCertificate) SetIdentifier

func (o *SparseDataPathCertificate) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseDataPathCertificate) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseDataPathCertificate) Version

func (o *SparseDataPathCertificate) Version() int

Version returns the hardcoded version of the model.

type SparseDataPathCertificatesList

type SparseDataPathCertificatesList []*SparseDataPathCertificate

SparseDataPathCertificatesList represents a list of SparseDataPathCertificates

func (SparseDataPathCertificatesList) Append

Append appends the objects to the a new copy of the SparseDataPathCertificatesList.

func (SparseDataPathCertificatesList) Copy

Copy returns a pointer to a copy the SparseDataPathCertificatesList.

func (SparseDataPathCertificatesList) DefaultOrder

func (o SparseDataPathCertificatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseDataPathCertificatesList) Identity

Identity returns the identity of the objects in the list.

func (SparseDataPathCertificatesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseDataPathCertificatesList) ToPlain

ToPlain returns the SparseDataPathCertificatesList converted to DataPathCertificatesList.

func (SparseDataPathCertificatesList) Version

func (o SparseDataPathCertificatesList) Version() int

Version returns the version of the content.

type SparseDebugBundle added in v1.94.1

type SparseDebugBundle struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Can be used to correlate with an EnforcerRefresh.
	DebugID *string `json:"debugID,omitempty" msgpack:"debugID,omitempty" bson:"-" mapstructure:"debugID,omitempty"`

	// The ID of the enforcer.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"-" mapstructure:"enforcerID,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseDebugBundle represents the sparse version of a debugbundle.

func NewSparseDebugBundle added in v1.94.1

func NewSparseDebugBundle() *SparseDebugBundle

NewSparseDebugBundle returns a new SparseDebugBundle.

func (*SparseDebugBundle) DeepCopy added in v1.94.1

func (o *SparseDebugBundle) DeepCopy() *SparseDebugBundle

DeepCopy returns a deep copy if the SparseDebugBundle.

func (*SparseDebugBundle) DeepCopyInto added in v1.94.1

func (o *SparseDebugBundle) DeepCopyInto(out *SparseDebugBundle)

DeepCopyInto copies the receiver into the given *SparseDebugBundle.

func (*SparseDebugBundle) GetBSON added in v1.94.1

func (o *SparseDebugBundle) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDebugBundle) GetNamespace added in v1.94.1

func (o *SparseDebugBundle) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseDebugBundle) Identifier added in v1.94.1

func (o *SparseDebugBundle) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseDebugBundle) Identity added in v1.94.1

func (o *SparseDebugBundle) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseDebugBundle) SetBSON added in v1.94.1

func (o *SparseDebugBundle) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDebugBundle) SetIdentifier added in v1.94.1

func (o *SparseDebugBundle) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseDebugBundle) SetNamespace added in v1.94.1

func (o *SparseDebugBundle) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseDebugBundle) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseDebugBundle) Version added in v1.94.1

func (o *SparseDebugBundle) Version() int

Version returns the hardcoded version of the model.

type SparseDebugBundlesList added in v1.94.1

type SparseDebugBundlesList []*SparseDebugBundle

SparseDebugBundlesList represents a list of SparseDebugBundles

func (SparseDebugBundlesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseDebugBundlesList.

func (SparseDebugBundlesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseDebugBundlesList.

func (SparseDebugBundlesList) DefaultOrder added in v1.94.1

func (o SparseDebugBundlesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseDebugBundlesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseDebugBundlesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseDebugBundlesList) ToPlain added in v1.94.1

ToPlain returns the SparseDebugBundlesList converted to DebugBundlesList.

func (SparseDebugBundlesList) Version added in v1.94.1

func (o SparseDebugBundlesList) Version() int

Version returns the version of the content.

type SparseDefaultEnforcerVersion added in v1.94.1

type SparseDefaultEnforcerVersion struct {
	// The default enforcer version for the namespace.
	DefaultVersion *string `json:"defaultVersion,omitempty" msgpack:"defaultVersion,omitempty" bson:"-" mapstructure:"defaultVersion,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseDefaultEnforcerVersion represents the sparse version of a defaultenforcerversion.

func NewSparseDefaultEnforcerVersion added in v1.94.1

func NewSparseDefaultEnforcerVersion() *SparseDefaultEnforcerVersion

NewSparseDefaultEnforcerVersion returns a new SparseDefaultEnforcerVersion.

func (*SparseDefaultEnforcerVersion) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseDefaultEnforcerVersion.

func (*SparseDefaultEnforcerVersion) DeepCopyInto added in v1.94.1

DeepCopyInto copies the receiver into the given *SparseDefaultEnforcerVersion.

func (*SparseDefaultEnforcerVersion) GetBSON added in v1.94.1

func (o *SparseDefaultEnforcerVersion) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDefaultEnforcerVersion) Identifier added in v1.94.1

func (o *SparseDefaultEnforcerVersion) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseDefaultEnforcerVersion) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseDefaultEnforcerVersion) SetBSON added in v1.94.1

func (o *SparseDefaultEnforcerVersion) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDefaultEnforcerVersion) SetIdentifier added in v1.94.1

func (o *SparseDefaultEnforcerVersion) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseDefaultEnforcerVersion) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseDefaultEnforcerVersion) Version added in v1.94.1

func (o *SparseDefaultEnforcerVersion) Version() int

Version returns the hardcoded version of the model.

type SparseDefaultEnforcerVersionsList added in v1.94.1

type SparseDefaultEnforcerVersionsList []*SparseDefaultEnforcerVersion

SparseDefaultEnforcerVersionsList represents a list of SparseDefaultEnforcerVersions

func (SparseDefaultEnforcerVersionsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseDefaultEnforcerVersionsList.

func (SparseDefaultEnforcerVersionsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseDefaultEnforcerVersionsList.

func (SparseDefaultEnforcerVersionsList) DefaultOrder added in v1.94.1

func (o SparseDefaultEnforcerVersionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseDefaultEnforcerVersionsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseDefaultEnforcerVersionsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseDefaultEnforcerVersionsList) ToPlain added in v1.94.1

ToPlain returns the SparseDefaultEnforcerVersionsList converted to DefaultEnforcerVersionsList.

func (SparseDefaultEnforcerVersionsList) Version added in v1.94.1

Version returns the version of the content.

type SparseDependencyMap

type SparseDependencyMap struct {
	// The edges of the map.
	Edges *map[string]*GraphEdge `json:"edges,omitempty" msgpack:"edges,omitempty" bson:"-" mapstructure:"edges,omitempty"`

	// Provides information about the group values.
	Groups *map[string]*GraphGroup `json:"groups,omitempty" msgpack:"groups,omitempty" bson:"-" mapstructure:"groups,omitempty"`

	// Refers to the nodes of the map.
	Nodes *map[string]*GraphNode `json:"nodes,omitempty" msgpack:"nodes,omitempty" bson:"-" mapstructure:"nodes,omitempty"`

	// Provides suggested views based on relevant tags.
	ViewSuggestions *[]string `json:"viewSuggestions,omitempty" msgpack:"viewSuggestions,omitempty" bson:"-" mapstructure:"viewSuggestions,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseDependencyMap represents the sparse version of a dependencymap.

func NewSparseDependencyMap

func NewSparseDependencyMap() *SparseDependencyMap

NewSparseDependencyMap returns a new SparseDependencyMap.

func (*SparseDependencyMap) DeepCopy

DeepCopy returns a deep copy if the SparseDependencyMap.

func (*SparseDependencyMap) DeepCopyInto

func (o *SparseDependencyMap) DeepCopyInto(out *SparseDependencyMap)

DeepCopyInto copies the receiver into the given *SparseDependencyMap.

func (*SparseDependencyMap) GetBSON added in v1.80.0

func (o *SparseDependencyMap) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDependencyMap) Identifier

func (o *SparseDependencyMap) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseDependencyMap) Identity

func (o *SparseDependencyMap) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseDependencyMap) SetBSON added in v1.80.0

func (o *SparseDependencyMap) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDependencyMap) SetIdentifier

func (o *SparseDependencyMap) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseDependencyMap) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseDependencyMap) Version

func (o *SparseDependencyMap) Version() int

Version returns the hardcoded version of the model.

type SparseDependencyMapsList

type SparseDependencyMapsList []*SparseDependencyMap

SparseDependencyMapsList represents a list of SparseDependencyMaps

func (SparseDependencyMapsList) Append

Append appends the objects to the a new copy of the SparseDependencyMapsList.

func (SparseDependencyMapsList) Copy

Copy returns a pointer to a copy the SparseDependencyMapsList.

func (SparseDependencyMapsList) DefaultOrder

func (o SparseDependencyMapsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseDependencyMapsList) Identity

Identity returns the identity of the objects in the list.

func (SparseDependencyMapsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseDependencyMapsList) ToPlain

ToPlain returns the SparseDependencyMapsList converted to DependencyMapsList.

func (SparseDependencyMapsList) Version

func (o SparseDependencyMapsList) Version() int

Version returns the version of the content.

type SparseDiscoveryMode added in v1.94.1

type SparseDiscoveryMode struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseDiscoveryMode represents the sparse version of a discoverymode.

func NewSparseDiscoveryMode added in v1.94.1

func NewSparseDiscoveryMode() *SparseDiscoveryMode

NewSparseDiscoveryMode returns a new SparseDiscoveryMode.

func (*SparseDiscoveryMode) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseDiscoveryMode.

func (*SparseDiscoveryMode) DeepCopyInto added in v1.94.1

func (o *SparseDiscoveryMode) DeepCopyInto(out *SparseDiscoveryMode)

DeepCopyInto copies the receiver into the given *SparseDiscoveryMode.

func (*SparseDiscoveryMode) GetBSON added in v1.94.1

func (o *SparseDiscoveryMode) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDiscoveryMode) GetNamespace added in v1.94.1

func (o *SparseDiscoveryMode) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseDiscoveryMode) GetPropagate added in v1.94.1

func (o *SparseDiscoveryMode) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseDiscoveryMode) Identifier added in v1.94.1

func (o *SparseDiscoveryMode) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseDiscoveryMode) Identity added in v1.94.1

func (o *SparseDiscoveryMode) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseDiscoveryMode) SetBSON added in v1.94.1

func (o *SparseDiscoveryMode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseDiscoveryMode) SetIdentifier added in v1.94.1

func (o *SparseDiscoveryMode) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseDiscoveryMode) SetNamespace added in v1.94.1

func (o *SparseDiscoveryMode) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseDiscoveryMode) SetPropagate added in v1.94.1

func (o *SparseDiscoveryMode) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseDiscoveryMode) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseDiscoveryMode) Version added in v1.94.1

func (o *SparseDiscoveryMode) Version() int

Version returns the hardcoded version of the model.

type SparseDiscoveryModesList added in v1.94.1

type SparseDiscoveryModesList []*SparseDiscoveryMode

SparseDiscoveryModesList represents a list of SparseDiscoveryModes

func (SparseDiscoveryModesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseDiscoveryModesList.

func (SparseDiscoveryModesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseDiscoveryModesList.

func (SparseDiscoveryModesList) DefaultOrder added in v1.94.1

func (o SparseDiscoveryModesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseDiscoveryModesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseDiscoveryModesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseDiscoveryModesList) ToPlain added in v1.94.1

ToPlain returns the SparseDiscoveryModesList converted to DiscoveryModesList.

func (SparseDiscoveryModesList) Version added in v1.94.1

func (o SparseDiscoveryModesList) Version() int

Version returns the version of the content.

type SparseEmail

type SparseEmail struct {
	// Attachments is a list of attachments to send.
	Attachments *map[string]string `json:"attachments,omitempty" msgpack:"attachments,omitempty" bson:"-" mapstructure:"attachments,omitempty"`

	// Bcc represents email that should be in copy but hidden.
	Bcc *[]string `json:"bcc,omitempty" msgpack:"bcc,omitempty" bson:"-" mapstructure:"bcc,omitempty"`

	// Cc represents the addresses that should be in copy.
	Cc *[]string `json:"cc,omitempty" msgpack:"cc,omitempty" bson:"-" mapstructure:"cc,omitempty"`

	// Content of the email to send.
	Content *string `json:"content,omitempty" msgpack:"content,omitempty" bson:"-" mapstructure:"content,omitempty"`

	// Subject represents the subject of the email.
	Subject *string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// To represents receivers of the email.
	To *[]string `json:"to,omitempty" msgpack:"to,omitempty" bson:"-" mapstructure:"to,omitempty"`

	// Type represents the type of the content.
	Type *EmailTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEmail represents the sparse version of a email.

func NewSparseEmail

func NewSparseEmail() *SparseEmail

NewSparseEmail returns a new SparseEmail.

func (*SparseEmail) DeepCopy

func (o *SparseEmail) DeepCopy() *SparseEmail

DeepCopy returns a deep copy if the SparseEmail.

func (*SparseEmail) DeepCopyInto

func (o *SparseEmail) DeepCopyInto(out *SparseEmail)

DeepCopyInto copies the receiver into the given *SparseEmail.

func (*SparseEmail) GetBSON added in v1.80.0

func (o *SparseEmail) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEmail) Identifier

func (o *SparseEmail) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEmail) Identity

func (o *SparseEmail) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseEmail) SetBSON added in v1.80.0

func (o *SparseEmail) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEmail) SetIdentifier

func (o *SparseEmail) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEmail) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseEmail) Version

func (o *SparseEmail) Version() int

Version returns the hardcoded version of the model.

type SparseEmailsList

type SparseEmailsList []*SparseEmail

SparseEmailsList represents a list of SparseEmails

func (SparseEmailsList) Append

Append appends the objects to the a new copy of the SparseEmailsList.

func (SparseEmailsList) Copy

Copy returns a pointer to a copy the SparseEmailsList.

func (SparseEmailsList) DefaultOrder

func (o SparseEmailsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEmailsList) Identity

func (o SparseEmailsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseEmailsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseEmailsList) ToPlain

ToPlain returns the SparseEmailsList converted to EmailsList.

func (SparseEmailsList) Version

func (o SparseEmailsList) Version() int

Version returns the version of the content.

type SparseEnforcer

type SparseEnforcer struct {
	// Contains the fully qualified domain name (FQDN) of the server where the
	// enforcer is running.
	FQDN *string `json:"FQDN,omitempty" msgpack:"FQDN,omitempty" bson:"fqdn,omitempty" mapstructure:"FQDN,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// The certificate of the enforcer.
	Certificate *string `` /* 126-byte string literal not displayed */

	// The expiration date of the certificate. This is an
	// internal attribute, not exposed in the API.
	CertificateExpirationDate *time.Time `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// The certificate key of the enforcer. This is an internal
	// attribute, not exposed in the API.
	CertificateKey *string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// If not empty during a create or update operation, the provided certificate
	// signing request (CSR) will be validated and signed by the Microsegmentation
	// Console, providing a renewed certificate.
	CertificateRequest *string `` /* 127-byte string literal not displayed */

	// Indicates to the enforcer whether or not it needs to collect information.
	CollectInfo *bool `` /* 126-byte string literal not displayed */

	// Represents the latest information collected by the enforcer.
	CollectedInfo *map[string]string `` /* 134-byte string literal not displayed */

	// The Microsegmentation Console identifier managing this object. This property is
	// mostly
	// useful when federating multiple Microsegmentation Consoles.
	Controller *string `json:"controller,omitempty" msgpack:"controller,omitempty" bson:"controller,omitempty" mapstructure:"controller,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The version number of the installed enforcer binary.
	CurrentVersion *string `` /* 138-byte string literal not displayed */

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// This field indicates whether the enforcer has detected host mode containers.
	DetectedHostModeContainers *bool `` /* 186-byte string literal not displayed */

	// Status of the enforcement for host services.
	EnforcementStatus *EnforcerEnforcementStatusValue `` /* 150-byte string literal not displayed */

	// Identifies the last collection.
	LastCollectionID *string `` /* 146-byte string literal not displayed */

	// Identifies when the information was collected.
	LastCollectionTime *time.Time `` /* 154-byte string literal not displayed */

	// Last migration date of the enforcer.
	LastMigrationTime *time.Time `` /* 150-byte string literal not displayed */

	// The time and date of the last poke.
	LastPokeTime *time.Time `json:"-" msgpack:"-" bson:"lastpoketime,omitempty" mapstructure:"-,omitempty"`

	// The time and date of the last heartbeat.
	LastSyncTime *time.Time `` /* 130-byte string literal not displayed */

	// `lastValidHostServices` is a read only attribute that stores the list valid host
	// services that have been applied to this enforcer. This list might be different
	// from the list retrieved through policy, if the dynamically calculated list leads
	// into conflicts.
	LastValidHostServices *HostServicesList `json:"-" msgpack:"-" bson:"lastvalidhostservices,omitempty" mapstructure:"-,omitempty"`

	// Contains the initial chain of trust for the enforcer. This value is only
	// given when you retrieve a single enforcer.
	LocalCA *string `json:"localCA,omitempty" msgpack:"localCA,omitempty" bson:"-" mapstructure:"localCA,omitempty"`

	// Log level of the enforcer.
	LogLevel *EnforcerLogLevelValue `json:"logLevel,omitempty" msgpack:"logLevel,omitempty" bson:"loglevel,omitempty" mapstructure:"logLevel,omitempty"`

	// Determines the duration of which the log level will be active, using [Golang
	// duration syntax](https://golang.org/pkg/time/#example_Duration).
	LogLevelDuration *string `` /* 146-byte string literal not displayed */

	// A unique identifier for every machine as detected by the enforcer. It is
	// based on hardware information such as the SMBIOS UUID, MAC addresses of
	// interfaces, or cloud provider IDs.
	MachineID *string `json:"machineID,omitempty" msgpack:"machineID,omitempty" bson:"machineid,omitempty" mapstructure:"machineID,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Defines the migration status.
	MigrationStatus *EnforcerMigrationStatusValue `` /* 142-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Defines the next version the enforcer will be migrated to.
	NextAvailableVersion *string `` /* 162-byte string literal not displayed */

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// The status of the enforcer.
	OperationalStatus *EnforcerOperationalStatusValue `` /* 150-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// The public token of the server that will be included in the datapath and
	// is signed by the private certificate authority.
	PublicToken *string `` /* 126-byte string literal not displayed */

	// The time and date on which this enforcer was started. The enforcer reports
	// this and the value is preserved across disconnects.
	StartTime *time.Time `json:"startTime,omitempty" msgpack:"startTime,omitempty" bson:"starttime,omitempty" mapstructure:"startTime,omitempty"`

	// Local subnets of this enforcer.
	Subnets *[]string `json:"subnets,omitempty" msgpack:"subnets,omitempty" bson:"subnets,omitempty" mapstructure:"subnets,omitempty"`

	// The Microsegmentation Console sets this value to `true` if it hasn't heard from
	// the enforcer in the last five minutes.
	Unreachable *bool `` /* 126-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEnforcer represents the sparse version of a enforcer.

func NewSparseEnforcer

func NewSparseEnforcer() *SparseEnforcer

NewSparseEnforcer returns a new SparseEnforcer.

func (*SparseEnforcer) DeepCopy

func (o *SparseEnforcer) DeepCopy() *SparseEnforcer

DeepCopy returns a deep copy if the SparseEnforcer.

func (*SparseEnforcer) DeepCopyInto

func (o *SparseEnforcer) DeepCopyInto(out *SparseEnforcer)

DeepCopyInto copies the receiver into the given *SparseEnforcer.

func (*SparseEnforcer) GetAnnotations

func (o *SparseEnforcer) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseEnforcer) GetAssociatedTags

func (o *SparseEnforcer) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseEnforcer) GetBSON added in v1.80.0

func (o *SparseEnforcer) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcer) GetController added in v1.94.1

func (o *SparseEnforcer) GetController() (out string)

GetController returns the Controller of the receiver.

func (*SparseEnforcer) GetCreateIdempotencyKey

func (o *SparseEnforcer) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseEnforcer) GetCreateTime

func (o *SparseEnforcer) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseEnforcer) GetDescription

func (o *SparseEnforcer) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseEnforcer) GetMetadata

func (o *SparseEnforcer) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseEnforcer) GetMigrationsLog added in v1.30.0

func (o *SparseEnforcer) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseEnforcer) GetName

func (o *SparseEnforcer) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseEnforcer) GetNamespace

func (o *SparseEnforcer) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseEnforcer) GetNormalizedTags

func (o *SparseEnforcer) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseEnforcer) GetProtected

func (o *SparseEnforcer) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseEnforcer) GetUpdateIdempotencyKey

func (o *SparseEnforcer) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseEnforcer) GetUpdateTime

func (o *SparseEnforcer) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseEnforcer) GetZHash

func (o *SparseEnforcer) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseEnforcer) GetZone

func (o *SparseEnforcer) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseEnforcer) Identifier

func (o *SparseEnforcer) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEnforcer) Identity

func (o *SparseEnforcer) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseEnforcer) SetAnnotations

func (o *SparseEnforcer) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseEnforcer) SetAssociatedTags

func (o *SparseEnforcer) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseEnforcer) SetBSON added in v1.80.0

func (o *SparseEnforcer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcer) SetController added in v1.94.1

func (o *SparseEnforcer) SetController(controller string)

SetController sets the property Controller of the receiver using the address of the given value.

func (*SparseEnforcer) SetCreateIdempotencyKey

func (o *SparseEnforcer) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseEnforcer) SetCreateTime

func (o *SparseEnforcer) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseEnforcer) SetDescription

func (o *SparseEnforcer) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseEnforcer) SetIdentifier

func (o *SparseEnforcer) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEnforcer) SetMetadata

func (o *SparseEnforcer) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseEnforcer) SetMigrationsLog added in v1.30.0

func (o *SparseEnforcer) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseEnforcer) SetName

func (o *SparseEnforcer) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseEnforcer) SetNamespace

func (o *SparseEnforcer) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseEnforcer) SetNormalizedTags

func (o *SparseEnforcer) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseEnforcer) SetProtected

func (o *SparseEnforcer) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseEnforcer) SetUpdateIdempotencyKey

func (o *SparseEnforcer) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseEnforcer) SetUpdateTime

func (o *SparseEnforcer) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseEnforcer) SetZHash

func (o *SparseEnforcer) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseEnforcer) SetZone

func (o *SparseEnforcer) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseEnforcer) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseEnforcer) Version

func (o *SparseEnforcer) Version() int

Version returns the hardcoded version of the model.

type SparseEnforcerLog added in v1.94.1

type SparseEnforcerLog struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the ID of the enforcer log. `CollectionID` is used to
	// aggregate the multipart data.
	CollectionID *string `` /* 130-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Represents the data collected by the enforcer.
	Data *string `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// ID of the enforcer.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"enforcerid,omitempty" mapstructure:"enforcerID,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Number assigned to each log in the increasing order.
	Page *int `json:"page,omitempty" msgpack:"page,omitempty" bson:"page,omitempty" mapstructure:"page,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Title of the log.
	Title *string `json:"title,omitempty" msgpack:"title,omitempty" bson:"title,omitempty" mapstructure:"title,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEnforcerLog represents the sparse version of a enforcerlog.

func NewSparseEnforcerLog added in v1.94.1

func NewSparseEnforcerLog() *SparseEnforcerLog

NewSparseEnforcerLog returns a new SparseEnforcerLog.

func (*SparseEnforcerLog) DeepCopy added in v1.94.1

func (o *SparseEnforcerLog) DeepCopy() *SparseEnforcerLog

DeepCopy returns a deep copy if the SparseEnforcerLog.

func (*SparseEnforcerLog) DeepCopyInto added in v1.94.1

func (o *SparseEnforcerLog) DeepCopyInto(out *SparseEnforcerLog)

DeepCopyInto copies the receiver into the given *SparseEnforcerLog.

func (*SparseEnforcerLog) GetAnnotations added in v1.94.1

func (o *SparseEnforcerLog) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseEnforcerLog) GetAssociatedTags added in v1.94.1

func (o *SparseEnforcerLog) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseEnforcerLog) GetBSON added in v1.94.1

func (o *SparseEnforcerLog) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerLog) GetCreateIdempotencyKey added in v1.94.1

func (o *SparseEnforcerLog) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseEnforcerLog) GetCreateTime added in v1.94.1

func (o *SparseEnforcerLog) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseEnforcerLog) GetMigrationsLog added in v1.94.1

func (o *SparseEnforcerLog) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseEnforcerLog) GetNamespace added in v1.94.1

func (o *SparseEnforcerLog) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseEnforcerLog) GetNormalizedTags added in v1.94.1

func (o *SparseEnforcerLog) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseEnforcerLog) GetProtected added in v1.94.1

func (o *SparseEnforcerLog) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseEnforcerLog) GetUpdateIdempotencyKey added in v1.94.1

func (o *SparseEnforcerLog) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseEnforcerLog) GetUpdateTime added in v1.94.1

func (o *SparseEnforcerLog) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseEnforcerLog) GetZHash added in v1.94.1

func (o *SparseEnforcerLog) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseEnforcerLog) GetZone added in v1.94.1

func (o *SparseEnforcerLog) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseEnforcerLog) Identifier added in v1.94.1

func (o *SparseEnforcerLog) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEnforcerLog) Identity added in v1.94.1

func (o *SparseEnforcerLog) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseEnforcerLog) SetAnnotations added in v1.94.1

func (o *SparseEnforcerLog) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetAssociatedTags added in v1.94.1

func (o *SparseEnforcerLog) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetBSON added in v1.94.1

func (o *SparseEnforcerLog) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerLog) SetCreateIdempotencyKey added in v1.94.1

func (o *SparseEnforcerLog) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetCreateTime added in v1.94.1

func (o *SparseEnforcerLog) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetIdentifier added in v1.94.1

func (o *SparseEnforcerLog) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEnforcerLog) SetMigrationsLog added in v1.94.1

func (o *SparseEnforcerLog) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetNamespace added in v1.94.1

func (o *SparseEnforcerLog) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetNormalizedTags added in v1.94.1

func (o *SparseEnforcerLog) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetProtected added in v1.94.1

func (o *SparseEnforcerLog) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetUpdateIdempotencyKey added in v1.94.1

func (o *SparseEnforcerLog) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetUpdateTime added in v1.94.1

func (o *SparseEnforcerLog) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetZHash added in v1.94.1

func (o *SparseEnforcerLog) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseEnforcerLog) SetZone added in v1.94.1

func (o *SparseEnforcerLog) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseEnforcerLog) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseEnforcerLog) Version added in v1.94.1

func (o *SparseEnforcerLog) Version() int

Version returns the hardcoded version of the model.

type SparseEnforcerLogsList added in v1.94.1

type SparseEnforcerLogsList []*SparseEnforcerLog

SparseEnforcerLogsList represents a list of SparseEnforcerLogs

func (SparseEnforcerLogsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseEnforcerLogsList.

func (SparseEnforcerLogsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseEnforcerLogsList.

func (SparseEnforcerLogsList) DefaultOrder added in v1.94.1

func (o SparseEnforcerLogsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEnforcerLogsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseEnforcerLogsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseEnforcerLogsList) ToPlain added in v1.94.1

ToPlain returns the SparseEnforcerLogsList converted to EnforcerLogsList.

func (SparseEnforcerLogsList) Version added in v1.94.1

func (o SparseEnforcerLogsList) Version() int

Version returns the version of the content.

type SparseEnforcerProfile

type SparseEnforcerProfile struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Ignore traffic with a source or destination matching the specified
	// interfaces.
	ExcludedInterfaces *[]string `` /* 154-byte string literal not displayed */

	// Ignore any networks specified here and do not even report any flows.
	// This can be useful for excluding localhost loopback traffic, ignoring
	// traffic to the Kubernetes API, and using Microsegmentation for SSH only.
	ExcludedNetworks *[]string `` /* 146-byte string literal not displayed */

	// A tag expression that identifies processing units to ignore. This can be
	// useful to exclude `kube-system` pods, AWS EC2 agent pods, and third-party
	// agents.
	IgnoreExpression *[][]string `` /* 146-byte string literal not displayed */

	// This field is kept for backward compatibility for enforcers <= 3.5.
	KubernetesMetadataExtractor *EnforcerProfileKubernetesMetadataExtractorValue `` /* 190-byte string literal not displayed */

	// This field is kept for backward compatibility for enforcers <= 3.5.
	KubernetesSupportEnabled *bool `` /* 178-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// This field is kept for backward compatibility for enforcers <= 3.5.
	MetadataExtractor *EnforcerProfileMetadataExtractorValue `` /* 150-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// If empty, the enforcer auto-discovers the TCP networks. Auto-discovery
	// works best in Kubernetes and OpenShift deployments. You may need to manually
	// specify the TCP networks if middle boxes exist that do not comply with
	// [TCP Fast Open RFC 7413](https://tools.ietf.org/html/rfc7413).
	TargetNetworks *[]string `` /* 138-byte string literal not displayed */

	// If empty, the enforcer enforces all UDP networks. This works best when all UDP
	// networks have enforcers. If some UDP networks do not have enforcers, you
	// may need to manually specify the UDP networks that should be enforced.
	TargetUDPNetworks *[]string `` /* 150-byte string literal not displayed */

	// List of trusted certificate authorities. If empty, the main chain of trust
	// will be used.
	TrustedCAs *[]string `json:"trustedCAs,omitempty" msgpack:"trustedCAs,omitempty" bson:"trustedcas,omitempty" mapstructure:"trustedCAs,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEnforcerProfile represents the sparse version of a enforcerprofile.

func NewSparseEnforcerProfile

func NewSparseEnforcerProfile() *SparseEnforcerProfile

NewSparseEnforcerProfile returns a new SparseEnforcerProfile.

func (*SparseEnforcerProfile) DeepCopy

DeepCopy returns a deep copy if the SparseEnforcerProfile.

func (*SparseEnforcerProfile) DeepCopyInto

func (o *SparseEnforcerProfile) DeepCopyInto(out *SparseEnforcerProfile)

DeepCopyInto copies the receiver into the given *SparseEnforcerProfile.

func (*SparseEnforcerProfile) GetAnnotations

func (o *SparseEnforcerProfile) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseEnforcerProfile) GetAssociatedTags

func (o *SparseEnforcerProfile) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseEnforcerProfile) GetBSON added in v1.80.0

func (o *SparseEnforcerProfile) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerProfile) GetCreateIdempotencyKey

func (o *SparseEnforcerProfile) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseEnforcerProfile) GetCreateTime

func (o *SparseEnforcerProfile) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseEnforcerProfile) GetDescription

func (o *SparseEnforcerProfile) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseEnforcerProfile) GetMetadata

func (o *SparseEnforcerProfile) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseEnforcerProfile) GetMigrationsLog added in v1.30.0

func (o *SparseEnforcerProfile) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseEnforcerProfile) GetName

func (o *SparseEnforcerProfile) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseEnforcerProfile) GetNamespace

func (o *SparseEnforcerProfile) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseEnforcerProfile) GetNormalizedTags

func (o *SparseEnforcerProfile) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseEnforcerProfile) GetPropagate

func (o *SparseEnforcerProfile) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseEnforcerProfile) GetProtected

func (o *SparseEnforcerProfile) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseEnforcerProfile) GetUpdateIdempotencyKey

func (o *SparseEnforcerProfile) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseEnforcerProfile) GetUpdateTime

func (o *SparseEnforcerProfile) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseEnforcerProfile) GetZHash

func (o *SparseEnforcerProfile) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseEnforcerProfile) GetZone

func (o *SparseEnforcerProfile) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseEnforcerProfile) Identifier

func (o *SparseEnforcerProfile) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEnforcerProfile) Identity

Identity returns the Identity of the sparse object.

func (*SparseEnforcerProfile) SetAnnotations

func (o *SparseEnforcerProfile) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetAssociatedTags

func (o *SparseEnforcerProfile) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetBSON added in v1.80.0

func (o *SparseEnforcerProfile) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerProfile) SetCreateIdempotencyKey

func (o *SparseEnforcerProfile) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetCreateTime

func (o *SparseEnforcerProfile) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetDescription

func (o *SparseEnforcerProfile) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetIdentifier

func (o *SparseEnforcerProfile) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEnforcerProfile) SetMetadata

func (o *SparseEnforcerProfile) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetMigrationsLog added in v1.30.0

func (o *SparseEnforcerProfile) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetName

func (o *SparseEnforcerProfile) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetNamespace

func (o *SparseEnforcerProfile) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetNormalizedTags

func (o *SparseEnforcerProfile) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetPropagate

func (o *SparseEnforcerProfile) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetProtected

func (o *SparseEnforcerProfile) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetUpdateIdempotencyKey

func (o *SparseEnforcerProfile) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetUpdateTime

func (o *SparseEnforcerProfile) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetZHash

func (o *SparseEnforcerProfile) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseEnforcerProfile) SetZone

func (o *SparseEnforcerProfile) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseEnforcerProfile) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseEnforcerProfile) Version

func (o *SparseEnforcerProfile) Version() int

Version returns the hardcoded version of the model.

type SparseEnforcerProfileMappingPoliciesList

type SparseEnforcerProfileMappingPoliciesList []*SparseEnforcerProfileMappingPolicy

SparseEnforcerProfileMappingPoliciesList represents a list of SparseEnforcerProfileMappingPolicies

func (SparseEnforcerProfileMappingPoliciesList) Append

Append appends the objects to the a new copy of the SparseEnforcerProfileMappingPoliciesList.

func (SparseEnforcerProfileMappingPoliciesList) Copy

Copy returns a pointer to a copy the SparseEnforcerProfileMappingPoliciesList.

func (SparseEnforcerProfileMappingPoliciesList) DefaultOrder

DefaultOrder returns the default ordering fields of the content.

func (SparseEnforcerProfileMappingPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseEnforcerProfileMappingPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseEnforcerProfileMappingPoliciesList) ToPlain

ToPlain returns the SparseEnforcerProfileMappingPoliciesList converted to EnforcerProfileMappingPoliciesList.

func (SparseEnforcerProfileMappingPoliciesList) Version

Version returns the version of the content.

type SparseEnforcerProfileMappingPolicy

type SparseEnforcerProfileMappingPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// The tag or tag expression that identifies the enforcer profile to be mapped.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"object,omitempty" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// The tag or tag expression that identifies the enforcers that should implement
	// the mapped profile.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEnforcerProfileMappingPolicy represents the sparse version of a enforcerprofilemappingpolicy.

func NewSparseEnforcerProfileMappingPolicy

func NewSparseEnforcerProfileMappingPolicy() *SparseEnforcerProfileMappingPolicy

NewSparseEnforcerProfileMappingPolicy returns a new SparseEnforcerProfileMappingPolicy.

func (*SparseEnforcerProfileMappingPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseEnforcerProfileMappingPolicy.

func (*SparseEnforcerProfileMappingPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseEnforcerProfileMappingPolicy.

func (*SparseEnforcerProfileMappingPolicy) GetAnnotations

func (o *SparseEnforcerProfileMappingPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetAssociatedTags

func (o *SparseEnforcerProfileMappingPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetBSON added in v1.80.0

func (o *SparseEnforcerProfileMappingPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerProfileMappingPolicy) GetCreateIdempotencyKey

func (o *SparseEnforcerProfileMappingPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetCreateTime

func (o *SparseEnforcerProfileMappingPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetDescription

func (o *SparseEnforcerProfileMappingPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetDisabled

func (o *SparseEnforcerProfileMappingPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetFallback

func (o *SparseEnforcerProfileMappingPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetMetadata

func (o *SparseEnforcerProfileMappingPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetName

func (o *SparseEnforcerProfileMappingPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetNamespace

func (o *SparseEnforcerProfileMappingPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetNormalizedTags

func (o *SparseEnforcerProfileMappingPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetPropagate

func (o *SparseEnforcerProfileMappingPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetProtected

func (o *SparseEnforcerProfileMappingPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetUpdateIdempotencyKey

func (o *SparseEnforcerProfileMappingPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetUpdateTime

func (o *SparseEnforcerProfileMappingPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseEnforcerProfileMappingPolicy) Identifier

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEnforcerProfileMappingPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseEnforcerProfileMappingPolicy) SetAnnotations

func (o *SparseEnforcerProfileMappingPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetAssociatedTags

func (o *SparseEnforcerProfileMappingPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetBSON added in v1.80.0

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerProfileMappingPolicy) SetCreateIdempotencyKey

func (o *SparseEnforcerProfileMappingPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetCreateTime

func (o *SparseEnforcerProfileMappingPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetDescription

func (o *SparseEnforcerProfileMappingPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetDisabled

func (o *SparseEnforcerProfileMappingPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetFallback

func (o *SparseEnforcerProfileMappingPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetIdentifier

func (o *SparseEnforcerProfileMappingPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEnforcerProfileMappingPolicy) SetMetadata

func (o *SparseEnforcerProfileMappingPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetName

func (o *SparseEnforcerProfileMappingPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetNamespace

func (o *SparseEnforcerProfileMappingPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetNormalizedTags

func (o *SparseEnforcerProfileMappingPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetPropagate

func (o *SparseEnforcerProfileMappingPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetProtected

func (o *SparseEnforcerProfileMappingPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetUpdateIdempotencyKey

func (o *SparseEnforcerProfileMappingPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) SetUpdateTime

func (o *SparseEnforcerProfileMappingPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseEnforcerProfileMappingPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseEnforcerProfileMappingPolicy) Version

Version returns the hardcoded version of the model.

type SparseEnforcerProfilesList

type SparseEnforcerProfilesList []*SparseEnforcerProfile

SparseEnforcerProfilesList represents a list of SparseEnforcerProfiles

func (SparseEnforcerProfilesList) Append

Append appends the objects to the a new copy of the SparseEnforcerProfilesList.

func (SparseEnforcerProfilesList) Copy

Copy returns a pointer to a copy the SparseEnforcerProfilesList.

func (SparseEnforcerProfilesList) DefaultOrder

func (o SparseEnforcerProfilesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEnforcerProfilesList) Identity

Identity returns the identity of the objects in the list.

func (SparseEnforcerProfilesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseEnforcerProfilesList) ToPlain

ToPlain returns the SparseEnforcerProfilesList converted to EnforcerProfilesList.

func (SparseEnforcerProfilesList) Version

func (o SparseEnforcerProfilesList) Version() int

Version returns the version of the content.

type SparseEnforcerRefresh added in v1.94.1

type SparseEnforcerRefresh struct {
	// Contains the ID of the target enforcer.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Set the debug information collected by the enforcer.
	Debug *EnforcerRefreshDebugValue `json:"debug,omitempty" msgpack:"debug,omitempty" bson:"-" mapstructure:"debug,omitempty"`

	// Can be used to correlate with a DebugBundle.
	DebugID *string `json:"debugID,omitempty" msgpack:"debugID,omitempty" bson:"-" mapstructure:"debugID,omitempty"`

	// Packet capture filter, syntax varying by platform.
	DebugPcapFilter *string `json:"debugPcapFilter,omitempty" msgpack:"debugPcapFilter,omitempty" bson:"-" mapstructure:"debugPcapFilter,omitempty"`

	// Isolates debug information to a given processing unit, where possible.
	DebugProcessingUnitID *string `` /* 136-byte string literal not displayed */

	// Defines the version to migrate enforcers.
	MigrationVersion *string `json:"migrationVersion,omitempty" msgpack:"migrationVersion,omitempty" bson:"-" mapstructure:"migrationVersion,omitempty"`

	// Contains the original namespace of the enforcer.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Indicates the type of refresh.
	RefreshType *EnforcerRefreshRefreshTypeValue `` /* 126-byte string literal not displayed */

	// Request a command for the enforcers matching the following tag expression.
	Selector *[][]string `json:"selector,omitempty" msgpack:"selector,omitempty" bson:"-" mapstructure:"selector,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEnforcerRefresh represents the sparse version of a enforcerrefresh.

func NewSparseEnforcerRefresh added in v1.94.1

func NewSparseEnforcerRefresh() *SparseEnforcerRefresh

NewSparseEnforcerRefresh returns a new SparseEnforcerRefresh.

func (*SparseEnforcerRefresh) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseEnforcerRefresh.

func (*SparseEnforcerRefresh) DeepCopyInto added in v1.94.1

func (o *SparseEnforcerRefresh) DeepCopyInto(out *SparseEnforcerRefresh)

DeepCopyInto copies the receiver into the given *SparseEnforcerRefresh.

func (*SparseEnforcerRefresh) GetBSON added in v1.94.1

func (o *SparseEnforcerRefresh) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerRefresh) GetID added in v1.94.1

func (o *SparseEnforcerRefresh) GetID() (out string)

GetID returns the ID of the receiver.

func (*SparseEnforcerRefresh) GetPropagate added in v1.94.1

func (o *SparseEnforcerRefresh) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseEnforcerRefresh) Identifier added in v1.94.1

func (o *SparseEnforcerRefresh) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEnforcerRefresh) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseEnforcerRefresh) SetBSON added in v1.94.1

func (o *SparseEnforcerRefresh) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerRefresh) SetID added in v1.94.1

func (o *SparseEnforcerRefresh) SetID(ID string)

SetID sets the property ID of the receiver using the address of the given value.

func (*SparseEnforcerRefresh) SetIdentifier added in v1.94.1

func (o *SparseEnforcerRefresh) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEnforcerRefresh) SetPropagate added in v1.94.1

func (o *SparseEnforcerRefresh) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseEnforcerRefresh) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseEnforcerRefresh) Version added in v1.94.1

func (o *SparseEnforcerRefresh) Version() int

Version returns the hardcoded version of the model.

type SparseEnforcerRefreshsList added in v1.94.1

type SparseEnforcerRefreshsList []*SparseEnforcerRefresh

SparseEnforcerRefreshsList represents a list of SparseEnforcerRefreshs

func (SparseEnforcerRefreshsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseEnforcerRefreshsList.

func (SparseEnforcerRefreshsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseEnforcerRefreshsList.

func (SparseEnforcerRefreshsList) DefaultOrder added in v1.94.1

func (o SparseEnforcerRefreshsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEnforcerRefreshsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseEnforcerRefreshsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseEnforcerRefreshsList) ToPlain added in v1.94.1

ToPlain returns the SparseEnforcerRefreshsList converted to EnforcerRefreshsList.

func (SparseEnforcerRefreshsList) Version added in v1.94.1

func (o SparseEnforcerRefreshsList) Version() int

Version returns the version of the content.

type SparseEnforcerReport

type SparseEnforcerReport struct {
	// Total CPU utilization of the enforcer as a percentage of vCPUs.
	CPULoad *float64 `json:"CPULoad,omitempty" msgpack:"CPULoad,omitempty" bson:"a,omitempty" mapstructure:"CPULoad,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ID of the enforcer.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"b,omitempty" mapstructure:"enforcerID,omitempty"`

	// Type of license for this enforcer.
	LicenseType *EnforcerReportLicenseTypeValue `json:"licenseType,omitempty" msgpack:"licenseType,omitempty" bson:"h,omitempty" mapstructure:"licenseType,omitempty"`

	// Total resident memory used by the enforcer in bytes.
	Memory *int `json:"memory,omitempty" msgpack:"memory,omitempty" bson:"c,omitempty" mapstructure:"memory,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the enforcer.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"d,omitempty" mapstructure:"name,omitempty"`

	// Namespace of the enforcer.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"e,omitempty" mapstructure:"namespace,omitempty"`

	// Number of active processes of the enforcer.
	Processes *int `json:"processes,omitempty" msgpack:"processes,omitempty" bson:"f,omitempty" mapstructure:"processes,omitempty"`

	// Date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"g,omitempty" mapstructure:"timestamp,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEnforcerReport represents the sparse version of a enforcerreport.

func NewSparseEnforcerReport

func NewSparseEnforcerReport() *SparseEnforcerReport

NewSparseEnforcerReport returns a new SparseEnforcerReport.

func (*SparseEnforcerReport) DeepCopy

DeepCopy returns a deep copy if the SparseEnforcerReport.

func (*SparseEnforcerReport) DeepCopyInto

func (o *SparseEnforcerReport) DeepCopyInto(out *SparseEnforcerReport)

DeepCopyInto copies the receiver into the given *SparseEnforcerReport.

func (*SparseEnforcerReport) GetBSON added in v1.80.0

func (o *SparseEnforcerReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerReport) GetMigrationsLog added in v1.94.1

func (o *SparseEnforcerReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseEnforcerReport) GetZHash added in v1.94.1

func (o *SparseEnforcerReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseEnforcerReport) GetZone added in v1.94.1

func (o *SparseEnforcerReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseEnforcerReport) Identifier

func (o *SparseEnforcerReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEnforcerReport) Identity

func (o *SparseEnforcerReport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseEnforcerReport) SetBSON added in v1.80.0

func (o *SparseEnforcerReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerReport) SetIdentifier

func (o *SparseEnforcerReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEnforcerReport) SetMigrationsLog added in v1.94.1

func (o *SparseEnforcerReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseEnforcerReport) SetZHash added in v1.94.1

func (o *SparseEnforcerReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseEnforcerReport) SetZone added in v1.94.1

func (o *SparseEnforcerReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseEnforcerReport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseEnforcerReport) Version

func (o *SparseEnforcerReport) Version() int

Version returns the hardcoded version of the model.

type SparseEnforcerReportsList

type SparseEnforcerReportsList []*SparseEnforcerReport

SparseEnforcerReportsList represents a list of SparseEnforcerReports

func (SparseEnforcerReportsList) Append

Append appends the objects to the a new copy of the SparseEnforcerReportsList.

func (SparseEnforcerReportsList) Copy

Copy returns a pointer to a copy the SparseEnforcerReportsList.

func (SparseEnforcerReportsList) DefaultOrder

func (o SparseEnforcerReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEnforcerReportsList) Identity

Identity returns the identity of the objects in the list.

func (SparseEnforcerReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseEnforcerReportsList) ToPlain

ToPlain returns the SparseEnforcerReportsList converted to EnforcerReportsList.

func (SparseEnforcerReportsList) Version

func (o SparseEnforcerReportsList) Version() int

Version returns the version of the content.

type SparseEnforcerTraceReport

type SparseEnforcerTraceReport struct {
	// ID of the enforcer where the trace was collected.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"enforcerid,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer where the trace was collected.
	EnforcerNamespace *string `` /* 150-byte string literal not displayed */

	// Namespace of the processing unit where the trace was collected.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// ID of the processing unit where the trace was collected.
	PuID *string `json:"puID,omitempty" msgpack:"puID,omitempty" bson:"puid,omitempty" mapstructure:"puID,omitempty"`

	// List of iptables trace records collected.
	Records *[]*TraceRecord `json:"-" msgpack:"-" bson:"records,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEnforcerTraceReport represents the sparse version of a enforcertracereport.

func NewSparseEnforcerTraceReport

func NewSparseEnforcerTraceReport() *SparseEnforcerTraceReport

NewSparseEnforcerTraceReport returns a new SparseEnforcerTraceReport.

func (*SparseEnforcerTraceReport) DeepCopy

DeepCopy returns a deep copy if the SparseEnforcerTraceReport.

func (*SparseEnforcerTraceReport) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseEnforcerTraceReport.

func (*SparseEnforcerTraceReport) GetBSON added in v1.80.0

func (o *SparseEnforcerTraceReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerTraceReport) Identifier

func (o *SparseEnforcerTraceReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEnforcerTraceReport) Identity

Identity returns the Identity of the sparse object.

func (*SparseEnforcerTraceReport) SetBSON added in v1.80.0

func (o *SparseEnforcerTraceReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEnforcerTraceReport) SetIdentifier

func (o *SparseEnforcerTraceReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEnforcerTraceReport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseEnforcerTraceReport) Version

func (o *SparseEnforcerTraceReport) Version() int

Version returns the hardcoded version of the model.

type SparseEnforcerTraceReportsList

type SparseEnforcerTraceReportsList []*SparseEnforcerTraceReport

SparseEnforcerTraceReportsList represents a list of SparseEnforcerTraceReports

func (SparseEnforcerTraceReportsList) Append

Append appends the objects to the a new copy of the SparseEnforcerTraceReportsList.

func (SparseEnforcerTraceReportsList) Copy

Copy returns a pointer to a copy the SparseEnforcerTraceReportsList.

func (SparseEnforcerTraceReportsList) DefaultOrder

func (o SparseEnforcerTraceReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEnforcerTraceReportsList) Identity

Identity returns the identity of the objects in the list.

func (SparseEnforcerTraceReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseEnforcerTraceReportsList) ToPlain

ToPlain returns the SparseEnforcerTraceReportsList converted to EnforcerTraceReportsList.

func (SparseEnforcerTraceReportsList) Version

func (o SparseEnforcerTraceReportsList) Version() int

Version returns the version of the content.

type SparseEnforcersList

type SparseEnforcersList []*SparseEnforcer

SparseEnforcersList represents a list of SparseEnforcers

func (SparseEnforcersList) Append

Append appends the objects to the a new copy of the SparseEnforcersList.

func (SparseEnforcersList) Copy

Copy returns a pointer to a copy the SparseEnforcersList.

func (SparseEnforcersList) DefaultOrder

func (o SparseEnforcersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEnforcersList) Identity

func (o SparseEnforcersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseEnforcersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseEnforcersList) ToPlain

ToPlain returns the SparseEnforcersList converted to EnforcersList.

func (SparseEnforcersList) Version

func (o SparseEnforcersList) Version() int

Version returns the version of the content.

type SparseEventLog

type SparseEventLog struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Category of the event log.
	Category *string `json:"category,omitempty" msgpack:"category,omitempty" bson:"a,omitempty" mapstructure:"category,omitempty"`

	// Content of the event log.
	Content *string `json:"content,omitempty" msgpack:"content,omitempty" bson:"b,omitempty" mapstructure:"content,omitempty"`

	// Creation date of the event log.
	Date *time.Time `json:"date,omitempty" msgpack:"date,omitempty" bson:"-" mapstructure:"date,omitempty"`

	// Sets the log level.
	Level *EventLogLevelValue `json:"level,omitempty" msgpack:"level,omitempty" bson:"d,omitempty" mapstructure:"level,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to the event log.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"e,omitempty" mapstructure:"namespace,omitempty"`

	// Opaque data that can be attached to the event log, for further machine
	// processing.
	Opaque *string `json:"opaque,omitempty" msgpack:"opaque,omitempty" bson:"f,omitempty" mapstructure:"opaque,omitempty"`

	// ID of the object this event log is attached to. The object must be in the same
	// namespace than the event log.
	TargetID *string `json:"targetID,omitempty" msgpack:"targetID,omitempty" bson:"g,omitempty" mapstructure:"targetID,omitempty"`

	// Identity of the object this event log is attached to.
	TargetIdentity *string `json:"targetIdentity,omitempty" msgpack:"targetIdentity,omitempty" bson:"h,omitempty" mapstructure:"targetIdentity,omitempty"`

	// Creation date of the event log.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"i,omitempty" mapstructure:"timestamp,omitempty"`

	// Title of the event log.
	Title *string `json:"title,omitempty" msgpack:"title,omitempty" bson:"j,omitempty" mapstructure:"title,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseEventLog represents the sparse version of a eventlog.

func NewSparseEventLog

func NewSparseEventLog() *SparseEventLog

NewSparseEventLog returns a new SparseEventLog.

func (*SparseEventLog) DeepCopy

func (o *SparseEventLog) DeepCopy() *SparseEventLog

DeepCopy returns a deep copy if the SparseEventLog.

func (*SparseEventLog) DeepCopyInto

func (o *SparseEventLog) DeepCopyInto(out *SparseEventLog)

DeepCopyInto copies the receiver into the given *SparseEventLog.

func (*SparseEventLog) GetBSON added in v1.80.0

func (o *SparseEventLog) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEventLog) GetMigrationsLog added in v1.94.1

func (o *SparseEventLog) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseEventLog) GetNamespace

func (o *SparseEventLog) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseEventLog) GetZHash added in v1.94.1

func (o *SparseEventLog) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseEventLog) GetZone added in v1.94.1

func (o *SparseEventLog) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseEventLog) Identifier

func (o *SparseEventLog) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseEventLog) Identity

func (o *SparseEventLog) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseEventLog) SetBSON added in v1.80.0

func (o *SparseEventLog) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseEventLog) SetIdentifier

func (o *SparseEventLog) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseEventLog) SetMigrationsLog added in v1.94.1

func (o *SparseEventLog) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseEventLog) SetNamespace

func (o *SparseEventLog) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseEventLog) SetZHash added in v1.94.1

func (o *SparseEventLog) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseEventLog) SetZone added in v1.94.1

func (o *SparseEventLog) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseEventLog) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseEventLog) Version

func (o *SparseEventLog) Version() int

Version returns the hardcoded version of the model.

type SparseEventLogsList

type SparseEventLogsList []*SparseEventLog

SparseEventLogsList represents a list of SparseEventLogs

func (SparseEventLogsList) Append

Append appends the objects to the a new copy of the SparseEventLogsList.

func (SparseEventLogsList) Copy

Copy returns a pointer to a copy the SparseEventLogsList.

func (SparseEventLogsList) DefaultOrder

func (o SparseEventLogsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseEventLogsList) Identity

func (o SparseEventLogsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseEventLogsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseEventLogsList) ToPlain

ToPlain returns the SparseEventLogsList converted to EventLogsList.

func (SparseEventLogsList) Version

func (o SparseEventLogsList) Version() int

Version returns the version of the content.

type SparseExport

type SparseExport struct {
	// Version of the Microsegmentation Console API used for the exported data.
	APIVersion *int `json:"APIVersion,omitempty" msgpack:"APIVersion,omitempty" bson:"apiversion,omitempty" mapstructure:"APIVersion,omitempty"`

	// List of all exported data.
	Data *map[string][]map[string]interface{} `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// The list of identities to export.
	Identities *[]string `json:"identities,omitempty" msgpack:"identities,omitempty" bson:"identities,omitempty" mapstructure:"identities,omitempty"`

	// Allows you to define a unique label for this export. When importing the
	// content of the export, this label will be added as a tag that will be used to
	// recognize imported object in a later import.
	Label *string `json:"label,omitempty" msgpack:"label,omitempty" bson:"label,omitempty" mapstructure:"label,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseExport represents the sparse version of a export.

func NewSparseExport

func NewSparseExport() *SparseExport

NewSparseExport returns a new SparseExport.

func (*SparseExport) DeepCopy

func (o *SparseExport) DeepCopy() *SparseExport

DeepCopy returns a deep copy if the SparseExport.

func (*SparseExport) DeepCopyInto

func (o *SparseExport) DeepCopyInto(out *SparseExport)

DeepCopyInto copies the receiver into the given *SparseExport.

func (*SparseExport) GetBSON added in v1.80.0

func (o *SparseExport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseExport) Identifier

func (o *SparseExport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseExport) Identity

func (o *SparseExport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseExport) SetBSON added in v1.80.0

func (o *SparseExport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseExport) SetIdentifier

func (o *SparseExport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseExport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseExport) Version

func (o *SparseExport) Version() int

Version returns the hardcoded version of the model.

type SparseExportsList

type SparseExportsList []*SparseExport

SparseExportsList represents a list of SparseExports

func (SparseExportsList) Append

Append appends the objects to the a new copy of the SparseExportsList.

func (SparseExportsList) Copy

Copy returns a pointer to a copy the SparseExportsList.

func (SparseExportsList) DefaultOrder

func (o SparseExportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseExportsList) Identity

func (o SparseExportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseExportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseExportsList) ToPlain

ToPlain returns the SparseExportsList converted to ExportsList.

func (SparseExportsList) Version

func (o SparseExportsList) Version() int

Version returns the version of the content.

type SparseExternalNetwork

type SparseExternalNetwork struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// List of CIDRs or domain name.
	Entries *[]string `json:"entries,omitempty" msgpack:"entries,omitempty" bson:"entries,omitempty" mapstructure:"entries,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// List of protocol/ports `(tcp/80)` or `(udp/80:100)`.
	ServicePorts *[]string `` /* 130-byte string literal not displayed */

	// The type of external network (default `Subnet`).
	Type *ExternalNetworkTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseExternalNetwork represents the sparse version of a externalnetwork.

func NewSparseExternalNetwork

func NewSparseExternalNetwork() *SparseExternalNetwork

NewSparseExternalNetwork returns a new SparseExternalNetwork.

func (*SparseExternalNetwork) DeepCopy

DeepCopy returns a deep copy if the SparseExternalNetwork.

func (*SparseExternalNetwork) DeepCopyInto

func (o *SparseExternalNetwork) DeepCopyInto(out *SparseExternalNetwork)

DeepCopyInto copies the receiver into the given *SparseExternalNetwork.

func (*SparseExternalNetwork) GetAnnotations

func (o *SparseExternalNetwork) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseExternalNetwork) GetArchived

func (o *SparseExternalNetwork) GetArchived() (out bool)

GetArchived returns the Archived of the receiver.

func (*SparseExternalNetwork) GetAssociatedTags

func (o *SparseExternalNetwork) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseExternalNetwork) GetBSON added in v1.80.0

func (o *SparseExternalNetwork) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseExternalNetwork) GetCreateIdempotencyKey

func (o *SparseExternalNetwork) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseExternalNetwork) GetCreateTime

func (o *SparseExternalNetwork) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseExternalNetwork) GetDescription

func (o *SparseExternalNetwork) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseExternalNetwork) GetMetadata

func (o *SparseExternalNetwork) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseExternalNetwork) GetMigrationsLog added in v1.30.0

func (o *SparseExternalNetwork) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseExternalNetwork) GetName

func (o *SparseExternalNetwork) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseExternalNetwork) GetNamespace

func (o *SparseExternalNetwork) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseExternalNetwork) GetNormalizedTags

func (o *SparseExternalNetwork) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseExternalNetwork) GetPropagate

func (o *SparseExternalNetwork) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseExternalNetwork) GetProtected

func (o *SparseExternalNetwork) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseExternalNetwork) GetUpdateIdempotencyKey

func (o *SparseExternalNetwork) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseExternalNetwork) GetUpdateTime

func (o *SparseExternalNetwork) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseExternalNetwork) GetZHash

func (o *SparseExternalNetwork) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseExternalNetwork) GetZone

func (o *SparseExternalNetwork) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseExternalNetwork) Identifier

func (o *SparseExternalNetwork) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseExternalNetwork) Identity

Identity returns the Identity of the sparse object.

func (*SparseExternalNetwork) SetAnnotations

func (o *SparseExternalNetwork) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetArchived

func (o *SparseExternalNetwork) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetAssociatedTags

func (o *SparseExternalNetwork) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetBSON added in v1.80.0

func (o *SparseExternalNetwork) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseExternalNetwork) SetCreateIdempotencyKey

func (o *SparseExternalNetwork) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetCreateTime

func (o *SparseExternalNetwork) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetDescription

func (o *SparseExternalNetwork) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetIdentifier

func (o *SparseExternalNetwork) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseExternalNetwork) SetMetadata

func (o *SparseExternalNetwork) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetMigrationsLog added in v1.30.0

func (o *SparseExternalNetwork) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetName

func (o *SparseExternalNetwork) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetNamespace

func (o *SparseExternalNetwork) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetNormalizedTags

func (o *SparseExternalNetwork) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetPropagate

func (o *SparseExternalNetwork) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetProtected

func (o *SparseExternalNetwork) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetUpdateIdempotencyKey

func (o *SparseExternalNetwork) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetUpdateTime

func (o *SparseExternalNetwork) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetZHash

func (o *SparseExternalNetwork) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseExternalNetwork) SetZone

func (o *SparseExternalNetwork) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseExternalNetwork) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseExternalNetwork) Version

func (o *SparseExternalNetwork) Version() int

Version returns the hardcoded version of the model.

type SparseExternalNetworksList

type SparseExternalNetworksList []*SparseExternalNetwork

SparseExternalNetworksList represents a list of SparseExternalNetworks

func (SparseExternalNetworksList) Append

Append appends the objects to the a new copy of the SparseExternalNetworksList.

func (SparseExternalNetworksList) Copy

Copy returns a pointer to a copy the SparseExternalNetworksList.

func (SparseExternalNetworksList) DefaultOrder

func (o SparseExternalNetworksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseExternalNetworksList) Identity

Identity returns the identity of the objects in the list.

func (SparseExternalNetworksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseExternalNetworksList) ToPlain

ToPlain returns the SparseExternalNetworksList converted to ExternalNetworksList.

func (SparseExternalNetworksList) Version

func (o SparseExternalNetworksList) Version() int

Version returns the version of the content.

type SparseFileAccessPoliciesList

type SparseFileAccessPoliciesList []*SparseFileAccessPolicy

SparseFileAccessPoliciesList represents a list of SparseFileAccessPolicies

func (SparseFileAccessPoliciesList) Append

Append appends the objects to the a new copy of the SparseFileAccessPoliciesList.

func (SparseFileAccessPoliciesList) Copy

Copy returns a pointer to a copy the SparseFileAccessPoliciesList.

func (SparseFileAccessPoliciesList) DefaultOrder

func (o SparseFileAccessPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseFileAccessPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseFileAccessPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseFileAccessPoliciesList) ToPlain

ToPlain returns the SparseFileAccessPoliciesList converted to FileAccessPoliciesList.

func (SparseFileAccessPoliciesList) Version

func (o SparseFileAccessPoliciesList) Version() int

Version returns the version of the content.

type SparseFileAccessPolicy

type SparseFileAccessPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Allows files to be executed.
	AllowsExecute *bool `json:"allowsExecute,omitempty" msgpack:"allowsExecute,omitempty" bson:"-" mapstructure:"allowsExecute,omitempty"`

	// Allows files to be read.
	AllowsRead *bool `json:"allowsRead,omitempty" msgpack:"allowsRead,omitempty" bson:"-" mapstructure:"allowsRead,omitempty"`

	// Allows files to be written.
	AllowsWrite *bool `json:"allowsWrite,omitempty" msgpack:"allowsWrite,omitempty" bson:"-" mapstructure:"allowsWrite,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Set to `true` to enable automatic encryption.
	EncryptionEnabled *bool `json:"encryptionEnabled,omitempty" msgpack:"encryptionEnabled,omitempty" bson:"-" mapstructure:"encryptionEnabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// A value of `true` enables logging.
	LogsEnabled *bool `json:"logsEnabled,omitempty" msgpack:"logsEnabled,omitempty" bson:"-" mapstructure:"logsEnabled,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// The object of the policy.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// The subject of the policy.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseFileAccessPolicy represents the sparse version of a fileaccesspolicy.

func NewSparseFileAccessPolicy

func NewSparseFileAccessPolicy() *SparseFileAccessPolicy

NewSparseFileAccessPolicy returns a new SparseFileAccessPolicy.

func (*SparseFileAccessPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseFileAccessPolicy.

func (*SparseFileAccessPolicy) DeepCopyInto

func (o *SparseFileAccessPolicy) DeepCopyInto(out *SparseFileAccessPolicy)

DeepCopyInto copies the receiver into the given *SparseFileAccessPolicy.

func (*SparseFileAccessPolicy) GetActiveDuration

func (o *SparseFileAccessPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseFileAccessPolicy) GetActiveSchedule

func (o *SparseFileAccessPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseFileAccessPolicy) GetAnnotations

func (o *SparseFileAccessPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseFileAccessPolicy) GetAssociatedTags

func (o *SparseFileAccessPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseFileAccessPolicy) GetBSON added in v1.80.0

func (o *SparseFileAccessPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFileAccessPolicy) GetCreateIdempotencyKey

func (o *SparseFileAccessPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseFileAccessPolicy) GetCreateTime

func (o *SparseFileAccessPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseFileAccessPolicy) GetDescription

func (o *SparseFileAccessPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseFileAccessPolicy) GetDisabled

func (o *SparseFileAccessPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseFileAccessPolicy) GetExpirationTime

func (o *SparseFileAccessPolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseFileAccessPolicy) GetFallback

func (o *SparseFileAccessPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseFileAccessPolicy) GetMetadata

func (o *SparseFileAccessPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseFileAccessPolicy) GetName

func (o *SparseFileAccessPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseFileAccessPolicy) GetNamespace

func (o *SparseFileAccessPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseFileAccessPolicy) GetNormalizedTags

func (o *SparseFileAccessPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseFileAccessPolicy) GetPropagate

func (o *SparseFileAccessPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseFileAccessPolicy) GetProtected

func (o *SparseFileAccessPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseFileAccessPolicy) GetUpdateIdempotencyKey

func (o *SparseFileAccessPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseFileAccessPolicy) GetUpdateTime

func (o *SparseFileAccessPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseFileAccessPolicy) Identifier

func (o *SparseFileAccessPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseFileAccessPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseFileAccessPolicy) SetActiveDuration

func (o *SparseFileAccessPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetActiveSchedule

func (o *SparseFileAccessPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetAnnotations

func (o *SparseFileAccessPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetAssociatedTags

func (o *SparseFileAccessPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetBSON added in v1.80.0

func (o *SparseFileAccessPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFileAccessPolicy) SetCreateIdempotencyKey

func (o *SparseFileAccessPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetCreateTime

func (o *SparseFileAccessPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetDescription

func (o *SparseFileAccessPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetDisabled

func (o *SparseFileAccessPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetExpirationTime

func (o *SparseFileAccessPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetFallback

func (o *SparseFileAccessPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetIdentifier

func (o *SparseFileAccessPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseFileAccessPolicy) SetMetadata

func (o *SparseFileAccessPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetName

func (o *SparseFileAccessPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetNamespace

func (o *SparseFileAccessPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetNormalizedTags

func (o *SparseFileAccessPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetPropagate

func (o *SparseFileAccessPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetProtected

func (o *SparseFileAccessPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetUpdateIdempotencyKey

func (o *SparseFileAccessPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) SetUpdateTime

func (o *SparseFileAccessPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseFileAccessPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseFileAccessPolicy) Version

func (o *SparseFileAccessPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseFileAccessReport

type SparseFileAccessReport struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Action taken.
	Action *FileAccessReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// Host storing the file.
	Host *string `json:"host,omitempty" msgpack:"host,omitempty" bson:"b,omitempty" mapstructure:"host,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Mode of file access.
	Mode *string `json:"mode,omitempty" msgpack:"mode,omitempty" bson:"c,omitempty" mapstructure:"mode,omitempty"`

	// Path of the file.
	Path *string `json:"path,omitempty" msgpack:"path,omitempty" bson:"d,omitempty" mapstructure:"path,omitempty"`

	// ID of the processing unit.
	ProcessingUnitID *string `` /* 131-byte string literal not displayed */

	// Namespace of the processing unit.
	ProcessingUnitNamespace *string `` /* 152-byte string literal not displayed */

	// Date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"g,omitempty" mapstructure:"timestamp,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseFileAccessReport represents the sparse version of a fileaccessreport.

func NewSparseFileAccessReport

func NewSparseFileAccessReport() *SparseFileAccessReport

NewSparseFileAccessReport returns a new SparseFileAccessReport.

func (*SparseFileAccessReport) DeepCopy

DeepCopy returns a deep copy if the SparseFileAccessReport.

func (*SparseFileAccessReport) DeepCopyInto

func (o *SparseFileAccessReport) DeepCopyInto(out *SparseFileAccessReport)

DeepCopyInto copies the receiver into the given *SparseFileAccessReport.

func (*SparseFileAccessReport) GetBSON added in v1.80.0

func (o *SparseFileAccessReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFileAccessReport) GetMigrationsLog added in v1.94.1

func (o *SparseFileAccessReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseFileAccessReport) GetZHash added in v1.94.1

func (o *SparseFileAccessReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseFileAccessReport) GetZone added in v1.94.1

func (o *SparseFileAccessReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseFileAccessReport) Identifier

func (o *SparseFileAccessReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseFileAccessReport) Identity

Identity returns the Identity of the sparse object.

func (*SparseFileAccessReport) SetBSON added in v1.80.0

func (o *SparseFileAccessReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFileAccessReport) SetIdentifier

func (o *SparseFileAccessReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseFileAccessReport) SetMigrationsLog added in v1.94.1

func (o *SparseFileAccessReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseFileAccessReport) SetZHash added in v1.94.1

func (o *SparseFileAccessReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseFileAccessReport) SetZone added in v1.94.1

func (o *SparseFileAccessReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseFileAccessReport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseFileAccessReport) Version

func (o *SparseFileAccessReport) Version() int

Version returns the hardcoded version of the model.

type SparseFileAccessReportsList

type SparseFileAccessReportsList []*SparseFileAccessReport

SparseFileAccessReportsList represents a list of SparseFileAccessReports

func (SparseFileAccessReportsList) Append

Append appends the objects to the a new copy of the SparseFileAccessReportsList.

func (SparseFileAccessReportsList) Copy

Copy returns a pointer to a copy the SparseFileAccessReportsList.

func (SparseFileAccessReportsList) DefaultOrder

func (o SparseFileAccessReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseFileAccessReportsList) Identity

Identity returns the identity of the objects in the list.

func (SparseFileAccessReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseFileAccessReportsList) ToPlain

ToPlain returns the SparseFileAccessReportsList converted to FileAccessReportsList.

func (SparseFileAccessReportsList) Version

func (o SparseFileAccessReportsList) Version() int

Version returns the version of the content.

type SparseFilePath

type SparseFilePath struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// FilePath refer to the file mount path.
	Filepath *string `json:"filepath,omitempty" msgpack:"filepath,omitempty" bson:"filepath,omitempty" mapstructure:"filepath,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// server is the server name/ID/IP associated with the file path.
	Server *string `json:"server,omitempty" msgpack:"server,omitempty" bson:"server,omitempty" mapstructure:"server,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseFilePath represents the sparse version of a filepath.

func NewSparseFilePath

func NewSparseFilePath() *SparseFilePath

NewSparseFilePath returns a new SparseFilePath.

func (*SparseFilePath) DeepCopy

func (o *SparseFilePath) DeepCopy() *SparseFilePath

DeepCopy returns a deep copy if the SparseFilePath.

func (*SparseFilePath) DeepCopyInto

func (o *SparseFilePath) DeepCopyInto(out *SparseFilePath)

DeepCopyInto copies the receiver into the given *SparseFilePath.

func (*SparseFilePath) GetAnnotations

func (o *SparseFilePath) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseFilePath) GetArchived

func (o *SparseFilePath) GetArchived() (out bool)

GetArchived returns the Archived of the receiver.

func (*SparseFilePath) GetAssociatedTags

func (o *SparseFilePath) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseFilePath) GetBSON added in v1.80.0

func (o *SparseFilePath) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFilePath) GetCreateIdempotencyKey

func (o *SparseFilePath) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseFilePath) GetCreateTime

func (o *SparseFilePath) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseFilePath) GetDescription

func (o *SparseFilePath) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseFilePath) GetMetadata

func (o *SparseFilePath) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseFilePath) GetMigrationsLog added in v1.30.0

func (o *SparseFilePath) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseFilePath) GetName

func (o *SparseFilePath) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseFilePath) GetNamespace

func (o *SparseFilePath) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseFilePath) GetNormalizedTags

func (o *SparseFilePath) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseFilePath) GetPropagate

func (o *SparseFilePath) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseFilePath) GetProtected

func (o *SparseFilePath) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseFilePath) GetUpdateIdempotencyKey

func (o *SparseFilePath) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseFilePath) GetUpdateTime

func (o *SparseFilePath) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseFilePath) GetZHash

func (o *SparseFilePath) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseFilePath) GetZone

func (o *SparseFilePath) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseFilePath) Identifier

func (o *SparseFilePath) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseFilePath) Identity

func (o *SparseFilePath) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseFilePath) SetAnnotations

func (o *SparseFilePath) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseFilePath) SetArchived

func (o *SparseFilePath) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the address of the given value.

func (*SparseFilePath) SetAssociatedTags

func (o *SparseFilePath) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseFilePath) SetBSON added in v1.80.0

func (o *SparseFilePath) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFilePath) SetCreateIdempotencyKey

func (o *SparseFilePath) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseFilePath) SetCreateTime

func (o *SparseFilePath) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseFilePath) SetDescription

func (o *SparseFilePath) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseFilePath) SetIdentifier

func (o *SparseFilePath) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseFilePath) SetMetadata

func (o *SparseFilePath) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseFilePath) SetMigrationsLog added in v1.30.0

func (o *SparseFilePath) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseFilePath) SetName

func (o *SparseFilePath) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseFilePath) SetNamespace

func (o *SparseFilePath) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseFilePath) SetNormalizedTags

func (o *SparseFilePath) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseFilePath) SetPropagate

func (o *SparseFilePath) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseFilePath) SetProtected

func (o *SparseFilePath) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseFilePath) SetUpdateIdempotencyKey

func (o *SparseFilePath) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseFilePath) SetUpdateTime

func (o *SparseFilePath) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseFilePath) SetZHash

func (o *SparseFilePath) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseFilePath) SetZone

func (o *SparseFilePath) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseFilePath) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseFilePath) Version

func (o *SparseFilePath) Version() int

Version returns the hardcoded version of the model.

type SparseFilePathsList

type SparseFilePathsList []*SparseFilePath

SparseFilePathsList represents a list of SparseFilePaths

func (SparseFilePathsList) Append

Append appends the objects to the a new copy of the SparseFilePathsList.

func (SparseFilePathsList) Copy

Copy returns a pointer to a copy the SparseFilePathsList.

func (SparseFilePathsList) DefaultOrder

func (o SparseFilePathsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseFilePathsList) Identity

func (o SparseFilePathsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseFilePathsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseFilePathsList) ToPlain

ToPlain returns the SparseFilePathsList converted to FilePathsList.

func (SparseFilePathsList) Version

func (o SparseFilePathsList) Version() int

Version returns the version of the content.

type SparseFlowReport

type SparseFlowReport struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Action applied to the flow.
	Action *FlowReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"a,omitempty" mapstructure:"action,omitempty"`

	// Identifier of the destination controller.
	DestinationController *string `` /* 146-byte string literal not displayed */

	// ID of the destination.
	DestinationID *string `json:"destinationID,omitempty" msgpack:"destinationID,omitempty" bson:"c,omitempty" mapstructure:"destinationID,omitempty"`

	// Destination IP address.
	DestinationIP *string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"d,omitempty" mapstructure:"destinationIP,omitempty"`

	// Namespace of the destination. This is deprecated. Use `remoteNamespace`. This
	// property does nothing.
	DestinationNamespace *string `` /* 143-byte string literal not displayed */

	// Identifier of the destination platform.
	DestinationPlatform *string `` /* 140-byte string literal not displayed */

	// Port of the destination.
	DestinationPort *int `` /* 128-byte string literal not displayed */

	// Destination type.
	DestinationType *FlowReportDestinationTypeValue `` /* 128-byte string literal not displayed */

	// This field is only set if `action` is set to `Reject`. It specifies the reason
	// for the rejection.
	DropReason *string `json:"dropReason,omitempty" msgpack:"dropReason,omitempty" bson:"i,omitempty" mapstructure:"dropReason,omitempty"`

	// If `true`, the flow was encrypted.
	Encrypted *bool `json:"encrypted,omitempty" msgpack:"encrypted,omitempty" bson:"j,omitempty" mapstructure:"encrypted,omitempty"`

	// ID of the enforcer where the report was collected.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"ak,omitempty" mapstructure:"enforcerID,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// This is here for backward compatibility.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"k,omitempty" mapstructure:"namespace,omitempty"`

	// If `true`, design mode is on.
	Observed *bool `json:"observed,omitempty" msgpack:"observed,omitempty" bson:"l,omitempty" mapstructure:"observed,omitempty"`

	// Action observed on the flow.
	ObservedAction *FlowReportObservedActionValue `json:"observedAction,omitempty" msgpack:"observedAction,omitempty" bson:"m,omitempty" mapstructure:"observedAction,omitempty"`

	// Specifies the reason for a rejection. Only set if `observedAction` is set
	// to `Reject`.
	ObservedDropReason *string `` /* 137-byte string literal not displayed */

	// Value of the encryption of the network policy that observed the flow.
	ObservedEncrypted *bool `` /* 134-byte string literal not displayed */

	// ID of the network policy that observed the flow.
	ObservedPolicyID *string `` /* 131-byte string literal not displayed */

	// Namespace of the network policy that observed the flow.
	ObservedPolicyNamespace *string `` /* 152-byte string literal not displayed */

	// ID of the network policy that accepted the flow.
	PolicyID *string `json:"policyID,omitempty" msgpack:"policyID,omitempty" bson:"r,omitempty" mapstructure:"policyID,omitempty"`

	// Namespace of the network policy that accepted the flow.
	PolicyNamespace *string `` /* 128-byte string literal not displayed */

	// Protocol number.
	Protocol *int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"t,omitempty" mapstructure:"protocol,omitempty"`

	// Namespace of the object at the other end of the flow.
	RemoteNamespace *string `` /* 128-byte string literal not displayed */

	// ID of the network policy that accepted the flow at the remote endpoint.
	RemotePolicyID *string `` /* 126-byte string literal not displayed */

	// Contains the eventual name assigned to the particular rule in the
	// NetworkRuleSetPolicy that acted on the flow.
	RuleName *string `json:"ruleName,omitempty" msgpack:"ruleName,omitempty" bson:"ba,omitempty" mapstructure:"ruleName,omitempty"`

	// Hash of the claims used to communicate.
	ServiceClaimHash *string `` /* 131-byte string literal not displayed */

	// ID of the service.
	ServiceID *string `json:"serviceID,omitempty" msgpack:"serviceID,omitempty" bson:"w,omitempty" mapstructure:"serviceID,omitempty"`

	// Namespace of Service accessed.
	ServiceNamespace *string `` /* 131-byte string literal not displayed */

	// ID of the service.
	ServiceType *FlowReportServiceTypeValue `json:"serviceType,omitempty" msgpack:"serviceType,omitempty" bson:"y,omitempty" mapstructure:"serviceType,omitempty"`

	// Service URL accessed.
	ServiceURL *string `json:"serviceURL,omitempty" msgpack:"serviceURL,omitempty" bson:"z,omitempty" mapstructure:"serviceURL,omitempty"`

	// Identifier of the source controller.
	SourceController *string `` /* 132-byte string literal not displayed */

	// ID of the source.
	SourceID *string `json:"sourceID,omitempty" msgpack:"sourceID,omitempty" bson:"ab,omitempty" mapstructure:"sourceID,omitempty"`

	// Type of the source.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"ac,omitempty" mapstructure:"sourceIP,omitempty"`

	// Namespace of the source. This is deprecated. Use `remoteNamespace`. This
	// property does nothing.
	SourceNamespace *string `` /* 129-byte string literal not displayed */

	// Identifier of the source platform.
	SourcePlatform *string `` /* 126-byte string literal not displayed */

	// Type of the source.
	SourceType *FlowReportSourceTypeValue `json:"sourceType,omitempty" msgpack:"sourceType,omitempty" bson:"af,omitempty" mapstructure:"sourceType,omitempty"`

	// Time and date of the log.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"ag,omitempty" mapstructure:"timestamp,omitempty"`

	// Number of flows in the log.
	Value *int `json:"value,omitempty" msgpack:"value,omitempty" bson:"ah,omitempty" mapstructure:"value,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseFlowReport represents the sparse version of a flowreport.

func NewSparseFlowReport

func NewSparseFlowReport() *SparseFlowReport

NewSparseFlowReport returns a new SparseFlowReport.

func (*SparseFlowReport) DeepCopy

func (o *SparseFlowReport) DeepCopy() *SparseFlowReport

DeepCopy returns a deep copy if the SparseFlowReport.

func (*SparseFlowReport) DeepCopyInto

func (o *SparseFlowReport) DeepCopyInto(out *SparseFlowReport)

DeepCopyInto copies the receiver into the given *SparseFlowReport.

func (*SparseFlowReport) GetBSON added in v1.80.0

func (o *SparseFlowReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFlowReport) GetMigrationsLog added in v1.94.1

func (o *SparseFlowReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseFlowReport) GetZHash added in v1.94.1

func (o *SparseFlowReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseFlowReport) GetZone added in v1.94.1

func (o *SparseFlowReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseFlowReport) Identifier

func (o *SparseFlowReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseFlowReport) Identity

func (o *SparseFlowReport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseFlowReport) SetBSON added in v1.80.0

func (o *SparseFlowReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseFlowReport) SetIdentifier

func (o *SparseFlowReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseFlowReport) SetMigrationsLog added in v1.94.1

func (o *SparseFlowReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseFlowReport) SetZHash added in v1.94.1

func (o *SparseFlowReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseFlowReport) SetZone added in v1.94.1

func (o *SparseFlowReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseFlowReport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseFlowReport) Version

func (o *SparseFlowReport) Version() int

Version returns the hardcoded version of the model.

type SparseFlowReportsList

type SparseFlowReportsList []*SparseFlowReport

SparseFlowReportsList represents a list of SparseFlowReports

func (SparseFlowReportsList) Append

Append appends the objects to the a new copy of the SparseFlowReportsList.

func (SparseFlowReportsList) Copy

Copy returns a pointer to a copy the SparseFlowReportsList.

func (SparseFlowReportsList) DefaultOrder

func (o SparseFlowReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseFlowReportsList) Identity

Identity returns the identity of the objects in the list.

func (SparseFlowReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseFlowReportsList) ToPlain

ToPlain returns the SparseFlowReportsList converted to FlowReportsList.

func (SparseFlowReportsList) Version

func (o SparseFlowReportsList) Version() int

Version returns the version of the content.

type SparseGraphEdge added in v1.44.0

type SparseGraphEdge struct {
	// DB Identifier of the edge.
	ID *string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Number of accepted flows in the edge.
	AcceptedFlows *bool `` /* 134-byte string literal not displayed */

	// The date for the day bucket.
	BucketDay *time.Time `json:"-" msgpack:"-" bson:"bucketday,omitempty" mapstructure:"-,omitempty"`

	// The date for the hour bucket.
	BucketHour *time.Time `json:"-" msgpack:"-" bson:"buckethour,omitempty" mapstructure:"-,omitempty"`

	// The date for the minute bucket.
	BucketMinute *time.Time `json:"-" msgpack:"-" bson:"bucketminute,omitempty" mapstructure:"-,omitempty"`

	// The date for the month bucket.
	BucketMonth *time.Time `json:"-" msgpack:"-" bson:"bucketmonth,omitempty" mapstructure:"-,omitempty"`

	// Name of the remote destination controller if different than the current one.
	DestinationController *string `` /* 166-byte string literal not displayed */

	// ID of the destination `GraphNode` of the edge.
	DestinationID *string `` /* 134-byte string literal not displayed */

	// Type of the destination `GraphNode` of the edge.
	DestinationType *GraphEdgeDestinationTypeValue `` /* 142-byte string literal not displayed */

	// The number of encrypted flows in the edge.
	Encrypted *bool `json:"encrypted,omitempty" msgpack:"encrypted,omitempty" bson:"encrypted,omitempty" mapstructure:"encrypted,omitempty"`

	// Contains the date when the edge was first seen.
	FirstSeen *time.Time `json:"firstSeen,omitempty" msgpack:"firstSeen,omitempty" bson:"firstseen,omitempty" mapstructure:"firstSeen,omitempty"`

	// Identifier of the edge.
	FlowID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"flowid,omitempty" mapstructure:"ID,omitempty"`

	// Contains the date when the edge was last seen.
	LastSeen *time.Time `json:"lastSeen,omitempty" msgpack:"lastSeen,omitempty" bson:"lastseen,omitempty" mapstructure:"lastSeen,omitempty"`

	// Namespace of the object that reported the flow.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Number of accepted observed flows.
	ObservedAcceptedFlows *bool `` /* 166-byte string literal not displayed */

	// Number of encrypted observed flows.
	ObservedEncrypted *bool `` /* 150-byte string literal not displayed */

	// Number of rejected observed flows.
	ObservedRejectedFlows *bool `` /* 166-byte string literal not displayed */

	// Number of rejected flows in the edge.
	RejectedFlows *bool `` /* 134-byte string literal not displayed */

	// Namespace of the object that was targeted by the flow.
	RemoteNamespace *string `` /* 142-byte string literal not displayed */

	// Name of the remote source controller if different than the current one.
	SourceController *string `` /* 146-byte string literal not displayed */

	// ID of the source `GraphNode` of the edge.
	SourceID *string `json:"sourceID,omitempty" msgpack:"sourceID,omitempty" bson:"sourceid,omitempty" mapstructure:"sourceID,omitempty"`

	// Type of the source `GraphNode` of the edge.
	SourceType *GraphEdgeSourceTypeValue `json:"sourceType,omitempty" msgpack:"sourceType,omitempty" bson:"sourcetype,omitempty" mapstructure:"sourceType,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseGraphEdge represents the sparse version of a graphedge.

func NewSparseGraphEdge added in v1.44.0

func NewSparseGraphEdge() *SparseGraphEdge

NewSparseGraphEdge returns a new SparseGraphEdge.

func (*SparseGraphEdge) DeepCopy added in v1.44.0

func (o *SparseGraphEdge) DeepCopy() *SparseGraphEdge

DeepCopy returns a deep copy if the SparseGraphEdge.

func (*SparseGraphEdge) DeepCopyInto added in v1.44.0

func (o *SparseGraphEdge) DeepCopyInto(out *SparseGraphEdge)

DeepCopyInto copies the receiver into the given *SparseGraphEdge.

func (*SparseGraphEdge) GetBSON added in v1.80.0

func (o *SparseGraphEdge) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseGraphEdge) GetZHash added in v1.44.0

func (o *SparseGraphEdge) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseGraphEdge) GetZone added in v1.44.0

func (o *SparseGraphEdge) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseGraphEdge) Identifier added in v1.44.0

func (o *SparseGraphEdge) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseGraphEdge) Identity added in v1.44.0

func (o *SparseGraphEdge) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseGraphEdge) SetBSON added in v1.80.0

func (o *SparseGraphEdge) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseGraphEdge) SetIdentifier added in v1.44.0

func (o *SparseGraphEdge) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseGraphEdge) SetZHash added in v1.44.0

func (o *SparseGraphEdge) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseGraphEdge) SetZone added in v1.44.0

func (o *SparseGraphEdge) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseGraphEdge) ToPlain added in v1.44.0

ToPlain returns the plain version of the sparse model.

func (*SparseGraphEdge) Version added in v1.44.0

func (o *SparseGraphEdge) Version() int

Version returns the hardcoded version of the model.

type SparseGraphEdgesList added in v1.44.0

type SparseGraphEdgesList []*SparseGraphEdge

SparseGraphEdgesList represents a list of SparseGraphEdges

func (SparseGraphEdgesList) Append added in v1.44.0

Append appends the objects to the a new copy of the SparseGraphEdgesList.

func (SparseGraphEdgesList) Copy added in v1.44.0

Copy returns a pointer to a copy the SparseGraphEdgesList.

func (SparseGraphEdgesList) DefaultOrder added in v1.44.0

func (o SparseGraphEdgesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseGraphEdgesList) Identity added in v1.44.0

Identity returns the identity of the objects in the list.

func (SparseGraphEdgesList) List added in v1.44.0

List converts the object to an elemental.IdentifiablesList.

func (SparseGraphEdgesList) ToPlain added in v1.44.0

ToPlain returns the SparseGraphEdgesList converted to GraphEdgesList.

func (SparseGraphEdgesList) Version added in v1.44.0

func (o SparseGraphEdgesList) Version() int

Version returns the version of the content.

type SparseGraphNode added in v1.44.0

type SparseGraphNode struct {
	// Identifier of object represented by the node.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"id,omitempty" mapstructure:"ID,omitempty"`

	// Enforcement status of processing unit represented by the node.
	EnforcementStatus *string `` /* 150-byte string literal not displayed */

	// Contains the date when the edge was first seen.
	FirstSeen *time.Time `json:"firstSeen,omitempty" msgpack:"firstSeen,omitempty" bson:"firstseen,omitempty" mapstructure:"firstSeen,omitempty"`

	// ID of the group the node is eventually part of.
	GroupID *string `json:"groupID,omitempty" msgpack:"groupID,omitempty" bson:"groupid,omitempty" mapstructure:"groupID,omitempty"`

	// List of images.
	Images *[]string `json:"images,omitempty" msgpack:"images,omitempty" bson:"images,omitempty" mapstructure:"images,omitempty"`

	// Contains the date when the edge was last seen.
	LastSeen *time.Time `json:"lastSeen,omitempty" msgpack:"lastSeen,omitempty" bson:"lastseen,omitempty" mapstructure:"lastSeen,omitempty"`

	// Name of object represented by the node.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace of object represented by the node.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Status of object represented by the node.
	Status *string `json:"status,omitempty" msgpack:"status,omitempty" bson:"status,omitempty" mapstructure:"status,omitempty"`

	// Tags of object represented by the node.
	Tags *[]string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"tags,omitempty" mapstructure:"tags,omitempty"`

	// Type of object represented by the node.
	Type *GraphNodeTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// If `true` the node is marked as unreachable.
	Unreachable *bool `` /* 126-byte string literal not displayed */

	// Tags of object represented by the node.
	VulnerabilityLevel *string `` /* 154-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseGraphNode represents the sparse version of a graphnode.

func NewSparseGraphNode added in v1.44.0

func NewSparseGraphNode() *SparseGraphNode

NewSparseGraphNode returns a new SparseGraphNode.

func (*SparseGraphNode) DeepCopy added in v1.44.0

func (o *SparseGraphNode) DeepCopy() *SparseGraphNode

DeepCopy returns a deep copy if the SparseGraphNode.

func (*SparseGraphNode) DeepCopyInto added in v1.44.0

func (o *SparseGraphNode) DeepCopyInto(out *SparseGraphNode)

DeepCopyInto copies the receiver into the given *SparseGraphNode.

func (*SparseGraphNode) GetBSON added in v1.80.0

func (o *SparseGraphNode) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseGraphNode) Identifier added in v1.44.0

func (o *SparseGraphNode) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseGraphNode) Identity added in v1.44.0

func (o *SparseGraphNode) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseGraphNode) SetBSON added in v1.80.0

func (o *SparseGraphNode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseGraphNode) SetIdentifier added in v1.44.0

func (o *SparseGraphNode) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseGraphNode) ToPlain added in v1.44.0

ToPlain returns the plain version of the sparse model.

func (*SparseGraphNode) Version added in v1.44.0

func (o *SparseGraphNode) Version() int

Version returns the hardcoded version of the model.

type SparseGraphNodesList added in v1.44.0

type SparseGraphNodesList []*SparseGraphNode

SparseGraphNodesList represents a list of SparseGraphNodes

func (SparseGraphNodesList) Append added in v1.44.0

Append appends the objects to the a new copy of the SparseGraphNodesList.

func (SparseGraphNodesList) Copy added in v1.44.0

Copy returns a pointer to a copy the SparseGraphNodesList.

func (SparseGraphNodesList) DefaultOrder added in v1.44.0

func (o SparseGraphNodesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseGraphNodesList) Identity added in v1.44.0

Identity returns the identity of the objects in the list.

func (SparseGraphNodesList) List added in v1.44.0

List converts the object to an elemental.IdentifiablesList.

func (SparseGraphNodesList) ToPlain added in v1.44.0

ToPlain returns the SparseGraphNodesList converted to GraphNodesList.

func (SparseGraphNodesList) Version added in v1.44.0

func (o SparseGraphNodesList) Version() int

Version returns the version of the content.

type SparseHTTPResourceSpec

type SparseHTTPResourceSpec struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// A list of API endpoints that are exposed for the service.
	Endpoints *[]*Endpoint `json:"endpoints,omitempty" msgpack:"endpoints,omitempty" bson:"endpoints,omitempty" mapstructure:"endpoints,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseHTTPResourceSpec represents the sparse version of a httpresourcespec.

func NewSparseHTTPResourceSpec

func NewSparseHTTPResourceSpec() *SparseHTTPResourceSpec

NewSparseHTTPResourceSpec returns a new SparseHTTPResourceSpec.

func (*SparseHTTPResourceSpec) DeepCopy

DeepCopy returns a deep copy if the SparseHTTPResourceSpec.

func (*SparseHTTPResourceSpec) DeepCopyInto

func (o *SparseHTTPResourceSpec) DeepCopyInto(out *SparseHTTPResourceSpec)

DeepCopyInto copies the receiver into the given *SparseHTTPResourceSpec.

func (*SparseHTTPResourceSpec) GetAnnotations

func (o *SparseHTTPResourceSpec) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseHTTPResourceSpec) GetArchived

func (o *SparseHTTPResourceSpec) GetArchived() (out bool)

GetArchived returns the Archived of the receiver.

func (*SparseHTTPResourceSpec) GetAssociatedTags

func (o *SparseHTTPResourceSpec) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseHTTPResourceSpec) GetBSON added in v1.80.0

func (o *SparseHTTPResourceSpec) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHTTPResourceSpec) GetCreateIdempotencyKey

func (o *SparseHTTPResourceSpec) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseHTTPResourceSpec) GetCreateTime

func (o *SparseHTTPResourceSpec) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseHTTPResourceSpec) GetDescription

func (o *SparseHTTPResourceSpec) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseHTTPResourceSpec) GetMetadata

func (o *SparseHTTPResourceSpec) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseHTTPResourceSpec) GetMigrationsLog added in v1.30.0

func (o *SparseHTTPResourceSpec) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseHTTPResourceSpec) GetName

func (o *SparseHTTPResourceSpec) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseHTTPResourceSpec) GetNamespace

func (o *SparseHTTPResourceSpec) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseHTTPResourceSpec) GetNormalizedTags

func (o *SparseHTTPResourceSpec) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseHTTPResourceSpec) GetPropagate

func (o *SparseHTTPResourceSpec) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseHTTPResourceSpec) GetProtected

func (o *SparseHTTPResourceSpec) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseHTTPResourceSpec) GetUpdateIdempotencyKey

func (o *SparseHTTPResourceSpec) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseHTTPResourceSpec) GetUpdateTime

func (o *SparseHTTPResourceSpec) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseHTTPResourceSpec) GetZHash

func (o *SparseHTTPResourceSpec) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseHTTPResourceSpec) GetZone

func (o *SparseHTTPResourceSpec) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseHTTPResourceSpec) Identifier

func (o *SparseHTTPResourceSpec) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseHTTPResourceSpec) Identity

Identity returns the Identity of the sparse object.

func (*SparseHTTPResourceSpec) SetAnnotations

func (o *SparseHTTPResourceSpec) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetArchived

func (o *SparseHTTPResourceSpec) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetAssociatedTags

func (o *SparseHTTPResourceSpec) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetBSON added in v1.80.0

func (o *SparseHTTPResourceSpec) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHTTPResourceSpec) SetCreateIdempotencyKey

func (o *SparseHTTPResourceSpec) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetCreateTime

func (o *SparseHTTPResourceSpec) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetDescription

func (o *SparseHTTPResourceSpec) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetIdentifier

func (o *SparseHTTPResourceSpec) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseHTTPResourceSpec) SetMetadata

func (o *SparseHTTPResourceSpec) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetMigrationsLog added in v1.30.0

func (o *SparseHTTPResourceSpec) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetName

func (o *SparseHTTPResourceSpec) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetNamespace

func (o *SparseHTTPResourceSpec) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetNormalizedTags

func (o *SparseHTTPResourceSpec) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetPropagate

func (o *SparseHTTPResourceSpec) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetProtected

func (o *SparseHTTPResourceSpec) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetUpdateIdempotencyKey

func (o *SparseHTTPResourceSpec) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetUpdateTime

func (o *SparseHTTPResourceSpec) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetZHash

func (o *SparseHTTPResourceSpec) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) SetZone

func (o *SparseHTTPResourceSpec) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseHTTPResourceSpec) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseHTTPResourceSpec) Version

func (o *SparseHTTPResourceSpec) Version() int

Version returns the hardcoded version of the model.

type SparseHTTPResourceSpecsList

type SparseHTTPResourceSpecsList []*SparseHTTPResourceSpec

SparseHTTPResourceSpecsList represents a list of SparseHTTPResourceSpecs

func (SparseHTTPResourceSpecsList) Append

Append appends the objects to the a new copy of the SparseHTTPResourceSpecsList.

func (SparseHTTPResourceSpecsList) Copy

Copy returns a pointer to a copy the SparseHTTPResourceSpecsList.

func (SparseHTTPResourceSpecsList) DefaultOrder

func (o SparseHTTPResourceSpecsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseHTTPResourceSpecsList) Identity

Identity returns the identity of the objects in the list.

func (SparseHTTPResourceSpecsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseHTTPResourceSpecsList) ToPlain

ToPlain returns the SparseHTTPResourceSpecsList converted to HTTPResourceSpecsList.

func (SparseHTTPResourceSpecsList) Version

func (o SparseHTTPResourceSpecsList) Version() int

Version returns the version of the content.

type SparseHealthCheck added in v1.94.1

type SparseHealthCheck struct {
	// A human readable alert list describing the current state of the sub system if
	// available.
	Alerts *[]string `json:"alerts,omitempty" msgpack:"alerts,omitempty" bson:"-" mapstructure:"alerts,omitempty"`

	// The name of the observed sub system if applicable.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// The response time of the observed sub system if applicable.
	ResponseTime *string `json:"responseTime,omitempty" msgpack:"responseTime,omitempty" bson:"-" mapstructure:"responseTime,omitempty"`

	// The current health of the observed sub system.
	Status *HealthCheckStatusValue `json:"status,omitempty" msgpack:"status,omitempty" bson:"-" mapstructure:"status,omitempty"`

	// The type of the observed sub system.
	Type *HealthCheckTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseHealthCheck represents the sparse version of a healthcheck.

func NewSparseHealthCheck added in v1.94.1

func NewSparseHealthCheck() *SparseHealthCheck

NewSparseHealthCheck returns a new SparseHealthCheck.

func (*SparseHealthCheck) DeepCopy added in v1.94.1

func (o *SparseHealthCheck) DeepCopy() *SparseHealthCheck

DeepCopy returns a deep copy if the SparseHealthCheck.

func (*SparseHealthCheck) DeepCopyInto added in v1.94.1

func (o *SparseHealthCheck) DeepCopyInto(out *SparseHealthCheck)

DeepCopyInto copies the receiver into the given *SparseHealthCheck.

func (*SparseHealthCheck) GetBSON added in v1.94.1

func (o *SparseHealthCheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHealthCheck) Identifier added in v1.94.1

func (o *SparseHealthCheck) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseHealthCheck) Identity added in v1.94.1

func (o *SparseHealthCheck) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseHealthCheck) SetBSON added in v1.94.1

func (o *SparseHealthCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHealthCheck) SetIdentifier added in v1.94.1

func (o *SparseHealthCheck) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseHealthCheck) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseHealthCheck) Version added in v1.94.1

func (o *SparseHealthCheck) Version() int

Version returns the hardcoded version of the model.

type SparseHealthChecksList added in v1.94.1

type SparseHealthChecksList []*SparseHealthCheck

SparseHealthChecksList represents a list of SparseHealthChecks

func (SparseHealthChecksList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseHealthChecksList.

func (SparseHealthChecksList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseHealthChecksList.

func (SparseHealthChecksList) DefaultOrder added in v1.94.1

func (o SparseHealthChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseHealthChecksList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseHealthChecksList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseHealthChecksList) ToPlain added in v1.94.1

ToPlain returns the SparseHealthChecksList converted to HealthChecksList.

func (SparseHealthChecksList) Version added in v1.94.1

func (o SparseHealthChecksList) Version() int

Version returns the version of the content.

type SparseHit added in v1.91.0

type SparseHit struct {
	// name of the counter.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// The ID of the referenced object..
	TargetID *string `json:"targetID,omitempty" msgpack:"targetID,omitempty" bson:"-" mapstructure:"targetID,omitempty"`

	// The identity of the referenced object.
	TargetIdentity *string `` /* 138-byte string literal not displayed */

	// The value of the hit.
	Value *int `json:"value,omitempty" msgpack:"value,omitempty" bson:"-" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseHit represents the sparse version of a hit.

func NewSparseHit added in v1.91.0

func NewSparseHit() *SparseHit

NewSparseHit returns a new SparseHit.

func (*SparseHit) DeepCopy added in v1.91.0

func (o *SparseHit) DeepCopy() *SparseHit

DeepCopy returns a deep copy if the SparseHit.

func (*SparseHit) DeepCopyInto added in v1.91.0

func (o *SparseHit) DeepCopyInto(out *SparseHit)

DeepCopyInto copies the receiver into the given *SparseHit.

func (*SparseHit) GetBSON added in v1.91.0

func (o *SparseHit) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHit) Identifier added in v1.91.0

func (o *SparseHit) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseHit) Identity added in v1.91.0

func (o *SparseHit) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseHit) SetBSON added in v1.91.0

func (o *SparseHit) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHit) SetIdentifier added in v1.91.0

func (o *SparseHit) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseHit) ToPlain added in v1.91.0

func (o *SparseHit) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseHit) Version added in v1.91.0

func (o *SparseHit) Version() int

Version returns the hardcoded version of the model.

type SparseHitsList added in v1.91.0

type SparseHitsList []*SparseHit

SparseHitsList represents a list of SparseHits

func (SparseHitsList) Append added in v1.91.0

Append appends the objects to the a new copy of the SparseHitsList.

func (SparseHitsList) Copy added in v1.91.0

Copy returns a pointer to a copy the SparseHitsList.

func (SparseHitsList) DefaultOrder added in v1.91.0

func (o SparseHitsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseHitsList) Identity added in v1.91.0

func (o SparseHitsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseHitsList) List added in v1.91.0

List converts the object to an elemental.IdentifiablesList.

func (SparseHitsList) ToPlain added in v1.91.0

ToPlain returns the SparseHitsList converted to HitsList.

func (SparseHitsList) Version added in v1.91.0

func (o SparseHitsList) Version() int

Version returns the version of the content.

type SparseHookPoliciesList

type SparseHookPoliciesList []*SparseHookPolicy

SparseHookPoliciesList represents a list of SparseHookPolicies

func (SparseHookPoliciesList) Append

Append appends the objects to the a new copy of the SparseHookPoliciesList.

func (SparseHookPoliciesList) Copy

Copy returns a pointer to a copy the SparseHookPoliciesList.

func (SparseHookPoliciesList) DefaultOrder

func (o SparseHookPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseHookPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseHookPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseHookPoliciesList) ToPlain

ToPlain returns the SparseHookPoliciesList converted to HookPoliciesList.

func (SparseHookPoliciesList) Version

func (o SparseHookPoliciesList) Version() int

Version returns the version of the content.

type SparseHookPolicy

type SparseHookPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the PEM block of the certificate authority used by the remote endpoint.
	CertificateAuthority *string `` /* 162-byte string literal not displayed */

	// Contains the client certificate that will be used to connect
	// to the remote endpoint. If provided, the private key associated with this
	// certificate must also be configured.
	ClientCertificate *string `` /* 150-byte string literal not displayed */

	// Contains the key associated with the `clientCertificate`. It must be provided
	// only
	// when `clientCertificate` has been configured.
	ClientCertificateKey *string `` /* 162-byte string literal not displayed */

	// If set to `true` and `mode` is in `Pre`, the request will be honored even if
	// calling the hook fails.
	ContinueOnError *bool `` /* 142-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Contains the full address of the remote processor endpoint.
	Endpoint *string `json:"endpoint,omitempty" msgpack:"endpoint,omitempty" bson:"endpoint,omitempty" mapstructure:"endpoint,omitempty"`

	// Defines the type of endpoint for the hook.
	EndpointType *HookPolicyEndpointTypeValue `` /* 130-byte string literal not displayed */

	// If set the hook will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Defines the type of hook.
	Mode *HookPolicyModeValue `json:"mode,omitempty" msgpack:"mode,omitempty" bson:"mode,omitempty" mapstructure:"mode,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// If set to `true` while the policy is propagating, it won't be visible to
	// children
	// namespace, but still used for policy resolution.
	PropagationHidden *bool `` /* 150-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// A tag or tag expression that identifies the automation that must be run in
	// case no endpoint is provided.
	Selectors *[][]string `json:"selectors,omitempty" msgpack:"selectors,omitempty" bson:"selectors,omitempty" mapstructure:"selectors,omitempty"`

	// Contains the tag expression that an object must match in order to trigger the
	// hook.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// Select on which operation(s) you want to the hook to trigger. An empty list.
	// Only
	// means all operations. You can only set any combination of `create`, `update` or
	// `delete`. Any other value will trigger a validation error.
	TriggerOperations *[]string `` /* 150-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseHookPolicy represents the sparse version of a hookpolicy.

func NewSparseHookPolicy

func NewSparseHookPolicy() *SparseHookPolicy

NewSparseHookPolicy returns a new SparseHookPolicy.

func (*SparseHookPolicy) DecryptAttributes added in v1.57.0

func (o *SparseHookPolicy) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseHookPolicy) DeepCopy

func (o *SparseHookPolicy) DeepCopy() *SparseHookPolicy

DeepCopy returns a deep copy if the SparseHookPolicy.

func (*SparseHookPolicy) DeepCopyInto

func (o *SparseHookPolicy) DeepCopyInto(out *SparseHookPolicy)

DeepCopyInto copies the receiver into the given *SparseHookPolicy.

func (*SparseHookPolicy) EncryptAttributes added in v1.57.0

func (o *SparseHookPolicy) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseHookPolicy) GetAnnotations

func (o *SparseHookPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseHookPolicy) GetAssociatedTags

func (o *SparseHookPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseHookPolicy) GetBSON added in v1.80.0

func (o *SparseHookPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHookPolicy) GetCreateIdempotencyKey

func (o *SparseHookPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseHookPolicy) GetCreateTime

func (o *SparseHookPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseHookPolicy) GetDescription

func (o *SparseHookPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseHookPolicy) GetDisabled

func (o *SparseHookPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseHookPolicy) GetExpirationTime

func (o *SparseHookPolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseHookPolicy) GetFallback

func (o *SparseHookPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseHookPolicy) GetMetadata

func (o *SparseHookPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseHookPolicy) GetName

func (o *SparseHookPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseHookPolicy) GetNamespace

func (o *SparseHookPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseHookPolicy) GetNormalizedTags

func (o *SparseHookPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseHookPolicy) GetPropagate

func (o *SparseHookPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseHookPolicy) GetPropagationHidden

func (o *SparseHookPolicy) GetPropagationHidden() (out bool)

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*SparseHookPolicy) GetProtected

func (o *SparseHookPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseHookPolicy) GetUpdateIdempotencyKey

func (o *SparseHookPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseHookPolicy) GetUpdateTime

func (o *SparseHookPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseHookPolicy) Identifier

func (o *SparseHookPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseHookPolicy) Identity

func (o *SparseHookPolicy) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseHookPolicy) SetAnnotations

func (o *SparseHookPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseHookPolicy) SetAssociatedTags

func (o *SparseHookPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseHookPolicy) SetBSON added in v1.80.0

func (o *SparseHookPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHookPolicy) SetCreateIdempotencyKey

func (o *SparseHookPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseHookPolicy) SetCreateTime

func (o *SparseHookPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseHookPolicy) SetDescription

func (o *SparseHookPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseHookPolicy) SetDisabled

func (o *SparseHookPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseHookPolicy) SetExpirationTime

func (o *SparseHookPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseHookPolicy) SetFallback

func (o *SparseHookPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseHookPolicy) SetIdentifier

func (o *SparseHookPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseHookPolicy) SetMetadata

func (o *SparseHookPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseHookPolicy) SetName

func (o *SparseHookPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseHookPolicy) SetNamespace

func (o *SparseHookPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseHookPolicy) SetNormalizedTags

func (o *SparseHookPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseHookPolicy) SetPropagate

func (o *SparseHookPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseHookPolicy) SetPropagationHidden

func (o *SparseHookPolicy) SetPropagationHidden(propagationHidden bool)

SetPropagationHidden sets the property PropagationHidden of the receiver using the address of the given value.

func (*SparseHookPolicy) SetProtected

func (o *SparseHookPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseHookPolicy) SetUpdateIdempotencyKey

func (o *SparseHookPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseHookPolicy) SetUpdateTime

func (o *SparseHookPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseHookPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseHookPolicy) Version

func (o *SparseHookPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseHostService

type SparseHostService struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Forces the corresponding enforcers to enable host protection. When `true`, all
	// incoming and outgoing flows will be monitored. Flows will be allowed if and only
	// if a network policy has been created to allow the flow. The option applies to
	// all enforcers to which the host service is mapped.
	HostModeEnabled *bool `` /* 142-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Lists all protocols and ports a service is running. A service entry can be
	// defined
	// by a protocol and port `(tcp/80)`, or range of protocol/port pairs
	// `(udp/80:100)`.
	// If no protocol is provided, it is assumed to be TCP. Only `tcp` and `udp`
	// protocols
	// are allowed.
	Services *[]string `json:"services,omitempty" msgpack:"services,omitempty" bson:"services,omitempty" mapstructure:"services,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseHostService represents the sparse version of a hostservice.

func NewSparseHostService

func NewSparseHostService() *SparseHostService

NewSparseHostService returns a new SparseHostService.

func (*SparseHostService) DeepCopy

func (o *SparseHostService) DeepCopy() *SparseHostService

DeepCopy returns a deep copy if the SparseHostService.

func (*SparseHostService) DeepCopyInto

func (o *SparseHostService) DeepCopyInto(out *SparseHostService)

DeepCopyInto copies the receiver into the given *SparseHostService.

func (*SparseHostService) GetAnnotations

func (o *SparseHostService) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseHostService) GetArchived

func (o *SparseHostService) GetArchived() (out bool)

GetArchived returns the Archived of the receiver.

func (*SparseHostService) GetAssociatedTags

func (o *SparseHostService) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseHostService) GetBSON added in v1.80.0

func (o *SparseHostService) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHostService) GetCreateIdempotencyKey

func (o *SparseHostService) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseHostService) GetCreateTime

func (o *SparseHostService) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseHostService) GetDescription

func (o *SparseHostService) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseHostService) GetMetadata

func (o *SparseHostService) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseHostService) GetMigrationsLog added in v1.30.0

func (o *SparseHostService) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseHostService) GetName

func (o *SparseHostService) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseHostService) GetNamespace

func (o *SparseHostService) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseHostService) GetNormalizedTags

func (o *SparseHostService) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseHostService) GetPropagate

func (o *SparseHostService) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseHostService) GetProtected

func (o *SparseHostService) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseHostService) GetUpdateIdempotencyKey

func (o *SparseHostService) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseHostService) GetUpdateTime

func (o *SparseHostService) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseHostService) GetZHash

func (o *SparseHostService) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseHostService) GetZone

func (o *SparseHostService) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseHostService) Identifier

func (o *SparseHostService) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseHostService) Identity

func (o *SparseHostService) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseHostService) SetAnnotations

func (o *SparseHostService) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseHostService) SetArchived

func (o *SparseHostService) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the address of the given value.

func (*SparseHostService) SetAssociatedTags

func (o *SparseHostService) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseHostService) SetBSON added in v1.80.0

func (o *SparseHostService) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHostService) SetCreateIdempotencyKey

func (o *SparseHostService) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseHostService) SetCreateTime

func (o *SparseHostService) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseHostService) SetDescription

func (o *SparseHostService) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseHostService) SetIdentifier

func (o *SparseHostService) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseHostService) SetMetadata

func (o *SparseHostService) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseHostService) SetMigrationsLog added in v1.30.0

func (o *SparseHostService) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseHostService) SetName

func (o *SparseHostService) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseHostService) SetNamespace

func (o *SparseHostService) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseHostService) SetNormalizedTags

func (o *SparseHostService) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseHostService) SetPropagate

func (o *SparseHostService) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseHostService) SetProtected

func (o *SparseHostService) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseHostService) SetUpdateIdempotencyKey

func (o *SparseHostService) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseHostService) SetUpdateTime

func (o *SparseHostService) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseHostService) SetZHash

func (o *SparseHostService) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseHostService) SetZone

func (o *SparseHostService) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseHostService) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseHostService) Version

func (o *SparseHostService) Version() int

Version returns the hardcoded version of the model.

type SparseHostServiceMappingPoliciesList

type SparseHostServiceMappingPoliciesList []*SparseHostServiceMappingPolicy

SparseHostServiceMappingPoliciesList represents a list of SparseHostServiceMappingPolicies

func (SparseHostServiceMappingPoliciesList) Append

Append appends the objects to the a new copy of the SparseHostServiceMappingPoliciesList.

func (SparseHostServiceMappingPoliciesList) Copy

Copy returns a pointer to a copy the SparseHostServiceMappingPoliciesList.

func (SparseHostServiceMappingPoliciesList) DefaultOrder

func (o SparseHostServiceMappingPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseHostServiceMappingPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseHostServiceMappingPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseHostServiceMappingPoliciesList) ToPlain

ToPlain returns the SparseHostServiceMappingPoliciesList converted to HostServiceMappingPoliciesList.

func (SparseHostServiceMappingPoliciesList) Version

Version returns the version of the content.

type SparseHostServiceMappingPolicy

type SparseHostServiceMappingPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// A tag or tag expression identifying the host service(s) to be mapped.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// A tag or tag expression identifying the enforcer(s) that should implement
	// the specified host service(s).
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseHostServiceMappingPolicy represents the sparse version of a hostservicemappingpolicy.

func NewSparseHostServiceMappingPolicy

func NewSparseHostServiceMappingPolicy() *SparseHostServiceMappingPolicy

NewSparseHostServiceMappingPolicy returns a new SparseHostServiceMappingPolicy.

func (*SparseHostServiceMappingPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseHostServiceMappingPolicy.

func (*SparseHostServiceMappingPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseHostServiceMappingPolicy.

func (*SparseHostServiceMappingPolicy) GetActiveDuration

func (o *SparseHostServiceMappingPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseHostServiceMappingPolicy) GetActiveSchedule

func (o *SparseHostServiceMappingPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseHostServiceMappingPolicy) GetAnnotations

func (o *SparseHostServiceMappingPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseHostServiceMappingPolicy) GetAssociatedTags

func (o *SparseHostServiceMappingPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseHostServiceMappingPolicy) GetBSON added in v1.80.0

func (o *SparseHostServiceMappingPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHostServiceMappingPolicy) GetCreateIdempotencyKey

func (o *SparseHostServiceMappingPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseHostServiceMappingPolicy) GetCreateTime

func (o *SparseHostServiceMappingPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseHostServiceMappingPolicy) GetDescription

func (o *SparseHostServiceMappingPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseHostServiceMappingPolicy) GetDisabled

func (o *SparseHostServiceMappingPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseHostServiceMappingPolicy) GetFallback

func (o *SparseHostServiceMappingPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseHostServiceMappingPolicy) GetMetadata

func (o *SparseHostServiceMappingPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseHostServiceMappingPolicy) GetName

func (o *SparseHostServiceMappingPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseHostServiceMappingPolicy) GetNamespace

func (o *SparseHostServiceMappingPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseHostServiceMappingPolicy) GetNormalizedTags

func (o *SparseHostServiceMappingPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseHostServiceMappingPolicy) GetPropagate

func (o *SparseHostServiceMappingPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseHostServiceMappingPolicy) GetProtected

func (o *SparseHostServiceMappingPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseHostServiceMappingPolicy) GetUpdateIdempotencyKey

func (o *SparseHostServiceMappingPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseHostServiceMappingPolicy) GetUpdateTime

func (o *SparseHostServiceMappingPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseHostServiceMappingPolicy) Identifier

func (o *SparseHostServiceMappingPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseHostServiceMappingPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseHostServiceMappingPolicy) SetActiveDuration

func (o *SparseHostServiceMappingPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetActiveSchedule

func (o *SparseHostServiceMappingPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetAnnotations

func (o *SparseHostServiceMappingPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetAssociatedTags

func (o *SparseHostServiceMappingPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetBSON added in v1.80.0

func (o *SparseHostServiceMappingPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseHostServiceMappingPolicy) SetCreateIdempotencyKey

func (o *SparseHostServiceMappingPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetCreateTime

func (o *SparseHostServiceMappingPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetDescription

func (o *SparseHostServiceMappingPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetDisabled

func (o *SparseHostServiceMappingPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetFallback

func (o *SparseHostServiceMappingPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetIdentifier

func (o *SparseHostServiceMappingPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseHostServiceMappingPolicy) SetMetadata

func (o *SparseHostServiceMappingPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetName

func (o *SparseHostServiceMappingPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetNamespace

func (o *SparseHostServiceMappingPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetNormalizedTags

func (o *SparseHostServiceMappingPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetPropagate

func (o *SparseHostServiceMappingPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetProtected

func (o *SparseHostServiceMappingPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetUpdateIdempotencyKey

func (o *SparseHostServiceMappingPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) SetUpdateTime

func (o *SparseHostServiceMappingPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseHostServiceMappingPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseHostServiceMappingPolicy) Version

func (o *SparseHostServiceMappingPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseHostServicesList

type SparseHostServicesList []*SparseHostService

SparseHostServicesList represents a list of SparseHostServices

func (SparseHostServicesList) Append

Append appends the objects to the a new copy of the SparseHostServicesList.

func (SparseHostServicesList) Copy

Copy returns a pointer to a copy the SparseHostServicesList.

func (SparseHostServicesList) DefaultOrder

func (o SparseHostServicesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseHostServicesList) Identity

Identity returns the identity of the objects in the list.

func (SparseHostServicesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseHostServicesList) ToPlain

ToPlain returns the SparseHostServicesList converted to HostServicesList.

func (SparseHostServicesList) Version

func (o SparseHostServicesList) Version() int

Version returns the version of the content.

type SparseIPInfo

type SparseIPInfo struct {
	// The IP address.
	IP *string `json:"IP,omitempty" msgpack:"IP,omitempty" bson:"-" mapstructure:"IP,omitempty"`

	// Error that occurred during resolution.
	Error *string `json:"error,omitempty" msgpack:"error,omitempty" bson:"-" mapstructure:"error,omitempty"`

	// List of DNS records associated with the IP address.
	Records *map[string]string `json:"records,omitempty" msgpack:"records,omitempty" bson:"-" mapstructure:"records,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseIPInfo represents the sparse version of a ipinfo.

func NewSparseIPInfo

func NewSparseIPInfo() *SparseIPInfo

NewSparseIPInfo returns a new SparseIPInfo.

func (*SparseIPInfo) DeepCopy

func (o *SparseIPInfo) DeepCopy() *SparseIPInfo

DeepCopy returns a deep copy if the SparseIPInfo.

func (*SparseIPInfo) DeepCopyInto

func (o *SparseIPInfo) DeepCopyInto(out *SparseIPInfo)

DeepCopyInto copies the receiver into the given *SparseIPInfo.

func (*SparseIPInfo) GetBSON added in v1.80.0

func (o *SparseIPInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseIPInfo) Identifier

func (o *SparseIPInfo) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseIPInfo) Identity

func (o *SparseIPInfo) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseIPInfo) SetBSON added in v1.80.0

func (o *SparseIPInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseIPInfo) SetIdentifier

func (o *SparseIPInfo) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseIPInfo) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseIPInfo) Version

func (o *SparseIPInfo) Version() int

Version returns the hardcoded version of the model.

type SparseIPInfosList

type SparseIPInfosList []*SparseIPInfo

SparseIPInfosList represents a list of SparseIPInfos

func (SparseIPInfosList) Append

Append appends the objects to the a new copy of the SparseIPInfosList.

func (SparseIPInfosList) Copy

Copy returns a pointer to a copy the SparseIPInfosList.

func (SparseIPInfosList) DefaultOrder

func (o SparseIPInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseIPInfosList) Identity

func (o SparseIPInfosList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseIPInfosList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseIPInfosList) ToPlain

ToPlain returns the SparseIPInfosList converted to IPInfosList.

func (SparseIPInfosList) Version

func (o SparseIPInfosList) Version() int

Version returns the version of the content.

type SparseImport

type SparseImport struct {
	// Data to import.
	Data *Export `json:"data,omitempty" msgpack:"data,omitempty" bson:"-" mapstructure:"data,omitempty"`

	// How to import the data: `ReplacePartial`, `Import` (default), or `Remove`.
	// `ReplacePartial`
	// is deprecated. Use `Import` instead. While you can use `ReplacePartial` it will
	// be interpreted
	// as `Import`.
	Mode *ImportModeValue `json:"mode,omitempty" msgpack:"mode,omitempty" bson:"-" mapstructure:"mode,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) GetBSON added in v1.80.0

func (o *SparseImport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

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) SetBSON added in v1.80.0

func (o *SparseImport) SetBSON(raw bson.Raw) error

SetBSON 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

ToPlain returns the plain version of the sparse model.

func (*SparseImport) Version

func (o *SparseImport) Version() int

Version returns the hardcoded version of the model.

type SparseImportReference added in v1.1.0

type SparseImportReference struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the claims of the client that performed the import.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// Define the import constraint. If Unrestricted, import
	// can be deployed multiple times. If Unique, only one import is allowed
	// in the current namespace and its child namespaces. If NamespaceUnique, only
	// one import is allowed in the current namespace.
	Constraint *ImportReferenceConstraintValue `json:"constraint,omitempty" msgpack:"constraint,omitempty" bson:"constraint,omitempty" mapstructure:"constraint,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Data to import.
	Data *Export `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Label used for the imported data.
	Label *string `json:"label,omitempty" msgpack:"label,omitempty" bson:"label,omitempty" mapstructure:"label,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseImportReference represents the sparse version of a importreference.

func NewSparseImportReference added in v1.1.0

func NewSparseImportReference() *SparseImportReference

NewSparseImportReference returns a new SparseImportReference.

func (*SparseImportReference) DeepCopy added in v1.1.0

DeepCopy returns a deep copy if the SparseImportReference.

func (*SparseImportReference) DeepCopyInto added in v1.1.0

func (o *SparseImportReference) DeepCopyInto(out *SparseImportReference)

DeepCopyInto copies the receiver into the given *SparseImportReference.

func (*SparseImportReference) GetAnnotations added in v1.1.0

func (o *SparseImportReference) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseImportReference) GetAssociatedTags added in v1.1.0

func (o *SparseImportReference) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseImportReference) GetBSON added in v1.80.0

func (o *SparseImportReference) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseImportReference) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseImportReference) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseImportReference) GetCreateTime added in v1.1.0

func (o *SparseImportReference) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseImportReference) GetDescription added in v1.1.0

func (o *SparseImportReference) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseImportReference) GetMetadata added in v1.1.0

func (o *SparseImportReference) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseImportReference) GetMigrationsLog added in v1.30.0

func (o *SparseImportReference) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseImportReference) GetName added in v1.1.0

func (o *SparseImportReference) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseImportReference) GetNamespace added in v1.1.0

func (o *SparseImportReference) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseImportReference) GetNormalizedTags added in v1.1.0

func (o *SparseImportReference) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseImportReference) GetProtected added in v1.1.0

func (o *SparseImportReference) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseImportReference) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseImportReference) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseImportReference) GetUpdateTime added in v1.1.0

func (o *SparseImportReference) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseImportReference) GetZHash added in v1.1.0

func (o *SparseImportReference) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseImportReference) GetZone added in v1.1.0

func (o *SparseImportReference) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseImportReference) Identifier added in v1.1.0

func (o *SparseImportReference) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseImportReference) Identity added in v1.1.0

Identity returns the Identity of the sparse object.

func (*SparseImportReference) SetAnnotations added in v1.1.0

func (o *SparseImportReference) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseImportReference) SetAssociatedTags added in v1.1.0

func (o *SparseImportReference) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseImportReference) SetBSON added in v1.80.0

func (o *SparseImportReference) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseImportReference) SetCreateIdempotencyKey added in v1.1.0

func (o *SparseImportReference) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseImportReference) SetCreateTime added in v1.1.0

func (o *SparseImportReference) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseImportReference) SetDescription added in v1.1.0

func (o *SparseImportReference) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseImportReference) SetIdentifier added in v1.1.0

func (o *SparseImportReference) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseImportReference) SetMetadata added in v1.1.0

func (o *SparseImportReference) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseImportReference) SetMigrationsLog added in v1.30.0

func (o *SparseImportReference) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseImportReference) SetName added in v1.1.0

func (o *SparseImportReference) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseImportReference) SetNamespace added in v1.1.0

func (o *SparseImportReference) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseImportReference) SetNormalizedTags added in v1.1.0

func (o *SparseImportReference) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseImportReference) SetProtected added in v1.1.0

func (o *SparseImportReference) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseImportReference) SetUpdateIdempotencyKey added in v1.1.0

func (o *SparseImportReference) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseImportReference) SetUpdateTime added in v1.1.0

func (o *SparseImportReference) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseImportReference) SetZHash added in v1.1.0

func (o *SparseImportReference) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseImportReference) SetZone added in v1.1.0

func (o *SparseImportReference) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseImportReference) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseImportReference) Version added in v1.1.0

func (o *SparseImportReference) Version() int

Version returns the hardcoded version of the model.

type SparseImportReferencesList added in v1.1.0

type SparseImportReferencesList []*SparseImportReference

SparseImportReferencesList represents a list of SparseImportReferences

func (SparseImportReferencesList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseImportReferencesList.

func (SparseImportReferencesList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseImportReferencesList.

func (SparseImportReferencesList) DefaultOrder added in v1.1.0

func (o SparseImportReferencesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseImportReferencesList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (SparseImportReferencesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseImportReferencesList) ToPlain added in v1.1.0

ToPlain returns the SparseImportReferencesList converted to ImportReferencesList.

func (SparseImportReferencesList) Version added in v1.1.0

func (o SparseImportReferencesList) Version() int

Version returns the version of the content.

type SparseImportRequest

type SparseImportRequest struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// A new comment that will be added to `commentFeed`.
	Comment *string `json:"comment,omitempty" msgpack:"comment,omitempty" bson:"-" mapstructure:"comment,omitempty"`

	// List of comments that have been added to that request.
	CommentFeed *[]*Comment `` /* 126-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Data to import.
	Data *map[string][]map[string]interface{} `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// The identity claims of the requester; populated by the Microsegmentation
	// Console.
	RequesterClaims *[]string `` /* 142-byte string literal not displayed */

	// The namespace from which the request originated; populated by the
	// Microsegmentation Console.
	RequesterNamespace *string `` /* 154-byte string literal not displayed */

	// Allows the content to be changed. `Submitted`: the request moves to the target
	// namespace
	// for approval. `Approved`: the data will be created immediately. `Rejected`: the
	// request
	// cannot be changed anymore and can be deleted.
	Status *ImportRequestStatusValue `json:"status,omitempty" msgpack:"status,omitempty" bson:"status,omitempty" mapstructure:"status,omitempty"`

	// Internal field to know if the request has been submitted once.
	SubmittedOnce *bool `json:"-" msgpack:"-" bson:"submittedonce,omitempty" mapstructure:"-,omitempty"`

	// The namespace where the request will be sent. The requester can set any
	// namespace but
	// needs to have an authorization to post the request in that namespace.
	TargetNamespace *string `` /* 142-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseImportRequest represents the sparse version of a importrequest.

func NewSparseImportRequest

func NewSparseImportRequest() *SparseImportRequest

NewSparseImportRequest returns a new SparseImportRequest.

func (*SparseImportRequest) DeepCopy

DeepCopy returns a deep copy if the SparseImportRequest.

func (*SparseImportRequest) DeepCopyInto

func (o *SparseImportRequest) DeepCopyInto(out *SparseImportRequest)

DeepCopyInto copies the receiver into the given *SparseImportRequest.

func (*SparseImportRequest) GetAnnotations

func (o *SparseImportRequest) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseImportRequest) GetAssociatedTags

func (o *SparseImportRequest) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseImportRequest) GetBSON added in v1.80.0

func (o *SparseImportRequest) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseImportRequest) GetCreateIdempotencyKey

func (o *SparseImportRequest) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseImportRequest) GetCreateTime

func (o *SparseImportRequest) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseImportRequest) GetDescription

func (o *SparseImportRequest) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseImportRequest) GetMigrationsLog added in v1.30.0

func (o *SparseImportRequest) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseImportRequest) GetNamespace

func (o *SparseImportRequest) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseImportRequest) GetNormalizedTags

func (o *SparseImportRequest) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseImportRequest) GetProtected

func (o *SparseImportRequest) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseImportRequest) GetUpdateIdempotencyKey

func (o *SparseImportRequest) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseImportRequest) GetUpdateTime

func (o *SparseImportRequest) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseImportRequest) GetZHash

func (o *SparseImportRequest) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseImportRequest) GetZone

func (o *SparseImportRequest) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseImportRequest) Identifier

func (o *SparseImportRequest) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseImportRequest) Identity

func (o *SparseImportRequest) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseImportRequest) SetAnnotations

func (o *SparseImportRequest) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseImportRequest) SetAssociatedTags

func (o *SparseImportRequest) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseImportRequest) SetBSON added in v1.80.0

func (o *SparseImportRequest) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseImportRequest) SetCreateIdempotencyKey

func (o *SparseImportRequest) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseImportRequest) SetCreateTime

func (o *SparseImportRequest) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseImportRequest) SetDescription

func (o *SparseImportRequest) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseImportRequest) SetIdentifier

func (o *SparseImportRequest) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseImportRequest) SetMigrationsLog added in v1.30.0

func (o *SparseImportRequest) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseImportRequest) SetNamespace

func (o *SparseImportRequest) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseImportRequest) SetNormalizedTags

func (o *SparseImportRequest) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseImportRequest) SetProtected

func (o *SparseImportRequest) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseImportRequest) SetUpdateIdempotencyKey

func (o *SparseImportRequest) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseImportRequest) SetUpdateTime

func (o *SparseImportRequest) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseImportRequest) SetZHash

func (o *SparseImportRequest) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseImportRequest) SetZone

func (o *SparseImportRequest) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseImportRequest) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseImportRequest) Version

func (o *SparseImportRequest) Version() int

Version returns the hardcoded version of the model.

type SparseImportRequestsList

type SparseImportRequestsList []*SparseImportRequest

SparseImportRequestsList represents a list of SparseImportRequests

func (SparseImportRequestsList) Append

Append appends the objects to the a new copy of the SparseImportRequestsList.

func (SparseImportRequestsList) Copy

Copy returns a pointer to a copy the SparseImportRequestsList.

func (SparseImportRequestsList) DefaultOrder

func (o SparseImportRequestsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseImportRequestsList) Identity

Identity returns the identity of the objects in the list.

func (SparseImportRequestsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseImportRequestsList) ToPlain

ToPlain returns the SparseImportRequestsList converted to ImportRequestsList.

func (SparseImportRequestsList) Version

func (o SparseImportRequestsList) Version() int

Version returns the version of the content.

type SparseImportsList

type SparseImportsList []*SparseImport

SparseImportsList represents a list of SparseImports

func (SparseImportsList) Append

Append appends the objects to the a new copy of the SparseImportsList.

func (SparseImportsList) Copy

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

List converts the object to an elemental.IdentifiablesList.

func (SparseImportsList) ToPlain

ToPlain returns the SparseImportsList converted to ImportsList.

func (SparseImportsList) Version

func (o SparseImportsList) Version() int

Version returns the version of the content.

type SparseInfrastructurePoliciesList added in v1.1.0

type SparseInfrastructurePoliciesList []*SparseInfrastructurePolicy

SparseInfrastructurePoliciesList represents a list of SparseInfrastructurePolicies

func (SparseInfrastructurePoliciesList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseInfrastructurePoliciesList.

func (SparseInfrastructurePoliciesList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseInfrastructurePoliciesList.

func (SparseInfrastructurePoliciesList) DefaultOrder added in v1.1.0

func (o SparseInfrastructurePoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseInfrastructurePoliciesList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (SparseInfrastructurePoliciesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseInfrastructurePoliciesList) ToPlain added in v1.1.0

ToPlain returns the SparseInfrastructurePoliciesList converted to InfrastructurePoliciesList.

func (SparseInfrastructurePoliciesList) Version added in v1.1.0

Version returns the version of the content.

type SparseInfrastructurePolicy added in v1.1.0

type SparseInfrastructurePolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines the action to apply to a flow.
	Action *InfrastructurePolicyActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"-" mapstructure:"action,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Determines if the policy applies to the outgoing traffic of the `subject` or the
	// incoming traffic of the `subject`. `OutgoingTraffic` (default) or
	// `IncomingTraffic`.
	ApplyPolicyMode *InfrastructurePolicyApplyPolicyModeValue `json:"applyPolicyMode,omitempty" msgpack:"applyPolicyMode,omitempty" bson:"-" mapstructure:"applyPolicyMode,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Object of the policy.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Subject of the policy.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseInfrastructurePolicy represents the sparse version of a infrastructurepolicy.

func NewSparseInfrastructurePolicy added in v1.1.0

func NewSparseInfrastructurePolicy() *SparseInfrastructurePolicy

NewSparseInfrastructurePolicy returns a new SparseInfrastructurePolicy.

func (*SparseInfrastructurePolicy) DeepCopy added in v1.1.0

DeepCopy returns a deep copy if the SparseInfrastructurePolicy.

func (*SparseInfrastructurePolicy) DeepCopyInto added in v1.1.0

DeepCopyInto copies the receiver into the given *SparseInfrastructurePolicy.

func (*SparseInfrastructurePolicy) GetActiveDuration added in v1.1.0

func (o *SparseInfrastructurePolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseInfrastructurePolicy) GetActiveSchedule added in v1.1.0

func (o *SparseInfrastructurePolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseInfrastructurePolicy) GetAnnotations added in v1.1.0

func (o *SparseInfrastructurePolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseInfrastructurePolicy) GetAssociatedTags added in v1.1.0

func (o *SparseInfrastructurePolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseInfrastructurePolicy) GetBSON added in v1.80.0

func (o *SparseInfrastructurePolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseInfrastructurePolicy) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseInfrastructurePolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseInfrastructurePolicy) GetCreateTime added in v1.1.0

func (o *SparseInfrastructurePolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseInfrastructurePolicy) GetDescription added in v1.1.0

func (o *SparseInfrastructurePolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseInfrastructurePolicy) GetDisabled added in v1.1.0

func (o *SparseInfrastructurePolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseInfrastructurePolicy) GetExpirationTime added in v1.1.0

func (o *SparseInfrastructurePolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseInfrastructurePolicy) GetMetadata added in v1.1.0

func (o *SparseInfrastructurePolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseInfrastructurePolicy) GetName added in v1.1.0

func (o *SparseInfrastructurePolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseInfrastructurePolicy) GetNamespace added in v1.1.0

func (o *SparseInfrastructurePolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseInfrastructurePolicy) GetNormalizedTags added in v1.1.0

func (o *SparseInfrastructurePolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseInfrastructurePolicy) GetProtected added in v1.1.0

func (o *SparseInfrastructurePolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseInfrastructurePolicy) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseInfrastructurePolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseInfrastructurePolicy) GetUpdateTime added in v1.1.0

func (o *SparseInfrastructurePolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseInfrastructurePolicy) Identifier added in v1.1.0

func (o *SparseInfrastructurePolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseInfrastructurePolicy) Identity added in v1.1.0

Identity returns the Identity of the sparse object.

func (*SparseInfrastructurePolicy) SetActiveDuration added in v1.1.0

func (o *SparseInfrastructurePolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetActiveSchedule added in v1.1.0

func (o *SparseInfrastructurePolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetAnnotations added in v1.1.0

func (o *SparseInfrastructurePolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetAssociatedTags added in v1.1.0

func (o *SparseInfrastructurePolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetBSON added in v1.80.0

func (o *SparseInfrastructurePolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseInfrastructurePolicy) SetCreateIdempotencyKey added in v1.1.0

func (o *SparseInfrastructurePolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetCreateTime added in v1.1.0

func (o *SparseInfrastructurePolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetDescription added in v1.1.0

func (o *SparseInfrastructurePolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetDisabled added in v1.1.0

func (o *SparseInfrastructurePolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetExpirationTime added in v1.1.0

func (o *SparseInfrastructurePolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetIdentifier added in v1.1.0

func (o *SparseInfrastructurePolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseInfrastructurePolicy) SetMetadata added in v1.1.0

func (o *SparseInfrastructurePolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetName added in v1.1.0

func (o *SparseInfrastructurePolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetNamespace added in v1.1.0

func (o *SparseInfrastructurePolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetNormalizedTags added in v1.1.0

func (o *SparseInfrastructurePolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetProtected added in v1.1.0

func (o *SparseInfrastructurePolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetUpdateIdempotencyKey added in v1.1.0

func (o *SparseInfrastructurePolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) SetUpdateTime added in v1.1.0

func (o *SparseInfrastructurePolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseInfrastructurePolicy) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseInfrastructurePolicy) Version added in v1.1.0

func (o *SparseInfrastructurePolicy) Version() int

Version returns the hardcoded version of the model.

type SparseInstalledApp

type SparseInstalledApp struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Additional configuration of the app is needed by the app itself.
	AdditionalConfiguration *bool `` /* 174-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AppIdentifier retains the identifier for the app.
	AppIdentifier *string `json:"-" msgpack:"-" bson:"appidentifier,omitempty" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// The category ID of the application.
	CategoryID *string `json:"categoryID,omitempty" msgpack:"categoryID,omitempty" bson:"categoryid,omitempty" mapstructure:"categoryID,omitempty"`

	// If true, will look for the public endpoints and store them as annotations in the
	// installed app.
	CheckPublicEndpoint *bool `` /* 158-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Version of the installed application.
	CurrentVersion *string `` /* 138-byte string literal not displayed */

	// DeploymentCount represents the number of expected deployment for this app.
	DeploymentCount *int `json:"-" msgpack:"-" bson:"deploymentcount,omitempty" mapstructure:"-,omitempty"`

	// Adds a button in the UI.
	ExternalWindowButton *map[string]string `` /* 162-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the computed parameters to start the application.
	Parameters *map[string]interface{} `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Status of the application.
	Status *InstalledAppStatusValue `json:"status,omitempty" msgpack:"status,omitempty" bson:"status,omitempty" mapstructure:"status,omitempty"`

	// Reason for the status of the application.
	StatusMessage *string `` /* 134-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseInstalledApp represents the sparse version of a installedapp.

func NewSparseInstalledApp

func NewSparseInstalledApp() *SparseInstalledApp

NewSparseInstalledApp returns a new SparseInstalledApp.

func (*SparseInstalledApp) DeepCopy

func (o *SparseInstalledApp) DeepCopy() *SparseInstalledApp

DeepCopy returns a deep copy if the SparseInstalledApp.

func (*SparseInstalledApp) DeepCopyInto

func (o *SparseInstalledApp) DeepCopyInto(out *SparseInstalledApp)

DeepCopyInto copies the receiver into the given *SparseInstalledApp.

func (*SparseInstalledApp) GetAnnotations

func (o *SparseInstalledApp) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseInstalledApp) GetAssociatedTags

func (o *SparseInstalledApp) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseInstalledApp) GetBSON added in v1.80.0

func (o *SparseInstalledApp) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseInstalledApp) GetCreateIdempotencyKey

func (o *SparseInstalledApp) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseInstalledApp) GetCreateTime

func (o *SparseInstalledApp) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseInstalledApp) GetMigrationsLog added in v1.30.0

func (o *SparseInstalledApp) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseInstalledApp) GetName

func (o *SparseInstalledApp) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseInstalledApp) GetNamespace

func (o *SparseInstalledApp) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseInstalledApp) GetNormalizedTags

func (o *SparseInstalledApp) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseInstalledApp) GetProtected

func (o *SparseInstalledApp) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseInstalledApp) GetUpdateIdempotencyKey

func (o *SparseInstalledApp) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseInstalledApp) GetUpdateTime

func (o *SparseInstalledApp) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseInstalledApp) GetZHash added in v1.1.0

func (o *SparseInstalledApp) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseInstalledApp) GetZone added in v1.1.0

func (o *SparseInstalledApp) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseInstalledApp) Identifier

func (o *SparseInstalledApp) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseInstalledApp) Identity

func (o *SparseInstalledApp) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseInstalledApp) SetAnnotations

func (o *SparseInstalledApp) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseInstalledApp) SetAssociatedTags

func (o *SparseInstalledApp) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseInstalledApp) SetBSON added in v1.80.0

func (o *SparseInstalledApp) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseInstalledApp) SetCreateIdempotencyKey

func (o *SparseInstalledApp) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseInstalledApp) SetCreateTime

func (o *SparseInstalledApp) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseInstalledApp) SetIdentifier

func (o *SparseInstalledApp) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseInstalledApp) SetMigrationsLog added in v1.30.0

func (o *SparseInstalledApp) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseInstalledApp) SetName

func (o *SparseInstalledApp) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseInstalledApp) SetNamespace

func (o *SparseInstalledApp) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseInstalledApp) SetNormalizedTags

func (o *SparseInstalledApp) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseInstalledApp) SetProtected

func (o *SparseInstalledApp) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseInstalledApp) SetUpdateIdempotencyKey

func (o *SparseInstalledApp) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseInstalledApp) SetUpdateTime

func (o *SparseInstalledApp) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseInstalledApp) SetZHash added in v1.1.0

func (o *SparseInstalledApp) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseInstalledApp) SetZone added in v1.1.0

func (o *SparseInstalledApp) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseInstalledApp) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseInstalledApp) Version

func (o *SparseInstalledApp) Version() int

Version returns the hardcoded version of the model.

type SparseInstalledAppsList

type SparseInstalledAppsList []*SparseInstalledApp

SparseInstalledAppsList represents a list of SparseInstalledApps

func (SparseInstalledAppsList) Append

Append appends the objects to the a new copy of the SparseInstalledAppsList.

func (SparseInstalledAppsList) Copy

Copy returns a pointer to a copy the SparseInstalledAppsList.

func (SparseInstalledAppsList) DefaultOrder

func (o SparseInstalledAppsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseInstalledAppsList) Identity

Identity returns the identity of the objects in the list.

func (SparseInstalledAppsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseInstalledAppsList) ToPlain

ToPlain returns the SparseInstalledAppsList converted to InstalledAppsList.

func (SparseInstalledAppsList) Version

func (o SparseInstalledAppsList) Version() int

Version returns the version of the content.

type SparseIsolationProfile

type SparseIsolationProfile struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// The capabilities that should be added to or removed from the processing unit.
	CapabilitiesActions *types.CapabilitiesTypeMap `` /* 158-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The default action applied to all system calls of this profile.
	// Default is `Allow`.
	DefaultSyscallAction *types.SyscallEnforcementAction `` /* 162-byte string literal not displayed */

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// A list of system call rules that identify actions for particular
	// system calls.
	SyscallRules *types.SyscallEnforcementRulesMap `` /* 130-byte string literal not displayed */

	// The processor architectures that the profile supports. Default `all`.
	TargetArchitectures *types.ArchitecturesTypeList `` /* 158-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseIsolationProfile represents the sparse version of a isolationprofile.

func NewSparseIsolationProfile

func NewSparseIsolationProfile() *SparseIsolationProfile

NewSparseIsolationProfile returns a new SparseIsolationProfile.

func (*SparseIsolationProfile) DeepCopy

DeepCopy returns a deep copy if the SparseIsolationProfile.

func (*SparseIsolationProfile) DeepCopyInto

func (o *SparseIsolationProfile) DeepCopyInto(out *SparseIsolationProfile)

DeepCopyInto copies the receiver into the given *SparseIsolationProfile.

func (*SparseIsolationProfile) GetAnnotations

func (o *SparseIsolationProfile) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseIsolationProfile) GetAssociatedTags

func (o *SparseIsolationProfile) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseIsolationProfile) GetBSON added in v1.80.0

func (o *SparseIsolationProfile) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseIsolationProfile) GetCreateIdempotencyKey

func (o *SparseIsolationProfile) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseIsolationProfile) GetCreateTime

func (o *SparseIsolationProfile) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseIsolationProfile) GetDescription

func (o *SparseIsolationProfile) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseIsolationProfile) GetMetadata

func (o *SparseIsolationProfile) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseIsolationProfile) GetMigrationsLog added in v1.30.0

func (o *SparseIsolationProfile) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseIsolationProfile) GetName

func (o *SparseIsolationProfile) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseIsolationProfile) GetNamespace

func (o *SparseIsolationProfile) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseIsolationProfile) GetNormalizedTags

func (o *SparseIsolationProfile) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseIsolationProfile) GetPropagate

func (o *SparseIsolationProfile) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseIsolationProfile) GetProtected

func (o *SparseIsolationProfile) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseIsolationProfile) GetUpdateIdempotencyKey

func (o *SparseIsolationProfile) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseIsolationProfile) GetUpdateTime

func (o *SparseIsolationProfile) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseIsolationProfile) GetZHash

func (o *SparseIsolationProfile) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseIsolationProfile) GetZone

func (o *SparseIsolationProfile) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseIsolationProfile) Identifier

func (o *SparseIsolationProfile) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseIsolationProfile) Identity

Identity returns the Identity of the sparse object.

func (*SparseIsolationProfile) SetAnnotations

func (o *SparseIsolationProfile) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetAssociatedTags

func (o *SparseIsolationProfile) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetBSON added in v1.80.0

func (o *SparseIsolationProfile) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseIsolationProfile) SetCreateIdempotencyKey

func (o *SparseIsolationProfile) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetCreateTime

func (o *SparseIsolationProfile) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetDescription

func (o *SparseIsolationProfile) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetIdentifier

func (o *SparseIsolationProfile) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseIsolationProfile) SetMetadata

func (o *SparseIsolationProfile) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetMigrationsLog added in v1.30.0

func (o *SparseIsolationProfile) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetName

func (o *SparseIsolationProfile) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetNamespace

func (o *SparseIsolationProfile) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetNormalizedTags

func (o *SparseIsolationProfile) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetPropagate

func (o *SparseIsolationProfile) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetProtected

func (o *SparseIsolationProfile) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetUpdateIdempotencyKey

func (o *SparseIsolationProfile) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetUpdateTime

func (o *SparseIsolationProfile) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetZHash

func (o *SparseIsolationProfile) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseIsolationProfile) SetZone

func (o *SparseIsolationProfile) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseIsolationProfile) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseIsolationProfile) Version

func (o *SparseIsolationProfile) Version() int

Version returns the hardcoded version of the model.

type SparseIsolationProfilesList

type SparseIsolationProfilesList []*SparseIsolationProfile

SparseIsolationProfilesList represents a list of SparseIsolationProfiles

func (SparseIsolationProfilesList) Append

Append appends the objects to the a new copy of the SparseIsolationProfilesList.

func (SparseIsolationProfilesList) Copy

Copy returns a pointer to a copy the SparseIsolationProfilesList.

func (SparseIsolationProfilesList) DefaultOrder

func (o SparseIsolationProfilesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseIsolationProfilesList) Identity

Identity returns the identity of the objects in the list.

func (SparseIsolationProfilesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseIsolationProfilesList) ToPlain

ToPlain returns the SparseIsolationProfilesList converted to IsolationProfilesList.

func (SparseIsolationProfilesList) Version

func (o SparseIsolationProfilesList) Version() int

Version returns the version of the content.

type SparseIssue

type SparseIssue struct {
	// If given, the issued token will only be valid for the specified namespace.
	// Refer to [JSON Web Token (JWT)RFC
	// 7519](https://tools.ietf.org/html/rfc7519#section-4.1.3).
	// for further information.
	Audience *string `json:"audience,omitempty" msgpack:"audience,omitempty" bson:"-" mapstructure:"audience,omitempty"`

	// The claims in the token. It is only set is the parameter `asCookie` is given.
	Claims *types.MidgardClaims `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"-" mapstructure:"claims,omitempty"`

	// Contains additional data. The value depends on the issuer type.
	Data *string `json:"data,omitempty" msgpack:"data,omitempty" bson:"-" mapstructure:"data,omitempty"`

	// Contains various additional information. Meaning depends on the `realm`.
	Metadata *map[string]interface{} `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"-" mapstructure:"metadata,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 number of times the issued token can be used.
	Quota *int `json:"quota,omitempty" msgpack:"quota,omitempty" bson:"-" mapstructure:"quota,omitempty"`

	// The authentication realm. This will define how to verify
	// credentials from internal or external source of authentication.
	Realm *IssueRealmValue `json:"realm,omitempty" msgpack:"realm,omitempty" bson:"-" mapstructure:"realm,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 token to use for the registration.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// Configures the maximum length of validity for a token, using
	// [Golang duration syntax](https://golang.org/pkg/time/#example_Duration). If it
	// is
	// bigger than the configured max validity, it will be capped. Default: `24h`.
	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 NewSparseIssue

func NewSparseIssue() *SparseIssue

NewSparseIssue returns a new SparseIssue.

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) GetBSON added in v1.80.0

func (o *SparseIssue) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

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) SetBSON added in v1.80.0

func (o *SparseIssue) SetBSON(raw bson.Raw) error

SetBSON 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

ToPlain returns the plain version of the sparse model.

func (*SparseIssue) Version

func (o *SparseIssue) Version() int

Version returns the hardcoded version of the model.

type SparseIssueServiceToken added in v1.20.0

type SparseIssueServiceToken struct {
	// Audience is the valid audience for this token.
	Audience *string `json:"audience,omitempty" msgpack:"audience,omitempty" bson:"-" mapstructure:"audience,omitempty"`

	// The ID of the corresponding namespace.
	NamespaceID *string `json:"namespaceID,omitempty" msgpack:"namespaceID,omitempty" bson:"-" mapstructure:"namespaceID,omitempty"`

	// ServiceClaims is a list of service claims that have been validated provided as
	// key/value pairs. If the same key is provided multiple times it will be converted
	// to an array. The claims  will appear under the Data section of the token.
	ServiceClaims *[]string `json:"serviceClaims,omitempty" msgpack:"serviceClaims,omitempty" bson:"-" mapstructure:"serviceClaims,omitempty"`

	// SigningKeyID holds the ID of the private certificate to use to sign the token.
	SigningKeyID *string `` /* 130-byte string literal not displayed */

	// The subject claims of the token.
	Subject *string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// Token contains the generated token.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// UserClaims is a list of user claims that have been validated provided as
	// key/value pairs. If the same key is provided multiple times it will be converted
	// to an array. The claims  will appear under the Data section of the token.
	UserClaims *[]string `json:"userClaims,omitempty" msgpack:"userClaims,omitempty" bson:"-" mapstructure:"userClaims,omitempty"`

	// Validity contains the token validity duration.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseIssueServiceToken represents the sparse version of a issueservicetoken.

func NewSparseIssueServiceToken added in v1.20.0

func NewSparseIssueServiceToken() *SparseIssueServiceToken

NewSparseIssueServiceToken returns a new SparseIssueServiceToken.

func (*SparseIssueServiceToken) DeepCopy added in v1.20.0

DeepCopy returns a deep copy if the SparseIssueServiceToken.

func (*SparseIssueServiceToken) DeepCopyInto added in v1.20.0

func (o *SparseIssueServiceToken) DeepCopyInto(out *SparseIssueServiceToken)

DeepCopyInto copies the receiver into the given *SparseIssueServiceToken.

func (*SparseIssueServiceToken) GetBSON added in v1.80.0

func (o *SparseIssueServiceToken) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseIssueServiceToken) Identifier added in v1.20.0

func (o *SparseIssueServiceToken) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseIssueServiceToken) Identity added in v1.20.0

Identity returns the Identity of the sparse object.

func (*SparseIssueServiceToken) SetBSON added in v1.80.0

func (o *SparseIssueServiceToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseIssueServiceToken) SetIdentifier added in v1.20.0

func (o *SparseIssueServiceToken) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseIssueServiceToken) ToPlain added in v1.20.0

ToPlain returns the plain version of the sparse model.

func (*SparseIssueServiceToken) Version added in v1.20.0

func (o *SparseIssueServiceToken) Version() int

Version returns the hardcoded version of the model.

type SparseIssueServiceTokensList added in v1.20.0

type SparseIssueServiceTokensList []*SparseIssueServiceToken

SparseIssueServiceTokensList represents a list of SparseIssueServiceTokens

func (SparseIssueServiceTokensList) Append added in v1.20.0

Append appends the objects to the a new copy of the SparseIssueServiceTokensList.

func (SparseIssueServiceTokensList) Copy added in v1.20.0

Copy returns a pointer to a copy the SparseIssueServiceTokensList.

func (SparseIssueServiceTokensList) DefaultOrder added in v1.20.0

func (o SparseIssueServiceTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseIssueServiceTokensList) Identity added in v1.20.0

Identity returns the identity of the objects in the list.

func (SparseIssueServiceTokensList) List added in v1.20.0

List converts the object to an elemental.IdentifiablesList.

func (SparseIssueServiceTokensList) ToPlain added in v1.20.0

ToPlain returns the SparseIssueServiceTokensList converted to IssueServiceTokensList.

func (SparseIssueServiceTokensList) Version added in v1.20.0

func (o SparseIssueServiceTokensList) Version() int

Version returns the version of the content.

type SparseIssuesList

type SparseIssuesList []*SparseIssue

SparseIssuesList represents a list of SparseIssues

func (SparseIssuesList) Append

Append appends the objects to the a new copy of the SparseIssuesList.

func (SparseIssuesList) Copy

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

List converts the object to an elemental.IdentifiablesList.

func (SparseIssuesList) ToPlain

ToPlain returns the SparseIssuesList converted to IssuesList.

func (SparseIssuesList) Version

func (o SparseIssuesList) Version() int

Version returns the version of the content.

type SparseKubernetesCluster added in v1.103.0

type SparseKubernetesCluster struct {
	// API versions supported by the API server.
	APIVersions *[]string `` /* 126-byte string literal not displayed */

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Kubernetes namespace.
	K8SNamespace *string `` /* 130-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Cluster external IP address.
	ExternalIP *string `json:"externalIP,omitempty" msgpack:"externalIP,omitempty" bson:"externalip,omitempty" mapstructure:"externalIP,omitempty"`

	// Cluster internal IP address.
	InternalIP *string `json:"internalIP,omitempty" msgpack:"internalIP,omitempty" bson:"internalip,omitempty" mapstructure:"internalIP,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseKubernetesCluster represents the sparse version of a kubernetescluster.

func NewSparseKubernetesCluster added in v1.103.0

func NewSparseKubernetesCluster() *SparseKubernetesCluster

NewSparseKubernetesCluster returns a new SparseKubernetesCluster.

func (*SparseKubernetesCluster) DeepCopy added in v1.103.0

DeepCopy returns a deep copy if the SparseKubernetesCluster.

func (*SparseKubernetesCluster) DeepCopyInto added in v1.103.0

func (o *SparseKubernetesCluster) DeepCopyInto(out *SparseKubernetesCluster)

DeepCopyInto copies the receiver into the given *SparseKubernetesCluster.

func (*SparseKubernetesCluster) GetAnnotations added in v1.103.0

func (o *SparseKubernetesCluster) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseKubernetesCluster) GetAssociatedTags added in v1.103.0

func (o *SparseKubernetesCluster) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseKubernetesCluster) GetBSON added in v1.103.0

func (o *SparseKubernetesCluster) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseKubernetesCluster) GetCreateIdempotencyKey added in v1.103.0

func (o *SparseKubernetesCluster) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseKubernetesCluster) GetCreateTime added in v1.103.0

func (o *SparseKubernetesCluster) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseKubernetesCluster) GetDescription added in v1.103.0

func (o *SparseKubernetesCluster) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseKubernetesCluster) GetMetadata added in v1.103.0

func (o *SparseKubernetesCluster) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseKubernetesCluster) GetMigrationsLog added in v1.103.0

func (o *SparseKubernetesCluster) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseKubernetesCluster) GetName added in v1.103.0

func (o *SparseKubernetesCluster) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseKubernetesCluster) GetNamespace added in v1.103.0

func (o *SparseKubernetesCluster) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseKubernetesCluster) GetNormalizedTags added in v1.103.0

func (o *SparseKubernetesCluster) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseKubernetesCluster) GetProtected added in v1.103.0

func (o *SparseKubernetesCluster) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseKubernetesCluster) GetUpdateIdempotencyKey added in v1.103.0

func (o *SparseKubernetesCluster) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseKubernetesCluster) GetUpdateTime added in v1.103.0

func (o *SparseKubernetesCluster) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseKubernetesCluster) GetZHash added in v1.103.0

func (o *SparseKubernetesCluster) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseKubernetesCluster) GetZone added in v1.103.0

func (o *SparseKubernetesCluster) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseKubernetesCluster) Identifier added in v1.103.0

func (o *SparseKubernetesCluster) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseKubernetesCluster) Identity added in v1.103.0

Identity returns the Identity of the sparse object.

func (*SparseKubernetesCluster) SetAnnotations added in v1.103.0

func (o *SparseKubernetesCluster) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetAssociatedTags added in v1.103.0

func (o *SparseKubernetesCluster) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetBSON added in v1.103.0

func (o *SparseKubernetesCluster) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseKubernetesCluster) SetCreateIdempotencyKey added in v1.103.0

func (o *SparseKubernetesCluster) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetCreateTime added in v1.103.0

func (o *SparseKubernetesCluster) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetDescription added in v1.103.0

func (o *SparseKubernetesCluster) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetIdentifier added in v1.103.0

func (o *SparseKubernetesCluster) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseKubernetesCluster) SetMetadata added in v1.103.0

func (o *SparseKubernetesCluster) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetMigrationsLog added in v1.103.0

func (o *SparseKubernetesCluster) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetName added in v1.103.0

func (o *SparseKubernetesCluster) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetNamespace added in v1.103.0

func (o *SparseKubernetesCluster) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetNormalizedTags added in v1.103.0

func (o *SparseKubernetesCluster) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetProtected added in v1.103.0

func (o *SparseKubernetesCluster) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetUpdateIdempotencyKey added in v1.103.0

func (o *SparseKubernetesCluster) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetUpdateTime added in v1.103.0

func (o *SparseKubernetesCluster) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetZHash added in v1.103.0

func (o *SparseKubernetesCluster) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseKubernetesCluster) SetZone added in v1.103.0

func (o *SparseKubernetesCluster) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseKubernetesCluster) ToPlain added in v1.103.0

ToPlain returns the plain version of the sparse model.

func (*SparseKubernetesCluster) Version added in v1.103.0

func (o *SparseKubernetesCluster) Version() int

Version returns the hardcoded version of the model.

type SparseKubernetesClustersList added in v1.103.0

type SparseKubernetesClustersList []*SparseKubernetesCluster

SparseKubernetesClustersList represents a list of SparseKubernetesClusters

func (SparseKubernetesClustersList) Append added in v1.103.0

Append appends the objects to the a new copy of the SparseKubernetesClustersList.

func (SparseKubernetesClustersList) Copy added in v1.103.0

Copy returns a pointer to a copy the SparseKubernetesClustersList.

func (SparseKubernetesClustersList) DefaultOrder added in v1.103.0

func (o SparseKubernetesClustersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseKubernetesClustersList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (SparseKubernetesClustersList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (SparseKubernetesClustersList) ToPlain added in v1.103.0

ToPlain returns the SparseKubernetesClustersList converted to KubernetesClustersList.

func (SparseKubernetesClustersList) Version added in v1.103.0

func (o SparseKubernetesClustersList) Version() int

Version returns the version of the content.

type SparseLDAPProvider added in v1.1.0

type SparseLDAPProvider struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Contains the fully qualified domain name (FQDN) or IP address of the private
	// LDAP server.
	Address *string `json:"address,omitempty" msgpack:"address,omitempty" bson:"address,omitempty" mapstructure:"address,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the base distinguished name (DN) to use for LDAP queries. Example:
	// `dc=example,dc=com`.
	BaseDN *string `json:"baseDN,omitempty" msgpack:"baseDN,omitempty" bson:"basedn,omitempty" mapstructure:"baseDN,omitempty"`

	// Contains the DN to use to bind to the LDAP server. Example:
	// `cn=admin,dc=example,dc=com`.
	BindDN *string `json:"bindDN,omitempty" msgpack:"bindDN,omitempty" bson:"binddn,omitempty" mapstructure:"bindDN,omitempty"`

	// Contains the 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 */

	// 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.
	CertificateAuthority *string `` /* 162-byte string literal not displayed */

	// Specifies the connection type for the LDAP provider. `TLS` or `InbandTLS`
	// (default).
	ConnSecurityProtocol *LDAPProviderConnSecurityProtocolValue `` /* 162-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// If set, this will be the default LDAP provider. There can be only one default
	// provider in your account. When logging in with LDAP, if no provider name is
	// given, the default will be used.
	Default *bool `json:"default,omitempty" msgpack:"default,omitempty" bson:"default,omitempty" mapstructure:"default,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// A list of keys that must not be imported into a Microsegmentation authorization.
	// 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 */

	// A list of keys that must be imported into a Microsegmentation authorization. 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 */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// The key to be used to populate the subject of the Midgard token. If you want to
	// use the user as a subject, for Windows-based systems you may use
	// `sAMAccountName`.
	// For Linux and other systems, you may wish to use `uid` (default). You can also
	// use
	// any alternate key.
	SubjectKey *string `json:"subjectKey,omitempty" msgpack:"subjectKey,omitempty" bson:"subjectkey,omitempty" mapstructure:"subjectKey,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseLDAPProvider represents the sparse version of a ldapprovider.

func NewSparseLDAPProvider added in v1.1.0

func NewSparseLDAPProvider() *SparseLDAPProvider

NewSparseLDAPProvider returns a new SparseLDAPProvider.

func (*SparseLDAPProvider) DeepCopy added in v1.1.0

func (o *SparseLDAPProvider) DeepCopy() *SparseLDAPProvider

DeepCopy returns a deep copy if the SparseLDAPProvider.

func (*SparseLDAPProvider) DeepCopyInto added in v1.1.0

func (o *SparseLDAPProvider) DeepCopyInto(out *SparseLDAPProvider)

DeepCopyInto copies the receiver into the given *SparseLDAPProvider.

func (*SparseLDAPProvider) GetAnnotations added in v1.1.0

func (o *SparseLDAPProvider) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseLDAPProvider) GetAssociatedTags added in v1.1.0

func (o *SparseLDAPProvider) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseLDAPProvider) GetBSON added in v1.80.0

func (o *SparseLDAPProvider) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLDAPProvider) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseLDAPProvider) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseLDAPProvider) GetCreateTime added in v1.1.0

func (o *SparseLDAPProvider) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseLDAPProvider) GetDescription added in v1.1.0

func (o *SparseLDAPProvider) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseLDAPProvider) GetMigrationsLog added in v1.30.0

func (o *SparseLDAPProvider) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseLDAPProvider) GetName added in v1.1.0

func (o *SparseLDAPProvider) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseLDAPProvider) GetNamespace added in v1.1.0

func (o *SparseLDAPProvider) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseLDAPProvider) GetNormalizedTags added in v1.1.0

func (o *SparseLDAPProvider) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseLDAPProvider) GetProtected added in v1.1.0

func (o *SparseLDAPProvider) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseLDAPProvider) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseLDAPProvider) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseLDAPProvider) GetUpdateTime added in v1.1.0

func (o *SparseLDAPProvider) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseLDAPProvider) GetZHash added in v1.1.0

func (o *SparseLDAPProvider) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseLDAPProvider) GetZone added in v1.1.0

func (o *SparseLDAPProvider) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseLDAPProvider) Identifier added in v1.1.0

func (o *SparseLDAPProvider) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseLDAPProvider) Identity added in v1.1.0

func (o *SparseLDAPProvider) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseLDAPProvider) SetAnnotations added in v1.1.0

func (o *SparseLDAPProvider) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetAssociatedTags added in v1.1.0

func (o *SparseLDAPProvider) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetBSON added in v1.80.0

func (o *SparseLDAPProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLDAPProvider) SetCreateIdempotencyKey added in v1.1.0

func (o *SparseLDAPProvider) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetCreateTime added in v1.1.0

func (o *SparseLDAPProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetDescription added in v1.1.0

func (o *SparseLDAPProvider) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetIdentifier added in v1.1.0

func (o *SparseLDAPProvider) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseLDAPProvider) SetMigrationsLog added in v1.30.0

func (o *SparseLDAPProvider) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetName added in v1.1.0

func (o *SparseLDAPProvider) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetNamespace added in v1.1.0

func (o *SparseLDAPProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetNormalizedTags added in v1.1.0

func (o *SparseLDAPProvider) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetProtected added in v1.1.0

func (o *SparseLDAPProvider) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetUpdateIdempotencyKey added in v1.1.0

func (o *SparseLDAPProvider) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetUpdateTime added in v1.1.0

func (o *SparseLDAPProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetZHash added in v1.1.0

func (o *SparseLDAPProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseLDAPProvider) SetZone added in v1.1.0

func (o *SparseLDAPProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseLDAPProvider) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseLDAPProvider) Version added in v1.1.0

func (o *SparseLDAPProvider) Version() int

Version returns the hardcoded version of the model.

type SparseLDAPProvidersList added in v1.1.0

type SparseLDAPProvidersList []*SparseLDAPProvider

SparseLDAPProvidersList represents a list of SparseLDAPProviders

func (SparseLDAPProvidersList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseLDAPProvidersList.

func (SparseLDAPProvidersList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseLDAPProvidersList.

func (SparseLDAPProvidersList) DefaultOrder added in v1.1.0

func (o SparseLDAPProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseLDAPProvidersList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (SparseLDAPProvidersList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseLDAPProvidersList) ToPlain added in v1.1.0

ToPlain returns the SparseLDAPProvidersList converted to LDAPProvidersList.

func (SparseLDAPProvidersList) Version added in v1.1.0

func (o SparseLDAPProvidersList) Version() int

Version returns the version of the content.

type SparseLocalCA added in v1.94.1

type SparseLocalCA struct {
	// The SSH certificate authority used by the namespace.
	SSHCertificate *string `json:"SSHCertificate,omitempty" msgpack:"SSHCertificate,omitempty" bson:"-" mapstructure:"SSHCertificate,omitempty"`

	// Set to `true` to renew the SSH certificate authority of the namespace.
	SSHCertificateRenew *bool `` /* 130-byte string literal not displayed */

	// The certificate authority used by the namespace.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// Set to `true` to renew the certificate authority of the namespace.
	CertificateRenew *bool `json:"certificateRenew,omitempty" msgpack:"certificateRenew,omitempty" bson:"-" mapstructure:"certificateRenew,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseLocalCA represents the sparse version of a localca.

func NewSparseLocalCA added in v1.94.1

func NewSparseLocalCA() *SparseLocalCA

NewSparseLocalCA returns a new SparseLocalCA.

func (*SparseLocalCA) DeepCopy added in v1.94.1

func (o *SparseLocalCA) DeepCopy() *SparseLocalCA

DeepCopy returns a deep copy if the SparseLocalCA.

func (*SparseLocalCA) DeepCopyInto added in v1.94.1

func (o *SparseLocalCA) DeepCopyInto(out *SparseLocalCA)

DeepCopyInto copies the receiver into the given *SparseLocalCA.

func (*SparseLocalCA) GetBSON added in v1.94.1

func (o *SparseLocalCA) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLocalCA) Identifier added in v1.94.1

func (o *SparseLocalCA) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseLocalCA) Identity added in v1.94.1

func (o *SparseLocalCA) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseLocalCA) SetBSON added in v1.94.1

func (o *SparseLocalCA) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLocalCA) SetIdentifier added in v1.94.1

func (o *SparseLocalCA) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseLocalCA) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseLocalCA) Version added in v1.94.1

func (o *SparseLocalCA) Version() int

Version returns the hardcoded version of the model.

type SparseLocalCAsList added in v1.94.1

type SparseLocalCAsList []*SparseLocalCA

SparseLocalCAsList represents a list of SparseLocalCAs

func (SparseLocalCAsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseLocalCAsList.

func (SparseLocalCAsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseLocalCAsList.

func (SparseLocalCAsList) DefaultOrder added in v1.94.1

func (o SparseLocalCAsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseLocalCAsList) Identity added in v1.94.1

func (o SparseLocalCAsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseLocalCAsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseLocalCAsList) ToPlain added in v1.94.1

ToPlain returns the SparseLocalCAsList converted to LocalCAsList.

func (SparseLocalCAsList) Version added in v1.94.1

func (o SparseLocalCAsList) Version() int

Version returns the version of the content.

type SparseLog

type SparseLog struct {
	// Contains all log data.
	Data *map[string]string `json:"data,omitempty" msgpack:"data,omitempty" bson:"-" mapstructure:"data,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseLog represents the sparse version of a log.

func NewSparseLog

func NewSparseLog() *SparseLog

NewSparseLog returns a new SparseLog.

func (*SparseLog) DeepCopy

func (o *SparseLog) DeepCopy() *SparseLog

DeepCopy returns a deep copy if the SparseLog.

func (*SparseLog) DeepCopyInto

func (o *SparseLog) DeepCopyInto(out *SparseLog)

DeepCopyInto copies the receiver into the given *SparseLog.

func (*SparseLog) GetBSON added in v1.80.0

func (o *SparseLog) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLog) Identifier

func (o *SparseLog) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseLog) Identity

func (o *SparseLog) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseLog) SetBSON added in v1.80.0

func (o *SparseLog) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLog) SetIdentifier

func (o *SparseLog) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseLog) ToPlain

func (o *SparseLog) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseLog) Version

func (o *SparseLog) Version() int

Version returns the hardcoded version of the model.

type SparseLogout added in v1.94.1

type SparseLogout struct {
	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseLogout represents the sparse version of a logout.

func NewSparseLogout added in v1.94.1

func NewSparseLogout() *SparseLogout

NewSparseLogout returns a new SparseLogout.

func (*SparseLogout) DeepCopy added in v1.94.1

func (o *SparseLogout) DeepCopy() *SparseLogout

DeepCopy returns a deep copy if the SparseLogout.

func (*SparseLogout) DeepCopyInto added in v1.94.1

func (o *SparseLogout) DeepCopyInto(out *SparseLogout)

DeepCopyInto copies the receiver into the given *SparseLogout.

func (*SparseLogout) GetBSON added in v1.94.1

func (o *SparseLogout) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLogout) Identifier added in v1.94.1

func (o *SparseLogout) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseLogout) Identity added in v1.94.1

func (o *SparseLogout) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseLogout) SetBSON added in v1.94.1

func (o *SparseLogout) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseLogout) SetIdentifier added in v1.94.1

func (o *SparseLogout) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseLogout) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseLogout) Version added in v1.94.1

func (o *SparseLogout) Version() int

Version returns the hardcoded version of the model.

type SparseLogoutsList added in v1.94.1

type SparseLogoutsList []*SparseLogout

SparseLogoutsList represents a list of SparseLogouts

func (SparseLogoutsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseLogoutsList.

func (SparseLogoutsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseLogoutsList.

func (SparseLogoutsList) DefaultOrder added in v1.94.1

func (o SparseLogoutsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseLogoutsList) Identity added in v1.94.1

func (o SparseLogoutsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseLogoutsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseLogoutsList) ToPlain added in v1.94.1

ToPlain returns the SparseLogoutsList converted to LogoutsList.

func (SparseLogoutsList) Version added in v1.94.1

func (o SparseLogoutsList) Version() int

Version returns the version of the content.

type SparseLogsList

type SparseLogsList []*SparseLog

SparseLogsList represents a list of SparseLogs

func (SparseLogsList) Append

Append appends the objects to the a new copy of the SparseLogsList.

func (SparseLogsList) Copy

Copy returns a pointer to a copy the SparseLogsList.

func (SparseLogsList) DefaultOrder

func (o SparseLogsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseLogsList) Identity

func (o SparseLogsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseLogsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseLogsList) ToPlain

ToPlain returns the SparseLogsList converted to LogsList.

func (SparseLogsList) Version

func (o SparseLogsList) Version() int

Version returns the version of the content.

type SparseMessage

type SparseMessage struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// The time after which the message will be deleted.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Importance of the message.
	Level *MessageLevelValue `json:"level,omitempty" msgpack:"level,omitempty" bson:"level,omitempty" mapstructure:"level,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Sets when the message will be automatically deleted using
	// [Golang duration syntax](https://golang.org/pkg/time/#example_Duration).
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseMessage represents the sparse version of a message.

func NewSparseMessage

func NewSparseMessage() *SparseMessage

NewSparseMessage returns a new SparseMessage.

func (*SparseMessage) DeepCopy

func (o *SparseMessage) DeepCopy() *SparseMessage

DeepCopy returns a deep copy if the SparseMessage.

func (*SparseMessage) DeepCopyInto

func (o *SparseMessage) DeepCopyInto(out *SparseMessage)

DeepCopyInto copies the receiver into the given *SparseMessage.

func (*SparseMessage) GetAnnotations

func (o *SparseMessage) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseMessage) GetAssociatedTags

func (o *SparseMessage) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseMessage) GetBSON added in v1.80.0

func (o *SparseMessage) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMessage) GetCreateIdempotencyKey

func (o *SparseMessage) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseMessage) GetCreateTime

func (o *SparseMessage) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseMessage) GetDescription

func (o *SparseMessage) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseMessage) GetMigrationsLog added in v1.30.0

func (o *SparseMessage) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseMessage) GetName

func (o *SparseMessage) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseMessage) GetNamespace

func (o *SparseMessage) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseMessage) GetNormalizedTags

func (o *SparseMessage) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseMessage) GetPropagate

func (o *SparseMessage) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseMessage) GetProtected

func (o *SparseMessage) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseMessage) GetUpdateIdempotencyKey

func (o *SparseMessage) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseMessage) GetUpdateTime

func (o *SparseMessage) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseMessage) GetZHash

func (o *SparseMessage) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseMessage) GetZone

func (o *SparseMessage) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseMessage) Identifier

func (o *SparseMessage) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseMessage) Identity

func (o *SparseMessage) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseMessage) SetAnnotations

func (o *SparseMessage) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseMessage) SetAssociatedTags

func (o *SparseMessage) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseMessage) SetBSON added in v1.80.0

func (o *SparseMessage) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMessage) SetCreateIdempotencyKey

func (o *SparseMessage) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseMessage) SetCreateTime

func (o *SparseMessage) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseMessage) SetDescription

func (o *SparseMessage) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseMessage) SetIdentifier

func (o *SparseMessage) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseMessage) SetMigrationsLog added in v1.30.0

func (o *SparseMessage) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseMessage) SetName

func (o *SparseMessage) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseMessage) SetNamespace

func (o *SparseMessage) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseMessage) SetNormalizedTags

func (o *SparseMessage) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseMessage) SetPropagate

func (o *SparseMessage) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseMessage) SetProtected

func (o *SparseMessage) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseMessage) SetUpdateIdempotencyKey

func (o *SparseMessage) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseMessage) SetUpdateTime

func (o *SparseMessage) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseMessage) SetZHash

func (o *SparseMessage) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseMessage) SetZone

func (o *SparseMessage) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseMessage) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseMessage) Version

func (o *SparseMessage) Version() int

Version returns the hardcoded version of the model.

type SparseMessagesList

type SparseMessagesList []*SparseMessage

SparseMessagesList represents a list of SparseMessages

func (SparseMessagesList) Append

Append appends the objects to the a new copy of the SparseMessagesList.

func (SparseMessagesList) Copy

Copy returns a pointer to a copy the SparseMessagesList.

func (SparseMessagesList) DefaultOrder

func (o SparseMessagesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseMessagesList) Identity

func (o SparseMessagesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseMessagesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseMessagesList) ToPlain

ToPlain returns the SparseMessagesList converted to MessagesList.

func (SparseMessagesList) Version

func (o SparseMessagesList) Version() int

Version returns the version of the content.

type SparseMetricsQueriesList added in v1.94.1

type SparseMetricsQueriesList []*SparseMetricsQuery

SparseMetricsQueriesList represents a list of SparseMetricsQueries

func (SparseMetricsQueriesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseMetricsQueriesList.

func (SparseMetricsQueriesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseMetricsQueriesList.

func (SparseMetricsQueriesList) DefaultOrder added in v1.94.1

func (o SparseMetricsQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseMetricsQueriesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseMetricsQueriesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseMetricsQueriesList) ToPlain added in v1.94.1

ToPlain returns the SparseMetricsQueriesList converted to MetricsQueriesList.

func (SparseMetricsQueriesList) Version added in v1.94.1

func (o SparseMetricsQueriesList) Version() int

Version returns the version of the content.

type SparseMetricsQuery added in v1.94.1

type SparseMetricsQuery struct {
	// Prometheus expression query string.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// Evaluation timestamp <rfc3339 | unix_timestamp>.
	Time *string `json:"time,omitempty" msgpack:"time,omitempty" bson:"-" mapstructure:"time,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseMetricsQuery represents the sparse version of a metricsquery.

func NewSparseMetricsQuery added in v1.94.1

func NewSparseMetricsQuery() *SparseMetricsQuery

NewSparseMetricsQuery returns a new SparseMetricsQuery.

func (*SparseMetricsQuery) DeepCopy added in v1.94.1

func (o *SparseMetricsQuery) DeepCopy() *SparseMetricsQuery

DeepCopy returns a deep copy if the SparseMetricsQuery.

func (*SparseMetricsQuery) DeepCopyInto added in v1.94.1

func (o *SparseMetricsQuery) DeepCopyInto(out *SparseMetricsQuery)

DeepCopyInto copies the receiver into the given *SparseMetricsQuery.

func (*SparseMetricsQuery) GetBSON added in v1.94.1

func (o *SparseMetricsQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricsQuery) Identifier added in v1.94.1

func (o *SparseMetricsQuery) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseMetricsQuery) Identity added in v1.94.1

func (o *SparseMetricsQuery) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseMetricsQuery) SetBSON added in v1.94.1

func (o *SparseMetricsQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricsQuery) SetIdentifier added in v1.94.1

func (o *SparseMetricsQuery) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseMetricsQuery) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseMetricsQuery) Version added in v1.94.1

func (o *SparseMetricsQuery) Version() int

Version returns the hardcoded version of the model.

type SparseMetricsQueryRange added in v1.94.1

type SparseMetricsQueryRange struct {
	// End timestamp <rfc3339 | unix_timestamp>.
	End *string `json:"end,omitempty" msgpack:"end,omitempty" bson:"-" mapstructure:"end,omitempty"`

	// Prometheus expression query string.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// Start timestamp <rfc3339 | unix_timestamp>.
	Start *string `json:"start,omitempty" msgpack:"start,omitempty" bson:"-" mapstructure:"start,omitempty"`

	// Query resolution step width in duration format or float number of seconds.
	Step *string `json:"step,omitempty" msgpack:"step,omitempty" bson:"-" mapstructure:"step,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseMetricsQueryRange represents the sparse version of a metricsqueryrange.

func NewSparseMetricsQueryRange added in v1.94.1

func NewSparseMetricsQueryRange() *SparseMetricsQueryRange

NewSparseMetricsQueryRange returns a new SparseMetricsQueryRange.

func (*SparseMetricsQueryRange) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseMetricsQueryRange.

func (*SparseMetricsQueryRange) DeepCopyInto added in v1.94.1

func (o *SparseMetricsQueryRange) DeepCopyInto(out *SparseMetricsQueryRange)

DeepCopyInto copies the receiver into the given *SparseMetricsQueryRange.

func (*SparseMetricsQueryRange) GetBSON added in v1.94.1

func (o *SparseMetricsQueryRange) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricsQueryRange) Identifier added in v1.94.1

func (o *SparseMetricsQueryRange) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseMetricsQueryRange) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseMetricsQueryRange) SetBSON added in v1.94.1

func (o *SparseMetricsQueryRange) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseMetricsQueryRange) SetIdentifier added in v1.94.1

func (o *SparseMetricsQueryRange) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseMetricsQueryRange) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseMetricsQueryRange) Version added in v1.94.1

func (o *SparseMetricsQueryRange) Version() int

Version returns the hardcoded version of the model.

type SparseMetricsQueryRangesList added in v1.94.1

type SparseMetricsQueryRangesList []*SparseMetricsQueryRange

SparseMetricsQueryRangesList represents a list of SparseMetricsQueryRanges

func (SparseMetricsQueryRangesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseMetricsQueryRangesList.

func (SparseMetricsQueryRangesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseMetricsQueryRangesList.

func (SparseMetricsQueryRangesList) DefaultOrder added in v1.94.1

func (o SparseMetricsQueryRangesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseMetricsQueryRangesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseMetricsQueryRangesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseMetricsQueryRangesList) ToPlain added in v1.94.1

ToPlain returns the SparseMetricsQueryRangesList converted to MetricsQueryRangesList.

func (SparseMetricsQueryRangesList) Version added in v1.94.1

func (o SparseMetricsQueryRangesList) Version() int

Version returns the version of the content.

type SparseNamespace

type SparseNamespace struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// JWTCertificateType defines the JWT signing certificate that must be created
	// for this namespace. If the type is none no certificate will be created.
	JWTCertificateType *NamespaceJWTCertificateTypeValue `` /* 154-byte string literal not displayed */

	// JWTCertificates hold the certificates used to sign tokens for this namespace.
	// This is map indexed by the ID of the certificate.
	JWTCertificates *map[string]string `` /* 142-byte string literal not displayed */

	// The SSH certificate authority used by the namespace.
	SSHCA *string `json:"-" msgpack:"-" bson:"sshca,omitempty" mapstructure:"-,omitempty"`

	// If `true`, an SSH certificate authority (CA) will be generated for the
	// namespace. This CA can be deployed in SSH server to validate SSH certificates
	// issued by the controller.
	SSHCAEnabled *bool `` /* 130-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedLocalCAID holds the remote ID of the certificate authority to use.
	AssociatedLocalCAID *string `json:"-" msgpack:"-" bson:"associatedlocalcaid,omitempty" mapstructure:"-,omitempty"`

	// The remote ID of the SSH certificate authority to use.
	AssociatedSSHCAID *string `` /* 150-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Defines if the namespace should inherit its parent zone. If this property is set
	// to `false`,  the `zoning` property will be ignored and the namespace will have
	// the same zone as its parent.
	CustomZoning *bool `` /* 130-byte string literal not displayed */

	// Indicates the default enforcer version for this namespace.
	DefaultEnforcerVersion *string `` /* 170-byte string literal not displayed */

	// Describes the default action a processing unit will take for incoming traffic
	// for this namespace.
	DefaultPUIncomingTrafficAction *NamespaceDefaultPUIncomingTrafficActionValue `` /* 202-byte string literal not displayed */

	// Describes the default action a processing unit will take for outgoing traffic
	// for this namespace.
	DefaultPUOutgoingTrafficAction *NamespaceDefaultPUOutgoingTrafficActionValue `` /* 202-byte string literal not displayed */

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// The certificate authority used by this namespace.
	LocalCA *string `json:"-" msgpack:"-" bson:"localca,omitempty" mapstructure:"-,omitempty"`

	// Defines if the namespace should use a local certificate
	// authority (CA). Switching it off and on again will regenerate a new CA.
	LocalCAEnabled *bool `` /* 138-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// The name of the namespace.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// List of tags that will be added to every `or` clause of all network access
	// policies in the namespace and its children.
	NetworkAccessPolicyTags *[]string `` /* 174-byte string literal not displayed */

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// List of tags that describe this namespace. All organizational tags are
	// automatically passed to policeable objects (e.g., processing units, external
	// networks, enforcers) during their creation.
	OrganizationalMetadata *[]string `` /* 170-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// This flag is deprecated and has no incidence.
	ServiceCertificateValidity *string `` /* 186-byte string literal not displayed */

	// List of tag prefixes that will be used to suggest policies. Only these tags will
	// be transmitted on the wire.
	TagPrefixes *[]string `` /* 126-byte string literal not displayed */

	// The type defines the purpose of the namespace:
	// - `Default`: A universal namespace that is capable of all actions and views.
	// - `Tenant`: A namespace that houses a tenant (e.g. ACME).
	// - `CloudAccount`: A child namespace of a tenant that houses a cloud provider
	// account.
	// - `Group`: A child namespace of a cloud account that houses a managed group.
	// - `Kubernetes`: A child namespace of a group that houses a
	// Kubernetes cluster (automatically created by the enforcer).
	Type *NamespaceTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	// Defines what zone the namespace should live in.
	Zoning *int `json:"zoning,omitempty" msgpack:"zoning,omitempty" bson:"zoning,omitempty" mapstructure:"zoning,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) GetAnnotations

func (o *SparseNamespace) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseNamespace) GetAssociatedTags

func (o *SparseNamespace) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseNamespace) GetBSON added in v1.80.0

func (o *SparseNamespace) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespace) GetCreateIdempotencyKey

func (o *SparseNamespace) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseNamespace) GetCreateTime

func (o *SparseNamespace) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseNamespace) GetDescription

func (o *SparseNamespace) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseNamespace) GetMetadata

func (o *SparseNamespace) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseNamespace) GetMigrationsLog added in v1.30.0

func (o *SparseNamespace) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog 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) GetNormalizedTags

func (o *SparseNamespace) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseNamespace) GetProtected

func (o *SparseNamespace) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseNamespace) GetUpdateIdempotencyKey

func (o *SparseNamespace) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseNamespace) GetUpdateTime

func (o *SparseNamespace) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseNamespace) GetZHash added in v1.1.0

func (o *SparseNamespace) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseNamespace) GetZone added in v1.1.0

func (o *SparseNamespace) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseNamespace) GetZoning added in v1.1.0

func (o *SparseNamespace) GetZoning() (out int)

GetZoning returns the Zoning 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) SetAnnotations

func (o *SparseNamespace) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseNamespace) SetAssociatedTags

func (o *SparseNamespace) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseNamespace) SetBSON added in v1.80.0

func (o *SparseNamespace) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespace) SetCreateIdempotencyKey

func (o *SparseNamespace) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseNamespace) SetCreateTime

func (o *SparseNamespace) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseNamespace) SetDescription

func (o *SparseNamespace) SetDescription(description string)

SetDescription sets the property Description 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) SetMetadata

func (o *SparseNamespace) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseNamespace) SetMigrationsLog added in v1.30.0

func (o *SparseNamespace) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

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) SetNormalizedTags

func (o *SparseNamespace) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseNamespace) SetProtected

func (o *SparseNamespace) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseNamespace) SetUpdateIdempotencyKey

func (o *SparseNamespace) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseNamespace) SetUpdateTime

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 added in v1.1.0

func (o *SparseNamespace) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseNamespace) SetZone added in v1.1.0

func (o *SparseNamespace) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseNamespace) SetZoning added in v1.1.0

func (o *SparseNamespace) SetZoning(zoning int)

SetZoning sets the property Zoning of the receiver using the address of the given value.

func (*SparseNamespace) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseNamespace) Version

func (o *SparseNamespace) Version() int

Version returns the hardcoded version of the model.

type SparseNamespaceInfo added in v1.103.0

type SparseNamespaceInfo struct {
	// The processing unit action for incoming traffic for the namespace.
	PUIncomingTrafficAction *NamespaceInfoPUIncomingTrafficActionValue `` /* 142-byte string literal not displayed */

	// The processing unit action for outgoing traffic for the namespace.
	PUOutgoingTrafficAction *NamespaceInfoPUOutgoingTrafficActionValue `` /* 142-byte string literal not displayed */

	// Description of the namespace.
	Description *string `json:"description,omitempty" msgpack:"description,omitempty" bson:"-" mapstructure:"description,omitempty"`

	// Name of the namespace.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// List of tag prefixes that will be used to suggest policies.
	Prefixes *[]string `json:"prefixes,omitempty" msgpack:"prefixes,omitempty" bson:"-" mapstructure:"prefixes,omitempty"`

	// Defines if the namespace is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"-" mapstructure:"protected,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseNamespaceInfo represents the sparse version of a namespaceinfo.

func NewSparseNamespaceInfo added in v1.103.0

func NewSparseNamespaceInfo() *SparseNamespaceInfo

NewSparseNamespaceInfo returns a new SparseNamespaceInfo.

func (*SparseNamespaceInfo) DeepCopy added in v1.103.0

DeepCopy returns a deep copy if the SparseNamespaceInfo.

func (*SparseNamespaceInfo) DeepCopyInto added in v1.103.0

func (o *SparseNamespaceInfo) DeepCopyInto(out *SparseNamespaceInfo)

DeepCopyInto copies the receiver into the given *SparseNamespaceInfo.

func (*SparseNamespaceInfo) GetBSON added in v1.103.0

func (o *SparseNamespaceInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespaceInfo) Identifier added in v1.103.0

func (o *SparseNamespaceInfo) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseNamespaceInfo) Identity added in v1.103.0

func (o *SparseNamespaceInfo) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseNamespaceInfo) SetBSON added in v1.103.0

func (o *SparseNamespaceInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespaceInfo) SetIdentifier added in v1.103.0

func (o *SparseNamespaceInfo) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseNamespaceInfo) ToPlain added in v1.103.0

ToPlain returns the plain version of the sparse model.

func (*SparseNamespaceInfo) Version added in v1.103.0

func (o *SparseNamespaceInfo) Version() int

Version returns the hardcoded version of the model.

type SparseNamespaceInfosList added in v1.103.0

type SparseNamespaceInfosList []*SparseNamespaceInfo

SparseNamespaceInfosList represents a list of SparseNamespaceInfos

func (SparseNamespaceInfosList) Append added in v1.103.0

Append appends the objects to the a new copy of the SparseNamespaceInfosList.

func (SparseNamespaceInfosList) Copy added in v1.103.0

Copy returns a pointer to a copy the SparseNamespaceInfosList.

func (SparseNamespaceInfosList) DefaultOrder added in v1.103.0

func (o SparseNamespaceInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseNamespaceInfosList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (SparseNamespaceInfosList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (SparseNamespaceInfosList) ToPlain added in v1.103.0

ToPlain returns the SparseNamespaceInfosList converted to NamespaceInfosList.

func (SparseNamespaceInfosList) Version added in v1.103.0

func (o SparseNamespaceInfosList) Version() int

Version returns the version of the content.

type SparseNamespaceMappingPoliciesList

type SparseNamespaceMappingPoliciesList []*SparseNamespaceMappingPolicy

SparseNamespaceMappingPoliciesList represents a list of SparseNamespaceMappingPolicies

func (SparseNamespaceMappingPoliciesList) Append

Append appends the objects to the a new copy of the SparseNamespaceMappingPoliciesList.

func (SparseNamespaceMappingPoliciesList) Copy

Copy returns a pointer to a copy the SparseNamespaceMappingPoliciesList.

func (SparseNamespaceMappingPoliciesList) DefaultOrder

func (o SparseNamespaceMappingPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseNamespaceMappingPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseNamespaceMappingPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseNamespaceMappingPoliciesList) ToPlain

ToPlain returns the SparseNamespaceMappingPoliciesList converted to NamespaceMappingPoliciesList.

func (SparseNamespaceMappingPoliciesList) Version

Version returns the version of the content.

type SparseNamespaceMappingPolicy

type SparseNamespaceMappingPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// The namespace to map the `subject` to.
	MappedNamespace *string `` /* 142-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// A tag or tag expression identifying the entity to be mapped.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseNamespaceMappingPolicy represents the sparse version of a namespacemappingpolicy.

func NewSparseNamespaceMappingPolicy

func NewSparseNamespaceMappingPolicy() *SparseNamespaceMappingPolicy

NewSparseNamespaceMappingPolicy returns a new SparseNamespaceMappingPolicy.

func (*SparseNamespaceMappingPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseNamespaceMappingPolicy.

func (*SparseNamespaceMappingPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseNamespaceMappingPolicy.

func (*SparseNamespaceMappingPolicy) GetAnnotations

func (o *SparseNamespaceMappingPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseNamespaceMappingPolicy) GetAssociatedTags

func (o *SparseNamespaceMappingPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseNamespaceMappingPolicy) GetBSON added in v1.80.0

func (o *SparseNamespaceMappingPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespaceMappingPolicy) GetCreateIdempotencyKey

func (o *SparseNamespaceMappingPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseNamespaceMappingPolicy) GetCreateTime

func (o *SparseNamespaceMappingPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseNamespaceMappingPolicy) GetDescription

func (o *SparseNamespaceMappingPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseNamespaceMappingPolicy) GetDisabled

func (o *SparseNamespaceMappingPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseNamespaceMappingPolicy) GetMetadata

func (o *SparseNamespaceMappingPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseNamespaceMappingPolicy) GetName

func (o *SparseNamespaceMappingPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseNamespaceMappingPolicy) GetNamespace

func (o *SparseNamespaceMappingPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseNamespaceMappingPolicy) GetNormalizedTags

func (o *SparseNamespaceMappingPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseNamespaceMappingPolicy) GetProtected

func (o *SparseNamespaceMappingPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseNamespaceMappingPolicy) GetUpdateIdempotencyKey

func (o *SparseNamespaceMappingPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseNamespaceMappingPolicy) GetUpdateTime

func (o *SparseNamespaceMappingPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseNamespaceMappingPolicy) Identifier

func (o *SparseNamespaceMappingPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseNamespaceMappingPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseNamespaceMappingPolicy) SetAnnotations

func (o *SparseNamespaceMappingPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetAssociatedTags

func (o *SparseNamespaceMappingPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetBSON added in v1.80.0

func (o *SparseNamespaceMappingPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespaceMappingPolicy) SetCreateIdempotencyKey

func (o *SparseNamespaceMappingPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetCreateTime

func (o *SparseNamespaceMappingPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetDescription

func (o *SparseNamespaceMappingPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetDisabled

func (o *SparseNamespaceMappingPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetIdentifier

func (o *SparseNamespaceMappingPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseNamespaceMappingPolicy) SetMetadata

func (o *SparseNamespaceMappingPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetName

func (o *SparseNamespaceMappingPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetNamespace

func (o *SparseNamespaceMappingPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetNormalizedTags

func (o *SparseNamespaceMappingPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetProtected

func (o *SparseNamespaceMappingPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetUpdateIdempotencyKey

func (o *SparseNamespaceMappingPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) SetUpdateTime

func (o *SparseNamespaceMappingPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseNamespaceMappingPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseNamespaceMappingPolicy) Version

func (o *SparseNamespaceMappingPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseNamespacePolicyInfo added in v1.94.1

type SparseNamespacePolicyInfo struct {
	// (Deprecated) The processing unit action for incoming traffic for the namespace.
	PUIncomingTrafficAction *NamespacePolicyInfoPUIncomingTrafficActionValue `` /* 142-byte string literal not displayed */

	// (Deprecated) The processing unit action for outgoing traffic for the namespace.
	PUOutgoingTrafficAction *NamespacePolicyInfoPUOutgoingTrafficActionValue `` /* 142-byte string literal not displayed */

	// (Deprecated) List of tag prefixes that will be used to suggest policies.
	Prefixes *[]string `json:"prefixes,omitempty" msgpack:"prefixes,omitempty" bson:"-" mapstructure:"prefixes,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseNamespacePolicyInfo represents the sparse version of a namespacepolicyinfo.

func NewSparseNamespacePolicyInfo added in v1.94.1

func NewSparseNamespacePolicyInfo() *SparseNamespacePolicyInfo

NewSparseNamespacePolicyInfo returns a new SparseNamespacePolicyInfo.

func (*SparseNamespacePolicyInfo) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseNamespacePolicyInfo.

func (*SparseNamespacePolicyInfo) DeepCopyInto added in v1.94.1

DeepCopyInto copies the receiver into the given *SparseNamespacePolicyInfo.

func (*SparseNamespacePolicyInfo) GetBSON added in v1.94.1

func (o *SparseNamespacePolicyInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespacePolicyInfo) Identifier added in v1.94.1

func (o *SparseNamespacePolicyInfo) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseNamespacePolicyInfo) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseNamespacePolicyInfo) SetBSON added in v1.94.1

func (o *SparseNamespacePolicyInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespacePolicyInfo) SetIdentifier added in v1.94.1

func (o *SparseNamespacePolicyInfo) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseNamespacePolicyInfo) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseNamespacePolicyInfo) Version added in v1.94.1

func (o *SparseNamespacePolicyInfo) Version() int

Version returns the hardcoded version of the model.

type SparseNamespacePolicyInfosList added in v1.94.1

type SparseNamespacePolicyInfosList []*SparseNamespacePolicyInfo

SparseNamespacePolicyInfosList represents a list of SparseNamespacePolicyInfos

func (SparseNamespacePolicyInfosList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseNamespacePolicyInfosList.

func (SparseNamespacePolicyInfosList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseNamespacePolicyInfosList.

func (SparseNamespacePolicyInfosList) DefaultOrder added in v1.94.1

func (o SparseNamespacePolicyInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseNamespacePolicyInfosList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseNamespacePolicyInfosList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseNamespacePolicyInfosList) ToPlain added in v1.94.1

ToPlain returns the SparseNamespacePolicyInfosList converted to NamespacePolicyInfosList.

func (SparseNamespacePolicyInfosList) Version added in v1.94.1

func (o SparseNamespacePolicyInfosList) Version() int

Version returns the version of the content.

type SparseNamespaceRenderer added in v1.94.1

type SparseNamespaceRenderer struct {
	// The namespace where the object should reside in.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// List of tags of the object to render the namespace for.
	Tags *[]string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"-" mapstructure:"tags,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseNamespaceRenderer represents the sparse version of a namespacerenderer.

func NewSparseNamespaceRenderer added in v1.94.1

func NewSparseNamespaceRenderer() *SparseNamespaceRenderer

NewSparseNamespaceRenderer returns a new SparseNamespaceRenderer.

func (*SparseNamespaceRenderer) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseNamespaceRenderer.

func (*SparseNamespaceRenderer) DeepCopyInto added in v1.94.1

func (o *SparseNamespaceRenderer) DeepCopyInto(out *SparseNamespaceRenderer)

DeepCopyInto copies the receiver into the given *SparseNamespaceRenderer.

func (*SparseNamespaceRenderer) GetBSON added in v1.94.1

func (o *SparseNamespaceRenderer) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespaceRenderer) Identifier added in v1.94.1

func (o *SparseNamespaceRenderer) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseNamespaceRenderer) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseNamespaceRenderer) SetBSON added in v1.94.1

func (o *SparseNamespaceRenderer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespaceRenderer) SetIdentifier added in v1.94.1

func (o *SparseNamespaceRenderer) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseNamespaceRenderer) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseNamespaceRenderer) Version added in v1.94.1

func (o *SparseNamespaceRenderer) Version() int

Version returns the hardcoded version of the model.

type SparseNamespaceRenderersList added in v1.94.1

type SparseNamespaceRenderersList []*SparseNamespaceRenderer

SparseNamespaceRenderersList represents a list of SparseNamespaceRenderers

func (SparseNamespaceRenderersList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseNamespaceRenderersList.

func (SparseNamespaceRenderersList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseNamespaceRenderersList.

func (SparseNamespaceRenderersList) DefaultOrder added in v1.94.1

func (o SparseNamespaceRenderersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseNamespaceRenderersList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseNamespaceRenderersList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseNamespaceRenderersList) ToPlain added in v1.94.1

ToPlain returns the SparseNamespaceRenderersList converted to NamespaceRenderersList.

func (SparseNamespaceRenderersList) Version added in v1.94.1

func (o SparseNamespaceRenderersList) Version() int

Version returns the version of the content.

type SparseNamespaceType added in v1.94.1

type SparseNamespaceType struct {
	// the namespace type for the current namespace.
	Type *string `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseNamespaceType represents the sparse version of a namespacetype.

func NewSparseNamespaceType added in v1.94.1

func NewSparseNamespaceType() *SparseNamespaceType

NewSparseNamespaceType returns a new SparseNamespaceType.

func (*SparseNamespaceType) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseNamespaceType.

func (*SparseNamespaceType) DeepCopyInto added in v1.94.1

func (o *SparseNamespaceType) DeepCopyInto(out *SparseNamespaceType)

DeepCopyInto copies the receiver into the given *SparseNamespaceType.

func (*SparseNamespaceType) GetBSON added in v1.94.1

func (o *SparseNamespaceType) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespaceType) Identifier added in v1.94.1

func (o *SparseNamespaceType) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseNamespaceType) Identity added in v1.94.1

func (o *SparseNamespaceType) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseNamespaceType) SetBSON added in v1.94.1

func (o *SparseNamespaceType) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNamespaceType) SetIdentifier added in v1.94.1

func (o *SparseNamespaceType) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseNamespaceType) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseNamespaceType) Version added in v1.94.1

func (o *SparseNamespaceType) Version() int

Version returns the hardcoded version of the model.

type SparseNamespaceTypesList added in v1.94.1

type SparseNamespaceTypesList []*SparseNamespaceType

SparseNamespaceTypesList represents a list of SparseNamespaceTypes

func (SparseNamespaceTypesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseNamespaceTypesList.

func (SparseNamespaceTypesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseNamespaceTypesList.

func (SparseNamespaceTypesList) DefaultOrder added in v1.94.1

func (o SparseNamespaceTypesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseNamespaceTypesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseNamespaceTypesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseNamespaceTypesList) ToPlain added in v1.94.1

ToPlain returns the SparseNamespaceTypesList converted to NamespaceTypesList.

func (SparseNamespaceTypesList) Version added in v1.94.1

func (o SparseNamespaceTypesList) Version() int

Version returns the version of the content.

type SparseNamespacesList

type SparseNamespacesList []*SparseNamespace

SparseNamespacesList represents a list of SparseNamespaces

func (SparseNamespacesList) Append

Append appends the objects to the a new copy of the SparseNamespacesList.

func (SparseNamespacesList) Copy

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

Identity returns the identity of the objects in the list.

func (SparseNamespacesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseNamespacesList) ToPlain

ToPlain returns the SparseNamespacesList converted to NamespacesList.

func (SparseNamespacesList) Version

func (o SparseNamespacesList) Version() int

Version returns the version of the content.

type SparseNetworkAccessPoliciesList

type SparseNetworkAccessPoliciesList []*SparseNetworkAccessPolicy

SparseNetworkAccessPoliciesList represents a list of SparseNetworkAccessPolicies

func (SparseNetworkAccessPoliciesList) Append

Append appends the objects to the a new copy of the SparseNetworkAccessPoliciesList.

func (SparseNetworkAccessPoliciesList) Copy

Copy returns a pointer to a copy the SparseNetworkAccessPoliciesList.

func (SparseNetworkAccessPoliciesList) DefaultOrder

func (o SparseNetworkAccessPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseNetworkAccessPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseNetworkAccessPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseNetworkAccessPoliciesList) ToPlain

ToPlain returns the SparseNetworkAccessPoliciesList converted to NetworkAccessPoliciesList.

func (SparseNetworkAccessPoliciesList) Version

Version returns the version of the content.

type SparseNetworkAccessPolicy

type SparseNetworkAccessPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines the action to apply to a flow.
	//
	// - `Allow`: allows the defined traffic.
	// - `Reject`: rejects the defined traffic; useful in conjunction with an allow all
	// policy.
	// - `Continue`: neither allows or rejects the traffic; useful for applying another
	// property to the traffic.
	Action *NetworkAccessPolicyActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"-" mapstructure:"action,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Sets three different types of policies. `IncomingTraffic`: applies the policy to
	// all
	// processing units that match the `object` and allows them to *accept* connections
	// from
	// processing units or external networks that match the `subject`.
	// `OutgoingTraffic`: applies
	// the policy to all processing units that match the `subject` and allows them to
	// *initiate*
	// connections with processing units or external networks that match the `object`.
	// `Bidirectional` (default): applies the policy to all processing units that match
	// the `object`
	// and allows them to *accept* connections from processing units that match the
	// `subject`.
	// Also applies the policy to all processing units that match the `subject` and
	// allows them
	// to *initiate* connections with processing units that match the `object`.
	ApplyPolicyMode *NetworkAccessPolicyApplyPolicyModeValue `json:"applyPolicyMode,omitempty" msgpack:"applyPolicyMode,omitempty" bson:"-" mapstructure:"applyPolicyMode,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Defines if the flow has to be encrypted. This property is deprecated and have no
	// incidence.
	EncryptionEnabled *bool `json:"encryptionEnabled,omitempty" msgpack:"encryptionEnabled,omitempty" bson:"-" mapstructure:"encryptionEnabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// If `true`, the relevant flows are logged and available from Microsegmentation
	// Console.
	// Under some advanced scenarios you may wish to set this to `false`, such as to
	// save space or
	// improve performance.
	LogsEnabled *bool `json:"logsEnabled,omitempty" msgpack:"logsEnabled,omitempty" bson:"-" mapstructure:"logsEnabled,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Setting this to `true` will invert the object to find what is not matching.
	NegateObject *bool `` /* 130-byte string literal not displayed */

	// Setting this to `true` will invert the subject to find what is not matching.
	NegateSubject *bool `` /* 134-byte string literal not displayed */

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// A tag or tag expression identifying the object of the policy.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// If set to `true`, the flow will be in observation mode.
	ObservationEnabled *bool `` /* 127-byte string literal not displayed */

	// If `observationEnabled` is set to `true`, this defines the final action taken
	// on the packets: `Apply` or `Continue` (default).
	ObservedTrafficAction *NetworkAccessPolicyObservedTrafficActionValue `` /* 136-byte string literal not displayed */

	// Represents the ports and protocols this policy applies to.
	Ports *[]string `json:"ports,omitempty" msgpack:"ports,omitempty" bson:"-" mapstructure:"ports,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// A tag or tag expression identifying the subject of the policy.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseNetworkAccessPolicy represents the sparse version of a networkaccesspolicy.

func NewSparseNetworkAccessPolicy

func NewSparseNetworkAccessPolicy() *SparseNetworkAccessPolicy

NewSparseNetworkAccessPolicy returns a new SparseNetworkAccessPolicy.

func (*SparseNetworkAccessPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseNetworkAccessPolicy.

func (*SparseNetworkAccessPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseNetworkAccessPolicy.

func (*SparseNetworkAccessPolicy) GetActiveDuration

func (o *SparseNetworkAccessPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseNetworkAccessPolicy) GetActiveSchedule

func (o *SparseNetworkAccessPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseNetworkAccessPolicy) GetAnnotations

func (o *SparseNetworkAccessPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseNetworkAccessPolicy) GetAssociatedTags

func (o *SparseNetworkAccessPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseNetworkAccessPolicy) GetBSON added in v1.80.0

func (o *SparseNetworkAccessPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNetworkAccessPolicy) GetCreateIdempotencyKey

func (o *SparseNetworkAccessPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseNetworkAccessPolicy) GetCreateTime

func (o *SparseNetworkAccessPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseNetworkAccessPolicy) GetDescription

func (o *SparseNetworkAccessPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseNetworkAccessPolicy) GetDisabled

func (o *SparseNetworkAccessPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseNetworkAccessPolicy) GetExpirationTime

func (o *SparseNetworkAccessPolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseNetworkAccessPolicy) GetFallback

func (o *SparseNetworkAccessPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseNetworkAccessPolicy) GetMetadata

func (o *SparseNetworkAccessPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseNetworkAccessPolicy) GetName

func (o *SparseNetworkAccessPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseNetworkAccessPolicy) GetNamespace

func (o *SparseNetworkAccessPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseNetworkAccessPolicy) GetNegateObject

func (o *SparseNetworkAccessPolicy) GetNegateObject() (out bool)

GetNegateObject returns the NegateObject of the receiver.

func (*SparseNetworkAccessPolicy) GetNegateSubject

func (o *SparseNetworkAccessPolicy) GetNegateSubject() (out bool)

GetNegateSubject returns the NegateSubject of the receiver.

func (*SparseNetworkAccessPolicy) GetNormalizedTags

func (o *SparseNetworkAccessPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseNetworkAccessPolicy) GetPropagate

func (o *SparseNetworkAccessPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseNetworkAccessPolicy) GetProtected

func (o *SparseNetworkAccessPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseNetworkAccessPolicy) GetUpdateIdempotencyKey

func (o *SparseNetworkAccessPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseNetworkAccessPolicy) GetUpdateTime

func (o *SparseNetworkAccessPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseNetworkAccessPolicy) Identifier

func (o *SparseNetworkAccessPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseNetworkAccessPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseNetworkAccessPolicy) SetActiveDuration

func (o *SparseNetworkAccessPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetActiveSchedule

func (o *SparseNetworkAccessPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetAnnotations

func (o *SparseNetworkAccessPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetAssociatedTags

func (o *SparseNetworkAccessPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetBSON added in v1.80.0

func (o *SparseNetworkAccessPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNetworkAccessPolicy) SetCreateIdempotencyKey

func (o *SparseNetworkAccessPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetCreateTime

func (o *SparseNetworkAccessPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetDescription

func (o *SparseNetworkAccessPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetDisabled

func (o *SparseNetworkAccessPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetExpirationTime

func (o *SparseNetworkAccessPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetFallback

func (o *SparseNetworkAccessPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetIdentifier

func (o *SparseNetworkAccessPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseNetworkAccessPolicy) SetMetadata

func (o *SparseNetworkAccessPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetName

func (o *SparseNetworkAccessPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetNamespace

func (o *SparseNetworkAccessPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetNegateObject

func (o *SparseNetworkAccessPolicy) SetNegateObject(negateObject bool)

SetNegateObject sets the property NegateObject of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetNegateSubject

func (o *SparseNetworkAccessPolicy) SetNegateSubject(negateSubject bool)

SetNegateSubject sets the property NegateSubject of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetNormalizedTags

func (o *SparseNetworkAccessPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetPropagate

func (o *SparseNetworkAccessPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetProtected

func (o *SparseNetworkAccessPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetUpdateIdempotencyKey

func (o *SparseNetworkAccessPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) SetUpdateTime

func (o *SparseNetworkAccessPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseNetworkAccessPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseNetworkAccessPolicy) Version

func (o *SparseNetworkAccessPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseNetworkRuleSetPoliciesList added in v1.94.1

type SparseNetworkRuleSetPoliciesList []*SparseNetworkRuleSetPolicy

SparseNetworkRuleSetPoliciesList represents a list of SparseNetworkRuleSetPolicies

func (SparseNetworkRuleSetPoliciesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseNetworkRuleSetPoliciesList.

func (SparseNetworkRuleSetPoliciesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseNetworkRuleSetPoliciesList.

func (SparseNetworkRuleSetPoliciesList) DefaultOrder added in v1.94.1

func (o SparseNetworkRuleSetPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseNetworkRuleSetPoliciesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseNetworkRuleSetPoliciesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseNetworkRuleSetPoliciesList) ToPlain added in v1.94.1

ToPlain returns the SparseNetworkRuleSetPoliciesList converted to NetworkRuleSetPoliciesList.

func (SparseNetworkRuleSetPoliciesList) Version added in v1.94.1

Version returns the version of the content.

type SparseNetworkRuleSetPolicy added in v1.94.1

type SparseNetworkRuleSetPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// The set of rules to apply to incoming traffic (traffic coming to the Processing
	// Unit matching the subject).
	IncomingRules *[]*NetworkRule `json:"incomingRules,omitempty" msgpack:"incomingRules,omitempty" bson:"-" mapstructure:"incomingRules,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// The set of rules to apply to outgoing traffic (traffic coming from the
	// Processing Unit matching the subject).
	OutgoingRules *[]*NetworkRule `json:"outgoingRules,omitempty" msgpack:"outgoingRules,omitempty" bson:"-" mapstructure:"outgoingRules,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// A tag expression identifying used to match processing units to which this policy
	// applies to.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseNetworkRuleSetPolicy represents the sparse version of a networkrulesetpolicy.

func NewSparseNetworkRuleSetPolicy added in v1.94.1

func NewSparseNetworkRuleSetPolicy() *SparseNetworkRuleSetPolicy

NewSparseNetworkRuleSetPolicy returns a new SparseNetworkRuleSetPolicy.

func (*SparseNetworkRuleSetPolicy) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseNetworkRuleSetPolicy.

func (*SparseNetworkRuleSetPolicy) DeepCopyInto added in v1.94.1

DeepCopyInto copies the receiver into the given *SparseNetworkRuleSetPolicy.

func (*SparseNetworkRuleSetPolicy) GetAnnotations added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseNetworkRuleSetPolicy) GetAssociatedTags added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseNetworkRuleSetPolicy) GetBSON added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNetworkRuleSetPolicy) GetCreateIdempotencyKey added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseNetworkRuleSetPolicy) GetCreateTime added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseNetworkRuleSetPolicy) GetDescription added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseNetworkRuleSetPolicy) GetDisabled added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseNetworkRuleSetPolicy) GetFallback added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseNetworkRuleSetPolicy) GetMetadata added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseNetworkRuleSetPolicy) GetName added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseNetworkRuleSetPolicy) GetNamespace added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseNetworkRuleSetPolicy) GetNormalizedTags added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseNetworkRuleSetPolicy) GetPropagate added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseNetworkRuleSetPolicy) GetProtected added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseNetworkRuleSetPolicy) GetUpdateIdempotencyKey added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseNetworkRuleSetPolicy) GetUpdateTime added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseNetworkRuleSetPolicy) Identifier added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseNetworkRuleSetPolicy) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseNetworkRuleSetPolicy) SetAnnotations added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetAssociatedTags added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetBSON added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseNetworkRuleSetPolicy) SetCreateIdempotencyKey added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetCreateTime added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetDescription added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetDisabled added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetFallback added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetIdentifier added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseNetworkRuleSetPolicy) SetMetadata added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetName added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetNamespace added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetNormalizedTags added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetPropagate added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetProtected added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetUpdateIdempotencyKey added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) SetUpdateTime added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseNetworkRuleSetPolicy) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseNetworkRuleSetPolicy) Version added in v1.94.1

func (o *SparseNetworkRuleSetPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseOAUTHInfo added in v1.20.0

type SparseOAUTHInfo struct {
	// IDTokenSigningAlgValuesSupported is corresponding attribute of the OIDC
	// spec.
	IDTokenSigningAlgValuesSupported *[]string `` /* 184-byte string literal not displayed */

	// JWKSURI is the URI that can be used to retrieve the public keys that will
	// verify a JWT.
	JWKSURI *string `json:"jwks_uri,omitempty" msgpack:"jwks_uri,omitempty" bson:"-" mapstructure:"jwks_uri,omitempty"`

	// AuhorizationEndpoint is the authorization endpoint.
	AuhorizationEndpoint *string `` /* 136-byte string literal not displayed */

	// ClaimsSupported is corresponding attribute of the OIDC spec.
	ClaimsSupported *[]string `json:"claims_supported,omitempty" msgpack:"claims_supported,omitempty" bson:"-" mapstructure:"claims_supported,omitempty"`

	// Issuer is the the URL pointing to the issuer of the token.
	Issuer *string `json:"issuer,omitempty" msgpack:"issuer,omitempty" bson:"-" mapstructure:"issuer,omitempty"`

	// ResponseTypesSupported is corresponding attribute of the OIDC spec.
	ResponseTypesSupported *[]string `` /* 145-byte string literal not displayed */

	// ScopesSupported is corresponding attribute of the OIDC spec.
	ScopesSupported *[]string `json:"scopes_supported,omitempty" msgpack:"scopes_supported,omitempty" bson:"-" mapstructure:"scopes_supported,omitempty"`

	// SubjectTypesSupported is corresponding attribute of the OIDC spec.
	SubjectTypesSupported *[]string `` /* 142-byte string literal not displayed */

	// TokenEndpointAuthMethodsSupported is corresponding attribute of the OIDC
	// spec.
	TokenEndpointAuthMethodsSupported *[]string `` /* 184-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseOAUTHInfo represents the sparse version of a oauthinfo.

func NewSparseOAUTHInfo added in v1.20.0

func NewSparseOAUTHInfo() *SparseOAUTHInfo

NewSparseOAUTHInfo returns a new SparseOAUTHInfo.

func (*SparseOAUTHInfo) DeepCopy added in v1.20.0

func (o *SparseOAUTHInfo) DeepCopy() *SparseOAUTHInfo

DeepCopy returns a deep copy if the SparseOAUTHInfo.

func (*SparseOAUTHInfo) DeepCopyInto added in v1.20.0

func (o *SparseOAUTHInfo) DeepCopyInto(out *SparseOAUTHInfo)

DeepCopyInto copies the receiver into the given *SparseOAUTHInfo.

func (*SparseOAUTHInfo) GetBSON added in v1.80.0

func (o *SparseOAUTHInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOAUTHInfo) Identifier added in v1.20.0

func (o *SparseOAUTHInfo) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseOAUTHInfo) Identity added in v1.20.0

func (o *SparseOAUTHInfo) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseOAUTHInfo) SetBSON added in v1.80.0

func (o *SparseOAUTHInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOAUTHInfo) SetIdentifier added in v1.20.0

func (o *SparseOAUTHInfo) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseOAUTHInfo) ToPlain added in v1.20.0

ToPlain returns the plain version of the sparse model.

func (*SparseOAUTHInfo) Version added in v1.20.0

func (o *SparseOAUTHInfo) Version() int

Version returns the hardcoded version of the model.

type SparseOAUTHInfosList added in v1.20.0

type SparseOAUTHInfosList []*SparseOAUTHInfo

SparseOAUTHInfosList represents a list of SparseOAUTHInfos

func (SparseOAUTHInfosList) Append added in v1.20.0

Append appends the objects to the a new copy of the SparseOAUTHInfosList.

func (SparseOAUTHInfosList) Copy added in v1.20.0

Copy returns a pointer to a copy the SparseOAUTHInfosList.

func (SparseOAUTHInfosList) DefaultOrder added in v1.20.0

func (o SparseOAUTHInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseOAUTHInfosList) Identity added in v1.20.0

Identity returns the identity of the objects in the list.

func (SparseOAUTHInfosList) List added in v1.20.0

List converts the object to an elemental.IdentifiablesList.

func (SparseOAUTHInfosList) ToPlain added in v1.20.0

ToPlain returns the SparseOAUTHInfosList converted to OAUTHInfosList.

func (SparseOAUTHInfosList) Version added in v1.20.0

func (o SparseOAUTHInfosList) Version() int

Version returns the version of the content.

type SparseOAUTHKey added in v1.20.0

type SparseOAUTHKey struct {
	// KeyString is the JWKS key response for an OAUTH verifier. It provides the OAUTH
	// compatible signing keys.
	KeyString *string `json:"keyString,omitempty" msgpack:"keyString,omitempty" bson:"-" mapstructure:"keyString,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseOAUTHKey represents the sparse version of a oauthkey.

func NewSparseOAUTHKey added in v1.20.0

func NewSparseOAUTHKey() *SparseOAUTHKey

NewSparseOAUTHKey returns a new SparseOAUTHKey.

func (*SparseOAUTHKey) DeepCopy added in v1.20.0

func (o *SparseOAUTHKey) DeepCopy() *SparseOAUTHKey

DeepCopy returns a deep copy if the SparseOAUTHKey.

func (*SparseOAUTHKey) DeepCopyInto added in v1.20.0

func (o *SparseOAUTHKey) DeepCopyInto(out *SparseOAUTHKey)

DeepCopyInto copies the receiver into the given *SparseOAUTHKey.

func (*SparseOAUTHKey) GetBSON added in v1.80.0

func (o *SparseOAUTHKey) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOAUTHKey) Identifier added in v1.20.0

func (o *SparseOAUTHKey) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseOAUTHKey) Identity added in v1.20.0

func (o *SparseOAUTHKey) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseOAUTHKey) SetBSON added in v1.80.0

func (o *SparseOAUTHKey) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOAUTHKey) SetIdentifier added in v1.20.0

func (o *SparseOAUTHKey) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseOAUTHKey) ToPlain added in v1.20.0

ToPlain returns the plain version of the sparse model.

func (*SparseOAUTHKey) Version added in v1.20.0

func (o *SparseOAUTHKey) Version() int

Version returns the hardcoded version of the model.

type SparseOAUTHKeysList added in v1.20.0

type SparseOAUTHKeysList []*SparseOAUTHKey

SparseOAUTHKeysList represents a list of SparseOAUTHKeys

func (SparseOAUTHKeysList) Append added in v1.20.0

Append appends the objects to the a new copy of the SparseOAUTHKeysList.

func (SparseOAUTHKeysList) Copy added in v1.20.0

Copy returns a pointer to a copy the SparseOAUTHKeysList.

func (SparseOAUTHKeysList) DefaultOrder added in v1.20.0

func (o SparseOAUTHKeysList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseOAUTHKeysList) Identity added in v1.20.0

func (o SparseOAUTHKeysList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseOAUTHKeysList) List added in v1.20.0

List converts the object to an elemental.IdentifiablesList.

func (SparseOAUTHKeysList) ToPlain added in v1.20.0

ToPlain returns the SparseOAUTHKeysList converted to OAUTHKeysList.

func (SparseOAUTHKeysList) Version added in v1.20.0

func (o SparseOAUTHKeysList) Version() int

Version returns the version of the content.

type SparseOIDCProvider

type SparseOIDCProvider struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Set the CA to use to contact the OIDC server. This is useful when you are using
	// a custom OIDC provider that doesn't use a trusted CA. Most of the
	// time, you can leave this property empty.
	CertificateAuthority *string `` /* 162-byte string literal not displayed */

	// 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 */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// If set, this will be the default OIDC provider. There can be only one default
	// provider in your account. When logging in with OIDC, if no provider name is
	// given, the default will be used.
	Default *bool `json:"default,omitempty" msgpack:"default,omitempty" bson:"default,omitempty" mapstructure:"default,omitempty"`

	// 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"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the parent Microsegmentation account ID.
	ParentID *string `json:"parentID,omitempty" msgpack:"parentID,omitempty" bson:"parentid,omitempty" mapstructure:"parentID,omitempty"`

	// Contains the name of the parent Microsegmentation account.
	ParentName *string `json:"parentName,omitempty" msgpack:"parentName,omitempty" bson:"parentname,omitempty" mapstructure:"parentName,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// List of scopes to allow.
	Scopes *[]string `json:"scopes,omitempty" msgpack:"scopes,omitempty" bson:"scopes,omitempty" mapstructure:"scopes,omitempty"`

	// List of claims that will provide the subject.
	Subjects *[]string `json:"subjects,omitempty" msgpack:"subjects,omitempty" bson:"subjects,omitempty" mapstructure:"subjects,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseOIDCProvider represents the sparse version of a oidcprovider.

func NewSparseOIDCProvider

func NewSparseOIDCProvider() *SparseOIDCProvider

NewSparseOIDCProvider returns a new SparseOIDCProvider.

func (*SparseOIDCProvider) DecryptAttributes added in v1.57.0

func (o *SparseOIDCProvider) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseOIDCProvider) DeepCopy

func (o *SparseOIDCProvider) DeepCopy() *SparseOIDCProvider

DeepCopy returns a deep copy if the SparseOIDCProvider.

func (*SparseOIDCProvider) DeepCopyInto

func (o *SparseOIDCProvider) DeepCopyInto(out *SparseOIDCProvider)

DeepCopyInto copies the receiver into the given *SparseOIDCProvider.

func (*SparseOIDCProvider) EncryptAttributes added in v1.57.0

func (o *SparseOIDCProvider) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseOIDCProvider) GetAnnotations added in v1.1.0

func (o *SparseOIDCProvider) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseOIDCProvider) GetAssociatedTags added in v1.1.0

func (o *SparseOIDCProvider) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseOIDCProvider) GetBSON added in v1.80.0

func (o *SparseOIDCProvider) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOIDCProvider) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseOIDCProvider) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseOIDCProvider) GetCreateTime

func (o *SparseOIDCProvider) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseOIDCProvider) GetDescription added in v1.94.1

func (o *SparseOIDCProvider) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseOIDCProvider) GetMigrationsLog added in v1.30.0

func (o *SparseOIDCProvider) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseOIDCProvider) GetName added in v1.1.0

func (o *SparseOIDCProvider) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseOIDCProvider) GetNamespace added in v1.1.0

func (o *SparseOIDCProvider) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseOIDCProvider) GetNormalizedTags added in v1.1.0

func (o *SparseOIDCProvider) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseOIDCProvider) GetProtected added in v1.1.0

func (o *SparseOIDCProvider) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseOIDCProvider) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseOIDCProvider) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseOIDCProvider) GetUpdateTime

func (o *SparseOIDCProvider) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseOIDCProvider) GetZHash added in v1.1.0

func (o *SparseOIDCProvider) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseOIDCProvider) GetZone added in v1.1.0

func (o *SparseOIDCProvider) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseOIDCProvider) Identifier

func (o *SparseOIDCProvider) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseOIDCProvider) Identity

func (o *SparseOIDCProvider) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseOIDCProvider) SetAnnotations added in v1.1.0

func (o *SparseOIDCProvider) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetAssociatedTags added in v1.1.0

func (o *SparseOIDCProvider) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetBSON added in v1.80.0

func (o *SparseOIDCProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOIDCProvider) SetCreateIdempotencyKey added in v1.1.0

func (o *SparseOIDCProvider) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetCreateTime

func (o *SparseOIDCProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetDescription added in v1.94.1

func (o *SparseOIDCProvider) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetIdentifier

func (o *SparseOIDCProvider) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseOIDCProvider) SetMigrationsLog added in v1.30.0

func (o *SparseOIDCProvider) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetName added in v1.1.0

func (o *SparseOIDCProvider) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetNamespace added in v1.1.0

func (o *SparseOIDCProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetNormalizedTags added in v1.1.0

func (o *SparseOIDCProvider) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetProtected added in v1.1.0

func (o *SparseOIDCProvider) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetUpdateIdempotencyKey added in v1.1.0

func (o *SparseOIDCProvider) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetUpdateTime

func (o *SparseOIDCProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetZHash added in v1.1.0

func (o *SparseOIDCProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseOIDCProvider) SetZone added in v1.1.0

func (o *SparseOIDCProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseOIDCProvider) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseOIDCProvider) Version

func (o *SparseOIDCProvider) Version() int

Version returns the hardcoded version of the model.

type SparseOIDCProvidersList

type SparseOIDCProvidersList []*SparseOIDCProvider

SparseOIDCProvidersList represents a list of SparseOIDCProviders

func (SparseOIDCProvidersList) Append

Append appends the objects to the a new copy of the SparseOIDCProvidersList.

func (SparseOIDCProvidersList) Copy

Copy returns a pointer to a copy the SparseOIDCProvidersList.

func (SparseOIDCProvidersList) DefaultOrder

func (o SparseOIDCProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseOIDCProvidersList) Identity

Identity returns the identity of the objects in the list.

func (SparseOIDCProvidersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseOIDCProvidersList) ToPlain

ToPlain returns the SparseOIDCProvidersList converted to OIDCProvidersList.

func (SparseOIDCProvidersList) Version

func (o SparseOIDCProvidersList) Version() int

Version returns the version of the content.

type SparseOrganizationalMetadata added in v1.94.1

type SparseOrganizationalMetadata struct {
	// List of organizational metadata for the namespace.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseOrganizationalMetadata represents the sparse version of a organizationalmetadata.

func NewSparseOrganizationalMetadata added in v1.94.1

func NewSparseOrganizationalMetadata() *SparseOrganizationalMetadata

NewSparseOrganizationalMetadata returns a new SparseOrganizationalMetadata.

func (*SparseOrganizationalMetadata) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseOrganizationalMetadata.

func (*SparseOrganizationalMetadata) DeepCopyInto added in v1.94.1

DeepCopyInto copies the receiver into the given *SparseOrganizationalMetadata.

func (*SparseOrganizationalMetadata) GetBSON added in v1.94.1

func (o *SparseOrganizationalMetadata) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOrganizationalMetadata) GetNamespace added in v1.94.1

func (o *SparseOrganizationalMetadata) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseOrganizationalMetadata) Identifier added in v1.94.1

func (o *SparseOrganizationalMetadata) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseOrganizationalMetadata) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseOrganizationalMetadata) SetBSON added in v1.94.1

func (o *SparseOrganizationalMetadata) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseOrganizationalMetadata) SetIdentifier added in v1.94.1

func (o *SparseOrganizationalMetadata) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseOrganizationalMetadata) SetNamespace added in v1.94.1

func (o *SparseOrganizationalMetadata) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseOrganizationalMetadata) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseOrganizationalMetadata) Version added in v1.94.1

func (o *SparseOrganizationalMetadata) Version() int

Version returns the hardcoded version of the model.

type SparseOrganizationalMetadatasList added in v1.94.1

type SparseOrganizationalMetadatasList []*SparseOrganizationalMetadata

SparseOrganizationalMetadatasList represents a list of SparseOrganizationalMetadatas

func (SparseOrganizationalMetadatasList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseOrganizationalMetadatasList.

func (SparseOrganizationalMetadatasList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseOrganizationalMetadatasList.

func (SparseOrganizationalMetadatasList) DefaultOrder added in v1.94.1

func (o SparseOrganizationalMetadatasList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseOrganizationalMetadatasList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseOrganizationalMetadatasList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseOrganizationalMetadatasList) ToPlain added in v1.94.1

ToPlain returns the SparseOrganizationalMetadatasList converted to OrganizationalMetadatasList.

func (SparseOrganizationalMetadatasList) Version added in v1.94.1

Version returns the version of the content.

type SparsePCCProvider added in v1.94.1

type SparsePCCProvider struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Set the CA to use to contact the PCC Console in case it uses a non widely
	// trusted
	// certificate authority.
	CertificateAuthority *string `` /* 162-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// If set, this will be the default PCC provider. There can be only one default
	// provider in your account. When logging in with PCC, if no provider name is
	// given, the default will be used.
	Default *bool `json:"default,omitempty" msgpack:"default,omitempty" bson:"default,omitempty" mapstructure:"default,omitempty"`

	// The URL of the PCC service. It must use HTTPS.
	Endpoint *string `json:"endpoint,omitempty" msgpack:"endpoint,omitempty" bson:"endpoint,omitempty" mapstructure:"endpoint,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePCCProvider represents the sparse version of a pccprovider.

func NewSparsePCCProvider added in v1.94.1

func NewSparsePCCProvider() *SparsePCCProvider

NewSparsePCCProvider returns a new SparsePCCProvider.

func (*SparsePCCProvider) DeepCopy added in v1.94.1

func (o *SparsePCCProvider) DeepCopy() *SparsePCCProvider

DeepCopy returns a deep copy if the SparsePCCProvider.

func (*SparsePCCProvider) DeepCopyInto added in v1.94.1

func (o *SparsePCCProvider) DeepCopyInto(out *SparsePCCProvider)

DeepCopyInto copies the receiver into the given *SparsePCCProvider.

func (*SparsePCCProvider) GetAnnotations added in v1.94.1

func (o *SparsePCCProvider) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparsePCCProvider) GetAssociatedTags added in v1.94.1

func (o *SparsePCCProvider) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparsePCCProvider) GetBSON added in v1.94.1

func (o *SparsePCCProvider) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePCCProvider) GetCreateIdempotencyKey added in v1.94.1

func (o *SparsePCCProvider) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparsePCCProvider) GetCreateTime added in v1.94.1

func (o *SparsePCCProvider) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparsePCCProvider) GetMigrationsLog added in v1.94.1

func (o *SparsePCCProvider) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparsePCCProvider) GetName added in v1.94.1

func (o *SparsePCCProvider) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparsePCCProvider) GetNamespace added in v1.94.1

func (o *SparsePCCProvider) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparsePCCProvider) GetNormalizedTags added in v1.94.1

func (o *SparsePCCProvider) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparsePCCProvider) GetProtected added in v1.94.1

func (o *SparsePCCProvider) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparsePCCProvider) GetUpdateIdempotencyKey added in v1.94.1

func (o *SparsePCCProvider) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparsePCCProvider) GetUpdateTime added in v1.94.1

func (o *SparsePCCProvider) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparsePCCProvider) GetZHash added in v1.94.1

func (o *SparsePCCProvider) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparsePCCProvider) GetZone added in v1.94.1

func (o *SparsePCCProvider) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparsePCCProvider) Identifier added in v1.94.1

func (o *SparsePCCProvider) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePCCProvider) Identity added in v1.94.1

func (o *SparsePCCProvider) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePCCProvider) SetAnnotations added in v1.94.1

func (o *SparsePCCProvider) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparsePCCProvider) SetAssociatedTags added in v1.94.1

func (o *SparsePCCProvider) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparsePCCProvider) SetBSON added in v1.94.1

func (o *SparsePCCProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePCCProvider) SetCreateIdempotencyKey added in v1.94.1

func (o *SparsePCCProvider) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparsePCCProvider) SetCreateTime added in v1.94.1

func (o *SparsePCCProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparsePCCProvider) SetIdentifier added in v1.94.1

func (o *SparsePCCProvider) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePCCProvider) SetMigrationsLog added in v1.94.1

func (o *SparsePCCProvider) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparsePCCProvider) SetName added in v1.94.1

func (o *SparsePCCProvider) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparsePCCProvider) SetNamespace added in v1.94.1

func (o *SparsePCCProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparsePCCProvider) SetNormalizedTags added in v1.94.1

func (o *SparsePCCProvider) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparsePCCProvider) SetProtected added in v1.94.1

func (o *SparsePCCProvider) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparsePCCProvider) SetUpdateIdempotencyKey added in v1.94.1

func (o *SparsePCCProvider) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparsePCCProvider) SetUpdateTime added in v1.94.1

func (o *SparsePCCProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparsePCCProvider) SetZHash added in v1.94.1

func (o *SparsePCCProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparsePCCProvider) SetZone added in v1.94.1

func (o *SparsePCCProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparsePCCProvider) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparsePCCProvider) Version added in v1.94.1

func (o *SparsePCCProvider) Version() int

Version returns the hardcoded version of the model.

type SparsePCCProvidersList added in v1.94.1

type SparsePCCProvidersList []*SparsePCCProvider

SparsePCCProvidersList represents a list of SparsePCCProviders

func (SparsePCCProvidersList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparsePCCProvidersList.

func (SparsePCCProvidersList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparsePCCProvidersList.

func (SparsePCCProvidersList) DefaultOrder added in v1.94.1

func (o SparsePCCProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePCCProvidersList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparsePCCProvidersList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparsePCCProvidersList) ToPlain added in v1.94.1

ToPlain returns the SparsePCCProvidersList converted to PCCProvidersList.

func (SparsePCCProvidersList) Version added in v1.94.1

func (o SparsePCCProvidersList) Version() int

Version returns the version of the content.

type SparsePCSearchResult added in v1.94.1

type SparsePCSearchResult struct {
	// The edges of the map connecting internal endpoints.
	InternalEdges *map[string]*CloudGraphEdge `json:"internalEdges,omitempty" msgpack:"internalEdges,omitempty" bson:"-" mapstructure:"internalEdges,omitempty"`

	// The payload of the search result.
	Items *ReportsQuery `json:"items,omitempty" msgpack:"items,omitempty" bson:"-" mapstructure:"items,omitempty"`

	// The pagination token for next page.
	NextPageToken *string `json:"nextPageToken,omitempty" msgpack:"nextPageToken,omitempty" bson:"-" mapstructure:"nextPageToken,omitempty"`

	// Refers to the nodes of the map.
	Nodes *map[string]*CloudGraphNode `json:"nodes,omitempty" msgpack:"nodes,omitempty" bson:"-" mapstructure:"nodes,omitempty"`

	// The set of paths from the given source to the given destination. Only provided
	// when the query type is NetworkPath.
	Paths *[][]*CloudPathElement `json:"paths,omitempty" msgpack:"paths,omitempty" bson:"-" mapstructure:"paths,omitempty"`

	// The edges of the map connecting public endpoints.
	PublicEdges *map[string]*CloudGraphEdge `json:"publicEdges,omitempty" msgpack:"publicEdges,omitempty" bson:"-" mapstructure:"publicEdges,omitempty"`

	// The set of destinations that have been discovered based on the query and their
	// associated verdicts.
	SourceDestinationMap *map[string]map[string]*CloudNetworkQueryDestination `` /* 133-byte string literal not displayed */

	// The total number of result items.
	TotalRows *int `json:"totalRows,omitempty" msgpack:"totalRows,omitempty" bson:"-" mapstructure:"totalRows,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePCSearchResult represents the sparse version of a pcsearchresult.

func NewSparsePCSearchResult added in v1.94.1

func NewSparsePCSearchResult() *SparsePCSearchResult

NewSparsePCSearchResult returns a new SparsePCSearchResult.

func (*SparsePCSearchResult) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparsePCSearchResult.

func (*SparsePCSearchResult) DeepCopyInto added in v1.94.1

func (o *SparsePCSearchResult) DeepCopyInto(out *SparsePCSearchResult)

DeepCopyInto copies the receiver into the given *SparsePCSearchResult.

func (*SparsePCSearchResult) GetBSON added in v1.94.1

func (o *SparsePCSearchResult) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePCSearchResult) Identifier added in v1.94.1

func (o *SparsePCSearchResult) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePCSearchResult) Identity added in v1.94.1

func (o *SparsePCSearchResult) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePCSearchResult) SetBSON added in v1.94.1

func (o *SparsePCSearchResult) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePCSearchResult) SetIdentifier added in v1.94.1

func (o *SparsePCSearchResult) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePCSearchResult) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparsePCSearchResult) Version added in v1.94.1

func (o *SparsePCSearchResult) Version() int

Version returns the hardcoded version of the model.

type SparsePCSearchResultsList added in v1.94.1

type SparsePCSearchResultsList []*SparsePCSearchResult

SparsePCSearchResultsList represents a list of SparsePCSearchResults

func (SparsePCSearchResultsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparsePCSearchResultsList.

func (SparsePCSearchResultsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparsePCSearchResultsList.

func (SparsePCSearchResultsList) DefaultOrder added in v1.94.1

func (o SparsePCSearchResultsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePCSearchResultsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparsePCSearchResultsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparsePCSearchResultsList) ToPlain added in v1.94.1

ToPlain returns the SparsePCSearchResultsList converted to PCSearchResultsList.

func (SparsePCSearchResultsList) Version added in v1.94.1

func (o SparsePCSearchResultsList) Version() int

Version returns the version of the content.

type SparsePCTimeRange added in v1.94.1

type SparsePCTimeRange struct {
	// The type of relative time.
	RelativeTimeType *string `json:"relativeTimeType,omitempty" msgpack:"relativeTimeType,omitempty" bson:"-" mapstructure:"relativeTimeType,omitempty"`

	// The type of time range.
	Type *string `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	// The value of time range.
	Value *interface{} `json:"value,omitempty" msgpack:"value,omitempty" bson:"-" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePCTimeRange represents the sparse version of a pctimerange.

func NewSparsePCTimeRange added in v1.94.1

func NewSparsePCTimeRange() *SparsePCTimeRange

NewSparsePCTimeRange returns a new SparsePCTimeRange.

func (*SparsePCTimeRange) DeepCopy added in v1.94.1

func (o *SparsePCTimeRange) DeepCopy() *SparsePCTimeRange

DeepCopy returns a deep copy if the SparsePCTimeRange.

func (*SparsePCTimeRange) DeepCopyInto added in v1.94.1

func (o *SparsePCTimeRange) DeepCopyInto(out *SparsePCTimeRange)

DeepCopyInto copies the receiver into the given *SparsePCTimeRange.

func (*SparsePCTimeRange) GetBSON added in v1.94.1

func (o *SparsePCTimeRange) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePCTimeRange) Identifier added in v1.94.1

func (o *SparsePCTimeRange) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePCTimeRange) Identity added in v1.94.1

func (o *SparsePCTimeRange) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePCTimeRange) SetBSON added in v1.94.1

func (o *SparsePCTimeRange) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePCTimeRange) SetIdentifier added in v1.94.1

func (o *SparsePCTimeRange) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePCTimeRange) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparsePCTimeRange) Version added in v1.94.1

func (o *SparsePCTimeRange) Version() int

Version returns the hardcoded version of the model.

type SparsePCTimeRangesList added in v1.94.1

type SparsePCTimeRangesList []*SparsePCTimeRange

SparsePCTimeRangesList represents a list of SparsePCTimeRanges

func (SparsePCTimeRangesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparsePCTimeRangesList.

func (SparsePCTimeRangesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparsePCTimeRangesList.

func (SparsePCTimeRangesList) DefaultOrder added in v1.94.1

func (o SparsePCTimeRangesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePCTimeRangesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparsePCTimeRangesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparsePCTimeRangesList) ToPlain added in v1.94.1

ToPlain returns the SparsePCTimeRangesList converted to PCTimeRangesList.

func (SparsePCTimeRangesList) Version added in v1.94.1

func (o SparsePCTimeRangesList) Version() int

Version returns the version of the content.

type SparsePUTrafficAction added in v1.101.0

type SparsePUTrafficAction struct {
	// The processing unit action for incoming traffic for the namespace.
	Incoming *PUTrafficActionIncomingValue `json:"Incoming,omitempty" msgpack:"Incoming,omitempty" bson:"-" mapstructure:"Incoming,omitempty"`

	// The processing unit action for outgoing traffic for the namespace.
	Outgoing *PUTrafficActionOutgoingValue `json:"Outgoing,omitempty" msgpack:"Outgoing,omitempty" bson:"-" mapstructure:"Outgoing,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePUTrafficAction represents the sparse version of a putrafficaction.

func NewSparsePUTrafficAction added in v1.101.0

func NewSparsePUTrafficAction() *SparsePUTrafficAction

NewSparsePUTrafficAction returns a new SparsePUTrafficAction.

func (*SparsePUTrafficAction) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparsePUTrafficAction.

func (*SparsePUTrafficAction) DeepCopyInto added in v1.101.0

func (o *SparsePUTrafficAction) DeepCopyInto(out *SparsePUTrafficAction)

DeepCopyInto copies the receiver into the given *SparsePUTrafficAction.

func (*SparsePUTrafficAction) GetBSON added in v1.101.0

func (o *SparsePUTrafficAction) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePUTrafficAction) Identifier added in v1.101.0

func (o *SparsePUTrafficAction) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePUTrafficAction) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparsePUTrafficAction) SetBSON added in v1.101.0

func (o *SparsePUTrafficAction) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePUTrafficAction) SetIdentifier added in v1.101.0

func (o *SparsePUTrafficAction) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePUTrafficAction) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparsePUTrafficAction) Version added in v1.101.0

func (o *SparsePUTrafficAction) Version() int

Version returns the hardcoded version of the model.

type SparsePUTrafficActionsList added in v1.101.0

type SparsePUTrafficActionsList []*SparsePUTrafficAction

SparsePUTrafficActionsList represents a list of SparsePUTrafficActions

func (SparsePUTrafficActionsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparsePUTrafficActionsList.

func (SparsePUTrafficActionsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparsePUTrafficActionsList.

func (SparsePUTrafficActionsList) DefaultOrder added in v1.101.0

func (o SparsePUTrafficActionsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePUTrafficActionsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparsePUTrafficActionsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparsePUTrafficActionsList) ToPlain added in v1.101.0

ToPlain returns the SparsePUTrafficActionsList converted to PUTrafficActionsList.

func (SparsePUTrafficActionsList) Version added in v1.101.0

func (o SparsePUTrafficActionsList) Version() int

Version returns the version of the content.

type SparsePacketReport

type SparsePacketReport struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Flags are the TCP flags of the packet.
	TCPFlags *int `json:"TCPFlags,omitempty" msgpack:"TCPFlags,omitempty" bson:"a,omitempty" mapstructure:"TCPFlags,omitempty"`

	// Claims is the list of claims detected for the packet.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"b,omitempty" mapstructure:"claims,omitempty"`

	// The destination IP address of the packet.
	DestinationIP *string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"c,omitempty" mapstructure:"destinationIP,omitempty"`

	// The destination port of a TCP or UDP packet.
	DestinationPort *int `` /* 128-byte string literal not displayed */

	// If `event` is set to `Dropped`, contains the reason that the packet was dropped.
	// Otherwise empty.
	DropReason *string `json:"dropReason,omitempty" msgpack:"dropReason,omitempty" bson:"e,omitempty" mapstructure:"dropReason,omitempty"`

	// Set to `true` if the packet was encrypted.
	Encrypt *bool `json:"encrypt,omitempty" msgpack:"encrypt,omitempty" bson:"f,omitempty" mapstructure:"encrypt,omitempty"`

	// Identifier of the enforcer sending the report.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"g,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer sending the report.
	EnforcerNamespace *string `` /* 134-byte string literal not displayed */

	// The event that triggered the report.
	Event *PacketReportEventValue `json:"event,omitempty" msgpack:"event,omitempty" bson:"i,omitempty" mapstructure:"event,omitempty"`

	// Length is the length of the packet.
	Length *int `json:"-" msgpack:"-" bson:"j,omitempty" mapstructure:"-,omitempty"`

	// Mark is the mark value of the packet.
	Mark *int `json:"mark,omitempty" msgpack:"mark,omitempty" bson:"k,omitempty" mapstructure:"mark,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace of the processing unit reporting the packet.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"l,omitempty" mapstructure:"namespace,omitempty"`

	// The ID of the IP header of the reported packet.
	PacketID *int `json:"packetID,omitempty" msgpack:"packetID,omitempty" bson:"m,omitempty" mapstructure:"packetID,omitempty"`

	// Protocol number.
	Protocol *int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"n,omitempty" mapstructure:"protocol,omitempty"`

	// The ID of the processing unit reporting the packet.
	PuID *string `json:"puID,omitempty" msgpack:"puID,omitempty" bson:"o,omitempty" mapstructure:"puID,omitempty"`

	// The first 64 bytes of the packet.
	RawPacket *string `json:"rawPacket,omitempty" msgpack:"rawPacket,omitempty" bson:"p,omitempty" mapstructure:"rawPacket,omitempty"`

	// The source IP address of the packet.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"q,omitempty" mapstructure:"sourceIP,omitempty"`

	// The source port of the packet.
	SourcePort *int `json:"sourcePort,omitempty" msgpack:"sourcePort,omitempty" bson:"r,omitempty" mapstructure:"sourcePort,omitempty"`

	// The time-date stamp of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"s,omitempty" mapstructure:"timestamp,omitempty"`

	// Set to `true` if the packet arrived with the Trireme options (default).
	TriremePacket *bool `json:"triremePacket,omitempty" msgpack:"triremePacket,omitempty" bson:"t,omitempty" mapstructure:"triremePacket,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePacketReport represents the sparse version of a packetreport.

func NewSparsePacketReport

func NewSparsePacketReport() *SparsePacketReport

NewSparsePacketReport returns a new SparsePacketReport.

func (*SparsePacketReport) DeepCopy

func (o *SparsePacketReport) DeepCopy() *SparsePacketReport

DeepCopy returns a deep copy if the SparsePacketReport.

func (*SparsePacketReport) DeepCopyInto

func (o *SparsePacketReport) DeepCopyInto(out *SparsePacketReport)

DeepCopyInto copies the receiver into the given *SparsePacketReport.

func (*SparsePacketReport) GetBSON added in v1.80.0

func (o *SparsePacketReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePacketReport) GetMigrationsLog added in v1.94.1

func (o *SparsePacketReport) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparsePacketReport) GetZHash added in v1.94.1

func (o *SparsePacketReport) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparsePacketReport) GetZone added in v1.94.1

func (o *SparsePacketReport) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparsePacketReport) Identifier

func (o *SparsePacketReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePacketReport) Identity

func (o *SparsePacketReport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePacketReport) SetBSON added in v1.80.0

func (o *SparsePacketReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePacketReport) SetIdentifier

func (o *SparsePacketReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePacketReport) SetMigrationsLog added in v1.94.1

func (o *SparsePacketReport) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparsePacketReport) SetZHash added in v1.94.1

func (o *SparsePacketReport) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparsePacketReport) SetZone added in v1.94.1

func (o *SparsePacketReport) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparsePacketReport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePacketReport) Version

func (o *SparsePacketReport) Version() int

Version returns the hardcoded version of the model.

type SparsePacketReportsList

type SparsePacketReportsList []*SparsePacketReport

SparsePacketReportsList represents a list of SparsePacketReports

func (SparsePacketReportsList) Append

Append appends the objects to the a new copy of the SparsePacketReportsList.

func (SparsePacketReportsList) Copy

Copy returns a pointer to a copy the SparsePacketReportsList.

func (SparsePacketReportsList) DefaultOrder

func (o SparsePacketReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePacketReportsList) Identity

Identity returns the identity of the objects in the list.

func (SparsePacketReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePacketReportsList) ToPlain

ToPlain returns the SparsePacketReportsList converted to PacketReportsList.

func (SparsePacketReportsList) Version

func (o SparsePacketReportsList) Version() int

Version returns the version of the content.

type SparsePasswordReset

type SparsePasswordReset struct {
	// Contains the new password.
	Password *string `json:"password,omitempty" msgpack:"password,omitempty" bson:"-" mapstructure:"password,omitempty"`

	// Contains the reset password token.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePasswordReset represents the sparse version of a passwordreset.

func NewSparsePasswordReset

func NewSparsePasswordReset() *SparsePasswordReset

NewSparsePasswordReset returns a new SparsePasswordReset.

func (*SparsePasswordReset) DeepCopy

DeepCopy returns a deep copy if the SparsePasswordReset.

func (*SparsePasswordReset) DeepCopyInto

func (o *SparsePasswordReset) DeepCopyInto(out *SparsePasswordReset)

DeepCopyInto copies the receiver into the given *SparsePasswordReset.

func (*SparsePasswordReset) GetBSON added in v1.80.0

func (o *SparsePasswordReset) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePasswordReset) Identifier

func (o *SparsePasswordReset) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePasswordReset) Identity

func (o *SparsePasswordReset) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePasswordReset) SetBSON added in v1.80.0

func (o *SparsePasswordReset) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePasswordReset) SetIdentifier

func (o *SparsePasswordReset) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePasswordReset) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePasswordReset) Version

func (o *SparsePasswordReset) Version() int

Version returns the hardcoded version of the model.

type SparsePasswordResetsList

type SparsePasswordResetsList []*SparsePasswordReset

SparsePasswordResetsList represents a list of SparsePasswordResets

func (SparsePasswordResetsList) Append

Append appends the objects to the a new copy of the SparsePasswordResetsList.

func (SparsePasswordResetsList) Copy

Copy returns a pointer to a copy the SparsePasswordResetsList.

func (SparsePasswordResetsList) DefaultOrder

func (o SparsePasswordResetsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePasswordResetsList) Identity

Identity returns the identity of the objects in the list.

func (SparsePasswordResetsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePasswordResetsList) ToPlain

ToPlain returns the SparsePasswordResetsList converted to PasswordResetsList.

func (SparsePasswordResetsList) Version

func (o SparsePasswordResetsList) Version() int

Version returns the version of the content.

type SparsePingProbe added in v1.94.1

type SparsePingProbe struct {
	// Action of the ACL policy.
	ACLPolicyAction *string `` /* 142-byte string literal not displayed */

	// ID of the ACL policy.
	ACLPolicyID *string `` /* 126-byte string literal not displayed */

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Time taken for a single request-response to complete.
	RTT *string `json:"RTT,omitempty" msgpack:"RTT,omitempty" bson:"rtt,omitempty" mapstructure:"RTT,omitempty"`

	// If true, application responded to the request.
	ApplicationListening *bool `` /* 162-byte string literal not displayed */

	// Claims of the processing unit.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"claims,omitempty" mapstructure:"claims,omitempty"`

	// Type of claims reported.
	ClaimsType *PingProbeClaimsTypeValue `json:"claimsType,omitempty" msgpack:"claimsType,omitempty" bson:"claimstype,omitempty" mapstructure:"claimsType,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// ID of the enforcer.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"enforcerid,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer.
	EnforcerNamespace *string `` /* 150-byte string literal not displayed */

	// Semantic version of the enforcer.
	EnforcerVersion *string `` /* 142-byte string literal not displayed */

	// A non-empty error indicates a failure.
	Error *string `json:"error,omitempty" msgpack:"error,omitempty" bson:"error,omitempty" mapstructure:"error,omitempty"`

	// If true, destination IP is in `excludedNetworks`.
	ExcludedNetworks *bool `` /* 146-byte string literal not displayed */

	// Four tuple in the format <sip:dip:spt:dpt>.
	FourTuple *string `json:"fourTuple,omitempty" msgpack:"fourTuple,omitempty" bson:"fourtuple,omitempty" mapstructure:"fourTuple,omitempty"`

	// If true, the report was generated by the server.
	IsServer *bool `json:"isServer,omitempty" msgpack:"isServer,omitempty" bson:"isserver,omitempty" mapstructure:"isServer,omitempty"`

	// Holds the iteration number this probe is attached to.
	IterationIndex *int `` /* 138-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Size of the payload attached to the packet.
	PayloadSize *int `` /* 126-byte string literal not displayed */

	// Type of the payload size.
	PayloadSizeType *PingProbePayloadSizeTypeValue `` /* 142-byte string literal not displayed */

	// Represents the expiry of the peer certificate.
	PeerCertExpiry *string `` /* 138-byte string literal not displayed */

	// Represents the issuer of the peer certificate.
	PeerCertIssuer *string `` /* 138-byte string literal not displayed */

	// Represents the subject of the peer certificate.
	PeerCertSubject *string `` /* 142-byte string literal not displayed */

	// PingID unique to a single ping control.
	PingID *string `json:"pingID,omitempty" msgpack:"pingID,omitempty" bson:"pingid,omitempty" mapstructure:"pingID,omitempty"`

	// Action of the policy.
	PolicyAction *string `` /* 130-byte string literal not displayed */

	// ID of the policy.
	PolicyID *string `json:"policyID,omitempty" msgpack:"policyID,omitempty" bson:"policyid,omitempty" mapstructure:"policyID,omitempty"`

	// ID of the policy.
	PolicyNamespace *string `` /* 142-byte string literal not displayed */

	// ID of the reporting processing unit.
	ProcessingUnitID *string `` /* 146-byte string literal not displayed */

	// Protocol used for the communication.
	Protocol *int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"protocol,omitempty" mapstructure:"protocol,omitempty"`

	// Controller of the remote endpoint.
	RemoteController *string `` /* 146-byte string literal not displayed */

	// Represents the remote endpoint type.
	RemoteEndpointType *PingProbeRemoteEndpointTypeValue `` /* 154-byte string literal not displayed */

	// Namespace of the remote processing unit.
	RemoteNamespace *string `` /* 142-byte string literal not displayed */

	// Type of the namespace reported.
	RemoteNamespaceType *PingProbeRemoteNamespaceTypeValue `` /* 158-byte string literal not displayed */

	// ID of the remote processing unit.
	RemoteProcessingUnitID *string `` /* 170-byte string literal not displayed */

	// Sequence number of the TCP packet. number.
	SeqNum *int `json:"seqNum,omitempty" msgpack:"seqNum,omitempty" bson:"seqnum,omitempty" mapstructure:"seqNum,omitempty"`

	// ID of the service If the service type is a proxy.
	ServiceID *string `json:"serviceID,omitempty" msgpack:"serviceID,omitempty" bson:"serviceid,omitempty" mapstructure:"serviceID,omitempty"`

	// Type of the service.
	ServiceType *string `` /* 126-byte string literal not displayed */

	// If true, destination IP is in `targetTCPNetworks`.
	TargetTCPNetworks *bool `` /* 150-byte string literal not displayed */

	// Type of the report.
	Type *PingProbeTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePingProbe represents the sparse version of a pingprobe.

func NewSparsePingProbe added in v1.94.1

func NewSparsePingProbe() *SparsePingProbe

NewSparsePingProbe returns a new SparsePingProbe.

func (*SparsePingProbe) DeepCopy added in v1.94.1

func (o *SparsePingProbe) DeepCopy() *SparsePingProbe

DeepCopy returns a deep copy if the SparsePingProbe.

func (*SparsePingProbe) DeepCopyInto added in v1.94.1

func (o *SparsePingProbe) DeepCopyInto(out *SparsePingProbe)

DeepCopyInto copies the receiver into the given *SparsePingProbe.

func (*SparsePingProbe) GetBSON added in v1.94.1

func (o *SparsePingProbe) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePingProbe) GetCreateTime added in v1.94.1

func (o *SparsePingProbe) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparsePingProbe) GetMigrationsLog added in v1.94.1

func (o *SparsePingProbe) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparsePingProbe) GetNamespace added in v1.94.1

func (o *SparsePingProbe) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparsePingProbe) GetUpdateTime added in v1.94.1

func (o *SparsePingProbe) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparsePingProbe) GetZHash added in v1.94.1

func (o *SparsePingProbe) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparsePingProbe) GetZone added in v1.94.1

func (o *SparsePingProbe) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparsePingProbe) Identifier added in v1.94.1

func (o *SparsePingProbe) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePingProbe) Identity added in v1.94.1

func (o *SparsePingProbe) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePingProbe) SetBSON added in v1.94.1

func (o *SparsePingProbe) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePingProbe) SetCreateTime added in v1.94.1

func (o *SparsePingProbe) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparsePingProbe) SetIdentifier added in v1.94.1

func (o *SparsePingProbe) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePingProbe) SetMigrationsLog added in v1.94.1

func (o *SparsePingProbe) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparsePingProbe) SetNamespace added in v1.94.1

func (o *SparsePingProbe) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparsePingProbe) SetUpdateTime added in v1.94.1

func (o *SparsePingProbe) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparsePingProbe) SetZHash added in v1.94.1

func (o *SparsePingProbe) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparsePingProbe) SetZone added in v1.94.1

func (o *SparsePingProbe) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparsePingProbe) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparsePingProbe) Version added in v1.94.1

func (o *SparsePingProbe) Version() int

Version returns the hardcoded version of the model.

type SparsePingProbesList added in v1.94.1

type SparsePingProbesList []*SparsePingProbe

SparsePingProbesList represents a list of SparsePingProbes

func (SparsePingProbesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparsePingProbesList.

func (SparsePingProbesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparsePingProbesList.

func (SparsePingProbesList) DefaultOrder added in v1.94.1

func (o SparsePingProbesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePingProbesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparsePingProbesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparsePingProbesList) ToPlain added in v1.94.1

ToPlain returns the SparsePingProbesList converted to PingProbesList.

func (SparsePingProbesList) Version added in v1.94.1

func (o SparsePingProbesList) Version() int

Version returns the version of the content.

type SparsePingRequest added in v1.94.1

type SparsePingRequest struct {
	// Number of probes that will be triggered.
	Iterations *int `json:"iterations,omitempty" msgpack:"iterations,omitempty" bson:"-" mapstructure:"iterations,omitempty"`

	// Unique ID generated for each ping request.
	PingID *string `json:"pingID,omitempty" msgpack:"pingID,omitempty" bson:"-" mapstructure:"pingID,omitempty"`

	// Contains the refresh ID set by processing unit refresh event.
	RefreshID *string `json:"refreshID,omitempty" msgpack:"refreshID,omitempty" bson:"-" mapstructure:"refreshID,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePingRequest represents the sparse version of a pingrequest.

func NewSparsePingRequest added in v1.94.1

func NewSparsePingRequest() *SparsePingRequest

NewSparsePingRequest returns a new SparsePingRequest.

func (*SparsePingRequest) DeepCopy added in v1.94.1

func (o *SparsePingRequest) DeepCopy() *SparsePingRequest

DeepCopy returns a deep copy if the SparsePingRequest.

func (*SparsePingRequest) DeepCopyInto added in v1.94.1

func (o *SparsePingRequest) DeepCopyInto(out *SparsePingRequest)

DeepCopyInto copies the receiver into the given *SparsePingRequest.

func (*SparsePingRequest) GetBSON added in v1.94.1

func (o *SparsePingRequest) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePingRequest) Identifier added in v1.94.1

func (o *SparsePingRequest) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePingRequest) Identity added in v1.94.1

func (o *SparsePingRequest) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePingRequest) SetBSON added in v1.94.1

func (o *SparsePingRequest) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePingRequest) SetIdentifier added in v1.94.1

func (o *SparsePingRequest) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePingRequest) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparsePingRequest) Version added in v1.94.1

func (o *SparsePingRequest) Version() int

Version returns the hardcoded version of the model.

type SparsePingRequestsList added in v1.94.1

type SparsePingRequestsList []*SparsePingRequest

SparsePingRequestsList represents a list of SparsePingRequests

func (SparsePingRequestsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparsePingRequestsList.

func (SparsePingRequestsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparsePingRequestsList.

func (SparsePingRequestsList) DefaultOrder added in v1.94.1

func (o SparsePingRequestsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePingRequestsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparsePingRequestsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparsePingRequestsList) ToPlain added in v1.94.1

ToPlain returns the SparsePingRequestsList converted to PingRequestsList.

func (SparsePingRequestsList) Version added in v1.94.1

func (o SparsePingRequestsList) Version() int

Version returns the version of the content.

type SparsePingResult added in v1.94.1

type SparsePingResult struct {
	// 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"`

	// May contain a list of errors that have happened during the collection.
	Errors *[]string `json:"errors,omitempty" msgpack:"errors,omitempty" bson:"errors,omitempty" mapstructure:"errors,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the Ping ID.
	PingID *string `json:"pingID,omitempty" msgpack:"pingID,omitempty" bson:"pingid,omitempty" mapstructure:"pingID,omitempty"`

	// Contains the result of aggregated ping pairs.
	PingPairs *[]*PingPair `json:"pingPairs,omitempty" msgpack:"pingPairs,omitempty" bson:"pingpairs,omitempty" mapstructure:"pingPairs,omitempty"`

	// Contains the refresh ID set by processing unit refresh event.
	RefreshID *string `json:"refreshID,omitempty" msgpack:"refreshID,omitempty" bson:"refreshid,omitempty" mapstructure:"refreshID,omitempty"`

	// Contains information about missing probes in the result. This field will be
	// populated in the ping probe is managed by a remote controller (federation) or is
	// stored in a namespace you don't have any permissions on.
	RemoteProbes *[]*RemotePingProbe `` /* 130-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"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePingResult represents the sparse version of a pingresult.

func NewSparsePingResult added in v1.94.1

func NewSparsePingResult() *SparsePingResult

NewSparsePingResult returns a new SparsePingResult.

func (*SparsePingResult) DeepCopy added in v1.94.1

func (o *SparsePingResult) DeepCopy() *SparsePingResult

DeepCopy returns a deep copy if the SparsePingResult.

func (*SparsePingResult) DeepCopyInto added in v1.94.1

func (o *SparsePingResult) DeepCopyInto(out *SparsePingResult)

DeepCopyInto copies the receiver into the given *SparsePingResult.

func (*SparsePingResult) GetBSON added in v1.94.1

func (o *SparsePingResult) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePingResult) GetCreateTime added in v1.94.1

func (o *SparsePingResult) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparsePingResult) GetMigrationsLog added in v1.94.1

func (o *SparsePingResult) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparsePingResult) GetNamespace added in v1.94.1

func (o *SparsePingResult) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparsePingResult) GetUpdateTime added in v1.94.1

func (o *SparsePingResult) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparsePingResult) GetZHash added in v1.94.1

func (o *SparsePingResult) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparsePingResult) GetZone added in v1.94.1

func (o *SparsePingResult) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparsePingResult) Identifier added in v1.94.1

func (o *SparsePingResult) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePingResult) Identity added in v1.94.1

func (o *SparsePingResult) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePingResult) SetBSON added in v1.94.1

func (o *SparsePingResult) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePingResult) SetCreateTime added in v1.94.1

func (o *SparsePingResult) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparsePingResult) SetIdentifier added in v1.94.1

func (o *SparsePingResult) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePingResult) SetMigrationsLog added in v1.94.1

func (o *SparsePingResult) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparsePingResult) SetNamespace added in v1.94.1

func (o *SparsePingResult) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparsePingResult) SetUpdateTime added in v1.94.1

func (o *SparsePingResult) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparsePingResult) SetZHash added in v1.94.1

func (o *SparsePingResult) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparsePingResult) SetZone added in v1.94.1

func (o *SparsePingResult) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparsePingResult) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparsePingResult) Version added in v1.94.1

func (o *SparsePingResult) Version() int

Version returns the hardcoded version of the model.

type SparsePingResultsList added in v1.94.1

type SparsePingResultsList []*SparsePingResult

SparsePingResultsList represents a list of SparsePingResults

func (SparsePingResultsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparsePingResultsList.

func (SparsePingResultsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparsePingResultsList.

func (SparsePingResultsList) DefaultOrder added in v1.94.1

func (o SparsePingResultsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePingResultsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparsePingResultsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparsePingResultsList) ToPlain added in v1.94.1

ToPlain returns the SparsePingResultsList converted to PingResultsList.

func (SparsePingResultsList) Version added in v1.94.1

func (o SparsePingResultsList) Version() int

Version returns the version of the content.

type SparsePlan

type SparsePlan struct {
	// Contains the description of the plan.
	Description *string `` /* 126-byte string literal not displayed */

	// Contains the key identifier of the plan.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"key,omitempty" mapstructure:"key,omitempty"`

	// Contains the name of the plan.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Defines the quota for each identity.
	Quotas *map[string]int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// RequireAdminValidation indicates if the plan requires an admin approval.
	RequireAdminValidation *bool `json:"-" msgpack:"-" bson:"requireadminvalidation,omitempty" mapstructure:"-,omitempty"`

	// Roles defines the roles given to the account.
	Roles *[]string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePlan represents the sparse version of a plan.

func NewSparsePlan

func NewSparsePlan() *SparsePlan

NewSparsePlan returns a new SparsePlan.

func (*SparsePlan) DeepCopy

func (o *SparsePlan) DeepCopy() *SparsePlan

DeepCopy returns a deep copy if the SparsePlan.

func (*SparsePlan) DeepCopyInto

func (o *SparsePlan) DeepCopyInto(out *SparsePlan)

DeepCopyInto copies the receiver into the given *SparsePlan.

func (*SparsePlan) GetBSON added in v1.80.0

func (o *SparsePlan) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePlan) Identifier

func (o *SparsePlan) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePlan) Identity

func (o *SparsePlan) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePlan) SetBSON added in v1.80.0

func (o *SparsePlan) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePlan) SetIdentifier

func (o *SparsePlan) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePlan) ToPlain

func (o *SparsePlan) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparsePlan) Version

func (o *SparsePlan) Version() int

Version returns the hardcoded version of the model.

type SparsePlansList

type SparsePlansList []*SparsePlan

SparsePlansList represents a list of SparsePlans

func (SparsePlansList) Append

Append appends the objects to the a new copy of the SparsePlansList.

func (SparsePlansList) Copy

Copy returns a pointer to a copy the SparsePlansList.

func (SparsePlansList) DefaultOrder

func (o SparsePlansList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePlansList) Identity

func (o SparsePlansList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparsePlansList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePlansList) ToPlain

ToPlain returns the SparsePlansList converted to PlansList.

func (SparsePlansList) Version

func (o SparsePlansList) Version() int

Version returns the version of the content.

type SparsePoke

type SparsePoke struct {
	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePoke represents the sparse version of a poke.

func NewSparsePoke

func NewSparsePoke() *SparsePoke

NewSparsePoke returns a new SparsePoke.

func (*SparsePoke) DeepCopy

func (o *SparsePoke) DeepCopy() *SparsePoke

DeepCopy returns a deep copy if the SparsePoke.

func (*SparsePoke) DeepCopyInto

func (o *SparsePoke) DeepCopyInto(out *SparsePoke)

DeepCopyInto copies the receiver into the given *SparsePoke.

func (*SparsePoke) GetBSON added in v1.80.0

func (o *SparsePoke) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePoke) Identifier

func (o *SparsePoke) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePoke) Identity

func (o *SparsePoke) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePoke) SetBSON added in v1.80.0

func (o *SparsePoke) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePoke) SetIdentifier

func (o *SparsePoke) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePoke) ToPlain

func (o *SparsePoke) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparsePoke) Version

func (o *SparsePoke) Version() int

Version returns the hardcoded version of the model.

type SparsePokesList

type SparsePokesList []*SparsePoke

SparsePokesList represents a list of SparsePokes

func (SparsePokesList) Append

Append appends the objects to the a new copy of the SparsePokesList.

func (SparsePokesList) Copy

Copy returns a pointer to a copy the SparsePokesList.

func (SparsePokesList) DefaultOrder

func (o SparsePokesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePokesList) Identity

func (o SparsePokesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparsePokesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePokesList) ToPlain

ToPlain returns the SparsePokesList converted to PokesList.

func (SparsePokesList) Version

func (o SparsePokesList) Version() int

Version returns the version of the content.

type SparsePoliciesList

type SparsePoliciesList []*SparsePolicy

SparsePoliciesList represents a list of SparsePolicies

func (SparsePoliciesList) Append

Append appends the objects to the a new copy of the SparsePoliciesList.

func (SparsePoliciesList) Copy

Copy returns a pointer to a copy the SparsePoliciesList.

func (SparsePoliciesList) DefaultOrder

func (o SparsePoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePoliciesList) Identity

func (o SparsePoliciesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparsePoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePoliciesList) ToPlain

ToPlain returns the SparsePoliciesList converted to PoliciesList.

func (SparsePoliciesList) Version

func (o SparsePoliciesList) Version() int

Version returns the version of the content.

type SparsePolicy

type SparsePolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines a set of actions that must be enforced when a dependency is met.
	Action *map[string]map[string]interface{} `json:"action,omitempty" msgpack:"action,omitempty" bson:"action,omitempty" mapstructure:"action,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// This is a set of all object tags for matching in the DB.
	AllObjectTags *[]string `json:"-" msgpack:"-" bson:"allobjecttags,omitempty" mapstructure:"-,omitempty"`

	// This is a set of all subject tags for matching in the DB.
	AllSubjectTags *[]string `json:"-" msgpack:"-" bson:"allsubjecttags,omitempty" mapstructure:"-,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be automatically deleted at the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Represents set of entities that another entity depends on. As subjects,
	// objects are identified as logical operations on tags when a policy is defined.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"object,omitempty" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// If set to `true` while the policy is propagating, it won't be visible to
	// children
	// namespace, but still used for policy resolution.
	PropagationHidden *bool `` /* 150-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Describes the required operation to be performed between subjects and
	// objects.
	Relation *[]string `json:"relation,omitempty" msgpack:"relation,omitempty" bson:"relation,omitempty" mapstructure:"relation,omitempty"`

	// Represents sets of entities that will have a dependency other entities.
	// Subjects are defined as logical operations on tags. Logical operations can
	// include `AND` and `OR`.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// Type of the policy.
	Type *PolicyTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePolicy represents the sparse version of a policy.

func NewSparsePolicy

func NewSparsePolicy() *SparsePolicy

NewSparsePolicy returns a new SparsePolicy.

func (*SparsePolicy) DeepCopy

func (o *SparsePolicy) DeepCopy() *SparsePolicy

DeepCopy returns a deep copy if the SparsePolicy.

func (*SparsePolicy) DeepCopyInto

func (o *SparsePolicy) DeepCopyInto(out *SparsePolicy)

DeepCopyInto copies the receiver into the given *SparsePolicy.

func (*SparsePolicy) GetActiveDuration

func (o *SparsePolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparsePolicy) GetActiveSchedule

func (o *SparsePolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparsePolicy) GetAnnotations

func (o *SparsePolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparsePolicy) GetAssociatedTags

func (o *SparsePolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparsePolicy) GetBSON added in v1.80.0

func (o *SparsePolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicy) GetCreateIdempotencyKey

func (o *SparsePolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparsePolicy) GetCreateTime

func (o *SparsePolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparsePolicy) GetDescription

func (o *SparsePolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparsePolicy) GetDisabled

func (o *SparsePolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparsePolicy) GetExpirationTime

func (o *SparsePolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparsePolicy) GetFallback

func (o *SparsePolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparsePolicy) GetMetadata

func (o *SparsePolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparsePolicy) GetMigrationsLog added in v1.30.0

func (o *SparsePolicy) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparsePolicy) GetName

func (o *SparsePolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparsePolicy) GetNamespace

func (o *SparsePolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparsePolicy) GetNormalizedTags

func (o *SparsePolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparsePolicy) GetObject

func (o *SparsePolicy) GetObject() (out [][]string)

GetObject returns the Object of the receiver.

func (*SparsePolicy) GetPropagate

func (o *SparsePolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparsePolicy) GetPropagationHidden

func (o *SparsePolicy) GetPropagationHidden() (out bool)

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*SparsePolicy) GetProtected

func (o *SparsePolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparsePolicy) GetSubject

func (o *SparsePolicy) GetSubject() (out [][]string)

GetSubject returns the Subject of the receiver.

func (*SparsePolicy) GetUpdateIdempotencyKey

func (o *SparsePolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparsePolicy) GetUpdateTime

func (o *SparsePolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparsePolicy) GetZHash

func (o *SparsePolicy) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparsePolicy) GetZone

func (o *SparsePolicy) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparsePolicy) Identifier

func (o *SparsePolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePolicy) Identity

func (o *SparsePolicy) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePolicy) SetActiveDuration

func (o *SparsePolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparsePolicy) SetActiveSchedule

func (o *SparsePolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparsePolicy) SetAnnotations

func (o *SparsePolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparsePolicy) SetAssociatedTags

func (o *SparsePolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparsePolicy) SetBSON added in v1.80.0

func (o *SparsePolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicy) SetCreateIdempotencyKey

func (o *SparsePolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparsePolicy) SetCreateTime

func (o *SparsePolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparsePolicy) SetDescription

func (o *SparsePolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparsePolicy) SetDisabled

func (o *SparsePolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparsePolicy) SetExpirationTime

func (o *SparsePolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparsePolicy) SetFallback

func (o *SparsePolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparsePolicy) SetIdentifier

func (o *SparsePolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePolicy) SetMetadata

func (o *SparsePolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparsePolicy) SetMigrationsLog added in v1.30.0

func (o *SparsePolicy) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparsePolicy) SetName

func (o *SparsePolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparsePolicy) SetNamespace

func (o *SparsePolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparsePolicy) SetNormalizedTags

func (o *SparsePolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparsePolicy) SetObject

func (o *SparsePolicy) SetObject(object [][]string)

SetObject sets the property Object of the receiver using the address of the given value.

func (*SparsePolicy) SetPropagate

func (o *SparsePolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparsePolicy) SetPropagationHidden

func (o *SparsePolicy) SetPropagationHidden(propagationHidden bool)

SetPropagationHidden sets the property PropagationHidden of the receiver using the address of the given value.

func (*SparsePolicy) SetProtected

func (o *SparsePolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparsePolicy) SetSubject

func (o *SparsePolicy) SetSubject(subject [][]string)

SetSubject sets the property Subject of the receiver using the address of the given value.

func (*SparsePolicy) SetUpdateIdempotencyKey

func (o *SparsePolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparsePolicy) SetUpdateTime

func (o *SparsePolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparsePolicy) SetZHash

func (o *SparsePolicy) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparsePolicy) SetZone

func (o *SparsePolicy) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparsePolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePolicy) Version

func (o *SparsePolicy) Version() int

Version returns the hardcoded version of the model.

type SparsePolicyGraph

type SparsePolicyGraph struct {
	// The set of tags that a future-activated processing unit will have for which
	// the user wants to evaluate policies and understand its connectivity options.
	PUIdentity *[]string `json:"PUIdentity,omitempty" msgpack:"PUIdentity,omitempty" bson:"-" mapstructure:"PUIdentity,omitempty"`

	// Contains the output of the policy evaluation. It is the same type of
	// dependency map as created by other APIs.
	DependencyMap *DependencyMap `json:"dependencyMap,omitempty" msgpack:"dependencyMap,omitempty" bson:"-" mapstructure:"dependencyMap,omitempty"`

	// Identifies the type of policy that should be analyzed: `Authorization`(default),
	// `Infrastructure`, or `Combined`.
	PolicyType *PolicyGraphPolicyTypeValue `json:"policyType,omitempty" msgpack:"policyType,omitempty" bson:"-" mapstructure:"policyType,omitempty"`

	// Contains the tag expression that a processing unit must match in order
	// to evaluate policy for it.
	Selectors *[][]string `json:"selectors,omitempty" msgpack:"selectors,omitempty" bson:"-" mapstructure:"selectors,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePolicyGraph represents the sparse version of a policygraph.

func NewSparsePolicyGraph

func NewSparsePolicyGraph() *SparsePolicyGraph

NewSparsePolicyGraph returns a new SparsePolicyGraph.

func (*SparsePolicyGraph) DeepCopy

func (o *SparsePolicyGraph) DeepCopy() *SparsePolicyGraph

DeepCopy returns a deep copy if the SparsePolicyGraph.

func (*SparsePolicyGraph) DeepCopyInto

func (o *SparsePolicyGraph) DeepCopyInto(out *SparsePolicyGraph)

DeepCopyInto copies the receiver into the given *SparsePolicyGraph.

func (*SparsePolicyGraph) GetBSON added in v1.80.0

func (o *SparsePolicyGraph) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyGraph) Identifier

func (o *SparsePolicyGraph) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePolicyGraph) Identity

func (o *SparsePolicyGraph) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePolicyGraph) SetBSON added in v1.80.0

func (o *SparsePolicyGraph) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyGraph) SetIdentifier

func (o *SparsePolicyGraph) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePolicyGraph) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePolicyGraph) Version

func (o *SparsePolicyGraph) Version() int

Version returns the hardcoded version of the model.

type SparsePolicyGraphsList

type SparsePolicyGraphsList []*SparsePolicyGraph

SparsePolicyGraphsList represents a list of SparsePolicyGraphs

func (SparsePolicyGraphsList) Append

Append appends the objects to the a new copy of the SparsePolicyGraphsList.

func (SparsePolicyGraphsList) Copy

Copy returns a pointer to a copy the SparsePolicyGraphsList.

func (SparsePolicyGraphsList) DefaultOrder

func (o SparsePolicyGraphsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePolicyGraphsList) Identity

Identity returns the identity of the objects in the list.

func (SparsePolicyGraphsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePolicyGraphsList) ToPlain

ToPlain returns the SparsePolicyGraphsList converted to PolicyGraphsList.

func (SparsePolicyGraphsList) Version

func (o SparsePolicyGraphsList) Version() int

Version returns the version of the content.

type SparsePolicyRefresh

type SparsePolicyRefresh struct {
	// Contains the original ID of the updated object.
	SourceID *string `json:"sourceID,omitempty" msgpack:"sourceID,omitempty" bson:"sourceid,omitempty" mapstructure:"sourceID,omitempty"`

	// Contains the original namespace of the updated object.
	SourceNamespace *string `` /* 142-byte string literal not displayed */

	// Contains the policy type that is affected.
	Type *string `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePolicyRefresh represents the sparse version of a policyrefresh.

func NewSparsePolicyRefresh

func NewSparsePolicyRefresh() *SparsePolicyRefresh

NewSparsePolicyRefresh returns a new SparsePolicyRefresh.

func (*SparsePolicyRefresh) DeepCopy

DeepCopy returns a deep copy if the SparsePolicyRefresh.

func (*SparsePolicyRefresh) DeepCopyInto

func (o *SparsePolicyRefresh) DeepCopyInto(out *SparsePolicyRefresh)

DeepCopyInto copies the receiver into the given *SparsePolicyRefresh.

func (*SparsePolicyRefresh) GetBSON added in v1.80.0

func (o *SparsePolicyRefresh) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyRefresh) Identifier

func (o *SparsePolicyRefresh) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePolicyRefresh) Identity

func (o *SparsePolicyRefresh) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePolicyRefresh) SetBSON added in v1.80.0

func (o *SparsePolicyRefresh) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyRefresh) SetIdentifier

func (o *SparsePolicyRefresh) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePolicyRefresh) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePolicyRefresh) Version

func (o *SparsePolicyRefresh) Version() int

Version returns the hardcoded version of the model.

type SparsePolicyRefreshsList

type SparsePolicyRefreshsList []*SparsePolicyRefresh

SparsePolicyRefreshsList represents a list of SparsePolicyRefreshs

func (SparsePolicyRefreshsList) Append

Append appends the objects to the a new copy of the SparsePolicyRefreshsList.

func (SparsePolicyRefreshsList) Copy

Copy returns a pointer to a copy the SparsePolicyRefreshsList.

func (SparsePolicyRefreshsList) DefaultOrder

func (o SparsePolicyRefreshsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePolicyRefreshsList) Identity

Identity returns the identity of the objects in the list.

func (SparsePolicyRefreshsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePolicyRefreshsList) ToPlain

ToPlain returns the SparsePolicyRefreshsList converted to PolicyRefreshsList.

func (SparsePolicyRefreshsList) Version

func (o SparsePolicyRefreshsList) Version() int

Version returns the version of the content.

type SparsePolicyRenderer

type SparsePolicyRenderer struct {
	// List of policies rendered for the given set of tags.
	Policies *PolicyRulesList `json:"policies,omitempty" msgpack:"policies,omitempty" bson:"-" mapstructure:"policies,omitempty"`

	// `Subject` (default): Set if the `processMode` should use the subject. `Object`:
	// Set if
	// the `processMode` should use the object. This only has effect when rendering an
	// SSH
	// authorization for now.
	ProcessMode *PolicyRendererProcessModeValue `json:"processMode,omitempty" msgpack:"processMode,omitempty" bson:"-" mapstructure:"processMode,omitempty"`

	// List of tags of the object to render the hook for.
	Tags *[]string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"-" mapstructure:"tags,omitempty"`

	// Type of policy to render.
	Type *PolicyRendererTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePolicyRenderer represents the sparse version of a policyrenderer.

func NewSparsePolicyRenderer

func NewSparsePolicyRenderer() *SparsePolicyRenderer

NewSparsePolicyRenderer returns a new SparsePolicyRenderer.

func (*SparsePolicyRenderer) DeepCopy

DeepCopy returns a deep copy if the SparsePolicyRenderer.

func (*SparsePolicyRenderer) DeepCopyInto

func (o *SparsePolicyRenderer) DeepCopyInto(out *SparsePolicyRenderer)

DeepCopyInto copies the receiver into the given *SparsePolicyRenderer.

func (*SparsePolicyRenderer) GetBSON added in v1.80.0

func (o *SparsePolicyRenderer) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyRenderer) Identifier

func (o *SparsePolicyRenderer) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePolicyRenderer) Identity

func (o *SparsePolicyRenderer) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePolicyRenderer) SetBSON added in v1.80.0

func (o *SparsePolicyRenderer) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyRenderer) SetIdentifier

func (o *SparsePolicyRenderer) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePolicyRenderer) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePolicyRenderer) Version

func (o *SparsePolicyRenderer) Version() int

Version returns the hardcoded version of the model.

type SparsePolicyRenderersList

type SparsePolicyRenderersList []*SparsePolicyRenderer

SparsePolicyRenderersList represents a list of SparsePolicyRenderers

func (SparsePolicyRenderersList) Append

Append appends the objects to the a new copy of the SparsePolicyRenderersList.

func (SparsePolicyRenderersList) Copy

Copy returns a pointer to a copy the SparsePolicyRenderersList.

func (SparsePolicyRenderersList) DefaultOrder

func (o SparsePolicyRenderersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePolicyRenderersList) Identity

Identity returns the identity of the objects in the list.

func (SparsePolicyRenderersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePolicyRenderersList) ToPlain

ToPlain returns the SparsePolicyRenderersList converted to PolicyRenderersList.

func (SparsePolicyRenderersList) Version

func (o SparsePolicyRenderersList) Version() int

Version returns the version of the content.

type SparsePolicyRule

type SparsePolicyRule struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines set of actions that must be enforced when a dependency is met.
	Action *map[string]map[string]interface{} `json:"action,omitempty" msgpack:"action,omitempty" bson:"-" mapstructure:"action,omitempty"`

	// Provides the audit profiles that must be applied.
	AuditProfiles *AuditProfilesList `json:"auditProfiles,omitempty" msgpack:"auditProfiles,omitempty" bson:"-" mapstructure:"auditProfiles,omitempty"`

	// Provides information about the enforcer profile.
	EnforcerProfiles *EnforcerProfilesList `json:"enforcerProfiles,omitempty" msgpack:"enforcerProfiles,omitempty" bson:"-" mapstructure:"enforcerProfiles,omitempty"`

	// Provides the external network that the policy targets.
	ExternalNetworks *ExternalNetworksList `json:"externalNetworks,omitempty" msgpack:"externalNetworks,omitempty" bson:"-" mapstructure:"externalNetworks,omitempty"`

	// Provides the file paths that the policy targets.
	FilePaths *FilePathsList `json:"filePaths,omitempty" msgpack:"filePaths,omitempty" bson:"-" mapstructure:"filePaths,omitempty"`

	// Provides the list of host services that must be instantiated.
	HostServices *HostServicesList `json:"hostServices,omitempty" msgpack:"hostServices,omitempty" bson:"-" mapstructure:"hostServices,omitempty"`

	// Provides the isolation profiles of the rule.
	IsolationProfiles *IsolationProfilesList `json:"isolationProfiles,omitempty" msgpack:"isolationProfiles,omitempty" bson:"-" mapstructure:"isolationProfiles,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// The namespace that the policy targets.
	Namespaces *NamespacesList `json:"namespaces,omitempty" msgpack:"namespaces,omitempty" bson:"-" mapstructure:"namespaces,omitempty"`

	// The namespace of the policy that created this rule.
	PolicyNamespace *string `json:"policyNamespace,omitempty" msgpack:"policyNamespace,omitempty" bson:"-" mapstructure:"policyNamespace,omitempty"`

	// Last time the policy was updated.
	PolicyUpdateTime *time.Time `json:"policyUpdateTime,omitempty" msgpack:"policyUpdateTime,omitempty" bson:"-" mapstructure:"policyUpdateTime,omitempty"`

	// Indicates if the policy is propagated.
	Propagated *bool `json:"propagated,omitempty" msgpack:"propagated,omitempty" bson:"-" mapstructure:"propagated,omitempty"`

	// Describes the required operation to be performed between subjects and objects.
	Relation *[]string `json:"relation,omitempty" msgpack:"relation,omitempty" bson:"-" mapstructure:"relation,omitempty"`

	// Provides the services of this policy rule.
	Services *ServicesList `json:"services,omitempty" msgpack:"services,omitempty" bson:"-" mapstructure:"services,omitempty"`

	// Policy target tags.
	TagClauses *[][]string `json:"tagClauses,omitempty" msgpack:"tagClauses,omitempty" bson:"-" mapstructure:"tagClauses,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePolicyRule represents the sparse version of a policyrule.

func NewSparsePolicyRule

func NewSparsePolicyRule() *SparsePolicyRule

NewSparsePolicyRule returns a new SparsePolicyRule.

func (*SparsePolicyRule) DeepCopy

func (o *SparsePolicyRule) DeepCopy() *SparsePolicyRule

DeepCopy returns a deep copy if the SparsePolicyRule.

func (*SparsePolicyRule) DeepCopyInto

func (o *SparsePolicyRule) DeepCopyInto(out *SparsePolicyRule)

DeepCopyInto copies the receiver into the given *SparsePolicyRule.

func (*SparsePolicyRule) GetBSON added in v1.80.0

func (o *SparsePolicyRule) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyRule) GetName

func (o *SparsePolicyRule) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparsePolicyRule) Identifier

func (o *SparsePolicyRule) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePolicyRule) Identity

func (o *SparsePolicyRule) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePolicyRule) SetBSON added in v1.80.0

func (o *SparsePolicyRule) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyRule) SetIdentifier

func (o *SparsePolicyRule) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePolicyRule) SetName

func (o *SparsePolicyRule) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparsePolicyRule) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePolicyRule) Version

func (o *SparsePolicyRule) Version() int

Version returns the hardcoded version of the model.

type SparsePolicyRulesList

type SparsePolicyRulesList []*SparsePolicyRule

SparsePolicyRulesList represents a list of SparsePolicyRules

func (SparsePolicyRulesList) Append

Append appends the objects to the a new copy of the SparsePolicyRulesList.

func (SparsePolicyRulesList) Copy

Copy returns a pointer to a copy the SparsePolicyRulesList.

func (SparsePolicyRulesList) DefaultOrder

func (o SparsePolicyRulesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePolicyRulesList) Identity

Identity returns the identity of the objects in the list.

func (SparsePolicyRulesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePolicyRulesList) ToPlain

ToPlain returns the SparsePolicyRulesList converted to PolicyRulesList.

func (SparsePolicyRulesList) Version

func (o SparsePolicyRulesList) Version() int

Version returns the version of the content.

type SparsePolicyTTL

type SparsePolicyTTL struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Time when the policy must be deleted.
	ExpirationTime *time.Time `json:"-" msgpack:"-" bson:"expirationtime,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePolicyTTL represents the sparse version of a policyttl.

func NewSparsePolicyTTL

func NewSparsePolicyTTL() *SparsePolicyTTL

NewSparsePolicyTTL returns a new SparsePolicyTTL.

func (*SparsePolicyTTL) DeepCopy

func (o *SparsePolicyTTL) DeepCopy() *SparsePolicyTTL

DeepCopy returns a deep copy if the SparsePolicyTTL.

func (*SparsePolicyTTL) DeepCopyInto

func (o *SparsePolicyTTL) DeepCopyInto(out *SparsePolicyTTL)

DeepCopyInto copies the receiver into the given *SparsePolicyTTL.

func (*SparsePolicyTTL) GetBSON added in v1.80.0

func (o *SparsePolicyTTL) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyTTL) Identifier

func (o *SparsePolicyTTL) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePolicyTTL) Identity

func (o *SparsePolicyTTL) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePolicyTTL) SetBSON added in v1.80.0

func (o *SparsePolicyTTL) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePolicyTTL) SetIdentifier

func (o *SparsePolicyTTL) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePolicyTTL) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePolicyTTL) Version

func (o *SparsePolicyTTL) Version() int

Version returns the hardcoded version of the model.

type SparsePolicyTTLsList

type SparsePolicyTTLsList []*SparsePolicyTTL

SparsePolicyTTLsList represents a list of SparsePolicyTTLs

func (SparsePolicyTTLsList) Append

Append appends the objects to the a new copy of the SparsePolicyTTLsList.

func (SparsePolicyTTLsList) Copy

Copy returns a pointer to a copy the SparsePolicyTTLsList.

func (SparsePolicyTTLsList) DefaultOrder

func (o SparsePolicyTTLsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePolicyTTLsList) Identity

Identity returns the identity of the objects in the list.

func (SparsePolicyTTLsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePolicyTTLsList) ToPlain

ToPlain returns the SparsePolicyTTLsList converted to PolicyTTLsList.

func (SparsePolicyTTLsList) Version

func (o SparsePolicyTTLsList) Version() int

Version returns the version of the content.

type SparsePollAccount added in v1.101.0

type SparsePollAccount struct {
	// The ID of the account.
	AccountID *string `json:"accountID,omitempty" msgpack:"accountID,omitempty" bson:"-" mapstructure:"accountID,omitempty"`

	// The region to use for authorization.
	AuthorizationRegion *string `` /* 130-byte string literal not displayed */

	// The cloud type for the account.
	CloudType *PollAccountCloudTypeValue `json:"cloudType,omitempty" msgpack:"cloudType,omitempty" bson:"-" mapstructure:"cloudType,omitempty"`

	// The name of the account.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// The role that it should use to poll the account.
	Role *string `json:"role,omitempty" msgpack:"role,omitempty" bson:"-" mapstructure:"role,omitempty"`

	// Limit polling to these regions only. If empty, all regions will be polled.
	TargetRegions *[]string `json:"targetRegions,omitempty" msgpack:"targetRegions,omitempty" bson:"-" mapstructure:"targetRegions,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparsePollAccount represents the sparse version of a pollaccount.

func NewSparsePollAccount added in v1.101.0

func NewSparsePollAccount() *SparsePollAccount

NewSparsePollAccount returns a new SparsePollAccount.

func (*SparsePollAccount) DeepCopy added in v1.101.0

func (o *SparsePollAccount) DeepCopy() *SparsePollAccount

DeepCopy returns a deep copy if the SparsePollAccount.

func (*SparsePollAccount) DeepCopyInto added in v1.101.0

func (o *SparsePollAccount) DeepCopyInto(out *SparsePollAccount)

DeepCopyInto copies the receiver into the given *SparsePollAccount.

func (*SparsePollAccount) GetBSON added in v1.101.0

func (o *SparsePollAccount) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePollAccount) Identifier added in v1.101.0

func (o *SparsePollAccount) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparsePollAccount) Identity added in v1.101.0

func (o *SparsePollAccount) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparsePollAccount) SetBSON added in v1.101.0

func (o *SparsePollAccount) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparsePollAccount) SetIdentifier added in v1.101.0

func (o *SparsePollAccount) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparsePollAccount) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparsePollAccount) Version added in v1.101.0

func (o *SparsePollAccount) Version() int

Version returns the hardcoded version of the model.

type SparsePollAccountsList added in v1.101.0

type SparsePollAccountsList []*SparsePollAccount

SparsePollAccountsList represents a list of SparsePollAccounts

func (SparsePollAccountsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparsePollAccountsList.

func (SparsePollAccountsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparsePollAccountsList.

func (SparsePollAccountsList) DefaultOrder added in v1.101.0

func (o SparsePollAccountsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePollAccountsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparsePollAccountsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparsePollAccountsList) ToPlain added in v1.101.0

ToPlain returns the SparsePollAccountsList converted to PollAccountsList.

func (SparsePollAccountsList) Version added in v1.101.0

func (o SparsePollAccountsList) Version() int

Version returns the version of the content.

type SparseProcessingUnit

type SparseProcessingUnit struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// The local PUID set by enforcer. Enforcer may create a local PU if it cannot
	// communicate with the Microsegmentation Console. When eventually the
	// Microsegmentation Console is able to create the PU, the `clientLocalID` will be
	// used to convert a CachedFlowReport containing a local PUID to a real FlowReport.
	ClientLocalID *string `` /* 134-byte string literal not displayed */

	// A value of `true` indicates to the enforcer that it needs to collect information
	// for this processing unit.
	CollectInfo *bool `` /* 126-byte string literal not displayed */

	// Represents the latest information collected by the enforcer for this processing
	// unit.
	CollectedInfo *map[string]string `` /* 134-byte string literal not displayed */

	// The Microsegmentation Console identifier managing this object. This property is
	// mostly
	// useful when federating multiple Microsegmentation Consoles.
	Controller *string `json:"controller,omitempty" msgpack:"controller,omitempty" bson:"controller,omitempty" mapstructure:"controller,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The datapath type that processing units are implementing:
	// - `Aporeto`: The enforcer is managing and handling the datapath.
	// - `EnvoyAuthorizer`: The enforcer is serving Envoy-compatible gRPC APIs
	// that for example can be used by an Envoy proxy to use the Microsegmentation PKI
	// and implement Microsegmentation network policies. NOTE: The enforcer is not
	// owning the datapath in this case. It is merely providing an authorizer API.
	DatapathType *ProcessingUnitDatapathTypeValue `` /* 130-byte string literal not displayed */

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Contains the state of the enforcer for the processing unit. `Inactive`
	// (default): the enforcer is not enforcing any host service. `Active`: the
	// enforcer is enforcing a host service. `Failed`: an error occurred during the
	// enforcement attempt.
	EnforcementStatus *ProcessingUnitEnforcementStatusValue `` /* 150-byte string literal not displayed */

	// The ID of the enforcer associated with the processing unit.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"enforcerid,omitempty" mapstructure:"enforcerID,omitempty"`

	// The namespace of the enforcer associated with the processing unit.
	EnforcerNamespace *string `` /* 150-byte string literal not displayed */

	// This field is deprecated and it is there for backward compatibility. Use
	// `images` instead.
	Image *string `json:"image,omitempty" msgpack:"image,omitempty" bson:"-" mapstructure:"image,omitempty"`

	// List of images or executable paths used by the processing unit.
	Images *[]string `json:"images,omitempty" msgpack:"images,omitempty" bson:"images,omitempty" mapstructure:"images,omitempty"`

	// The date and time when the information was collected.
	LastCollectionTime *time.Time `` /* 154-byte string literal not displayed */

	// Time and date of the processing unit set by the enforcer.
	LastLocalTimestamp *time.Time `` /* 127-byte string literal not displayed */

	// The date and time of the last policy resolution.
	LastSyncTime *time.Time `` /* 130-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// The Docker UUID or service PID.
	NativeContextID *string `` /* 142-byte string literal not displayed */

	// The list of services that this processing unit has declared that it will be
	// listening to,
	// either in its activation command or by exposing the ports in a container
	// manifest.
	NetworkServices *[]*ProcessingUnitService `` /* 142-byte string literal not displayed */

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Operational status of the processing unit: `Initialized` (default), `Paused`,
	// `Running`,
	// `Stopped`, or `Terminated`.
	OperationalStatus *ProcessingUnitOperationalStatusValue `` /* 150-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Indicates if this processing unit must be placed in tracing mode.
	Tracing *TraceMode `json:"tracing,omitempty" msgpack:"tracing,omitempty" bson:"-" mapstructure:"tracing,omitempty"`

	// Type of processing unit: `APIGateway`, `Docker`, `Host`, `HostService`,
	// `LinuxService`, `WindowsService`, `RKT`, `User`, or `SSHSession`.
	Type *ProcessingUnitTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// List of vulnerabilities affecting this processing unit.
	Vulnerabilities *[]string `json:"-" msgpack:"-" bson:"vulnerabilities,omitempty" mapstructure:"-,omitempty"`

	// List of vulnerabilities affecting this processing unit.
	VulnerabilityLevel *string `` /* 154-byte string literal not displayed */

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProcessingUnit represents the sparse version of a processingunit.

func NewSparseProcessingUnit

func NewSparseProcessingUnit() *SparseProcessingUnit

NewSparseProcessingUnit returns a new SparseProcessingUnit.

func (*SparseProcessingUnit) DeepCopy

DeepCopy returns a deep copy if the SparseProcessingUnit.

func (*SparseProcessingUnit) DeepCopyInto

func (o *SparseProcessingUnit) DeepCopyInto(out *SparseProcessingUnit)

DeepCopyInto copies the receiver into the given *SparseProcessingUnit.

func (*SparseProcessingUnit) GetAnnotations

func (o *SparseProcessingUnit) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseProcessingUnit) GetArchived

func (o *SparseProcessingUnit) GetArchived() (out bool)

GetArchived returns the Archived of the receiver.

func (*SparseProcessingUnit) GetAssociatedTags

func (o *SparseProcessingUnit) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseProcessingUnit) GetBSON added in v1.80.0

func (o *SparseProcessingUnit) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProcessingUnit) GetController added in v1.94.1

func (o *SparseProcessingUnit) GetController() (out string)

GetController returns the Controller of the receiver.

func (*SparseProcessingUnit) GetCreateIdempotencyKey

func (o *SparseProcessingUnit) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseProcessingUnit) GetCreateTime

func (o *SparseProcessingUnit) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseProcessingUnit) GetDescription

func (o *SparseProcessingUnit) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseProcessingUnit) GetMetadata

func (o *SparseProcessingUnit) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseProcessingUnit) GetMigrationsLog added in v1.30.0

func (o *SparseProcessingUnit) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseProcessingUnit) GetName

func (o *SparseProcessingUnit) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseProcessingUnit) GetNamespace

func (o *SparseProcessingUnit) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProcessingUnit) GetNormalizedTags

func (o *SparseProcessingUnit) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseProcessingUnit) GetProtected

func (o *SparseProcessingUnit) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseProcessingUnit) GetUpdateIdempotencyKey

func (o *SparseProcessingUnit) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseProcessingUnit) GetUpdateTime

func (o *SparseProcessingUnit) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseProcessingUnit) GetZHash

func (o *SparseProcessingUnit) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseProcessingUnit) GetZone

func (o *SparseProcessingUnit) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseProcessingUnit) Identifier

func (o *SparseProcessingUnit) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProcessingUnit) Identity

func (o *SparseProcessingUnit) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseProcessingUnit) SetAnnotations

func (o *SparseProcessingUnit) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetArchived

func (o *SparseProcessingUnit) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetAssociatedTags

func (o *SparseProcessingUnit) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetBSON added in v1.80.0

func (o *SparseProcessingUnit) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProcessingUnit) SetController added in v1.94.1

func (o *SparseProcessingUnit) SetController(controller string)

SetController sets the property Controller of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetCreateIdempotencyKey

func (o *SparseProcessingUnit) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetCreateTime

func (o *SparseProcessingUnit) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetDescription

func (o *SparseProcessingUnit) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetIdentifier

func (o *SparseProcessingUnit) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProcessingUnit) SetMetadata

func (o *SparseProcessingUnit) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetMigrationsLog added in v1.30.0

func (o *SparseProcessingUnit) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetName

func (o *SparseProcessingUnit) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetNamespace

func (o *SparseProcessingUnit) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetNormalizedTags

func (o *SparseProcessingUnit) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetProtected

func (o *SparseProcessingUnit) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetUpdateIdempotencyKey

func (o *SparseProcessingUnit) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetUpdateTime

func (o *SparseProcessingUnit) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetZHash

func (o *SparseProcessingUnit) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseProcessingUnit) SetZone

func (o *SparseProcessingUnit) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseProcessingUnit) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProcessingUnit) Version

func (o *SparseProcessingUnit) Version() int

Version returns the hardcoded version of the model.

type SparseProcessingUnitPoliciesList

type SparseProcessingUnitPoliciesList []*SparseProcessingUnitPolicy

SparseProcessingUnitPoliciesList represents a list of SparseProcessingUnitPolicies

func (SparseProcessingUnitPoliciesList) Append

Append appends the objects to the a new copy of the SparseProcessingUnitPoliciesList.

func (SparseProcessingUnitPoliciesList) Copy

Copy returns a pointer to a copy the SparseProcessingUnitPoliciesList.

func (SparseProcessingUnitPoliciesList) DefaultOrder

func (o SparseProcessingUnitPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProcessingUnitPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseProcessingUnitPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProcessingUnitPoliciesList) ToPlain

ToPlain returns the SparseProcessingUnitPoliciesList converted to ProcessingUnitPoliciesList.

func (SparseProcessingUnitPoliciesList) Version

Version returns the version of the content.

type SparseProcessingUnitPolicy

type SparseProcessingUnitPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Action determines the action to take while enforcing the isolation profile.
	// NOTE: Choose `Default` if your processing unit is not supposed to make a
	// decision on isolation profiles at all.
	Action *ProcessingUnitPolicyActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"action,omitempty" mapstructure:"action,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// The datapath type that processing units selected by `subject` should implement:
	// - `Default`: This policy is not making a decision for the datapath
	// - `Aporeto`: The enforcer is managing and handling the datapath
	// - `EnvoyAuthorizer`: The enforcer is serving Envoy-compatible gRPC APIs for
	// every processing unit that for example can be used by an Envoy proxy to use the
	// Microsegmentation PKI and implement Microsegmentation network policies. NOTE:
	// The enforcer is not going to own the datapath in this example. It is merely
	// providing an authorizer API.
	DatapathType *ProcessingUnitPolicyDatapathTypeValue `` /* 130-byte string literal not displayed */

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// The isolation profiles to be mapped. Only applies to `Enforce` and
	// `LogCompliance` actions.
	IsolationProfileSelector *[][]string `` /* 178-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Contains the tag expression the tags need to match for the policy to
	// apply.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProcessingUnitPolicy represents the sparse version of a processingunitpolicy.

func NewSparseProcessingUnitPolicy

func NewSparseProcessingUnitPolicy() *SparseProcessingUnitPolicy

NewSparseProcessingUnitPolicy returns a new SparseProcessingUnitPolicy.

func (*SparseProcessingUnitPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseProcessingUnitPolicy.

func (*SparseProcessingUnitPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseProcessingUnitPolicy.

func (*SparseProcessingUnitPolicy) GetActiveDuration

func (o *SparseProcessingUnitPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseProcessingUnitPolicy) GetActiveSchedule

func (o *SparseProcessingUnitPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseProcessingUnitPolicy) GetAnnotations

func (o *SparseProcessingUnitPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseProcessingUnitPolicy) GetAssociatedTags

func (o *SparseProcessingUnitPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseProcessingUnitPolicy) GetBSON added in v1.80.0

func (o *SparseProcessingUnitPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProcessingUnitPolicy) GetCreateIdempotencyKey

func (o *SparseProcessingUnitPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseProcessingUnitPolicy) GetCreateTime

func (o *SparseProcessingUnitPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseProcessingUnitPolicy) GetDescription

func (o *SparseProcessingUnitPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseProcessingUnitPolicy) GetDisabled

func (o *SparseProcessingUnitPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseProcessingUnitPolicy) GetFallback

func (o *SparseProcessingUnitPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseProcessingUnitPolicy) GetMetadata

func (o *SparseProcessingUnitPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseProcessingUnitPolicy) GetName

func (o *SparseProcessingUnitPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseProcessingUnitPolicy) GetNamespace

func (o *SparseProcessingUnitPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseProcessingUnitPolicy) GetNormalizedTags

func (o *SparseProcessingUnitPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseProcessingUnitPolicy) GetPropagate

func (o *SparseProcessingUnitPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseProcessingUnitPolicy) GetProtected

func (o *SparseProcessingUnitPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseProcessingUnitPolicy) GetUpdateIdempotencyKey

func (o *SparseProcessingUnitPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseProcessingUnitPolicy) GetUpdateTime

func (o *SparseProcessingUnitPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseProcessingUnitPolicy) Identifier

func (o *SparseProcessingUnitPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProcessingUnitPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseProcessingUnitPolicy) SetActiveDuration

func (o *SparseProcessingUnitPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetActiveSchedule

func (o *SparseProcessingUnitPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetAnnotations

func (o *SparseProcessingUnitPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetAssociatedTags

func (o *SparseProcessingUnitPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetBSON added in v1.80.0

func (o *SparseProcessingUnitPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProcessingUnitPolicy) SetCreateIdempotencyKey

func (o *SparseProcessingUnitPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetCreateTime

func (o *SparseProcessingUnitPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetDescription

func (o *SparseProcessingUnitPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetDisabled

func (o *SparseProcessingUnitPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetFallback

func (o *SparseProcessingUnitPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetIdentifier

func (o *SparseProcessingUnitPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProcessingUnitPolicy) SetMetadata

func (o *SparseProcessingUnitPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetName

func (o *SparseProcessingUnitPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetNamespace

func (o *SparseProcessingUnitPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetNormalizedTags

func (o *SparseProcessingUnitPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetPropagate

func (o *SparseProcessingUnitPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetProtected

func (o *SparseProcessingUnitPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetUpdateIdempotencyKey

func (o *SparseProcessingUnitPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) SetUpdateTime

func (o *SparseProcessingUnitPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseProcessingUnitPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProcessingUnitPolicy) Version

func (o *SparseProcessingUnitPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseProcessingUnitRefresh

type SparseProcessingUnitRefresh struct {
	// Contains the ID of the target processing unit.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// If set to true, start reporting debug information for the target processing
	// unit.
	Debug *bool `json:"debug,omitempty" msgpack:"debug,omitempty" bson:"-" mapstructure:"debug,omitempty"`

	// Contains the original namespace of the processing unit.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// Destination address to run ping.
	PingAddress *string `json:"pingAddress,omitempty" msgpack:"pingAddress,omitempty" bson:"-" mapstructure:"pingAddress,omitempty"`

	// If set to true, start ping to the destination.
	PingEnabled *bool `json:"pingEnabled,omitempty" msgpack:"pingEnabled,omitempty" bson:"-" mapstructure:"pingEnabled,omitempty"`

	// Number of iterations to run a ping probe.
	PingIterations *int `json:"pingIterations,omitempty" msgpack:"pingIterations,omitempty" bson:"-" mapstructure:"pingIterations,omitempty"`

	// Represents the mode of ping to be used.
	PingMode *ProcessingUnitRefreshPingModeValue `json:"pingMode,omitempty" msgpack:"pingMode,omitempty" bson:"-" mapstructure:"pingMode,omitempty"`

	// Destination port to run ping.
	PingPort *int `json:"pingPort,omitempty" msgpack:"pingPort,omitempty" bson:"-" mapstructure:"pingPort,omitempty"`

	// ID unique per ProcessingUnitRefresh event.
	RefreshID *string `json:"refreshID,omitempty" msgpack:"refreshID,omitempty" bson:"-" mapstructure:"refreshID,omitempty"`

	// If set to true, the target processing unit will refresh its policy immediately.
	RefreshPolicy *bool `json:"refreshPolicy,omitempty" msgpack:"refreshPolicy,omitempty" bson:"-" mapstructure:"refreshPolicy,omitempty"`

	// Instructs the enforcer to send records for all
	// application-initiated connections for the target processing unit.
	TraceApplicationConnections *bool `` /* 154-byte string literal not displayed */

	// Determines the length of the time interval that the trace must be
	// enabled, using [Golang duration
	// syntax](https://golang.org/pkg/time/#example_Duration).
	TraceDuration *string `json:"traceDuration,omitempty" msgpack:"traceDuration,omitempty" bson:"-" mapstructure:"traceDuration,omitempty"`

	// Instructs the enforcers to provide an iptables trace for the target processing
	// unit.
	TraceIPTables *bool `json:"traceIPTables,omitempty" msgpack:"traceIPTables,omitempty" bson:"-" mapstructure:"traceIPTables,omitempty"`

	// Instructs the enforcer to send records for all
	// network-initiated connections for the target processing unit.
	TraceNetworkConnections *bool `` /* 142-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseProcessingUnitRefresh represents the sparse version of a processingunitrefresh.

func NewSparseProcessingUnitRefresh

func NewSparseProcessingUnitRefresh() *SparseProcessingUnitRefresh

NewSparseProcessingUnitRefresh returns a new SparseProcessingUnitRefresh.

func (*SparseProcessingUnitRefresh) DeepCopy

DeepCopy returns a deep copy if the SparseProcessingUnitRefresh.

func (*SparseProcessingUnitRefresh) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseProcessingUnitRefresh.

func (*SparseProcessingUnitRefresh) GetBSON added in v1.80.0

func (o *SparseProcessingUnitRefresh) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProcessingUnitRefresh) GetID added in v1.94.1

func (o *SparseProcessingUnitRefresh) GetID() (out string)

GetID returns the ID of the receiver.

func (*SparseProcessingUnitRefresh) Identifier

func (o *SparseProcessingUnitRefresh) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseProcessingUnitRefresh) Identity

Identity returns the Identity of the sparse object.

func (*SparseProcessingUnitRefresh) SetBSON added in v1.80.0

func (o *SparseProcessingUnitRefresh) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseProcessingUnitRefresh) SetID added in v1.94.1

func (o *SparseProcessingUnitRefresh) SetID(ID string)

SetID sets the property ID of the receiver using the address of the given value.

func (*SparseProcessingUnitRefresh) SetIdentifier

func (o *SparseProcessingUnitRefresh) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseProcessingUnitRefresh) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseProcessingUnitRefresh) Version

func (o *SparseProcessingUnitRefresh) Version() int

Version returns the hardcoded version of the model.

type SparseProcessingUnitRefreshsList

type SparseProcessingUnitRefreshsList []*SparseProcessingUnitRefresh

SparseProcessingUnitRefreshsList represents a list of SparseProcessingUnitRefreshs

func (SparseProcessingUnitRefreshsList) Append

Append appends the objects to the a new copy of the SparseProcessingUnitRefreshsList.

func (SparseProcessingUnitRefreshsList) Copy

Copy returns a pointer to a copy the SparseProcessingUnitRefreshsList.

func (SparseProcessingUnitRefreshsList) DefaultOrder

func (o SparseProcessingUnitRefreshsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProcessingUnitRefreshsList) Identity

Identity returns the identity of the objects in the list.

func (SparseProcessingUnitRefreshsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProcessingUnitRefreshsList) ToPlain

ToPlain returns the SparseProcessingUnitRefreshsList converted to ProcessingUnitRefreshsList.

func (SparseProcessingUnitRefreshsList) Version

Version returns the version of the content.

type SparseProcessingUnitsList

type SparseProcessingUnitsList []*SparseProcessingUnit

SparseProcessingUnitsList represents a list of SparseProcessingUnits

func (SparseProcessingUnitsList) Append

Append appends the objects to the a new copy of the SparseProcessingUnitsList.

func (SparseProcessingUnitsList) Copy

Copy returns a pointer to a copy the SparseProcessingUnitsList.

func (SparseProcessingUnitsList) DefaultOrder

func (o SparseProcessingUnitsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseProcessingUnitsList) Identity

Identity returns the identity of the objects in the list.

func (SparseProcessingUnitsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseProcessingUnitsList) ToPlain

ToPlain returns the SparseProcessingUnitsList converted to ProcessingUnitsList.

func (SparseProcessingUnitsList) Version

func (o SparseProcessingUnitsList) Version() int

Version returns the version of the content.

type SparseQuotaCheck

type SparseQuotaCheck struct {
	// Contains the maximum number of matching entities that can be created.
	Quota *int `json:"quota,omitempty" msgpack:"quota,omitempty" bson:"-" mapstructure:"quota,omitempty"`

	// If the parameter `remaining=true` is passed, this value will be populated with
	// the number of remaining objects in the quota.
	Remaining *int `json:"remaining,omitempty" msgpack:"remaining,omitempty" bson:"-" mapstructure:"remaining,omitempty"`

	// The identity name of the object you want to check the quota on.
	TargetIdentity *string `json:"targetIdentity,omitempty" msgpack:"targetIdentity,omitempty" bson:"-" mapstructure:"targetIdentity,omitempty"`

	// The namespace from which you want to check the quota on.
	TargetNamespace *string `json:"targetNamespace,omitempty" msgpack:"targetNamespace,omitempty" bson:"-" mapstructure:"targetNamespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseQuotaCheck represents the sparse version of a quotacheck.

func NewSparseQuotaCheck

func NewSparseQuotaCheck() *SparseQuotaCheck

NewSparseQuotaCheck returns a new SparseQuotaCheck.

func (*SparseQuotaCheck) DeepCopy

func (o *SparseQuotaCheck) DeepCopy() *SparseQuotaCheck

DeepCopy returns a deep copy if the SparseQuotaCheck.

func (*SparseQuotaCheck) DeepCopyInto

func (o *SparseQuotaCheck) DeepCopyInto(out *SparseQuotaCheck)

DeepCopyInto copies the receiver into the given *SparseQuotaCheck.

func (*SparseQuotaCheck) GetBSON added in v1.80.0

func (o *SparseQuotaCheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseQuotaCheck) Identifier

func (o *SparseQuotaCheck) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseQuotaCheck) Identity

func (o *SparseQuotaCheck) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseQuotaCheck) SetBSON added in v1.80.0

func (o *SparseQuotaCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseQuotaCheck) SetIdentifier

func (o *SparseQuotaCheck) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseQuotaCheck) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseQuotaCheck) Version

func (o *SparseQuotaCheck) Version() int

Version returns the hardcoded version of the model.

type SparseQuotaChecksList

type SparseQuotaChecksList []*SparseQuotaCheck

SparseQuotaChecksList represents a list of SparseQuotaChecks

func (SparseQuotaChecksList) Append

Append appends the objects to the a new copy of the SparseQuotaChecksList.

func (SparseQuotaChecksList) Copy

Copy returns a pointer to a copy the SparseQuotaChecksList.

func (SparseQuotaChecksList) DefaultOrder

func (o SparseQuotaChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseQuotaChecksList) Identity

Identity returns the identity of the objects in the list.

func (SparseQuotaChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseQuotaChecksList) ToPlain

ToPlain returns the SparseQuotaChecksList converted to QuotaChecksList.

func (SparseQuotaChecksList) Version

func (o SparseQuotaChecksList) Version() int

Version returns the version of the content.

type SparseQuotaPoliciesList

type SparseQuotaPoliciesList []*SparseQuotaPolicy

SparseQuotaPoliciesList represents a list of SparseQuotaPolicies

func (SparseQuotaPoliciesList) Append

Append appends the objects to the a new copy of the SparseQuotaPoliciesList.

func (SparseQuotaPoliciesList) Copy

Copy returns a pointer to a copy the SparseQuotaPoliciesList.

func (SparseQuotaPoliciesList) DefaultOrder

func (o SparseQuotaPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseQuotaPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseQuotaPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseQuotaPoliciesList) ToPlain

ToPlain returns the SparseQuotaPoliciesList converted to QuotaPoliciesList.

func (SparseQuotaPoliciesList) Version

func (o SparseQuotaPoliciesList) Version() int

Version returns the version of the content.

type SparseQuotaPolicy

type SparseQuotaPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the quota will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Contains the list of identity names where the quota will be applied.
	Identities *[]string `json:"identities,omitempty" msgpack:"identities,omitempty" bson:"identities,omitempty" mapstructure:"identities,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// If set to `true` while the policy is propagating, it won't be visible to
	// children
	// namespace, but still used for policy resolution.
	PropagationHidden *bool `` /* 150-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Specifies the maximum number of objects matching the policy subject that can be
	// created.
	Quota *int `json:"quota,omitempty" msgpack:"quota,omitempty" bson:"-" mapstructure:"quota,omitempty"`

	// Contains the base namespace from where the count will be done.
	TargetNamespace *string `` /* 142-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseQuotaPolicy represents the sparse version of a quotapolicy.

func NewSparseQuotaPolicy

func NewSparseQuotaPolicy() *SparseQuotaPolicy

NewSparseQuotaPolicy returns a new SparseQuotaPolicy.

func (*SparseQuotaPolicy) DeepCopy

func (o *SparseQuotaPolicy) DeepCopy() *SparseQuotaPolicy

DeepCopy returns a deep copy if the SparseQuotaPolicy.

func (*SparseQuotaPolicy) DeepCopyInto

func (o *SparseQuotaPolicy) DeepCopyInto(out *SparseQuotaPolicy)

DeepCopyInto copies the receiver into the given *SparseQuotaPolicy.

func (*SparseQuotaPolicy) GetAnnotations

func (o *SparseQuotaPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseQuotaPolicy) GetAssociatedTags

func (o *SparseQuotaPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseQuotaPolicy) GetBSON added in v1.80.0

func (o *SparseQuotaPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseQuotaPolicy) GetCreateIdempotencyKey

func (o *SparseQuotaPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseQuotaPolicy) GetCreateTime

func (o *SparseQuotaPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseQuotaPolicy) GetDescription

func (o *SparseQuotaPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseQuotaPolicy) GetDisabled

func (o *SparseQuotaPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseQuotaPolicy) GetExpirationTime

func (o *SparseQuotaPolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseQuotaPolicy) GetFallback

func (o *SparseQuotaPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseQuotaPolicy) GetMetadata

func (o *SparseQuotaPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseQuotaPolicy) GetName

func (o *SparseQuotaPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseQuotaPolicy) GetNamespace

func (o *SparseQuotaPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseQuotaPolicy) GetNormalizedTags

func (o *SparseQuotaPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseQuotaPolicy) GetPropagate

func (o *SparseQuotaPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseQuotaPolicy) GetPropagationHidden

func (o *SparseQuotaPolicy) GetPropagationHidden() (out bool)

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*SparseQuotaPolicy) GetProtected

func (o *SparseQuotaPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseQuotaPolicy) GetUpdateIdempotencyKey

func (o *SparseQuotaPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseQuotaPolicy) GetUpdateTime

func (o *SparseQuotaPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseQuotaPolicy) Identifier

func (o *SparseQuotaPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseQuotaPolicy) Identity

func (o *SparseQuotaPolicy) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseQuotaPolicy) SetAnnotations

func (o *SparseQuotaPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetAssociatedTags

func (o *SparseQuotaPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetBSON added in v1.80.0

func (o *SparseQuotaPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseQuotaPolicy) SetCreateIdempotencyKey

func (o *SparseQuotaPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetCreateTime

func (o *SparseQuotaPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetDescription

func (o *SparseQuotaPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetDisabled

func (o *SparseQuotaPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetExpirationTime

func (o *SparseQuotaPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetFallback

func (o *SparseQuotaPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetIdentifier

func (o *SparseQuotaPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseQuotaPolicy) SetMetadata

func (o *SparseQuotaPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetName

func (o *SparseQuotaPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetNamespace

func (o *SparseQuotaPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetNormalizedTags

func (o *SparseQuotaPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetPropagate

func (o *SparseQuotaPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetPropagationHidden

func (o *SparseQuotaPolicy) SetPropagationHidden(propagationHidden bool)

SetPropagationHidden sets the property PropagationHidden of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetProtected

func (o *SparseQuotaPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetUpdateIdempotencyKey

func (o *SparseQuotaPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseQuotaPolicy) SetUpdateTime

func (o *SparseQuotaPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseQuotaPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseQuotaPolicy) Version

func (o *SparseQuotaPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseRecipe added in v1.1.0

type SparseRecipe struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Defines the deployment mode of the recipe. If `Unrestricted`, the recipe can be
	// deployed multiple times in the current namespace and below. If `Unique`,only one
	// deployment is allowed in the current namespace and its child namespaces. If
	// `NamespaceUnique`, only one deployment is allowed in the current namespace.
	DeploymentMode *RecipeDeploymentModeValue `` /* 138-byte string literal not displayed */

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Contains a base64-encoded image for the recipe.
	Icon *string `json:"icon,omitempty" msgpack:"icon,omitempty" bson:"icon,omitempty" mapstructure:"icon,omitempty"`

	// The unique key of the recipe.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"key,omitempty" mapstructure:"key,omitempty"`

	// Defines the recipe.
	Label *string `json:"label,omitempty" msgpack:"label,omitempty" bson:"label,omitempty" mapstructure:"label,omitempty"`

	// Provides a long description of the recipe.
	LongDescription *string `` /* 142-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Options of the recipe.
	Options *RecipeOptions `json:"options,omitempty" msgpack:"options,omitempty" bson:"options,omitempty" mapstructure:"options,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Contains all the steps with parameters to follow for the recipe.
	Steps *[]*UIStep `json:"steps,omitempty" msgpack:"steps,omitempty" bson:"steps,omitempty" mapstructure:"steps,omitempty"`

	// A string message presented upon success (optional).
	SuccessfullMessage *string `` /* 154-byte string literal not displayed */

	// Contains the list of identities the recipes will try to create.
	TargetIdentities *[]string `` /* 146-byte string literal not displayed */

	// Template of the recipe to import.
	Template *string `json:"template,omitempty" msgpack:"template,omitempty" bson:"template,omitempty" mapstructure:"template,omitempty"`

	// A hash of the template.
	TemplateHash *string `` /* 130-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseRecipe represents the sparse version of a recipe.

func NewSparseRecipe added in v1.1.0

func NewSparseRecipe() *SparseRecipe

NewSparseRecipe returns a new SparseRecipe.

func (*SparseRecipe) DeepCopy added in v1.1.0

func (o *SparseRecipe) DeepCopy() *SparseRecipe

DeepCopy returns a deep copy if the SparseRecipe.

func (*SparseRecipe) DeepCopyInto added in v1.1.0

func (o *SparseRecipe) DeepCopyInto(out *SparseRecipe)

DeepCopyInto copies the receiver into the given *SparseRecipe.

func (*SparseRecipe) GetAnnotations added in v1.1.0

func (o *SparseRecipe) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseRecipe) GetAssociatedTags added in v1.1.0

func (o *SparseRecipe) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseRecipe) GetBSON added in v1.80.0

func (o *SparseRecipe) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRecipe) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseRecipe) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseRecipe) GetCreateTime added in v1.1.0

func (o *SparseRecipe) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseRecipe) GetDescription added in v1.1.0

func (o *SparseRecipe) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseRecipe) GetMetadata added in v1.1.0

func (o *SparseRecipe) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseRecipe) GetMigrationsLog added in v1.30.0

func (o *SparseRecipe) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseRecipe) GetName added in v1.1.0

func (o *SparseRecipe) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseRecipe) GetNamespace added in v1.1.0

func (o *SparseRecipe) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseRecipe) GetNormalizedTags added in v1.1.0

func (o *SparseRecipe) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseRecipe) GetPropagate added in v1.1.0

func (o *SparseRecipe) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseRecipe) GetProtected added in v1.1.0

func (o *SparseRecipe) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseRecipe) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseRecipe) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseRecipe) GetUpdateTime added in v1.1.0

func (o *SparseRecipe) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseRecipe) GetZHash added in v1.1.0

func (o *SparseRecipe) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseRecipe) GetZone added in v1.1.0

func (o *SparseRecipe) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseRecipe) Identifier added in v1.1.0

func (o *SparseRecipe) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseRecipe) Identity added in v1.1.0

func (o *SparseRecipe) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseRecipe) SetAnnotations added in v1.1.0

func (o *SparseRecipe) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseRecipe) SetAssociatedTags added in v1.1.0

func (o *SparseRecipe) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseRecipe) SetBSON added in v1.80.0

func (o *SparseRecipe) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRecipe) SetCreateIdempotencyKey added in v1.1.0

func (o *SparseRecipe) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseRecipe) SetCreateTime added in v1.1.0

func (o *SparseRecipe) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseRecipe) SetDescription added in v1.1.0

func (o *SparseRecipe) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseRecipe) SetIdentifier added in v1.1.0

func (o *SparseRecipe) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseRecipe) SetMetadata added in v1.1.0

func (o *SparseRecipe) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseRecipe) SetMigrationsLog added in v1.30.0

func (o *SparseRecipe) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseRecipe) SetName added in v1.1.0

func (o *SparseRecipe) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseRecipe) SetNamespace added in v1.1.0

func (o *SparseRecipe) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseRecipe) SetNormalizedTags added in v1.1.0

func (o *SparseRecipe) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseRecipe) SetPropagate added in v1.1.0

func (o *SparseRecipe) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseRecipe) SetProtected added in v1.1.0

func (o *SparseRecipe) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseRecipe) SetUpdateIdempotencyKey added in v1.1.0

func (o *SparseRecipe) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseRecipe) SetUpdateTime added in v1.1.0

func (o *SparseRecipe) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseRecipe) SetZHash added in v1.1.0

func (o *SparseRecipe) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseRecipe) SetZone added in v1.1.0

func (o *SparseRecipe) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseRecipe) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseRecipe) Version added in v1.1.0

func (o *SparseRecipe) Version() int

Version returns the hardcoded version of the model.

type SparseRecipesList added in v1.1.0

type SparseRecipesList []*SparseRecipe

SparseRecipesList represents a list of SparseRecipes

func (SparseRecipesList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseRecipesList.

func (SparseRecipesList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseRecipesList.

func (SparseRecipesList) DefaultOrder added in v1.1.0

func (o SparseRecipesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseRecipesList) Identity added in v1.1.0

func (o SparseRecipesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseRecipesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseRecipesList) ToPlain added in v1.1.0

ToPlain returns the SparseRecipesList converted to RecipesList.

func (SparseRecipesList) Version added in v1.1.0

func (o SparseRecipesList) Version() int

Version returns the version of the content.

type SparseRemoteProcessor

type SparseRemoteProcessor struct {
	// Represents the claims of the currently managed object.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"-" mapstructure:"claims,omitempty"`

	// Represents data received from the service.
	Input *json.RawMessage `json:"input,omitempty" msgpack:"input,omitempty" bson:"-" mapstructure:"input,omitempty"`

	// Defines the hook's type.
	Mode *RemoteProcessorModeValue `json:"mode,omitempty" msgpack:"mode,omitempty" bson:"-" mapstructure:"mode,omitempty"`

	// Represents the current namespace.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// Defines the operation that is currently handled by the service.
	Operation *elemental.Operation `json:"operation,omitempty" msgpack:"operation,omitempty" bson:"-" mapstructure:"operation,omitempty"`

	// Returns `OutputData` filled with the processor information.
	Output *elemental.Identifiable `json:"output,omitempty" msgpack:"output,omitempty" bson:"-" mapstructure:"output,omitempty"`

	// Gives the ID of the request coming from the main server.
	RequestID *string `json:"requestID,omitempty" msgpack:"requestID,omitempty" bson:"requestid,omitempty" mapstructure:"requestID,omitempty"`

	// Represents the identity name of the managed object.
	TargetIdentity *string `json:"targetIdentity,omitempty" msgpack:"targetIdentity,omitempty" bson:"-" mapstructure:"targetIdentity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseRemoteProcessor represents the sparse version of a remoteprocessor.

func NewSparseRemoteProcessor

func NewSparseRemoteProcessor() *SparseRemoteProcessor

NewSparseRemoteProcessor returns a new SparseRemoteProcessor.

func (*SparseRemoteProcessor) DeepCopy

DeepCopy returns a deep copy if the SparseRemoteProcessor.

func (*SparseRemoteProcessor) DeepCopyInto

func (o *SparseRemoteProcessor) DeepCopyInto(out *SparseRemoteProcessor)

DeepCopyInto copies the receiver into the given *SparseRemoteProcessor.

func (*SparseRemoteProcessor) GetBSON added in v1.80.0

func (o *SparseRemoteProcessor) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRemoteProcessor) Identifier

func (o *SparseRemoteProcessor) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseRemoteProcessor) Identity

Identity returns the Identity of the sparse object.

func (*SparseRemoteProcessor) SetBSON added in v1.80.0

func (o *SparseRemoteProcessor) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRemoteProcessor) SetIdentifier

func (o *SparseRemoteProcessor) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseRemoteProcessor) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseRemoteProcessor) Version

func (o *SparseRemoteProcessor) Version() int

Version returns the hardcoded version of the model.

type SparseRemoteProcessorsList

type SparseRemoteProcessorsList []*SparseRemoteProcessor

SparseRemoteProcessorsList represents a list of SparseRemoteProcessors

func (SparseRemoteProcessorsList) Append

Append appends the objects to the a new copy of the SparseRemoteProcessorsList.

func (SparseRemoteProcessorsList) Copy

Copy returns a pointer to a copy the SparseRemoteProcessorsList.

func (SparseRemoteProcessorsList) DefaultOrder

func (o SparseRemoteProcessorsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseRemoteProcessorsList) Identity

Identity returns the identity of the objects in the list.

func (SparseRemoteProcessorsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseRemoteProcessorsList) ToPlain

ToPlain returns the SparseRemoteProcessorsList converted to RemoteProcessorsList.

func (SparseRemoteProcessorsList) Version

func (o SparseRemoteProcessorsList) Version() int

Version returns the version of the content.

type SparseRenderTemplate added in v1.1.0

type SparseRenderTemplate struct {
	// Holds the rendered template.
	Output *string `json:"output,omitempty" msgpack:"output,omitempty" bson:"-" mapstructure:"output,omitempty"`

	// Contains the computed parameters.
	Parameters *map[string]interface{} `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"-" mapstructure:"parameters,omitempty"`

	// Template of the recipe.
	Template *string `json:"template,omitempty" msgpack:"template,omitempty" bson:"-" mapstructure:"template,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseRenderTemplate represents the sparse version of a rendertemplate.

func NewSparseRenderTemplate added in v1.1.0

func NewSparseRenderTemplate() *SparseRenderTemplate

NewSparseRenderTemplate returns a new SparseRenderTemplate.

func (*SparseRenderTemplate) DeepCopy added in v1.1.0

DeepCopy returns a deep copy if the SparseRenderTemplate.

func (*SparseRenderTemplate) DeepCopyInto added in v1.1.0

func (o *SparseRenderTemplate) DeepCopyInto(out *SparseRenderTemplate)

DeepCopyInto copies the receiver into the given *SparseRenderTemplate.

func (*SparseRenderTemplate) GetBSON added in v1.80.0

func (o *SparseRenderTemplate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRenderTemplate) Identifier added in v1.1.0

func (o *SparseRenderTemplate) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseRenderTemplate) Identity added in v1.1.0

func (o *SparseRenderTemplate) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseRenderTemplate) SetBSON added in v1.80.0

func (o *SparseRenderTemplate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRenderTemplate) SetIdentifier added in v1.1.0

func (o *SparseRenderTemplate) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseRenderTemplate) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseRenderTemplate) Version added in v1.1.0

func (o *SparseRenderTemplate) Version() int

Version returns the hardcoded version of the model.

type SparseRenderTemplatesList added in v1.1.0

type SparseRenderTemplatesList []*SparseRenderTemplate

SparseRenderTemplatesList represents a list of SparseRenderTemplates

func (SparseRenderTemplatesList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseRenderTemplatesList.

func (SparseRenderTemplatesList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseRenderTemplatesList.

func (SparseRenderTemplatesList) DefaultOrder added in v1.1.0

func (o SparseRenderTemplatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseRenderTemplatesList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (SparseRenderTemplatesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseRenderTemplatesList) ToPlain added in v1.1.0

ToPlain returns the SparseRenderTemplatesList converted to RenderTemplatesList.

func (SparseRenderTemplatesList) Version added in v1.1.0

func (o SparseRenderTemplatesList) Version() int

Version returns the version of the content.

type SparseRenderedPoliciesList

type SparseRenderedPoliciesList []*SparseRenderedPolicy

SparseRenderedPoliciesList represents a list of SparseRenderedPolicies

func (SparseRenderedPoliciesList) Append

Append appends the objects to the a new copy of the SparseRenderedPoliciesList.

func (SparseRenderedPoliciesList) Copy

Copy returns a pointer to a copy the SparseRenderedPoliciesList.

func (SparseRenderedPoliciesList) DefaultOrder

func (o SparseRenderedPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseRenderedPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseRenderedPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseRenderedPoliciesList) ToPlain

ToPlain returns the SparseRenderedPoliciesList converted to RenderedPoliciesList.

func (SparseRenderedPoliciesList) Version

func (o SparseRenderedPoliciesList) Version() int

Version returns the version of the content.

type SparseRenderedPolicy

type SparseRenderedPolicy struct {
	// The certificate associated with this processing unit. It will identify the
	// processing unit to any internal or external services.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// The datapath type that this processing unit must implement according to
	// the rendered policy:
	// - `Default`: This policy is not making a decision for the datapath.
	// - `Aporeto`: The enforcer is managing and handling the datapath.
	// - `EnvoyAuthorizer`: The enforcer is serving Envoy-compatible gRPC APIs
	// that for example can be used by an Envoy proxy to use the Microsegmentation PKI
	// and implement Microsegmentation network policies. NOTE: The enforcer is not
	// owning the datapath in this case. It is merely providing an authorizer API.
	DatapathType *RenderedPolicyDatapathTypeValue `json:"datapathType,omitempty" msgpack:"datapathType,omitempty" bson:"-" mapstructure:"datapathType,omitempty"`

	// Describes the default for incoming traffic.
	DefaultPUIncomingTrafficAction *RenderedPolicyDefaultPUIncomingTrafficActionValue `` /* 163-byte string literal not displayed */

	// Describes the default for outgoing traffic.
	DefaultPUOutgoingTrafficAction *RenderedPolicyDefaultPUOutgoingTrafficActionValue `` /* 163-byte string literal not displayed */

	// The list of services that this processing unit depends on.
	DependendServices *ServicesList `json:"dependendServices,omitempty" msgpack:"dependendServices,omitempty" bson:"-" mapstructure:"dependendServices,omitempty"`

	// Lists all the egress policies attached to processing unit.
	EgressPolicies *map[string]PolicyRulesList `json:"egressPolicies,omitempty" msgpack:"egressPolicies,omitempty" bson:"-" mapstructure:"egressPolicies,omitempty"`

	// The list of services that this processing unit is implementing.
	ExposedServices *ServicesList `json:"exposedServices,omitempty" msgpack:"exposedServices,omitempty" bson:"-" mapstructure:"exposedServices,omitempty"`

	// Contains the list of all tags and their hashed that have been used.
	HashedTags *map[string]string `json:"hashedTags,omitempty" msgpack:"hashedTags,omitempty" bson:"-" mapstructure:"hashedTags,omitempty"`

	// Lists all the ingress policies attached to the processing unit.
	IngressPolicies *map[string]PolicyRulesList `json:"ingressPolicies,omitempty" msgpack:"ingressPolicies,omitempty" bson:"-" mapstructure:"ingressPolicies,omitempty"`

	// Contains the list of tags that matched the policies.
	MatchingTags *[]string `json:"matchingTags,omitempty" msgpack:"matchingTags,omitempty" bson:"-" mapstructure:"matchingTags,omitempty"`

	// Can be set during a `POST` operation to render a policy on a processing unit
	// that has not been created yet.
	ProcessingUnit *ProcessingUnit `json:"processingUnit,omitempty" msgpack:"processingUnit,omitempty" bson:"-" mapstructure:"processingUnit,omitempty"`

	// Identifier of the processing unit.
	ProcessingUnitID *string `json:"processingUnitID,omitempty" msgpack:"processingUnitID,omitempty" bson:"-" mapstructure:"processingUnitID,omitempty"`

	// Can be set during a `POST` operation to render a policy on a processing unit
	// tags.
	ProcessingUnitTags *[]string `` /* 127-byte string literal not displayed */

	// Indicates the version of the engine used to render the policies.
	RendererVersion *int `json:"rendererVersion,omitempty" msgpack:"rendererVersion,omitempty" bson:"-" mapstructure:"rendererVersion,omitempty"`

	// Lists all the rule set policies attached to processing unit.
	RuleSetPolicies *PolicyRulesList `json:"ruleSetPolicies,omitempty" msgpack:"ruleSetPolicies,omitempty" bson:"-" mapstructure:"ruleSetPolicies,omitempty"`

	// The set of scopes granted to this processing unit that has to be
	// present in HTTP requests.
	Scopes *[]string `json:"scopes,omitempty" msgpack:"scopes,omitempty" bson:"scopes,omitempty" mapstructure:"scopes,omitempty"`

	// Contains the list of tags that must go on the wire.
	WireTags *[]string `json:"wireTags,omitempty" msgpack:"wireTags,omitempty" bson:"-" mapstructure:"wireTags,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseRenderedPolicy represents the sparse version of a renderedpolicy.

func NewSparseRenderedPolicy

func NewSparseRenderedPolicy() *SparseRenderedPolicy

NewSparseRenderedPolicy returns a new SparseRenderedPolicy.

func (*SparseRenderedPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseRenderedPolicy.

func (*SparseRenderedPolicy) DeepCopyInto

func (o *SparseRenderedPolicy) DeepCopyInto(out *SparseRenderedPolicy)

DeepCopyInto copies the receiver into the given *SparseRenderedPolicy.

func (*SparseRenderedPolicy) GetBSON added in v1.80.0

func (o *SparseRenderedPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRenderedPolicy) Identifier

func (o *SparseRenderedPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseRenderedPolicy) Identity

func (o *SparseRenderedPolicy) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseRenderedPolicy) SetBSON added in v1.80.0

func (o *SparseRenderedPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRenderedPolicy) SetIdentifier

func (o *SparseRenderedPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseRenderedPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseRenderedPolicy) Version

func (o *SparseRenderedPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseReport

type SparseReport struct {
	// TSDB Fields to set for the report.
	Fields *map[string]interface{} `json:"fields,omitempty" msgpack:"fields,omitempty" bson:"-" mapstructure:"fields,omitempty"`

	// Kind contains the kind of report.
	Kind *ReportKindValue `json:"kind,omitempty" msgpack:"kind,omitempty" bson:"-" mapstructure:"kind,omitempty"`

	// Tags contains the tags associated to the data point.
	Tags *map[string]string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"-" mapstructure:"tags,omitempty"`

	// Timestamp contains the time for the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,omitempty"`

	// Value contains the value for the report.
	Value *float64 `json:"value,omitempty" msgpack:"value,omitempty" bson:"-" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseReport represents the sparse version of a report.

func NewSparseReport

func NewSparseReport() *SparseReport

NewSparseReport returns a new SparseReport.

func (*SparseReport) DeepCopy

func (o *SparseReport) DeepCopy() *SparseReport

DeepCopy returns a deep copy if the SparseReport.

func (*SparseReport) DeepCopyInto

func (o *SparseReport) DeepCopyInto(out *SparseReport)

DeepCopyInto copies the receiver into the given *SparseReport.

func (*SparseReport) GetBSON added in v1.80.0

func (o *SparseReport) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseReport) Identifier

func (o *SparseReport) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseReport) Identity

func (o *SparseReport) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseReport) SetBSON added in v1.80.0

func (o *SparseReport) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseReport) SetIdentifier

func (o *SparseReport) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseReport) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseReport) Version

func (o *SparseReport) Version() int

Version returns the hardcoded version of the model.

type SparseReportsList

type SparseReportsList []*SparseReport

SparseReportsList represents a list of SparseReports

func (SparseReportsList) Append

Append appends the objects to the a new copy of the SparseReportsList.

func (SparseReportsList) Copy

Copy returns a pointer to a copy the SparseReportsList.

func (SparseReportsList) DefaultOrder

func (o SparseReportsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseReportsList) Identity

func (o SparseReportsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseReportsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseReportsList) ToPlain

ToPlain returns the SparseReportsList converted to ReportsList.

func (SparseReportsList) Version

func (o SparseReportsList) Version() int

Version returns the version of the content.

type SparseReportsQueriesList added in v1.94.1

type SparseReportsQueriesList []*SparseReportsQuery

SparseReportsQueriesList represents a list of SparseReportsQueries

func (SparseReportsQueriesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseReportsQueriesList.

func (SparseReportsQueriesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseReportsQueriesList.

func (SparseReportsQueriesList) DefaultOrder added in v1.94.1

func (o SparseReportsQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseReportsQueriesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseReportsQueriesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseReportsQueriesList) ToPlain added in v1.94.1

ToPlain returns the SparseReportsQueriesList converted to ReportsQueriesList.

func (SparseReportsQueriesList) Version added in v1.94.1

func (o SparseReportsQueriesList) Version() int

Version returns the version of the content.

type SparseReportsQuery added in v1.94.1

type SparseReportsQuery struct {
	// List of DNSLookupReports.
	DNSLookupReports *DNSLookupReportsList `json:"DNSLookupReports,omitempty" msgpack:"DNSLookupReports,omitempty" bson:"-" mapstructure:"DNSLookupReports,omitempty"`

	// List of ConnectionExceptionReports.
	ConnectionExceptionReports *ConnectionExceptionReportsList `` /* 151-byte string literal not displayed */

	// List of CounterReports.
	CounterReports *CounterReportsList `json:"counterReports,omitempty" msgpack:"counterReports,omitempty" bson:"-" mapstructure:"counterReports,omitempty"`

	// List of EnforcerReports.
	EnforcerReports *EnforcerReportsList `json:"enforcerReports,omitempty" msgpack:"enforcerReports,omitempty" bson:"-" mapstructure:"enforcerReports,omitempty"`

	// List of EventLogs.
	EventLogs *EventLogsList `json:"eventLogs,omitempty" msgpack:"eventLogs,omitempty" bson:"-" mapstructure:"eventLogs,omitempty"`

	// List of FlowReports.
	FlowReports *FlowReportsList `json:"flowReports,omitempty" msgpack:"flowReports,omitempty" bson:"-" mapstructure:"flowReports,omitempty"`

	// List of PacketReports.
	PacketReports *PacketReportsList `json:"packetReports,omitempty" msgpack:"packetReports,omitempty" bson:"-" mapstructure:"packetReports,omitempty"`

	// Name of the report type to query.
	Report *ReportsQueryReportValue `json:"report,omitempty" msgpack:"report,omitempty" bson:"-" mapstructure:"report,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseReportsQuery represents the sparse version of a reportsquery.

func NewSparseReportsQuery added in v1.94.1

func NewSparseReportsQuery() *SparseReportsQuery

NewSparseReportsQuery returns a new SparseReportsQuery.

func (*SparseReportsQuery) DeepCopy added in v1.94.1

func (o *SparseReportsQuery) DeepCopy() *SparseReportsQuery

DeepCopy returns a deep copy if the SparseReportsQuery.

func (*SparseReportsQuery) DeepCopyInto added in v1.94.1

func (o *SparseReportsQuery) DeepCopyInto(out *SparseReportsQuery)

DeepCopyInto copies the receiver into the given *SparseReportsQuery.

func (*SparseReportsQuery) GetBSON added in v1.94.1

func (o *SparseReportsQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseReportsQuery) Identifier added in v1.94.1

func (o *SparseReportsQuery) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseReportsQuery) Identity added in v1.94.1

func (o *SparseReportsQuery) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseReportsQuery) SetBSON added in v1.94.1

func (o *SparseReportsQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseReportsQuery) SetIdentifier added in v1.94.1

func (o *SparseReportsQuery) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseReportsQuery) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseReportsQuery) Version added in v1.94.1

func (o *SparseReportsQuery) Version() int

Version returns the hardcoded version of the model.

type SparseRevocation

type SparseRevocation struct {
	// ID contains the ID of the revocation.
	ID *string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Contains the certificate expiration date. This will be used to clean up revoked
	// certificates that have expired.
	ExpirationDate *time.Time `` /* 138-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Set time from when the certificate will be revoked.
	RevokeDate *time.Time `json:"revokeDate,omitempty" msgpack:"revokeDate,omitempty" bson:"revokedate,omitempty" mapstructure:"revokeDate,omitempty"`

	// SerialNumber of the revoked certificate.
	SerialNumber *string `` /* 130-byte string literal not displayed */

	// Subject of the certificate related to the revocation.
	Subject *string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseRevocation represents the sparse version of a revocation.

func NewSparseRevocation

func NewSparseRevocation() *SparseRevocation

NewSparseRevocation returns a new SparseRevocation.

func (*SparseRevocation) DeepCopy

func (o *SparseRevocation) DeepCopy() *SparseRevocation

DeepCopy returns a deep copy if the SparseRevocation.

func (*SparseRevocation) DeepCopyInto

func (o *SparseRevocation) DeepCopyInto(out *SparseRevocation)

DeepCopyInto copies the receiver into the given *SparseRevocation.

func (*SparseRevocation) GetBSON added in v1.80.0

func (o *SparseRevocation) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRevocation) GetMigrationsLog added in v1.30.0

func (o *SparseRevocation) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseRevocation) GetZHash added in v1.1.0

func (o *SparseRevocation) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseRevocation) GetZone added in v1.1.0

func (o *SparseRevocation) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseRevocation) Identifier

func (o *SparseRevocation) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseRevocation) Identity

func (o *SparseRevocation) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseRevocation) SetBSON added in v1.80.0

func (o *SparseRevocation) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRevocation) SetIdentifier

func (o *SparseRevocation) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseRevocation) SetMigrationsLog added in v1.30.0

func (o *SparseRevocation) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseRevocation) SetZHash added in v1.1.0

func (o *SparseRevocation) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseRevocation) SetZone added in v1.1.0

func (o *SparseRevocation) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseRevocation) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseRevocation) Version

func (o *SparseRevocation) Version() int

Version returns the hardcoded version of the model.

type SparseRevocationsList

type SparseRevocationsList []*SparseRevocation

SparseRevocationsList represents a list of SparseRevocations

func (SparseRevocationsList) Append

Append appends the objects to the a new copy of the SparseRevocationsList.

func (SparseRevocationsList) Copy

Copy returns a pointer to a copy the SparseRevocationsList.

func (SparseRevocationsList) DefaultOrder

func (o SparseRevocationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseRevocationsList) Identity

Identity returns the identity of the objects in the list.

func (SparseRevocationsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseRevocationsList) ToPlain

ToPlain returns the SparseRevocationsList converted to RevocationsList.

func (SparseRevocationsList) Version

func (o SparseRevocationsList) Version() int

Version returns the version of the content.

type SparseRole

type SparseRole struct {
	// Authorizations of the role.
	Authorizations *map[string][]string `json:"authorizations,omitempty" msgpack:"authorizations,omitempty" bson:"-" mapstructure:"authorizations,omitempty"`

	// Description of the role.
	Description *string `json:"description,omitempty" msgpack:"description,omitempty" bson:"-" mapstructure:"description,omitempty"`

	// Key of the role.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"-" mapstructure:"key,omitempty"`

	// Name of the role.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// Set to `true` to make the role private and hidden from the UI.
	Private *bool `json:"private,omitempty" msgpack:"private,omitempty" bson:"-" mapstructure:"private,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseRole represents the sparse version of a role.

func NewSparseRole

func NewSparseRole() *SparseRole

NewSparseRole returns a new SparseRole.

func (*SparseRole) DeepCopy

func (o *SparseRole) DeepCopy() *SparseRole

DeepCopy returns a deep copy if the SparseRole.

func (*SparseRole) DeepCopyInto

func (o *SparseRole) DeepCopyInto(out *SparseRole)

DeepCopyInto copies the receiver into the given *SparseRole.

func (*SparseRole) GetBSON added in v1.80.0

func (o *SparseRole) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRole) Identifier

func (o *SparseRole) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseRole) Identity

func (o *SparseRole) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseRole) SetBSON added in v1.80.0

func (o *SparseRole) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseRole) SetIdentifier

func (o *SparseRole) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseRole) ToPlain

func (o *SparseRole) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseRole) Version

func (o *SparseRole) Version() int

Version returns the hardcoded version of the model.

type SparseRolesList

type SparseRolesList []*SparseRole

SparseRolesList represents a list of SparseRoles

func (SparseRolesList) Append

Append appends the objects to the a new copy of the SparseRolesList.

func (SparseRolesList) Copy

Copy returns a pointer to a copy the SparseRolesList.

func (SparseRolesList) DefaultOrder

func (o SparseRolesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseRolesList) Identity

func (o SparseRolesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseRolesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseRolesList) ToPlain

ToPlain returns the SparseRolesList converted to RolesList.

func (SparseRolesList) Version

func (o SparseRolesList) Version() int

Version returns the version of the content.

type SparseSAMLProvider added in v1.49.0

type SparseSAMLProvider struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Identity provider certificate in PEM format.
	IDPCertificate *string `` /* 138-byte string literal not displayed */

	// Identity Provider Issuer (also called Entity ID).
	IDPIssuer *string `json:"IDPIssuer,omitempty" msgpack:"IDPIssuer,omitempty" bson:"idpissuer,omitempty" mapstructure:"IDPIssuer,omitempty"`

	// Pass some XML data containing the IDP metadata that can be used for automatic
	// configuration. If you pass this attribute, every other one will be overwritten
	// with the data contained in the metadata file.
	IDPMetadata *string `json:"IDPMetadata,omitempty" msgpack:"IDPMetadata,omitempty" bson:"-" mapstructure:"IDPMetadata,omitempty"`

	// URL of the identity provider.
	IDPURL *string `json:"IDPURL,omitempty" msgpack:"IDPURL,omitempty" bson:"idpurl,omitempty" mapstructure:"IDPURL,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// If set, this will be the default SAML provider. There can be only one default
	// provider in your account. When logging in with SAML, if no provider name is
	// given, the default will be used.
	Default *bool `json:"default,omitempty" msgpack:"default,omitempty" bson:"default,omitempty" mapstructure:"default,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// List of claims that will provide the subject.
	Subjects *[]string `json:"subjects,omitempty" msgpack:"subjects,omitempty" bson:"subjects,omitempty" mapstructure:"subjects,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSAMLProvider represents the sparse version of a samlprovider.

func NewSparseSAMLProvider added in v1.49.0

func NewSparseSAMLProvider() *SparseSAMLProvider

NewSparseSAMLProvider returns a new SparseSAMLProvider.

func (*SparseSAMLProvider) DeepCopy added in v1.49.0

func (o *SparseSAMLProvider) DeepCopy() *SparseSAMLProvider

DeepCopy returns a deep copy if the SparseSAMLProvider.

func (*SparseSAMLProvider) DeepCopyInto added in v1.49.0

func (o *SparseSAMLProvider) DeepCopyInto(out *SparseSAMLProvider)

DeepCopyInto copies the receiver into the given *SparseSAMLProvider.

func (*SparseSAMLProvider) GetAnnotations added in v1.49.0

func (o *SparseSAMLProvider) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseSAMLProvider) GetAssociatedTags added in v1.49.0

func (o *SparseSAMLProvider) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseSAMLProvider) GetBSON added in v1.80.0

func (o *SparseSAMLProvider) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSAMLProvider) GetCreateIdempotencyKey added in v1.49.0

func (o *SparseSAMLProvider) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseSAMLProvider) GetCreateTime added in v1.49.0

func (o *SparseSAMLProvider) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseSAMLProvider) GetDescription added in v1.94.1

func (o *SparseSAMLProvider) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseSAMLProvider) GetMigrationsLog added in v1.49.0

func (o *SparseSAMLProvider) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseSAMLProvider) GetName added in v1.49.0

func (o *SparseSAMLProvider) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseSAMLProvider) GetNamespace added in v1.49.0

func (o *SparseSAMLProvider) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseSAMLProvider) GetNormalizedTags added in v1.49.0

func (o *SparseSAMLProvider) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseSAMLProvider) GetProtected added in v1.49.0

func (o *SparseSAMLProvider) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseSAMLProvider) GetUpdateIdempotencyKey added in v1.49.0

func (o *SparseSAMLProvider) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseSAMLProvider) GetUpdateTime added in v1.49.0

func (o *SparseSAMLProvider) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseSAMLProvider) GetZHash added in v1.49.0

func (o *SparseSAMLProvider) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseSAMLProvider) GetZone added in v1.49.0

func (o *SparseSAMLProvider) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseSAMLProvider) Identifier added in v1.49.0

func (o *SparseSAMLProvider) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSAMLProvider) Identity added in v1.49.0

func (o *SparseSAMLProvider) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSAMLProvider) SetAnnotations added in v1.49.0

func (o *SparseSAMLProvider) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetAssociatedTags added in v1.49.0

func (o *SparseSAMLProvider) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetBSON added in v1.80.0

func (o *SparseSAMLProvider) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSAMLProvider) SetCreateIdempotencyKey added in v1.49.0

func (o *SparseSAMLProvider) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetCreateTime added in v1.49.0

func (o *SparseSAMLProvider) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetDescription added in v1.94.1

func (o *SparseSAMLProvider) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetIdentifier added in v1.49.0

func (o *SparseSAMLProvider) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSAMLProvider) SetMigrationsLog added in v1.49.0

func (o *SparseSAMLProvider) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetName added in v1.49.0

func (o *SparseSAMLProvider) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetNamespace added in v1.49.0

func (o *SparseSAMLProvider) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetNormalizedTags added in v1.49.0

func (o *SparseSAMLProvider) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetProtected added in v1.49.0

func (o *SparseSAMLProvider) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetUpdateIdempotencyKey added in v1.49.0

func (o *SparseSAMLProvider) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetUpdateTime added in v1.49.0

func (o *SparseSAMLProvider) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetZHash added in v1.49.0

func (o *SparseSAMLProvider) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseSAMLProvider) SetZone added in v1.49.0

func (o *SparseSAMLProvider) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseSAMLProvider) ToPlain added in v1.49.0

ToPlain returns the plain version of the sparse model.

func (*SparseSAMLProvider) Version added in v1.49.0

func (o *SparseSAMLProvider) Version() int

Version returns the hardcoded version of the model.

type SparseSAMLProvidersList added in v1.49.0

type SparseSAMLProvidersList []*SparseSAMLProvider

SparseSAMLProvidersList represents a list of SparseSAMLProviders

func (SparseSAMLProvidersList) Append added in v1.49.0

Append appends the objects to the a new copy of the SparseSAMLProvidersList.

func (SparseSAMLProvidersList) Copy added in v1.49.0

Copy returns a pointer to a copy the SparseSAMLProvidersList.

func (SparseSAMLProvidersList) DefaultOrder added in v1.49.0

func (o SparseSAMLProvidersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSAMLProvidersList) Identity added in v1.49.0

Identity returns the identity of the objects in the list.

func (SparseSAMLProvidersList) List added in v1.49.0

List converts the object to an elemental.IdentifiablesList.

func (SparseSAMLProvidersList) ToPlain added in v1.49.0

ToPlain returns the SparseSAMLProvidersList converted to SAMLProvidersList.

func (SparseSAMLProvidersList) Version added in v1.49.0

func (o SparseSAMLProvidersList) Version() int

Version returns the version of the content.

type SparseSSHAuthoritiesList

type SparseSSHAuthoritiesList []*SparseSSHAuthority

SparseSSHAuthoritiesList represents a list of SparseSSHAuthorities

func (SparseSSHAuthoritiesList) Append

Append appends the objects to the a new copy of the SparseSSHAuthoritiesList.

func (SparseSSHAuthoritiesList) Copy

Copy returns a pointer to a copy the SparseSSHAuthoritiesList.

func (SparseSSHAuthoritiesList) DefaultOrder

func (o SparseSSHAuthoritiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSSHAuthoritiesList) Identity

Identity returns the identity of the objects in the list.

func (SparseSSHAuthoritiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSSHAuthoritiesList) ToPlain

ToPlain returns the SparseSSHAuthoritiesList converted to SSHAuthoritiesList.

func (SparseSSHAuthoritiesList) Version

func (o SparseSSHAuthoritiesList) Version() int

Version returns the version of the content.

type SparseSSHAuthority

type SparseSSHAuthority struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Algorithm to use for the CA.
	Alg *SSHAuthorityAlgValue `json:"alg,omitempty" msgpack:"alg,omitempty" bson:"alg,omitempty" mapstructure:"alg,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Contains the private key of the CA.
	PrivateKey *string `json:"-" msgpack:"-" bson:"privatekey,omitempty" mapstructure:"-,omitempty"`

	// Contains the public key of the CA.
	PublicKey *string `json:"publicKey,omitempty" msgpack:"publicKey,omitempty" bson:"publickey,omitempty" mapstructure:"publicKey,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSSHAuthority represents the sparse version of a sshauthority.

func NewSparseSSHAuthority

func NewSparseSSHAuthority() *SparseSSHAuthority

NewSparseSSHAuthority returns a new SparseSSHAuthority.

func (*SparseSSHAuthority) DecryptAttributes added in v1.57.0

func (o *SparseSSHAuthority) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseSSHAuthority) DeepCopy

func (o *SparseSSHAuthority) DeepCopy() *SparseSSHAuthority

DeepCopy returns a deep copy if the SparseSSHAuthority.

func (*SparseSSHAuthority) DeepCopyInto

func (o *SparseSSHAuthority) DeepCopyInto(out *SparseSSHAuthority)

DeepCopyInto copies the receiver into the given *SparseSSHAuthority.

func (*SparseSSHAuthority) EncryptAttributes added in v1.57.0

func (o *SparseSSHAuthority) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseSSHAuthority) GetBSON added in v1.80.0

func (o *SparseSSHAuthority) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSSHAuthority) GetCreateTime

func (o *SparseSSHAuthority) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseSSHAuthority) GetMigrationsLog added in v1.30.0

func (o *SparseSSHAuthority) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseSSHAuthority) GetName

func (o *SparseSSHAuthority) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseSSHAuthority) GetUpdateTime

func (o *SparseSSHAuthority) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseSSHAuthority) GetZHash added in v1.1.0

func (o *SparseSSHAuthority) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseSSHAuthority) GetZone added in v1.1.0

func (o *SparseSSHAuthority) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseSSHAuthority) Identifier

func (o *SparseSSHAuthority) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSSHAuthority) Identity

func (o *SparseSSHAuthority) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSSHAuthority) SetBSON added in v1.80.0

func (o *SparseSSHAuthority) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSSHAuthority) SetCreateTime

func (o *SparseSSHAuthority) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseSSHAuthority) SetIdentifier

func (o *SparseSSHAuthority) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSSHAuthority) SetMigrationsLog added in v1.30.0

func (o *SparseSSHAuthority) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseSSHAuthority) SetName

func (o *SparseSSHAuthority) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseSSHAuthority) SetUpdateTime

func (o *SparseSSHAuthority) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseSSHAuthority) SetZHash added in v1.1.0

func (o *SparseSSHAuthority) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseSSHAuthority) SetZone added in v1.1.0

func (o *SparseSSHAuthority) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseSSHAuthority) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSSHAuthority) Version

func (o *SparseSSHAuthority) Version() int

Version returns the hardcoded version of the model.

type SparseSSHAuthorizationPoliciesList

type SparseSSHAuthorizationPoliciesList []*SparseSSHAuthorizationPolicy

SparseSSHAuthorizationPoliciesList represents a list of SparseSSHAuthorizationPolicies

func (SparseSSHAuthorizationPoliciesList) Append

Append appends the objects to the a new copy of the SparseSSHAuthorizationPoliciesList.

func (SparseSSHAuthorizationPoliciesList) Copy

Copy returns a pointer to a copy the SparseSSHAuthorizationPoliciesList.

func (SparseSSHAuthorizationPoliciesList) DefaultOrder

func (o SparseSSHAuthorizationPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSSHAuthorizationPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseSSHAuthorizationPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSSHAuthorizationPoliciesList) ToPlain

ToPlain returns the SparseSSHAuthorizationPoliciesList converted to SSHAuthorizationPoliciesList.

func (SparseSSHAuthorizationPoliciesList) Version

Version returns the version of the content.

type SparseSSHAuthorizationPolicy

type SparseSSHAuthorizationPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// If set, the SSH authorization will only be valid if the request comes from one
	// the declared subnets.
	AuthorizedSubnets *[]string `json:"authorizedSubnets,omitempty" msgpack:"authorizedSubnets,omitempty" bson:"-" mapstructure:"authorizedSubnets,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the SSH authorization will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// The list of permissions to apply to the OpenSSH certificate. You can check the
	// list of
	// standard extensions at
	// <https://github.com/openssh/openssh-portable/blob/38e83e4f219c752ebb1560633b73f06f0392018b/PROTOCOL.certkeys#L281>.
	Extensions *[]string `json:"extensions,omitempty" msgpack:"extensions,omitempty" bson:"-" mapstructure:"extensions,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Specify a single command that the user can issue on the remote host. This can be
	// useful
	// for issuing single-purpose certificates; ensuring that users stay in their home
	// directories
	// (`internal-sftp`); and restricting users to a bash shell (`/bin/bash`),
	// preventing them
	// from running arbitrary and unlogged commands such as `scp`, `rsync`, `-essh`,
	// and `sftp`.
	// Refer to the [FreeBSD
	// documentation](https://www.freebsd.org/cgi/man.cgi?sshd_config(5))
	// for more information.
	ForceCommand *string `json:"forceCommand,omitempty" msgpack:"forceCommand,omitempty" bson:"-" mapstructure:"forceCommand,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the tag expression identifying the enforcers on the hosts the `subject`
	// is allowed to access.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// On systems without an enforcer, you must provide the name of the Linux user.
	// Otherwise, Microsegmentation will automatically populate this field and adding a
	// value here is optional and not used during the authorization. However, the value
	// becomes a tag associated with the SSH processing unit, which could be useful.
	Principals *[]string `json:"principals,omitempty" msgpack:"principals,omitempty" bson:"-" mapstructure:"principals,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// If selected, the system account will be used to log into the resource.
	RequireSystemAccountMatching *bool `` /* 194-byte string literal not displayed */

	// Contains the tag expression that identifies the user or group of users that
	// should be
	// allowed to access the remote hosts. If the user authenticates against an OIDC
	// provider,
	// these tags correspond to claims in the ID token.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// Set the validity of the delivered SSH certificate.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSSHAuthorizationPolicy represents the sparse version of a sshauthorizationpolicy.

func NewSparseSSHAuthorizationPolicy

func NewSparseSSHAuthorizationPolicy() *SparseSSHAuthorizationPolicy

NewSparseSSHAuthorizationPolicy returns a new SparseSSHAuthorizationPolicy.

func (*SparseSSHAuthorizationPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseSSHAuthorizationPolicy.

func (*SparseSSHAuthorizationPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseSSHAuthorizationPolicy.

func (*SparseSSHAuthorizationPolicy) GetActiveDuration

func (o *SparseSSHAuthorizationPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseSSHAuthorizationPolicy) GetActiveSchedule

func (o *SparseSSHAuthorizationPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseSSHAuthorizationPolicy) GetAnnotations

func (o *SparseSSHAuthorizationPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseSSHAuthorizationPolicy) GetAssociatedTags

func (o *SparseSSHAuthorizationPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseSSHAuthorizationPolicy) GetBSON added in v1.80.0

func (o *SparseSSHAuthorizationPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSSHAuthorizationPolicy) GetCreateIdempotencyKey

func (o *SparseSSHAuthorizationPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseSSHAuthorizationPolicy) GetCreateTime

func (o *SparseSSHAuthorizationPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseSSHAuthorizationPolicy) GetDescription

func (o *SparseSSHAuthorizationPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseSSHAuthorizationPolicy) GetDisabled

func (o *SparseSSHAuthorizationPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseSSHAuthorizationPolicy) GetExpirationTime

func (o *SparseSSHAuthorizationPolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseSSHAuthorizationPolicy) GetFallback

func (o *SparseSSHAuthorizationPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseSSHAuthorizationPolicy) GetMetadata

func (o *SparseSSHAuthorizationPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseSSHAuthorizationPolicy) GetName

func (o *SparseSSHAuthorizationPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseSSHAuthorizationPolicy) GetNamespace

func (o *SparseSSHAuthorizationPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseSSHAuthorizationPolicy) GetNormalizedTags

func (o *SparseSSHAuthorizationPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseSSHAuthorizationPolicy) GetPropagate

func (o *SparseSSHAuthorizationPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseSSHAuthorizationPolicy) GetProtected

func (o *SparseSSHAuthorizationPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseSSHAuthorizationPolicy) GetUpdateIdempotencyKey

func (o *SparseSSHAuthorizationPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseSSHAuthorizationPolicy) GetUpdateTime

func (o *SparseSSHAuthorizationPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseSSHAuthorizationPolicy) Identifier

func (o *SparseSSHAuthorizationPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSSHAuthorizationPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseSSHAuthorizationPolicy) SetActiveDuration

func (o *SparseSSHAuthorizationPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetActiveSchedule

func (o *SparseSSHAuthorizationPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetAnnotations

func (o *SparseSSHAuthorizationPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetAssociatedTags

func (o *SparseSSHAuthorizationPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetBSON added in v1.80.0

func (o *SparseSSHAuthorizationPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSSHAuthorizationPolicy) SetCreateIdempotencyKey

func (o *SparseSSHAuthorizationPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetCreateTime

func (o *SparseSSHAuthorizationPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetDescription

func (o *SparseSSHAuthorizationPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetDisabled

func (o *SparseSSHAuthorizationPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetExpirationTime

func (o *SparseSSHAuthorizationPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetFallback

func (o *SparseSSHAuthorizationPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetIdentifier

func (o *SparseSSHAuthorizationPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSSHAuthorizationPolicy) SetMetadata

func (o *SparseSSHAuthorizationPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetName

func (o *SparseSSHAuthorizationPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetNamespace

func (o *SparseSSHAuthorizationPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetNormalizedTags

func (o *SparseSSHAuthorizationPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetPropagate

func (o *SparseSSHAuthorizationPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetProtected

func (o *SparseSSHAuthorizationPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetUpdateIdempotencyKey

func (o *SparseSSHAuthorizationPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) SetUpdateTime

func (o *SparseSSHAuthorizationPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseSSHAuthorizationPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSSHAuthorizationPolicy) Version

func (o *SparseSSHAuthorizationPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseSSHCertificate

type SparseSSHCertificate struct {
	// Contains the signed SSH certificate in OpenSSH format.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// List of extensions to set in the SSH certificate.
	Extensions *map[string]string `json:"extensions,omitempty" msgpack:"extensions,omitempty" bson:"-" mapstructure:"extensions,omitempty"`

	// List of options to set in the SSH certificate.
	Options *map[string]string `json:"options,omitempty" msgpack:"options,omitempty" bson:"-" mapstructure:"options,omitempty"`

	// List of principals to set in the SSH certificate.
	Principals *[]string `json:"principals,omitempty" msgpack:"principals,omitempty" bson:"-" mapstructure:"principals,omitempty"`

	// Contains the public key to sign in OpenSSH format.
	PublicKey *string `json:"publicKey,omitempty" msgpack:"publicKey,omitempty" bson:"-" mapstructure:"publicKey,omitempty"`

	// The identifier of the CA to use to sign the certificate.
	SignerID *string `json:"signerID,omitempty" msgpack:"signerID,omitempty" bson:"-" mapstructure:"signerID,omitempty"`

	// Type of SSH certificate.
	Type *SSHCertificateTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	// Set the validity of the SSH certificate.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSSHCertificate represents the sparse version of a sshcertificate.

func NewSparseSSHCertificate

func NewSparseSSHCertificate() *SparseSSHCertificate

NewSparseSSHCertificate returns a new SparseSSHCertificate.

func (*SparseSSHCertificate) DeepCopy

DeepCopy returns a deep copy if the SparseSSHCertificate.

func (*SparseSSHCertificate) DeepCopyInto

func (o *SparseSSHCertificate) DeepCopyInto(out *SparseSSHCertificate)

DeepCopyInto copies the receiver into the given *SparseSSHCertificate.

func (*SparseSSHCertificate) GetBSON added in v1.80.0

func (o *SparseSSHCertificate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSSHCertificate) Identifier

func (o *SparseSSHCertificate) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSSHCertificate) Identity

func (o *SparseSSHCertificate) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSSHCertificate) SetBSON added in v1.80.0

func (o *SparseSSHCertificate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSSHCertificate) SetIdentifier

func (o *SparseSSHCertificate) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSSHCertificate) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSSHCertificate) Version

func (o *SparseSSHCertificate) Version() int

Version returns the hardcoded version of the model.

type SparseSSHCertificatesList

type SparseSSHCertificatesList []*SparseSSHCertificate

SparseSSHCertificatesList represents a list of SparseSSHCertificates

func (SparseSSHCertificatesList) Append

Append appends the objects to the a new copy of the SparseSSHCertificatesList.

func (SparseSSHCertificatesList) Copy

Copy returns a pointer to a copy the SparseSSHCertificatesList.

func (SparseSSHCertificatesList) DefaultOrder

func (o SparseSSHCertificatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSSHCertificatesList) Identity

Identity returns the identity of the objects in the list.

func (SparseSSHCertificatesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSSHCertificatesList) ToPlain

ToPlain returns the SparseSSHCertificatesList converted to SSHCertificatesList.

func (SparseSSHCertificatesList) Version

func (o SparseSSHCertificatesList) Version() int

Version returns the version of the content.

type SparseSSHIdentitiesList

type SparseSSHIdentitiesList []*SparseSSHIdentity

SparseSSHIdentitiesList represents a list of SparseSSHIdentities

func (SparseSSHIdentitiesList) Append

Append appends the objects to the a new copy of the SparseSSHIdentitiesList.

func (SparseSSHIdentitiesList) Copy

Copy returns a pointer to a copy the SparseSSHIdentitiesList.

func (SparseSSHIdentitiesList) DefaultOrder

func (o SparseSSHIdentitiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSSHIdentitiesList) Identity

Identity returns the identity of the objects in the list.

func (SparseSSHIdentitiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSSHIdentitiesList) ToPlain

ToPlain returns the SparseSSHIdentitiesList converted to SSHIdentitiesList.

func (SparseSSHIdentitiesList) Version

func (o SparseSSHIdentitiesList) Version() int

Version returns the version of the content.

type SparseSSHIdentity

type SparseSSHIdentity struct {
	// Contains the signed SSH certificate in OpenSSH format.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// Contains the public key to sign in OpenSSH format. You can generate an SSH
	// public key with the standard `ssh-keygen` tool.
	PublicKey *string `json:"publicKey,omitempty" msgpack:"publicKey,omitempty" bson:"-" mapstructure:"publicKey,omitempty"`

	// Define the targeted system account name.
	SystemAccount *string `json:"systemAccount,omitempty" msgpack:"systemAccount,omitempty" bson:"-" mapstructure:"systemAccount,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSSHIdentity represents the sparse version of a sshidentity.

func NewSparseSSHIdentity

func NewSparseSSHIdentity() *SparseSSHIdentity

NewSparseSSHIdentity returns a new SparseSSHIdentity.

func (*SparseSSHIdentity) DeepCopy

func (o *SparseSSHIdentity) DeepCopy() *SparseSSHIdentity

DeepCopy returns a deep copy if the SparseSSHIdentity.

func (*SparseSSHIdentity) DeepCopyInto

func (o *SparseSSHIdentity) DeepCopyInto(out *SparseSSHIdentity)

DeepCopyInto copies the receiver into the given *SparseSSHIdentity.

func (*SparseSSHIdentity) GetBSON added in v1.80.0

func (o *SparseSSHIdentity) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSSHIdentity) Identifier

func (o *SparseSSHIdentity) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSSHIdentity) Identity

func (o *SparseSSHIdentity) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSSHIdentity) SetBSON added in v1.80.0

func (o *SparseSSHIdentity) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSSHIdentity) SetIdentifier

func (o *SparseSSHIdentity) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSSHIdentity) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSSHIdentity) Version

func (o *SparseSSHIdentity) Version() int

Version returns the hardcoded version of the model.

type SparseSandbox added in v1.87.0

type SparseSandbox struct {
	// Contains a link to directly connect the UI to your API sandbox.
	URL *string `json:"URL,omitempty" msgpack:"URL,omitempty" bson:"-" mapstructure:"URL,omitempty"`

	// The app credential data.
	Credentials *Credential `json:"credentials,omitempty" msgpack:"credentials,omitempty" bson:"-" mapstructure:"credentials,omitempty"`

	// Contains the lifetime of the sandbox namespace.
	Lifetime *string `json:"lifetime,omitempty" msgpack:"lifetime,omitempty" bson:"-" mapstructure:"lifetime,omitempty"`

	// Contains the name of the sandbox namespace that has been created.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSandbox represents the sparse version of a sandbox.

func NewSparseSandbox added in v1.87.0

func NewSparseSandbox() *SparseSandbox

NewSparseSandbox returns a new SparseSandbox.

func (*SparseSandbox) DeepCopy added in v1.87.0

func (o *SparseSandbox) DeepCopy() *SparseSandbox

DeepCopy returns a deep copy if the SparseSandbox.

func (*SparseSandbox) DeepCopyInto added in v1.87.0

func (o *SparseSandbox) DeepCopyInto(out *SparseSandbox)

DeepCopyInto copies the receiver into the given *SparseSandbox.

func (*SparseSandbox) GetBSON added in v1.87.0

func (o *SparseSandbox) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSandbox) Identifier added in v1.87.0

func (o *SparseSandbox) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSandbox) Identity added in v1.87.0

func (o *SparseSandbox) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSandbox) SetBSON added in v1.87.0

func (o *SparseSandbox) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSandbox) SetIdentifier added in v1.87.0

func (o *SparseSandbox) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSandbox) ToPlain added in v1.87.0

ToPlain returns the plain version of the sparse model.

func (*SparseSandbox) Version added in v1.87.0

func (o *SparseSandbox) Version() int

Version returns the hardcoded version of the model.

type SparseSandboxsList added in v1.87.0

type SparseSandboxsList []*SparseSandbox

SparseSandboxsList represents a list of SparseSandboxs

func (SparseSandboxsList) Append added in v1.87.0

Append appends the objects to the a new copy of the SparseSandboxsList.

func (SparseSandboxsList) Copy added in v1.87.0

Copy returns a pointer to a copy the SparseSandboxsList.

func (SparseSandboxsList) DefaultOrder added in v1.87.0

func (o SparseSandboxsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSandboxsList) Identity added in v1.87.0

func (o SparseSandboxsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseSandboxsList) List added in v1.87.0

List converts the object to an elemental.IdentifiablesList.

func (SparseSandboxsList) ToPlain added in v1.87.0

ToPlain returns the SparseSandboxsList converted to SandboxsList.

func (SparseSandboxsList) Version added in v1.87.0

func (o SparseSandboxsList) Version() int

Version returns the version of the content.

type SparseSearch added in v1.1.0

type SparseSearch struct {
	// Contains the matched object.
	Object *interface{} `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Contains the ID of the match.
	ObjectID *string `json:"objectID,omitempty" msgpack:"objectID,omitempty" bson:"-" mapstructure:"objectID,omitempty"`

	// Contains the identity of the match.
	ObjectIdentity *string `json:"objectIdentity,omitempty" msgpack:"objectIdentity,omitempty" bson:"-" mapstructure:"objectIdentity,omitempty"`

	// Contains the namespace of the match.
	ObjectNamespace *string `json:"objectNamespace,omitempty" msgpack:"objectNamespace,omitempty" bson:"-" mapstructure:"objectNamespace,omitempty"`

	// Contains the score of the match.
	Score *float64 `json:"score,omitempty" msgpack:"score,omitempty" bson:"-" mapstructure:"score,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSearch represents the sparse version of a search.

func NewSparseSearch added in v1.1.0

func NewSparseSearch() *SparseSearch

NewSparseSearch returns a new SparseSearch.

func (*SparseSearch) DeepCopy added in v1.1.0

func (o *SparseSearch) DeepCopy() *SparseSearch

DeepCopy returns a deep copy if the SparseSearch.

func (*SparseSearch) DeepCopyInto added in v1.1.0

func (o *SparseSearch) DeepCopyInto(out *SparseSearch)

DeepCopyInto copies the receiver into the given *SparseSearch.

func (*SparseSearch) GetBSON added in v1.80.0

func (o *SparseSearch) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSearch) Identifier added in v1.1.0

func (o *SparseSearch) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSearch) Identity added in v1.1.0

func (o *SparseSearch) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSearch) SetBSON added in v1.80.0

func (o *SparseSearch) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSearch) SetIdentifier added in v1.1.0

func (o *SparseSearch) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSearch) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseSearch) Version added in v1.1.0

func (o *SparseSearch) Version() int

Version returns the hardcoded version of the model.

type SparseSearchesList added in v1.1.0

type SparseSearchesList []*SparseSearch

SparseSearchesList represents a list of SparseSearches

func (SparseSearchesList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseSearchesList.

func (SparseSearchesList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseSearchesList.

func (SparseSearchesList) DefaultOrder added in v1.1.0

func (o SparseSearchesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSearchesList) Identity added in v1.1.0

func (o SparseSearchesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseSearchesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseSearchesList) ToPlain added in v1.1.0

ToPlain returns the SparseSearchesList converted to SearchesList.

func (SparseSearchesList) Version added in v1.1.0

func (o SparseSearchesList) Version() int

Version returns the version of the content.

type SparseService

type SparseService struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The list of IP addresses where the service can be accessed. This is an optional
	// attribute and is only required if no host names are provided. The system will
	// automatically resolve IP addresses from host names otherwise.
	IPs *[]string `json:"IPs,omitempty" msgpack:"IPs,omitempty" bson:"ips,omitempty" mapstructure:"IPs,omitempty"`

	// PEM-encoded certificate that will be used to validate the user's JSON web token
	// (JWT)
	// in HTTP requests. This is an optional field, needed only if the
	// `authorizationType`
	// is set to `JWT`.
	JWTSigningCertificate *string `` /* 166-byte string literal not displayed */

	// PEM-encoded certificate authority to use to verify client certificates. This
	// only applies if `authorizationType` is set to `MTLS`. If it is not set,
	// Microsegmentation Console's public signing certificate authority will be used.
	MTLSCertificateAuthority *string `` /* 178-byte string literal not displayed */

	// This is an advanced setting. Optional OIDC callback URL. If you don't set it,
	// the enforcer will autodiscover it. It will be
	// `https://<hosts[0]|IPs[0]>/aporeto/oidc/callback`.
	OIDCCallbackURL *string `` /* 142-byte string literal not displayed */

	// OIDC Client ID. Only has effect if the `authorizationType` is set to `OIDC`.
	OIDCClientID *string `` /* 130-byte string literal not displayed */

	// OIDC Client Secret. Only has effect if the `authorizationType` is set to `OIDC`.
	OIDCClientSecret *string `` /* 146-byte string literal not displayed */

	// OIDC discovery endpoint. Only has effect if the `authorizationType`
	// is set to `OIDC`.
	OIDCProviderURL *string `` /* 142-byte string literal not displayed */

	// Configures the scopes you want to request from the OIDC provider. Only has
	// effect
	// if `authorizationType` is set to `OIDC`.
	OIDCScopes *[]string `json:"OIDCScopes,omitempty" msgpack:"OIDCScopes,omitempty" bson:"oidcscopes,omitempty" mapstructure:"OIDCScopes,omitempty"`

	// PEM-encoded certificate to expose to the clients for TLS. Only has effect and
	// required if `TLSType` is set to `External`.
	TLSCertificate *string `` /* 138-byte string literal not displayed */

	// PEM-encoded certificate key associated with `TLSCertificate`. Only has effect
	// and required if `TLSType` is set to `External`.
	TLSCertificateKey *string `` /* 150-byte string literal not displayed */

	// Set how to provide a server certificate to the service.
	//
	// - `Aporeto`: Generate a certificate signed by the Microsegmentation
	// Console public CA.
	// - `LetsEncrypt`: Issue a certificate from Let's Encrypt.
	// - `External`: Let you define your own certificate and key to use.
	// - `None`: TLS is disabled (not recommended).
	TLSType *ServiceTLSTypeValue `json:"TLSType,omitempty" msgpack:"TLSType,omitempty" bson:"tlstype,omitempty" mapstructure:"TLSType,omitempty"`

	// This is a set of all API tags for matching in the database.
	AllAPITags *[]string `json:"-" msgpack:"-" bson:"allapitags,omitempty" mapstructure:"-,omitempty"`

	// This is a set of all selector tags for matching in the database.
	AllProcessingUnitsTags *[]string `json:"-" msgpack:"-" bson:"allprocessingunitstags,omitempty" mapstructure:"-,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Defines the user authorization type that should be used.
	//
	// - `None` (default): No authorization.
	// - `JWT`:  Configures a simple JWT verification from the HTTP `Authorization`
	// header.
	// - `OIDC`: Configures OIDC authorization. You must then set
	// `OIDCClientID`,`OIDCClientSecret`, `OIDCProviderURL`.
	// - `MTLS`: Configures client certificate authorization. Then you can optionally
	// use `MTLSCertificateAuthority`, otherwise Microsegmentation Console's public
	// signing certificate will be used.
	AuthorizationType *ServiceAuthorizationTypeValue `` /* 150-byte string literal not displayed */

	// Defines a list of mappings between claims and HTTP headers. When these mappings
	// are defined, the enforcer will copy the values of the claims to the
	// corresponding HTTP headers.
	ClaimsToHTTPHeaderMappings *[]*ClaimMapping `` /* 186-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Resolves the API endpoints that the service is exposing. Only valid during
	// policy rendering.
	Endpoints *[]*Endpoint `json:"endpoints,omitempty" msgpack:"endpoints,omitempty" bson:"-" mapstructure:"endpoints,omitempty"`

	// Contains a tag expression that will determine which APIs a service is exposing.
	// The APIs can be defined as the `RESTAPISpec` or similar specifications for other
	// layer 7 protocols.
	ExposedAPIs *[][]string `` /* 126-byte string literal not displayed */

	// The port that the service can be accessed on. Note that this is different from
	// the `port` attribute that describes the port that the service is actually
	// listening on. For example if a load balancer is used, the `exposedPort` is
	// the port that the load balancer is listening for the service, whereas the
	// port that the implementation is listening on can be different.
	ExposedPort *int `` /* 126-byte string literal not displayed */

	// Indicates that the exposed service is TLS. This means that the enforcer has to
	// initiate a TLS session in order to forward traffic to the service.
	ExposedServiceIsTLS *bool `` /* 158-byte string literal not displayed */

	// Indicates if this is an external service.
	External *bool `json:"external,omitempty" msgpack:"external,omitempty" bson:"external,omitempty" mapstructure:"external,omitempty"`

	// The host names that the service can be accessed on.
	Hosts *[]string `json:"hosts,omitempty" msgpack:"hosts,omitempty" bson:"hosts,omitempty" mapstructure:"hosts,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// The port that the implementation of the service is listening to. It can be
	// different than `exposedPort`. This is needed for port mapping use cases
	// where there are private and public ports.
	Port *int `json:"port,omitempty" msgpack:"port,omitempty" bson:"port,omitempty" mapstructure:"port,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Enable trust in proxy protocols header.
	ProxyProtocolEnabled *bool `` /* 162-byte string literal not displayed */

	// Only allow proxy protocols from the given subnets .
	ProxyProtocolSubnets *[]string `` /* 162-byte string literal not displayed */

	// A new virtual port that the service can be accessed on using HTTPS. Since the
	// enforcer transparently inserts TLS in the application path, you might want
	// to declare a new port where the enforcer listens for TLS. However, the
	// application does not need to be modified and the enforcer will map the
	// traffic to the correct application port. This is useful when
	// an application is being accessed from a public network.
	PublicApplicationPort *int `` /* 166-byte string literal not displayed */

	// If this is set, the user will be redirected to that URL in case of any
	// authorization failure, allowing you to provide a nice message to the user.
	// The query parameter `?failure_message=<message>` will be added to that
	// URL explaining the possible reason for the failure.
	RedirectURLOnAuthorizationFailure *string `` /* 214-byte string literal not displayed */

	// A tag or tag expression that identifies the processing unit that implements this
	// particular service.
	Selectors *[][]string `json:"selectors,omitempty" msgpack:"selectors,omitempty" bson:"selectors,omitempty" mapstructure:"selectors,omitempty"`

	// PEM-encoded certificate authorities to trust when additional hops are needed. It
	// must be set if the service must reach a service marked as `external` or must go
	// through an additional TLS termination point like a layer 7 load balancer.
	TrustedCertificateAuthorities *string `` /* 198-byte string literal not displayed */

	// Type of service.
	Type *ServiceTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseService represents the sparse version of a service.

func NewSparseService

func NewSparseService() *SparseService

NewSparseService returns a new SparseService.

func (*SparseService) DecryptAttributes added in v1.57.0

func (o *SparseService) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseService) DeepCopy

func (o *SparseService) DeepCopy() *SparseService

DeepCopy returns a deep copy if the SparseService.

func (*SparseService) DeepCopyInto

func (o *SparseService) DeepCopyInto(out *SparseService)

DeepCopyInto copies the receiver into the given *SparseService.

func (*SparseService) EncryptAttributes added in v1.57.0

func (o *SparseService) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseService) GetAnnotations

func (o *SparseService) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseService) GetArchived

func (o *SparseService) GetArchived() (out bool)

GetArchived returns the Archived of the receiver.

func (*SparseService) GetAssociatedTags

func (o *SparseService) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseService) GetBSON added in v1.80.0

func (o *SparseService) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseService) GetCreateIdempotencyKey

func (o *SparseService) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseService) GetCreateTime

func (o *SparseService) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseService) GetDescription

func (o *SparseService) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseService) GetDisabled

func (o *SparseService) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseService) GetMetadata

func (o *SparseService) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseService) GetMigrationsLog added in v1.30.0

func (o *SparseService) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseService) GetName

func (o *SparseService) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseService) GetNamespace

func (o *SparseService) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseService) GetNormalizedTags

func (o *SparseService) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseService) GetPropagate added in v1.94.1

func (o *SparseService) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseService) GetProtected

func (o *SparseService) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseService) GetUpdateIdempotencyKey

func (o *SparseService) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseService) GetUpdateTime

func (o *SparseService) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseService) GetZHash

func (o *SparseService) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseService) GetZone

func (o *SparseService) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseService) Identifier

func (o *SparseService) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseService) Identity

func (o *SparseService) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseService) SetAnnotations

func (o *SparseService) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseService) SetArchived

func (o *SparseService) SetArchived(archived bool)

SetArchived sets the property Archived of the receiver using the address of the given value.

func (*SparseService) SetAssociatedTags

func (o *SparseService) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseService) SetBSON added in v1.80.0

func (o *SparseService) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseService) SetCreateIdempotencyKey

func (o *SparseService) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseService) SetCreateTime

func (o *SparseService) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseService) SetDescription

func (o *SparseService) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseService) SetDisabled

func (o *SparseService) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseService) SetIdentifier

func (o *SparseService) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseService) SetMetadata

func (o *SparseService) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseService) SetMigrationsLog added in v1.30.0

func (o *SparseService) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseService) SetName

func (o *SparseService) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseService) SetNamespace

func (o *SparseService) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseService) SetNormalizedTags

func (o *SparseService) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseService) SetPropagate added in v1.94.1

func (o *SparseService) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseService) SetProtected

func (o *SparseService) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseService) SetUpdateIdempotencyKey

func (o *SparseService) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseService) SetUpdateTime

func (o *SparseService) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseService) SetZHash

func (o *SparseService) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseService) SetZone

func (o *SparseService) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseService) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseService) Version

func (o *SparseService) Version() int

Version returns the hardcoded version of the model.

type SparseServiceCertificate added in v1.103.0

type SparseServiceCertificate struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// The fingerprint of the public key.
	Fingerprint *string `` /* 126-byte string literal not displayed */

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Private key in PEM format.
	Private *string `json:"private,omitempty" msgpack:"private,omitempty" bson:"private,omitempty" mapstructure:"private,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Public key in PEM format.
	Public *string `json:"public,omitempty" msgpack:"public,omitempty" bson:"public,omitempty" mapstructure:"public,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseServiceCertificate represents the sparse version of a servicecertificate.

func NewSparseServiceCertificate added in v1.103.0

func NewSparseServiceCertificate() *SparseServiceCertificate

NewSparseServiceCertificate returns a new SparseServiceCertificate.

func (*SparseServiceCertificate) DecryptAttributes added in v1.103.0

func (o *SparseServiceCertificate) DecryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

DecryptAttributes decrypts the attributes marked as `encrypted` using the given decrypter.

func (*SparseServiceCertificate) DeepCopy added in v1.103.0

DeepCopy returns a deep copy if the SparseServiceCertificate.

func (*SparseServiceCertificate) DeepCopyInto added in v1.103.0

func (o *SparseServiceCertificate) DeepCopyInto(out *SparseServiceCertificate)

DeepCopyInto copies the receiver into the given *SparseServiceCertificate.

func (*SparseServiceCertificate) EncryptAttributes added in v1.103.0

func (o *SparseServiceCertificate) EncryptAttributes(encrypter elemental.AttributeEncrypter) (err error)

EncryptAttributes encrypts the attributes marked as `encrypted` using the given encrypter.

func (*SparseServiceCertificate) GetAnnotations added in v1.103.0

func (o *SparseServiceCertificate) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseServiceCertificate) GetAssociatedTags added in v1.103.0

func (o *SparseServiceCertificate) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseServiceCertificate) GetBSON added in v1.103.0

func (o *SparseServiceCertificate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseServiceCertificate) GetCreateIdempotencyKey added in v1.103.0

func (o *SparseServiceCertificate) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseServiceCertificate) GetCreateTime added in v1.103.0

func (o *SparseServiceCertificate) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseServiceCertificate) GetDescription added in v1.103.0

func (o *SparseServiceCertificate) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseServiceCertificate) GetName added in v1.103.0

func (o *SparseServiceCertificate) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseServiceCertificate) GetNamespace added in v1.103.0

func (o *SparseServiceCertificate) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseServiceCertificate) GetNormalizedTags added in v1.103.0

func (o *SparseServiceCertificate) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseServiceCertificate) GetPropagate added in v1.103.0

func (o *SparseServiceCertificate) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseServiceCertificate) GetProtected added in v1.103.0

func (o *SparseServiceCertificate) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseServiceCertificate) GetUpdateIdempotencyKey added in v1.103.0

func (o *SparseServiceCertificate) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseServiceCertificate) GetUpdateTime added in v1.103.0

func (o *SparseServiceCertificate) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseServiceCertificate) GetZHash added in v1.103.0

func (o *SparseServiceCertificate) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseServiceCertificate) GetZone added in v1.103.0

func (o *SparseServiceCertificate) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseServiceCertificate) Identifier added in v1.103.0

func (o *SparseServiceCertificate) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseServiceCertificate) Identity added in v1.103.0

Identity returns the Identity of the sparse object.

func (*SparseServiceCertificate) SetAnnotations added in v1.103.0

func (o *SparseServiceCertificate) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetAssociatedTags added in v1.103.0

func (o *SparseServiceCertificate) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetBSON added in v1.103.0

func (o *SparseServiceCertificate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseServiceCertificate) SetCreateIdempotencyKey added in v1.103.0

func (o *SparseServiceCertificate) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetCreateTime added in v1.103.0

func (o *SparseServiceCertificate) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetDescription added in v1.103.0

func (o *SparseServiceCertificate) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetIdentifier added in v1.103.0

func (o *SparseServiceCertificate) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseServiceCertificate) SetName added in v1.103.0

func (o *SparseServiceCertificate) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetNamespace added in v1.103.0

func (o *SparseServiceCertificate) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetNormalizedTags added in v1.103.0

func (o *SparseServiceCertificate) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetPropagate added in v1.103.0

func (o *SparseServiceCertificate) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetProtected added in v1.103.0

func (o *SparseServiceCertificate) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetUpdateIdempotencyKey added in v1.103.0

func (o *SparseServiceCertificate) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetUpdateTime added in v1.103.0

func (o *SparseServiceCertificate) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetZHash added in v1.103.0

func (o *SparseServiceCertificate) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseServiceCertificate) SetZone added in v1.103.0

func (o *SparseServiceCertificate) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseServiceCertificate) ToPlain added in v1.103.0

ToPlain returns the plain version of the sparse model.

func (*SparseServiceCertificate) Version added in v1.103.0

func (o *SparseServiceCertificate) Version() int

Version returns the hardcoded version of the model.

type SparseServiceCertificatesList added in v1.103.0

type SparseServiceCertificatesList []*SparseServiceCertificate

SparseServiceCertificatesList represents a list of SparseServiceCertificates

func (SparseServiceCertificatesList) Append added in v1.103.0

Append appends the objects to the a new copy of the SparseServiceCertificatesList.

func (SparseServiceCertificatesList) Copy added in v1.103.0

Copy returns a pointer to a copy the SparseServiceCertificatesList.

func (SparseServiceCertificatesList) DefaultOrder added in v1.103.0

func (o SparseServiceCertificatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseServiceCertificatesList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (SparseServiceCertificatesList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (SparseServiceCertificatesList) ToPlain added in v1.103.0

ToPlain returns the SparseServiceCertificatesList converted to ServiceCertificatesList.

func (SparseServiceCertificatesList) Version added in v1.103.0

func (o SparseServiceCertificatesList) Version() int

Version returns the version of the content.

type SparseServiceDependencyPoliciesList added in v1.101.0

type SparseServiceDependencyPoliciesList []*SparseServiceDependencyPolicy

SparseServiceDependencyPoliciesList represents a list of SparseServiceDependencyPolicies

func (SparseServiceDependencyPoliciesList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseServiceDependencyPoliciesList.

func (SparseServiceDependencyPoliciesList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseServiceDependencyPoliciesList.

func (SparseServiceDependencyPoliciesList) DefaultOrder added in v1.101.0

func (o SparseServiceDependencyPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseServiceDependencyPoliciesList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseServiceDependencyPoliciesList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseServiceDependencyPoliciesList) ToPlain added in v1.101.0

ToPlain returns the SparseServiceDependencyPoliciesList converted to ServiceDependencyPoliciesList.

func (SparseServiceDependencyPoliciesList) Version added in v1.101.0

Version returns the version of the content.

type SparseServiceDependencyPolicy added in v1.101.0

type SparseServiceDependencyPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Object of the service dependency.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Subject of the service dependency.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseServiceDependencyPolicy represents the sparse version of a servicedependencypolicy.

func NewSparseServiceDependencyPolicy added in v1.101.0

func NewSparseServiceDependencyPolicy() *SparseServiceDependencyPolicy

NewSparseServiceDependencyPolicy returns a new SparseServiceDependencyPolicy.

func (*SparseServiceDependencyPolicy) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseServiceDependencyPolicy.

func (*SparseServiceDependencyPolicy) DeepCopyInto added in v1.101.0

DeepCopyInto copies the receiver into the given *SparseServiceDependencyPolicy.

func (*SparseServiceDependencyPolicy) GetActiveDuration added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseServiceDependencyPolicy) GetActiveSchedule added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseServiceDependencyPolicy) GetAnnotations added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseServiceDependencyPolicy) GetAssociatedTags added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseServiceDependencyPolicy) GetBSON added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseServiceDependencyPolicy) GetCreateIdempotencyKey added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseServiceDependencyPolicy) GetCreateTime added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseServiceDependencyPolicy) GetDescription added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseServiceDependencyPolicy) GetDisabled added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseServiceDependencyPolicy) GetFallback added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseServiceDependencyPolicy) GetMetadata added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseServiceDependencyPolicy) GetName added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseServiceDependencyPolicy) GetNamespace added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseServiceDependencyPolicy) GetNormalizedTags added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseServiceDependencyPolicy) GetPropagate added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseServiceDependencyPolicy) GetProtected added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseServiceDependencyPolicy) GetUpdateIdempotencyKey added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseServiceDependencyPolicy) GetUpdateTime added in v1.101.0

func (o *SparseServiceDependencyPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseServiceDependencyPolicy) Identifier added in v1.101.0

func (o *SparseServiceDependencyPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseServiceDependencyPolicy) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseServiceDependencyPolicy) SetActiveDuration added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetActiveSchedule added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetAnnotations added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetAssociatedTags added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetBSON added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseServiceDependencyPolicy) SetCreateIdempotencyKey added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetCreateTime added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetDescription added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetDisabled added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetFallback added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetIdentifier added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseServiceDependencyPolicy) SetMetadata added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetName added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetNamespace added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetNormalizedTags added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetPropagate added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetProtected added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetUpdateIdempotencyKey added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) SetUpdateTime added in v1.101.0

func (o *SparseServiceDependencyPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseServiceDependencyPolicy) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseServiceDependencyPolicy) Version added in v1.101.0

func (o *SparseServiceDependencyPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseServicePublication added in v1.101.0

type SparseServicePublication struct {
	// The service object that will be published.
	Service *Service `json:"service,omitempty" msgpack:"service,omitempty" bson:"-" mapstructure:"service,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseServicePublication represents the sparse version of a servicepublication.

func NewSparseServicePublication added in v1.101.0

func NewSparseServicePublication() *SparseServicePublication

NewSparseServicePublication returns a new SparseServicePublication.

func (*SparseServicePublication) DeepCopy added in v1.101.0

DeepCopy returns a deep copy if the SparseServicePublication.

func (*SparseServicePublication) DeepCopyInto added in v1.101.0

func (o *SparseServicePublication) DeepCopyInto(out *SparseServicePublication)

DeepCopyInto copies the receiver into the given *SparseServicePublication.

func (*SparseServicePublication) GetBSON added in v1.101.0

func (o *SparseServicePublication) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseServicePublication) Identifier added in v1.101.0

func (o *SparseServicePublication) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseServicePublication) Identity added in v1.101.0

Identity returns the Identity of the sparse object.

func (*SparseServicePublication) SetBSON added in v1.101.0

func (o *SparseServicePublication) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseServicePublication) SetIdentifier added in v1.101.0

func (o *SparseServicePublication) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseServicePublication) ToPlain added in v1.101.0

ToPlain returns the plain version of the sparse model.

func (*SparseServicePublication) Version added in v1.101.0

func (o *SparseServicePublication) Version() int

Version returns the hardcoded version of the model.

type SparseServicePublicationsList added in v1.101.0

type SparseServicePublicationsList []*SparseServicePublication

SparseServicePublicationsList represents a list of SparseServicePublications

func (SparseServicePublicationsList) Append added in v1.101.0

Append appends the objects to the a new copy of the SparseServicePublicationsList.

func (SparseServicePublicationsList) Copy added in v1.101.0

Copy returns a pointer to a copy the SparseServicePublicationsList.

func (SparseServicePublicationsList) DefaultOrder added in v1.101.0

func (o SparseServicePublicationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseServicePublicationsList) Identity added in v1.101.0

Identity returns the identity of the objects in the list.

func (SparseServicePublicationsList) List added in v1.101.0

List converts the object to an elemental.IdentifiablesList.

func (SparseServicePublicationsList) ToPlain added in v1.101.0

ToPlain returns the SparseServicePublicationsList converted to ServicePublicationsList.

func (SparseServicePublicationsList) Version added in v1.101.0

func (o SparseServicePublicationsList) Version() int

Version returns the version of the content.

type SparseServiceToken added in v1.20.0

type SparseServiceToken struct {
	// If given, the issued token will only be valid for the audience provided. If
	// empty, the audience will be resolved from the policies. If no audience can be
	// resolved, the request will be rejected with an error.
	Audience *string `json:"audience,omitempty" msgpack:"audience,omitempty" bson:"-" mapstructure:"audience,omitempty"`

	// ID of the object you want to issue a token for.
	ObjectID *string `json:"objectID,omitempty" msgpack:"objectID,omitempty" bson:"-" mapstructure:"objectID,omitempty"`

	// Provides the session ID of the enforcer when retrieving a datapath certificate.
	SessionID *string `json:"sessionID,omitempty" msgpack:"sessionID,omitempty" bson:"-" mapstructure:"sessionID,omitempty"`

	// Token is the signed JWT service token.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// Type of token request.
	Type *ServiceTokenTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	// Validity configures the max validity time for a token. If it is bigger than the
	// configured max validity, it will be capped.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseServiceToken represents the sparse version of a servicetoken.

func NewSparseServiceToken added in v1.20.0

func NewSparseServiceToken() *SparseServiceToken

NewSparseServiceToken returns a new SparseServiceToken.

func (*SparseServiceToken) DeepCopy added in v1.20.0

func (o *SparseServiceToken) DeepCopy() *SparseServiceToken

DeepCopy returns a deep copy if the SparseServiceToken.

func (*SparseServiceToken) DeepCopyInto added in v1.20.0

func (o *SparseServiceToken) DeepCopyInto(out *SparseServiceToken)

DeepCopyInto copies the receiver into the given *SparseServiceToken.

func (*SparseServiceToken) GetBSON added in v1.80.0

func (o *SparseServiceToken) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseServiceToken) Identifier added in v1.20.0

func (o *SparseServiceToken) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseServiceToken) Identity added in v1.20.0

func (o *SparseServiceToken) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseServiceToken) SetBSON added in v1.80.0

func (o *SparseServiceToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseServiceToken) SetIdentifier added in v1.20.0

func (o *SparseServiceToken) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseServiceToken) ToPlain added in v1.20.0

ToPlain returns the plain version of the sparse model.

func (*SparseServiceToken) Version added in v1.20.0

func (o *SparseServiceToken) Version() int

Version returns the hardcoded version of the model.

type SparseServiceTokensList added in v1.20.0

type SparseServiceTokensList []*SparseServiceToken

SparseServiceTokensList represents a list of SparseServiceTokens

func (SparseServiceTokensList) Append added in v1.20.0

Append appends the objects to the a new copy of the SparseServiceTokensList.

func (SparseServiceTokensList) Copy added in v1.20.0

Copy returns a pointer to a copy the SparseServiceTokensList.

func (SparseServiceTokensList) DefaultOrder added in v1.20.0

func (o SparseServiceTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseServiceTokensList) Identity added in v1.20.0

Identity returns the identity of the objects in the list.

func (SparseServiceTokensList) List added in v1.20.0

List converts the object to an elemental.IdentifiablesList.

func (SparseServiceTokensList) ToPlain added in v1.20.0

ToPlain returns the SparseServiceTokensList converted to ServiceTokensList.

func (SparseServiceTokensList) Version added in v1.20.0

func (o SparseServiceTokensList) Version() int

Version returns the version of the content.

type SparseServicesList

type SparseServicesList []*SparseService

SparseServicesList represents a list of SparseServices

func (SparseServicesList) Append

Append appends the objects to the a new copy of the SparseServicesList.

func (SparseServicesList) Copy

Copy returns a pointer to a copy the SparseServicesList.

func (SparseServicesList) DefaultOrder

func (o SparseServicesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseServicesList) Identity

func (o SparseServicesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseServicesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseServicesList) ToPlain

ToPlain returns the SparseServicesList converted to ServicesList.

func (SparseServicesList) Version

func (o SparseServicesList) Version() int

Version returns the version of the content.

type SparseSquallTag

type SparseSquallTag struct {
	// Number of time this tag is used.
	Count *int `json:"count,omitempty" msgpack:"count,omitempty" bson:"count,omitempty" mapstructure:"count,omitempty"`

	// namespace containing these tags.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Value of the tag.
	Value *string `json:"value,omitempty" msgpack:"value,omitempty" bson:"value,omitempty" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSquallTag represents the sparse version of a squalltag.

func NewSparseSquallTag

func NewSparseSquallTag() *SparseSquallTag

NewSparseSquallTag returns a new SparseSquallTag.

func (*SparseSquallTag) DeepCopy

func (o *SparseSquallTag) DeepCopy() *SparseSquallTag

DeepCopy returns a deep copy if the SparseSquallTag.

func (*SparseSquallTag) DeepCopyInto

func (o *SparseSquallTag) DeepCopyInto(out *SparseSquallTag)

DeepCopyInto copies the receiver into the given *SparseSquallTag.

func (*SparseSquallTag) GetBSON added in v1.80.0

func (o *SparseSquallTag) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSquallTag) Identifier

func (o *SparseSquallTag) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSquallTag) Identity

func (o *SparseSquallTag) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseSquallTag) SetBSON added in v1.80.0

func (o *SparseSquallTag) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSquallTag) SetIdentifier

func (o *SparseSquallTag) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSquallTag) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSquallTag) Version

func (o *SparseSquallTag) Version() int

Version returns the hardcoded version of the model.

type SparseSquallTagsList

type SparseSquallTagsList []*SparseSquallTag

SparseSquallTagsList represents a list of SparseSquallTags

func (SparseSquallTagsList) Append

Append appends the objects to the a new copy of the SparseSquallTagsList.

func (SparseSquallTagsList) Copy

Copy returns a pointer to a copy the SparseSquallTagsList.

func (SparseSquallTagsList) DefaultOrder

func (o SparseSquallTagsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSquallTagsList) Identity

Identity returns the identity of the objects in the list.

func (SparseSquallTagsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSquallTagsList) ToPlain

ToPlain returns the SparseSquallTagsList converted to SquallTagsList.

func (SparseSquallTagsList) Version

func (o SparseSquallTagsList) Version() int

Version returns the version of the content.

type SparseStatsInfo

type SparseStatsInfo struct {
	// Contains the list of fields. You cannot group by these fields.
	Fields *map[string]string `json:"fields,omitempty" msgpack:"fields,omitempty" bson:"-" mapstructure:"fields,omitempty"`

	// Name of the measurement.
	Measurement *StatsInfoMeasurementValue `json:"measurement,omitempty" msgpack:"measurement,omitempty" bson:"-" mapstructure:"measurement,omitempty"`

	// Contains the list of tags. You can group by these tags.
	Tags *[]string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"-" mapstructure:"tags,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseStatsInfo represents the sparse version of a statsinfo.

func NewSparseStatsInfo

func NewSparseStatsInfo() *SparseStatsInfo

NewSparseStatsInfo returns a new SparseStatsInfo.

func (*SparseStatsInfo) DeepCopy

func (o *SparseStatsInfo) DeepCopy() *SparseStatsInfo

DeepCopy returns a deep copy if the SparseStatsInfo.

func (*SparseStatsInfo) DeepCopyInto

func (o *SparseStatsInfo) DeepCopyInto(out *SparseStatsInfo)

DeepCopyInto copies the receiver into the given *SparseStatsInfo.

func (*SparseStatsInfo) GetBSON added in v1.80.0

func (o *SparseStatsInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseStatsInfo) Identifier

func (o *SparseStatsInfo) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseStatsInfo) Identity

func (o *SparseStatsInfo) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseStatsInfo) SetBSON added in v1.80.0

func (o *SparseStatsInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseStatsInfo) SetIdentifier

func (o *SparseStatsInfo) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseStatsInfo) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseStatsInfo) Version

func (o *SparseStatsInfo) Version() int

Version returns the hardcoded version of the model.

type SparseStatsInfosList

type SparseStatsInfosList []*SparseStatsInfo

SparseStatsInfosList represents a list of SparseStatsInfos

func (SparseStatsInfosList) Append

Append appends the objects to the a new copy of the SparseStatsInfosList.

func (SparseStatsInfosList) Copy

Copy returns a pointer to a copy the SparseStatsInfosList.

func (SparseStatsInfosList) DefaultOrder

func (o SparseStatsInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseStatsInfosList) Identity

Identity returns the identity of the objects in the list.

func (SparseStatsInfosList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseStatsInfosList) ToPlain

ToPlain returns the SparseStatsInfosList converted to StatsInfosList.

func (SparseStatsInfosList) Version

func (o SparseStatsInfosList) Version() int

Version returns the version of the content.

type SparseStatsQueriesList

type SparseStatsQueriesList []*SparseStatsQuery

SparseStatsQueriesList represents a list of SparseStatsQueries

func (SparseStatsQueriesList) Append

Append appends the objects to the a new copy of the SparseStatsQueriesList.

func (SparseStatsQueriesList) Copy

Copy returns a pointer to a copy the SparseStatsQueriesList.

func (SparseStatsQueriesList) DefaultOrder

func (o SparseStatsQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseStatsQueriesList) Identity

Identity returns the identity of the objects in the list.

func (SparseStatsQueriesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseStatsQueriesList) ToPlain

ToPlain returns the SparseStatsQueriesList converted to StatsQueriesList.

func (SparseStatsQueriesList) Version

func (o SparseStatsQueriesList) Version() int

Version returns the version of the content.

type SparseStatsQuery

type SparseStatsQuery struct {
	// If set, the results will be order by time from the most recent to the oldest.
	Descending *bool `json:"descending,omitempty" msgpack:"descending,omitempty" bson:"-" mapstructure:"descending,omitempty"`

	// List of fields to extract. If you don't pass anything, all available fields will
	// be returned. It is also possible to use a function like `sum(value)`.
	Fields *[]string `json:"fields,omitempty" msgpack:"fields,omitempty" bson:"-" mapstructure:"fields,omitempty"`

	// Apply a filter to the query.
	Filter *string `json:"filter,omitempty" msgpack:"filter,omitempty" bson:"-" mapstructure:"filter,omitempty"`

	// Group results by the provided values. Note that not all fields can be used to
	// group the results.
	Groups *[]string `json:"groups,omitempty" msgpack:"groups,omitempty" bson:"-" mapstructure:"groups,omitempty"`

	// Limits the number of results. `-1` means no limit.
	Limit *int `json:"limit,omitempty" msgpack:"limit,omitempty" bson:"-" mapstructure:"limit,omitempty"`

	// Name of the measurement.
	Measurement *StatsQueryMeasurementValue `json:"measurement,omitempty" msgpack:"measurement,omitempty" bson:"-" mapstructure:"measurement,omitempty"`

	// Offsets the results. -1 means no offset.
	Offset *int `json:"offset,omitempty" msgpack:"offset,omitempty" bson:"-" mapstructure:"offset,omitempty"`

	// Contains the result of the query.
	Results *[]*TimeSeriesQueryResults `json:"results,omitempty" msgpack:"results,omitempty" bson:"-" mapstructure:"results,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseStatsQuery represents the sparse version of a statsquery.

func NewSparseStatsQuery

func NewSparseStatsQuery() *SparseStatsQuery

NewSparseStatsQuery returns a new SparseStatsQuery.

func (*SparseStatsQuery) DeepCopy

func (o *SparseStatsQuery) DeepCopy() *SparseStatsQuery

DeepCopy returns a deep copy if the SparseStatsQuery.

func (*SparseStatsQuery) DeepCopyInto

func (o *SparseStatsQuery) DeepCopyInto(out *SparseStatsQuery)

DeepCopyInto copies the receiver into the given *SparseStatsQuery.

func (*SparseStatsQuery) GetBSON added in v1.80.0

func (o *SparseStatsQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseStatsQuery) Identifier

func (o *SparseStatsQuery) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseStatsQuery) Identity

func (o *SparseStatsQuery) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseStatsQuery) SetBSON added in v1.80.0

func (o *SparseStatsQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseStatsQuery) SetIdentifier

func (o *SparseStatsQuery) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseStatsQuery) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseStatsQuery) Version

func (o *SparseStatsQuery) Version() int

Version returns the hardcoded version of the model.

type SparseSuggestedPoliciesList

type SparseSuggestedPoliciesList []*SparseSuggestedPolicy

SparseSuggestedPoliciesList represents a list of SparseSuggestedPolicies

func (SparseSuggestedPoliciesList) Append

Append appends the objects to the a new copy of the SparseSuggestedPoliciesList.

func (SparseSuggestedPoliciesList) Copy

Copy returns a pointer to a copy the SparseSuggestedPoliciesList.

func (SparseSuggestedPoliciesList) DefaultOrder

func (o SparseSuggestedPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseSuggestedPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseSuggestedPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseSuggestedPoliciesList) ToPlain

ToPlain returns the SparseSuggestedPoliciesList converted to SuggestedPoliciesList.

func (SparseSuggestedPoliciesList) Version

func (o SparseSuggestedPoliciesList) Version() int

Version returns the version of the content.

type SparseSuggestedPolicy

type SparseSuggestedPolicy struct {
	// List of suggested network policies.
	NetworkAccessPolicies *NetworkAccessPoliciesList `` /* 166-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseSuggestedPolicy represents the sparse version of a suggestedpolicy.

func NewSparseSuggestedPolicy

func NewSparseSuggestedPolicy() *SparseSuggestedPolicy

NewSparseSuggestedPolicy returns a new SparseSuggestedPolicy.

func (*SparseSuggestedPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseSuggestedPolicy.

func (*SparseSuggestedPolicy) DeepCopyInto

func (o *SparseSuggestedPolicy) DeepCopyInto(out *SparseSuggestedPolicy)

DeepCopyInto copies the receiver into the given *SparseSuggestedPolicy.

func (*SparseSuggestedPolicy) GetBSON added in v1.80.0

func (o *SparseSuggestedPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSuggestedPolicy) Identifier

func (o *SparseSuggestedPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseSuggestedPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseSuggestedPolicy) SetBSON added in v1.80.0

func (o *SparseSuggestedPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseSuggestedPolicy) SetIdentifier

func (o *SparseSuggestedPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseSuggestedPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseSuggestedPolicy) Version

func (o *SparseSuggestedPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseTag

type SparseTag struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Represents the number of times the tag is used.
	Count *int `json:"count,omitempty" msgpack:"count,omitempty" bson:"count,omitempty" mapstructure:"count,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Represents the value of the tag.
	Value *string `json:"value,omitempty" msgpack:"value,omitempty" bson:"value,omitempty" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTag represents the sparse version of a tag.

func NewSparseTag

func NewSparseTag() *SparseTag

NewSparseTag returns a new SparseTag.

func (*SparseTag) DeepCopy

func (o *SparseTag) DeepCopy() *SparseTag

DeepCopy returns a deep copy if the SparseTag.

func (*SparseTag) DeepCopyInto

func (o *SparseTag) DeepCopyInto(out *SparseTag)

DeepCopyInto copies the receiver into the given *SparseTag.

func (*SparseTag) GetBSON added in v1.80.0

func (o *SparseTag) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTag) GetNamespace added in v1.1.0

func (o *SparseTag) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseTag) Identifier

func (o *SparseTag) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTag) Identity

func (o *SparseTag) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTag) SetBSON added in v1.80.0

func (o *SparseTag) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTag) SetIdentifier

func (o *SparseTag) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTag) SetNamespace added in v1.1.0

func (o *SparseTag) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseTag) ToPlain

func (o *SparseTag) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseTag) Version

func (o *SparseTag) Version() int

Version returns the hardcoded version of the model.

type SparseTagInject

type SparseTagInject struct {
	// List of tags to be added.
	AddedTags *map[string]int `json:"addedTags,omitempty" msgpack:"addedTags,omitempty" bson:"-" mapstructure:"addedTags,omitempty"`

	// List of tags to be removed.
	RemovedTags *map[string]int `json:"removedTags,omitempty" msgpack:"removedTags,omitempty" bson:"-" mapstructure:"removedTags,omitempty"`

	// List of tags to inject.
	TargetNamespace *string `json:"targetNamespace,omitempty" msgpack:"targetNamespace,omitempty" bson:"-" mapstructure:"targetNamespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTagInject represents the sparse version of a taginject.

func NewSparseTagInject

func NewSparseTagInject() *SparseTagInject

NewSparseTagInject returns a new SparseTagInject.

func (*SparseTagInject) DeepCopy

func (o *SparseTagInject) DeepCopy() *SparseTagInject

DeepCopy returns a deep copy if the SparseTagInject.

func (*SparseTagInject) DeepCopyInto

func (o *SparseTagInject) DeepCopyInto(out *SparseTagInject)

DeepCopyInto copies the receiver into the given *SparseTagInject.

func (*SparseTagInject) GetBSON added in v1.80.0

func (o *SparseTagInject) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTagInject) Identifier

func (o *SparseTagInject) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTagInject) Identity

func (o *SparseTagInject) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTagInject) SetBSON added in v1.80.0

func (o *SparseTagInject) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTagInject) SetIdentifier

func (o *SparseTagInject) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTagInject) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseTagInject) Version

func (o *SparseTagInject) Version() int

Version returns the hardcoded version of the model.

type SparseTagInjectsList

type SparseTagInjectsList []*SparseTagInject

SparseTagInjectsList represents a list of SparseTagInjects

func (SparseTagInjectsList) Append

Append appends the objects to the a new copy of the SparseTagInjectsList.

func (SparseTagInjectsList) Copy

Copy returns a pointer to a copy the SparseTagInjectsList.

func (SparseTagInjectsList) DefaultOrder

func (o SparseTagInjectsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTagInjectsList) Identity

Identity returns the identity of the objects in the list.

func (SparseTagInjectsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseTagInjectsList) ToPlain

ToPlain returns the SparseTagInjectsList converted to TagInjectsList.

func (SparseTagInjectsList) Version

func (o SparseTagInjectsList) Version() int

Version returns the version of the content.

type SparseTagPrefix added in v1.94.1

type SparseTagPrefix struct {
	// List of tag prefixes that will be used to suggest policies. Only these tags will
	// be transmitted on the wire.
	Prefixes *[]string `json:"prefixes,omitempty" msgpack:"prefixes,omitempty" bson:"prefixes,omitempty" mapstructure:"prefixes,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTagPrefix represents the sparse version of a tagprefix.

func NewSparseTagPrefix added in v1.94.1

func NewSparseTagPrefix() *SparseTagPrefix

NewSparseTagPrefix returns a new SparseTagPrefix.

func (*SparseTagPrefix) DeepCopy added in v1.94.1

func (o *SparseTagPrefix) DeepCopy() *SparseTagPrefix

DeepCopy returns a deep copy if the SparseTagPrefix.

func (*SparseTagPrefix) DeepCopyInto added in v1.94.1

func (o *SparseTagPrefix) DeepCopyInto(out *SparseTagPrefix)

DeepCopyInto copies the receiver into the given *SparseTagPrefix.

func (*SparseTagPrefix) GetBSON added in v1.94.1

func (o *SparseTagPrefix) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTagPrefix) Identifier added in v1.94.1

func (o *SparseTagPrefix) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTagPrefix) Identity added in v1.94.1

func (o *SparseTagPrefix) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTagPrefix) SetBSON added in v1.94.1

func (o *SparseTagPrefix) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTagPrefix) SetIdentifier added in v1.94.1

func (o *SparseTagPrefix) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTagPrefix) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseTagPrefix) Version added in v1.94.1

func (o *SparseTagPrefix) Version() int

Version returns the hardcoded version of the model.

type SparseTagPrefixsList added in v1.94.1

type SparseTagPrefixsList []*SparseTagPrefix

SparseTagPrefixsList represents a list of SparseTagPrefixs

func (SparseTagPrefixsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseTagPrefixsList.

func (SparseTagPrefixsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseTagPrefixsList.

func (SparseTagPrefixsList) DefaultOrder added in v1.94.1

func (o SparseTagPrefixsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTagPrefixsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseTagPrefixsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseTagPrefixsList) ToPlain added in v1.94.1

ToPlain returns the SparseTagPrefixsList converted to TagPrefixsList.

func (SparseTagPrefixsList) Version added in v1.94.1

func (o SparseTagPrefixsList) Version() int

Version returns the version of the content.

type SparseTagValue

type SparseTagValue struct {
	// The requested key.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"-" mapstructure:"key,omitempty"`

	// List of all values.
	Values *[]string `json:"values,omitempty" msgpack:"values,omitempty" bson:"-" mapstructure:"values,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTagValue represents the sparse version of a tagvalue.

func NewSparseTagValue

func NewSparseTagValue() *SparseTagValue

NewSparseTagValue returns a new SparseTagValue.

func (*SparseTagValue) DeepCopy

func (o *SparseTagValue) DeepCopy() *SparseTagValue

DeepCopy returns a deep copy if the SparseTagValue.

func (*SparseTagValue) DeepCopyInto

func (o *SparseTagValue) DeepCopyInto(out *SparseTagValue)

DeepCopyInto copies the receiver into the given *SparseTagValue.

func (*SparseTagValue) GetBSON added in v1.80.0

func (o *SparseTagValue) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTagValue) Identifier

func (o *SparseTagValue) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTagValue) Identity

func (o *SparseTagValue) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTagValue) SetBSON added in v1.80.0

func (o *SparseTagValue) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTagValue) SetIdentifier

func (o *SparseTagValue) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTagValue) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseTagValue) Version

func (o *SparseTagValue) Version() int

Version returns the hardcoded version of the model.

type SparseTagValuesList

type SparseTagValuesList []*SparseTagValue

SparseTagValuesList represents a list of SparseTagValues

func (SparseTagValuesList) Append

Append appends the objects to the a new copy of the SparseTagValuesList.

func (SparseTagValuesList) Copy

Copy returns a pointer to a copy the SparseTagValuesList.

func (SparseTagValuesList) DefaultOrder

func (o SparseTagValuesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTagValuesList) Identity

func (o SparseTagValuesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseTagValuesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseTagValuesList) ToPlain

ToPlain returns the SparseTagValuesList converted to TagValuesList.

func (SparseTagValuesList) Version

func (o SparseTagValuesList) Version() int

Version returns the version of the content.

type SparseTagsList

type SparseTagsList []*SparseTag

SparseTagsList represents a list of SparseTags

func (SparseTagsList) Append

Append appends the objects to the a new copy of the SparseTagsList.

func (SparseTagsList) Copy

Copy returns a pointer to a copy the SparseTagsList.

func (SparseTagsList) DefaultOrder

func (o SparseTagsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTagsList) Identity

func (o SparseTagsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseTagsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseTagsList) ToPlain

ToPlain returns the SparseTagsList converted to TagsList.

func (SparseTagsList) Version

func (o SparseTagsList) Version() int

Version returns the version of the content.

type SparseTenant added in v1.94.1

type SparseTenant struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// The external ID of the tenant.
	ExternalID *string `json:"externalID,omitempty" msgpack:"externalID,omitempty" bson:"-" mapstructure:"externalID,omitempty"`

	// The name of the tenant.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTenant represents the sparse version of a tenant.

func NewSparseTenant added in v1.94.1

func NewSparseTenant() *SparseTenant

NewSparseTenant returns a new SparseTenant.

func (*SparseTenant) DeepCopy added in v1.94.1

func (o *SparseTenant) DeepCopy() *SparseTenant

DeepCopy returns a deep copy if the SparseTenant.

func (*SparseTenant) DeepCopyInto added in v1.94.1

func (o *SparseTenant) DeepCopyInto(out *SparseTenant)

DeepCopyInto copies the receiver into the given *SparseTenant.

func (*SparseTenant) GetBSON added in v1.94.1

func (o *SparseTenant) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTenant) Identifier added in v1.94.1

func (o *SparseTenant) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTenant) Identity added in v1.94.1

func (o *SparseTenant) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTenant) SetBSON added in v1.94.1

func (o *SparseTenant) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTenant) SetIdentifier added in v1.94.1

func (o *SparseTenant) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTenant) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseTenant) Version added in v1.94.1

func (o *SparseTenant) Version() int

Version returns the hardcoded version of the model.

type SparseTenantsList added in v1.94.1

type SparseTenantsList []*SparseTenant

SparseTenantsList represents a list of SparseTenants

func (SparseTenantsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseTenantsList.

func (SparseTenantsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseTenantsList.

func (SparseTenantsList) DefaultOrder added in v1.94.1

func (o SparseTenantsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTenantsList) Identity added in v1.94.1

func (o SparseTenantsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseTenantsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseTenantsList) ToPlain added in v1.94.1

ToPlain returns the SparseTenantsList converted to TenantsList.

func (SparseTenantsList) Version added in v1.94.1

func (o SparseTenantsList) Version() int

Version returns the version of the content.

type SparseTextIndex added in v1.94.1

type SparseTextIndex struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// raw text data that are indexed.
	Data *string `json:"-" msgpack:"-" bson:"data,omitempty" mapstructure:"-,omitempty"`

	// Date of the last indexing.
	Date *time.Time `json:"-" msgpack:"-" bson:"date,omitempty" mapstructure:"-,omitempty"`

	// Contains the ID of the match.
	ObjectID *string `json:"-" msgpack:"-" bson:"objectid,omitempty" mapstructure:"-,omitempty"`

	// Contains the identity of the match.
	ObjectIdentity *string `json:"-" msgpack:"-" bson:"objectidentity,omitempty" mapstructure:"-,omitempty"`

	// Contains the namespace of the match.
	ObjectNamespace *string `json:"-" msgpack:"-" bson:"objectnamespace,omitempty" mapstructure:"-,omitempty"`

	// Contains a match score.
	Score *float64 `json:"-" msgpack:"-" bson:"score,omitempty" mapstructure:"-,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTextIndex represents the sparse version of a textindex.

func NewSparseTextIndex added in v1.94.1

func NewSparseTextIndex() *SparseTextIndex

NewSparseTextIndex returns a new SparseTextIndex.

func (*SparseTextIndex) DeepCopy added in v1.94.1

func (o *SparseTextIndex) DeepCopy() *SparseTextIndex

DeepCopy returns a deep copy if the SparseTextIndex.

func (*SparseTextIndex) DeepCopyInto added in v1.94.1

func (o *SparseTextIndex) DeepCopyInto(out *SparseTextIndex)

DeepCopyInto copies the receiver into the given *SparseTextIndex.

func (*SparseTextIndex) GetBSON added in v1.94.1

func (o *SparseTextIndex) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTextIndex) GetZHash added in v1.94.1

func (o *SparseTextIndex) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseTextIndex) GetZone added in v1.94.1

func (o *SparseTextIndex) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseTextIndex) Identifier added in v1.94.1

func (o *SparseTextIndex) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTextIndex) Identity added in v1.94.1

func (o *SparseTextIndex) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTextIndex) SetBSON added in v1.94.1

func (o *SparseTextIndex) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTextIndex) SetIdentifier added in v1.94.1

func (o *SparseTextIndex) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTextIndex) SetZHash added in v1.94.1

func (o *SparseTextIndex) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseTextIndex) SetZone added in v1.94.1

func (o *SparseTextIndex) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseTextIndex) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseTextIndex) Version added in v1.94.1

func (o *SparseTextIndex) Version() int

Version returns the hardcoded version of the model.

type SparseTextIndexsList added in v1.94.1

type SparseTextIndexsList []*SparseTextIndex

SparseTextIndexsList represents a list of SparseTextIndexs

func (SparseTextIndexsList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseTextIndexsList.

func (SparseTextIndexsList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseTextIndexsList.

func (SparseTextIndexsList) DefaultOrder added in v1.94.1

func (o SparseTextIndexsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTextIndexsList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseTextIndexsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseTextIndexsList) ToPlain added in v1.94.1

ToPlain returns the SparseTextIndexsList converted to TextIndexsList.

func (SparseTextIndexsList) Version added in v1.94.1

func (o SparseTextIndexsList) Version() int

Version returns the version of the content.

type SparseToken

type SparseToken struct {
	// Certificate contains the client certificate to use to create a token.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// SigningKeyID holds the ID of the custom CA to use to sign the token.
	SigningKeyID *string `` /* 130-byte string literal not displayed */

	// Tags includes a list of tags that must be added to the token.
	Tags *[]string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"-" mapstructure:"tags,omitempty"`

	// Token contains the generated token.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,omitempty"`

	// Validity contains the token validity duration.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseToken represents the sparse version of a token.

func NewSparseToken

func NewSparseToken() *SparseToken

NewSparseToken returns a new SparseToken.

func (*SparseToken) DeepCopy

func (o *SparseToken) DeepCopy() *SparseToken

DeepCopy returns a deep copy if the SparseToken.

func (*SparseToken) DeepCopyInto

func (o *SparseToken) DeepCopyInto(out *SparseToken)

DeepCopyInto copies the receiver into the given *SparseToken.

func (*SparseToken) GetBSON added in v1.80.0

func (o *SparseToken) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseToken) Identifier

func (o *SparseToken) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseToken) Identity

func (o *SparseToken) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseToken) SetBSON added in v1.80.0

func (o *SparseToken) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseToken) SetIdentifier

func (o *SparseToken) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseToken) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseToken) Version

func (o *SparseToken) Version() int

Version returns the hardcoded version of the model.

type SparseTokenScopePoliciesList

type SparseTokenScopePoliciesList []*SparseTokenScopePolicy

SparseTokenScopePoliciesList represents a list of SparseTokenScopePolicies

func (SparseTokenScopePoliciesList) Append

Append appends the objects to the a new copy of the SparseTokenScopePoliciesList.

func (SparseTokenScopePoliciesList) Copy

Copy returns a pointer to a copy the SparseTokenScopePoliciesList.

func (SparseTokenScopePoliciesList) DefaultOrder

func (o SparseTokenScopePoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTokenScopePoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseTokenScopePoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseTokenScopePoliciesList) ToPlain

ToPlain returns the SparseTokenScopePoliciesList converted to TokenScopePoliciesList.

func (SparseTokenScopePoliciesList) Version

func (o SparseTokenScopePoliciesList) Version() int

Version returns the version of the content.

type SparseTokenScopePolicy

type SparseTokenScopePolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// A list of audience values that are allowed when issuing a service token. An
	// empty list will allow any audience values.
	AllowedAudiences *[]string `` /* 146-byte string literal not displayed */

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// The audience that should be assigned to a request if the caller is not
	// requesting any specific audience.
	AssignedAudience *string `` /* 146-byte string literal not displayed */

	// The list of scopes that the policy will assign.
	AssignedScopes *[]string `` /* 138-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback *bool `json:"fallback,omitempty" msgpack:"fallback,omitempty" bson:"fallback,omitempty" mapstructure:"fallback,omitempty"`

	// A list of claim keys that should be inherited from the claims of the caller to
	// the assigned token. In this case, some of the caller claims will be propagated
	// to resolved token.
	InheritedClaimKeys *[]string `` /* 154-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Defines the selection criteria that this policy must match on identity
	// and scope request information.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTokenScopePolicy represents the sparse version of a tokenscopepolicy.

func NewSparseTokenScopePolicy

func NewSparseTokenScopePolicy() *SparseTokenScopePolicy

NewSparseTokenScopePolicy returns a new SparseTokenScopePolicy.

func (*SparseTokenScopePolicy) DeepCopy

DeepCopy returns a deep copy if the SparseTokenScopePolicy.

func (*SparseTokenScopePolicy) DeepCopyInto

func (o *SparseTokenScopePolicy) DeepCopyInto(out *SparseTokenScopePolicy)

DeepCopyInto copies the receiver into the given *SparseTokenScopePolicy.

func (*SparseTokenScopePolicy) GetActiveDuration

func (o *SparseTokenScopePolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseTokenScopePolicy) GetActiveSchedule

func (o *SparseTokenScopePolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseTokenScopePolicy) GetAnnotations

func (o *SparseTokenScopePolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseTokenScopePolicy) GetAssociatedTags

func (o *SparseTokenScopePolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseTokenScopePolicy) GetBSON added in v1.80.0

func (o *SparseTokenScopePolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTokenScopePolicy) GetCreateIdempotencyKey

func (o *SparseTokenScopePolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseTokenScopePolicy) GetCreateTime

func (o *SparseTokenScopePolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseTokenScopePolicy) GetDescription

func (o *SparseTokenScopePolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseTokenScopePolicy) GetDisabled

func (o *SparseTokenScopePolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseTokenScopePolicy) GetExpirationTime

func (o *SparseTokenScopePolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseTokenScopePolicy) GetFallback

func (o *SparseTokenScopePolicy) GetFallback() (out bool)

GetFallback returns the Fallback of the receiver.

func (*SparseTokenScopePolicy) GetMetadata

func (o *SparseTokenScopePolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseTokenScopePolicy) GetName

func (o *SparseTokenScopePolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseTokenScopePolicy) GetNamespace

func (o *SparseTokenScopePolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseTokenScopePolicy) GetNormalizedTags

func (o *SparseTokenScopePolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseTokenScopePolicy) GetPropagate

func (o *SparseTokenScopePolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseTokenScopePolicy) GetProtected

func (o *SparseTokenScopePolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseTokenScopePolicy) GetUpdateIdempotencyKey

func (o *SparseTokenScopePolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseTokenScopePolicy) GetUpdateTime

func (o *SparseTokenScopePolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseTokenScopePolicy) Identifier

func (o *SparseTokenScopePolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTokenScopePolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseTokenScopePolicy) SetActiveDuration

func (o *SparseTokenScopePolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetActiveSchedule

func (o *SparseTokenScopePolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetAnnotations

func (o *SparseTokenScopePolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetAssociatedTags

func (o *SparseTokenScopePolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetBSON added in v1.80.0

func (o *SparseTokenScopePolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTokenScopePolicy) SetCreateIdempotencyKey

func (o *SparseTokenScopePolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetCreateTime

func (o *SparseTokenScopePolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetDescription

func (o *SparseTokenScopePolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetDisabled

func (o *SparseTokenScopePolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetExpirationTime

func (o *SparseTokenScopePolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetFallback

func (o *SparseTokenScopePolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetIdentifier

func (o *SparseTokenScopePolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTokenScopePolicy) SetMetadata

func (o *SparseTokenScopePolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetName

func (o *SparseTokenScopePolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetNamespace

func (o *SparseTokenScopePolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetNormalizedTags

func (o *SparseTokenScopePolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetPropagate

func (o *SparseTokenScopePolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetProtected

func (o *SparseTokenScopePolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetUpdateIdempotencyKey

func (o *SparseTokenScopePolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) SetUpdateTime

func (o *SparseTokenScopePolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseTokenScopePolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseTokenScopePolicy) Version

func (o *SparseTokenScopePolicy) Version() int

Version returns the hardcoded version of the model.

type SparseTokensList

type SparseTokensList []*SparseToken

SparseTokensList represents a list of SparseTokens

func (SparseTokensList) Append

Append appends the objects to the a new copy of the SparseTokensList.

func (SparseTokensList) Copy

Copy returns a pointer to a copy the SparseTokensList.

func (SparseTokensList) DefaultOrder

func (o SparseTokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTokensList) Identity

func (o SparseTokensList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseTokensList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseTokensList) ToPlain

ToPlain returns the SparseTokensList converted to TokensList.

func (SparseTokensList) Version

func (o SparseTokensList) Version() int

Version returns the version of the content.

type SparseTrigger

type SparseTrigger struct {
	// Contains the remote `POST` payload.
	Payload *string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTrigger represents the sparse version of a trigger.

func NewSparseTrigger

func NewSparseTrigger() *SparseTrigger

NewSparseTrigger returns a new SparseTrigger.

func (*SparseTrigger) DeepCopy

func (o *SparseTrigger) DeepCopy() *SparseTrigger

DeepCopy returns a deep copy if the SparseTrigger.

func (*SparseTrigger) DeepCopyInto

func (o *SparseTrigger) DeepCopyInto(out *SparseTrigger)

DeepCopyInto copies the receiver into the given *SparseTrigger.

func (*SparseTrigger) GetBSON added in v1.80.0

func (o *SparseTrigger) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTrigger) Identifier

func (o *SparseTrigger) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTrigger) Identity

func (o *SparseTrigger) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTrigger) SetBSON added in v1.80.0

func (o *SparseTrigger) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTrigger) SetIdentifier

func (o *SparseTrigger) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTrigger) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseTrigger) Version

func (o *SparseTrigger) Version() int

Version returns the hardcoded version of the model.

type SparseTriggersList

type SparseTriggersList []*SparseTrigger

SparseTriggersList represents a list of SparseTriggers

func (SparseTriggersList) Append

Append appends the objects to the a new copy of the SparseTriggersList.

func (SparseTriggersList) Copy

Copy returns a pointer to a copy the SparseTriggersList.

func (SparseTriggersList) DefaultOrder

func (o SparseTriggersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTriggersList) Identity

func (o SparseTriggersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseTriggersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseTriggersList) ToPlain

ToPlain returns the SparseTriggersList converted to TriggersList.

func (SparseTriggersList) Version

func (o SparseTriggersList) Version() int

Version returns the version of the content.

type SparseTrustedCA added in v1.1.0

type SparseTrustedCA struct {
	// The private certificate of the corresponding type associated with this
	// namespace.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// The controller that this certificate or CA was issued from.
	Controller *string `json:"controller,omitempty" msgpack:"controller,omitempty" bson:"-" mapstructure:"controller,omitempty"`

	// The namespace that this certificate or CA was defined at.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// The ID of namespace that this certificate or CA was defined at.
	NamespaceID *string `json:"namespaceID,omitempty" msgpack:"namespaceID,omitempty" bson:"-" mapstructure:"namespaceID,omitempty"`

	// SerialNumber is the serial number of the certificate.
	Serialnumber *string `json:"serialnumber,omitempty" msgpack:"serialnumber,omitempty" bson:"-" mapstructure:"serialnumber,omitempty"`

	// Type of the certificate.
	Type *TrustedCATypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTrustedCA represents the sparse version of a trustedca.

func NewSparseTrustedCA added in v1.1.0

func NewSparseTrustedCA() *SparseTrustedCA

NewSparseTrustedCA returns a new SparseTrustedCA.

func (*SparseTrustedCA) DeepCopy added in v1.1.0

func (o *SparseTrustedCA) DeepCopy() *SparseTrustedCA

DeepCopy returns a deep copy if the SparseTrustedCA.

func (*SparseTrustedCA) DeepCopyInto added in v1.1.0

func (o *SparseTrustedCA) DeepCopyInto(out *SparseTrustedCA)

DeepCopyInto copies the receiver into the given *SparseTrustedCA.

func (*SparseTrustedCA) GetBSON added in v1.80.0

func (o *SparseTrustedCA) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTrustedCA) Identifier added in v1.1.0

func (o *SparseTrustedCA) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTrustedCA) Identity added in v1.1.0

func (o *SparseTrustedCA) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseTrustedCA) SetBSON added in v1.80.0

func (o *SparseTrustedCA) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTrustedCA) SetIdentifier added in v1.1.0

func (o *SparseTrustedCA) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTrustedCA) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseTrustedCA) Version added in v1.1.0

func (o *SparseTrustedCA) Version() int

Version returns the hardcoded version of the model.

type SparseTrustedCAsList added in v1.1.0

type SparseTrustedCAsList []*SparseTrustedCA

SparseTrustedCAsList represents a list of SparseTrustedCAs

func (SparseTrustedCAsList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseTrustedCAsList.

func (SparseTrustedCAsList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseTrustedCAsList.

func (SparseTrustedCAsList) DefaultOrder added in v1.1.0

func (o SparseTrustedCAsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTrustedCAsList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (SparseTrustedCAsList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseTrustedCAsList) ToPlain added in v1.1.0

ToPlain returns the SparseTrustedCAsList converted to TrustedCAsList.

func (SparseTrustedCAsList) Version added in v1.1.0

func (o SparseTrustedCAsList) Version() int

Version returns the version of the content.

type SparseTrustedNamespace added in v1.94.1

type SparseTrustedNamespace struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the PEM block of the certificate authority trusted namespace.
	CertificateAuthority *string `` /* 162-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the object to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// The controller declared in the certificate authority.
	RemoteController *string `` /* 146-byte string literal not displayed */

	// The namespace declared in the certificate authority.
	RemoteNamespace *string `` /* 142-byte string literal not displayed */

	// The serial number of the CA.
	SerialNumber *string `` /* 130-byte string literal not displayed */

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseTrustedNamespace represents the sparse version of a trustednamespace.

func NewSparseTrustedNamespace added in v1.94.1

func NewSparseTrustedNamespace() *SparseTrustedNamespace

NewSparseTrustedNamespace returns a new SparseTrustedNamespace.

func (*SparseTrustedNamespace) DeepCopy added in v1.94.1

DeepCopy returns a deep copy if the SparseTrustedNamespace.

func (*SparseTrustedNamespace) DeepCopyInto added in v1.94.1

func (o *SparseTrustedNamespace) DeepCopyInto(out *SparseTrustedNamespace)

DeepCopyInto copies the receiver into the given *SparseTrustedNamespace.

func (*SparseTrustedNamespace) GetAnnotations added in v1.94.1

func (o *SparseTrustedNamespace) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseTrustedNamespace) GetAssociatedTags added in v1.94.1

func (o *SparseTrustedNamespace) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseTrustedNamespace) GetBSON added in v1.94.1

func (o *SparseTrustedNamespace) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTrustedNamespace) GetCreateIdempotencyKey added in v1.94.1

func (o *SparseTrustedNamespace) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseTrustedNamespace) GetCreateTime added in v1.94.1

func (o *SparseTrustedNamespace) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseTrustedNamespace) GetMigrationsLog added in v1.94.1

func (o *SparseTrustedNamespace) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseTrustedNamespace) GetName added in v1.94.1

func (o *SparseTrustedNamespace) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseTrustedNamespace) GetNamespace added in v1.94.1

func (o *SparseTrustedNamespace) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseTrustedNamespace) GetNormalizedTags added in v1.94.1

func (o *SparseTrustedNamespace) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseTrustedNamespace) GetPropagate added in v1.94.1

func (o *SparseTrustedNamespace) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseTrustedNamespace) GetProtected added in v1.94.1

func (o *SparseTrustedNamespace) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseTrustedNamespace) GetUpdateIdempotencyKey added in v1.94.1

func (o *SparseTrustedNamespace) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseTrustedNamespace) GetUpdateTime added in v1.94.1

func (o *SparseTrustedNamespace) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseTrustedNamespace) GetZHash added in v1.94.1

func (o *SparseTrustedNamespace) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseTrustedNamespace) GetZone added in v1.94.1

func (o *SparseTrustedNamespace) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseTrustedNamespace) Identifier added in v1.94.1

func (o *SparseTrustedNamespace) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseTrustedNamespace) Identity added in v1.94.1

Identity returns the Identity of the sparse object.

func (*SparseTrustedNamespace) SetAnnotations added in v1.94.1

func (o *SparseTrustedNamespace) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetAssociatedTags added in v1.94.1

func (o *SparseTrustedNamespace) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetBSON added in v1.94.1

func (o *SparseTrustedNamespace) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseTrustedNamespace) SetCreateIdempotencyKey added in v1.94.1

func (o *SparseTrustedNamespace) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetCreateTime added in v1.94.1

func (o *SparseTrustedNamespace) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetIdentifier added in v1.94.1

func (o *SparseTrustedNamespace) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseTrustedNamespace) SetMigrationsLog added in v1.94.1

func (o *SparseTrustedNamespace) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetName added in v1.94.1

func (o *SparseTrustedNamespace) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetNamespace added in v1.94.1

func (o *SparseTrustedNamespace) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetNormalizedTags added in v1.94.1

func (o *SparseTrustedNamespace) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetPropagate added in v1.94.1

func (o *SparseTrustedNamespace) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetProtected added in v1.94.1

func (o *SparseTrustedNamespace) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetUpdateIdempotencyKey added in v1.94.1

func (o *SparseTrustedNamespace) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetUpdateTime added in v1.94.1

func (o *SparseTrustedNamespace) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetZHash added in v1.94.1

func (o *SparseTrustedNamespace) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseTrustedNamespace) SetZone added in v1.94.1

func (o *SparseTrustedNamespace) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseTrustedNamespace) ToPlain added in v1.94.1

ToPlain returns the plain version of the sparse model.

func (*SparseTrustedNamespace) Version added in v1.94.1

func (o *SparseTrustedNamespace) Version() int

Version returns the hardcoded version of the model.

type SparseTrustedNamespacesList added in v1.94.1

type SparseTrustedNamespacesList []*SparseTrustedNamespace

SparseTrustedNamespacesList represents a list of SparseTrustedNamespaces

func (SparseTrustedNamespacesList) Append added in v1.94.1

Append appends the objects to the a new copy of the SparseTrustedNamespacesList.

func (SparseTrustedNamespacesList) Copy added in v1.94.1

Copy returns a pointer to a copy the SparseTrustedNamespacesList.

func (SparseTrustedNamespacesList) DefaultOrder added in v1.94.1

func (o SparseTrustedNamespacesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTrustedNamespacesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (SparseTrustedNamespacesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (SparseTrustedNamespacesList) ToPlain added in v1.94.1

ToPlain returns the SparseTrustedNamespacesList converted to TrustedNamespacesList.

func (SparseTrustedNamespacesList) Version added in v1.94.1

func (o SparseTrustedNamespacesList) Version() int

Version returns the version of the content.

type SparseUserAccessPoliciesList added in v1.1.0

type SparseUserAccessPoliciesList []*SparseUserAccessPolicy

SparseUserAccessPoliciesList represents a list of SparseUserAccessPolicies

func (SparseUserAccessPoliciesList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseUserAccessPoliciesList.

func (SparseUserAccessPoliciesList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseUserAccessPoliciesList.

func (SparseUserAccessPoliciesList) DefaultOrder added in v1.1.0

func (o SparseUserAccessPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseUserAccessPoliciesList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (SparseUserAccessPoliciesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseUserAccessPoliciesList) ToPlain added in v1.1.0

ToPlain returns the SparseUserAccessPoliciesList converted to UserAccessPoliciesList.

func (SparseUserAccessPoliciesList) Version added in v1.1.0

func (o SparseUserAccessPoliciesList) Version() int

Version returns the version of the content.

type SparseUserAccessPolicy added in v1.1.0

type SparseUserAccessPolicy struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule *string `` /* 138-byte string literal not displayed */

	// Indicates the list of user who can use `sudo` commands.
	AllowedSudoUsers *[]string `json:"allowedSudoUsers,omitempty" msgpack:"allowedSudoUsers,omitempty" bson:"-" mapstructure:"allowedSudoUsers,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime *time.Time `json:"createTime,omitempty" msgpack:"createTime,omitempty" bson:"createtime,omitempty" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Defines if the property is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata *[]string `json:"metadata,omitempty" msgpack:"metadata,omitempty" bson:"metadata,omitempty" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the tag expression matching the enforcers the subject is allowed
	// to connect to.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Contains the tag expression the tags need to match for the policy to
	// apply.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime *time.Time `json:"updateTime,omitempty" msgpack:"updateTime,omitempty" bson:"updatetime,omitempty" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseUserAccessPolicy represents the sparse version of a useraccesspolicy.

func NewSparseUserAccessPolicy added in v1.1.0

func NewSparseUserAccessPolicy() *SparseUserAccessPolicy

NewSparseUserAccessPolicy returns a new SparseUserAccessPolicy.

func (*SparseUserAccessPolicy) DeepCopy added in v1.1.0

DeepCopy returns a deep copy if the SparseUserAccessPolicy.

func (*SparseUserAccessPolicy) DeepCopyInto added in v1.1.0

func (o *SparseUserAccessPolicy) DeepCopyInto(out *SparseUserAccessPolicy)

DeepCopyInto copies the receiver into the given *SparseUserAccessPolicy.

func (*SparseUserAccessPolicy) GetActiveDuration added in v1.1.0

func (o *SparseUserAccessPolicy) GetActiveDuration() (out string)

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseUserAccessPolicy) GetActiveSchedule added in v1.1.0

func (o *SparseUserAccessPolicy) GetActiveSchedule() (out string)

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseUserAccessPolicy) GetAnnotations added in v1.1.0

func (o *SparseUserAccessPolicy) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseUserAccessPolicy) GetAssociatedTags added in v1.1.0

func (o *SparseUserAccessPolicy) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseUserAccessPolicy) GetBSON added in v1.80.0

func (o *SparseUserAccessPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseUserAccessPolicy) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseUserAccessPolicy) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseUserAccessPolicy) GetCreateTime added in v1.1.0

func (o *SparseUserAccessPolicy) GetCreateTime() (out time.Time)

GetCreateTime returns the CreateTime of the receiver.

func (*SparseUserAccessPolicy) GetDescription added in v1.1.0

func (o *SparseUserAccessPolicy) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseUserAccessPolicy) GetDisabled added in v1.1.0

func (o *SparseUserAccessPolicy) GetDisabled() (out bool)

GetDisabled returns the Disabled of the receiver.

func (*SparseUserAccessPolicy) GetExpirationTime added in v1.1.0

func (o *SparseUserAccessPolicy) GetExpirationTime() (out time.Time)

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseUserAccessPolicy) GetMetadata added in v1.1.0

func (o *SparseUserAccessPolicy) GetMetadata() (out []string)

GetMetadata returns the Metadata of the receiver.

func (*SparseUserAccessPolicy) GetName added in v1.1.0

func (o *SparseUserAccessPolicy) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseUserAccessPolicy) GetNamespace added in v1.1.0

func (o *SparseUserAccessPolicy) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseUserAccessPolicy) GetNormalizedTags added in v1.1.0

func (o *SparseUserAccessPolicy) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseUserAccessPolicy) GetPropagate added in v1.1.0

func (o *SparseUserAccessPolicy) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseUserAccessPolicy) GetProtected added in v1.1.0

func (o *SparseUserAccessPolicy) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseUserAccessPolicy) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseUserAccessPolicy) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseUserAccessPolicy) GetUpdateTime added in v1.1.0

func (o *SparseUserAccessPolicy) GetUpdateTime() (out time.Time)

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseUserAccessPolicy) Identifier added in v1.1.0

func (o *SparseUserAccessPolicy) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseUserAccessPolicy) Identity added in v1.1.0

Identity returns the Identity of the sparse object.

func (*SparseUserAccessPolicy) SetActiveDuration added in v1.1.0

func (o *SparseUserAccessPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetActiveSchedule added in v1.1.0

func (o *SparseUserAccessPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetAnnotations added in v1.1.0

func (o *SparseUserAccessPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetAssociatedTags added in v1.1.0

func (o *SparseUserAccessPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetBSON added in v1.80.0

func (o *SparseUserAccessPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseUserAccessPolicy) SetCreateIdempotencyKey added in v1.1.0

func (o *SparseUserAccessPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetCreateTime added in v1.1.0

func (o *SparseUserAccessPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetDescription added in v1.1.0

func (o *SparseUserAccessPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetDisabled added in v1.1.0

func (o *SparseUserAccessPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetExpirationTime added in v1.1.0

func (o *SparseUserAccessPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetIdentifier added in v1.1.0

func (o *SparseUserAccessPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseUserAccessPolicy) SetMetadata added in v1.1.0

func (o *SparseUserAccessPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetName added in v1.1.0

func (o *SparseUserAccessPolicy) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetNamespace added in v1.1.0

func (o *SparseUserAccessPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetNormalizedTags added in v1.1.0

func (o *SparseUserAccessPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetPropagate added in v1.1.0

func (o *SparseUserAccessPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetProtected added in v1.1.0

func (o *SparseUserAccessPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetUpdateIdempotencyKey added in v1.1.0

func (o *SparseUserAccessPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) SetUpdateTime added in v1.1.0

func (o *SparseUserAccessPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the address of the given value.

func (*SparseUserAccessPolicy) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseUserAccessPolicy) Version added in v1.1.0

func (o *SparseUserAccessPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseValidateRQL added in v1.103.0

type SparseValidateRQL struct {
	// The error message if the query fails validation.
	Error *string `json:"error,omitempty" msgpack:"error,omitempty" bson:"-" mapstructure:"error,omitempty"`

	// The type of the policy.
	PolicyType *string `json:"policyType,omitempty" msgpack:"policyType,omitempty" bson:"-" mapstructure:"policyType,omitempty"`

	// The Prisma Cloud ID.
	PrismaID *int `json:"prismaID,omitempty" msgpack:"prismaID,omitempty" bson:"-" mapstructure:"prismaID,omitempty"`

	// The query to validate.
	Query *string `json:"query,omitempty" msgpack:"query,omitempty" bson:"-" mapstructure:"query,omitempty"`

	// The search type.
	SearchType *string `json:"searchType,omitempty" msgpack:"searchType,omitempty" bson:"-" mapstructure:"searchType,omitempty"`

	// The http status code of the response.
	Status *int `json:"status,omitempty" msgpack:"status,omitempty" bson:"-" mapstructure:"status,omitempty"`

	// The timestamp of the query in nanoseconds.
	Timestamp *int `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseValidateRQL represents the sparse version of a validaterql.

func NewSparseValidateRQL added in v1.103.0

func NewSparseValidateRQL() *SparseValidateRQL

NewSparseValidateRQL returns a new SparseValidateRQL.

func (*SparseValidateRQL) DeepCopy added in v1.103.0

func (o *SparseValidateRQL) DeepCopy() *SparseValidateRQL

DeepCopy returns a deep copy if the SparseValidateRQL.

func (*SparseValidateRQL) DeepCopyInto added in v1.103.0

func (o *SparseValidateRQL) DeepCopyInto(out *SparseValidateRQL)

DeepCopyInto copies the receiver into the given *SparseValidateRQL.

func (*SparseValidateRQL) GetBSON added in v1.103.0

func (o *SparseValidateRQL) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseValidateRQL) Identifier added in v1.103.0

func (o *SparseValidateRQL) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseValidateRQL) Identity added in v1.103.0

func (o *SparseValidateRQL) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseValidateRQL) SetBSON added in v1.103.0

func (o *SparseValidateRQL) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseValidateRQL) SetIdentifier added in v1.103.0

func (o *SparseValidateRQL) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseValidateRQL) ToPlain added in v1.103.0

ToPlain returns the plain version of the sparse model.

func (*SparseValidateRQL) Version added in v1.103.0

func (o *SparseValidateRQL) Version() int

Version returns the hardcoded version of the model.

type SparseValidateRQLsList added in v1.103.0

type SparseValidateRQLsList []*SparseValidateRQL

SparseValidateRQLsList represents a list of SparseValidateRQLs

func (SparseValidateRQLsList) Append added in v1.103.0

Append appends the objects to the a new copy of the SparseValidateRQLsList.

func (SparseValidateRQLsList) Copy added in v1.103.0

Copy returns a pointer to a copy the SparseValidateRQLsList.

func (SparseValidateRQLsList) DefaultOrder added in v1.103.0

func (o SparseValidateRQLsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseValidateRQLsList) Identity added in v1.103.0

Identity returns the identity of the objects in the list.

func (SparseValidateRQLsList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (SparseValidateRQLsList) ToPlain added in v1.103.0

ToPlain returns the SparseValidateRQLsList converted to ValidateRQLsList.

func (SparseValidateRQLsList) Version added in v1.103.0

func (o SparseValidateRQLsList) Version() int

Version returns the version of the content.

type SparseValidateUIParameter added in v1.1.0

type SparseValidateUIParameter struct {
	// Contains the list of errors.
	Errors *map[string]string `json:"errors,omitempty" msgpack:"errors,omitempty" bson:"-" mapstructure:"errors,omitempty"`

	// List of parameters to validate.
	Parameters *[]*UIParameter `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// Contains the computed values.
	Values *map[string]interface{} `json:"values,omitempty" msgpack:"values,omitempty" bson:"-" mapstructure:"values,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseValidateUIParameter represents the sparse version of a validateuiparameter.

func NewSparseValidateUIParameter added in v1.1.0

func NewSparseValidateUIParameter() *SparseValidateUIParameter

NewSparseValidateUIParameter returns a new SparseValidateUIParameter.

func (*SparseValidateUIParameter) DeepCopy added in v1.1.0

DeepCopy returns a deep copy if the SparseValidateUIParameter.

func (*SparseValidateUIParameter) DeepCopyInto added in v1.1.0

DeepCopyInto copies the receiver into the given *SparseValidateUIParameter.

func (*SparseValidateUIParameter) GetBSON added in v1.80.0

func (o *SparseValidateUIParameter) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseValidateUIParameter) Identifier added in v1.1.0

func (o *SparseValidateUIParameter) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseValidateUIParameter) Identity added in v1.1.0

Identity returns the Identity of the sparse object.

func (*SparseValidateUIParameter) SetBSON added in v1.80.0

func (o *SparseValidateUIParameter) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseValidateUIParameter) SetIdentifier added in v1.1.0

func (o *SparseValidateUIParameter) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseValidateUIParameter) ToPlain added in v1.1.0

ToPlain returns the plain version of the sparse model.

func (*SparseValidateUIParameter) Version added in v1.1.0

func (o *SparseValidateUIParameter) Version() int

Version returns the hardcoded version of the model.

type SparseValidateUIParametersList added in v1.1.0

type SparseValidateUIParametersList []*SparseValidateUIParameter

SparseValidateUIParametersList represents a list of SparseValidateUIParameters

func (SparseValidateUIParametersList) Append added in v1.1.0

Append appends the objects to the a new copy of the SparseValidateUIParametersList.

func (SparseValidateUIParametersList) Copy added in v1.1.0

Copy returns a pointer to a copy the SparseValidateUIParametersList.

func (SparseValidateUIParametersList) DefaultOrder added in v1.1.0

func (o SparseValidateUIParametersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseValidateUIParametersList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (SparseValidateUIParametersList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (SparseValidateUIParametersList) ToPlain added in v1.1.0

ToPlain returns the SparseValidateUIParametersList converted to ValidateUIParametersList.

func (SparseValidateUIParametersList) Version added in v1.1.0

func (o SparseValidateUIParametersList) Version() int

Version returns the version of the content.

type SparseVulnerabilitiesList

type SparseVulnerabilitiesList []*SparseVulnerability

SparseVulnerabilitiesList represents a list of SparseVulnerabilities

func (SparseVulnerabilitiesList) Append

Append appends the objects to the a new copy of the SparseVulnerabilitiesList.

func (SparseVulnerabilitiesList) Copy

Copy returns a pointer to a copy the SparseVulnerabilitiesList.

func (SparseVulnerabilitiesList) DefaultOrder

func (o SparseVulnerabilitiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseVulnerabilitiesList) Identity

Identity returns the identity of the objects in the list.

func (SparseVulnerabilitiesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseVulnerabilitiesList) ToPlain

ToPlain returns the SparseVulnerabilitiesList converted to VulnerabilitiesList.

func (SparseVulnerabilitiesList) Version

func (o SparseVulnerabilitiesList) Version() int

Version returns the version of the content.

type SparseVulnerability

type SparseVulnerability struct {
	// Common Vulnerability Scoring System (CVSS) version 2 score.
	CVSS2Score *float64 `json:"CVSS2Score,omitempty" msgpack:"CVSS2Score,omitempty" bson:"cvss2score,omitempty" mapstructure:"CVSS2Score,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// List of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey *string `json:"-" msgpack:"-" bson:"createidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// The URL that refers to the vulnerability.
	Link *string `json:"link,omitempty" msgpack:"link,omitempty" bson:"link,omitempty" mapstructure:"link,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog *map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"name,omitempty" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagates the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected *bool `json:"protected,omitempty" msgpack:"protected,omitempty" bson:"protected,omitempty" mapstructure:"protected,omitempty"`

	// Refers to the security vulnerability level.
	Severity *constants.Vulnerability `json:"severity,omitempty" msgpack:"severity,omitempty" bson:"severity,omitempty" mapstructure:"severity,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey *string `json:"-" msgpack:"-" bson:"updateidempotencykey,omitempty" mapstructure:"-,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash *int `json:"-" msgpack:"-" bson:"zhash,omitempty" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseVulnerability represents the sparse version of a vulnerability.

func NewSparseVulnerability

func NewSparseVulnerability() *SparseVulnerability

NewSparseVulnerability returns a new SparseVulnerability.

func (*SparseVulnerability) DeepCopy

DeepCopy returns a deep copy if the SparseVulnerability.

func (*SparseVulnerability) DeepCopyInto

func (o *SparseVulnerability) DeepCopyInto(out *SparseVulnerability)

DeepCopyInto copies the receiver into the given *SparseVulnerability.

func (*SparseVulnerability) GetAnnotations

func (o *SparseVulnerability) GetAnnotations() (out map[string][]string)

GetAnnotations returns the Annotations of the receiver.

func (*SparseVulnerability) GetAssociatedTags

func (o *SparseVulnerability) GetAssociatedTags() (out []string)

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseVulnerability) GetBSON added in v1.80.0

func (o *SparseVulnerability) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseVulnerability) GetCreateIdempotencyKey

func (o *SparseVulnerability) GetCreateIdempotencyKey() (out string)

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseVulnerability) GetDescription

func (o *SparseVulnerability) GetDescription() (out string)

GetDescription returns the Description of the receiver.

func (*SparseVulnerability) GetMigrationsLog added in v1.30.0

func (o *SparseVulnerability) GetMigrationsLog() (out map[string]string)

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseVulnerability) GetName

func (o *SparseVulnerability) GetName() (out string)

GetName returns the Name of the receiver.

func (*SparseVulnerability) GetNamespace

func (o *SparseVulnerability) GetNamespace() (out string)

GetNamespace returns the Namespace of the receiver.

func (*SparseVulnerability) GetNormalizedTags

func (o *SparseVulnerability) GetNormalizedTags() (out []string)

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseVulnerability) GetPropagate added in v1.94.1

func (o *SparseVulnerability) GetPropagate() (out bool)

GetPropagate returns the Propagate of the receiver.

func (*SparseVulnerability) GetProtected

func (o *SparseVulnerability) GetProtected() (out bool)

GetProtected returns the Protected of the receiver.

func (*SparseVulnerability) GetUpdateIdempotencyKey

func (o *SparseVulnerability) GetUpdateIdempotencyKey() (out string)

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseVulnerability) GetZHash

func (o *SparseVulnerability) GetZHash() (out int)

GetZHash returns the ZHash of the receiver.

func (*SparseVulnerability) GetZone

func (o *SparseVulnerability) GetZone() (out int)

GetZone returns the Zone of the receiver.

func (*SparseVulnerability) Identifier

func (o *SparseVulnerability) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseVulnerability) Identity

func (o *SparseVulnerability) Identity() elemental.Identity

Identity returns the Identity of the sparse object.

func (*SparseVulnerability) SetAnnotations

func (o *SparseVulnerability) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the address of the given value.

func (*SparseVulnerability) SetAssociatedTags

func (o *SparseVulnerability) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the address of the given value.

func (*SparseVulnerability) SetBSON added in v1.80.0

func (o *SparseVulnerability) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseVulnerability) SetCreateIdempotencyKey

func (o *SparseVulnerability) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the address of the given value.

func (*SparseVulnerability) SetDescription

func (o *SparseVulnerability) SetDescription(description string)

SetDescription sets the property Description of the receiver using the address of the given value.

func (*SparseVulnerability) SetIdentifier

func (o *SparseVulnerability) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseVulnerability) SetMigrationsLog added in v1.30.0

func (o *SparseVulnerability) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the address of the given value.

func (*SparseVulnerability) SetName

func (o *SparseVulnerability) SetName(name string)

SetName sets the property Name of the receiver using the address of the given value.

func (*SparseVulnerability) SetNamespace

func (o *SparseVulnerability) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the address of the given value.

func (*SparseVulnerability) SetNormalizedTags

func (o *SparseVulnerability) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the address of the given value.

func (*SparseVulnerability) SetPropagate added in v1.94.1

func (o *SparseVulnerability) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the address of the given value.

func (*SparseVulnerability) SetProtected

func (o *SparseVulnerability) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the address of the given value.

func (*SparseVulnerability) SetUpdateIdempotencyKey

func (o *SparseVulnerability) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the address of the given value.

func (*SparseVulnerability) SetZHash

func (o *SparseVulnerability) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the address of the given value.

func (*SparseVulnerability) SetZone

func (o *SparseVulnerability) SetZone(zone int)

SetZone sets the property Zone of the receiver using the address of the given value.

func (*SparseVulnerability) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseVulnerability) Version

func (o *SparseVulnerability) Version() int

Version returns the hardcoded version of the model.

type SparseX509Certificate

type SparseX509Certificate struct {
	// Contains the Certificate Signing Request (CSR) as a PEM-encoded string.
	CSR *string `json:"CSR,omitempty" msgpack:"CSR,omitempty" bson:"-" mapstructure:"CSR,omitempty"`

	// ID contains the identifier of the certificate.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Certificate contains the certificate data in PEM format.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// ExpirationDate contains the requested expiration date.
	ExpirationDate *time.Time `json:"expirationDate,omitempty" msgpack:"expirationDate,omitempty" bson:"-" mapstructure:"expirationDate,omitempty"`

	// Extensions to add to the certificate. It must contains ASN1-encoded bytes,
	// themselves encoded in base64.
	Extensions *[]byte `json:"extensions,omitempty" msgpack:"extensions,omitempty" bson:"-" mapstructure:"extensions,omitempty"`

	// Selects what CA should sign the certificate.
	Signer *X509CertificateSignerValue `json:"signer,omitempty" msgpack:"signer,omitempty" bson:"-" mapstructure:"signer,omitempty"`

	// Selects the ID of the CA that should sign the certificate when signer is set to
	// Namespace.
	SignerID *string `json:"signerID,omitempty" msgpack:"signerID,omitempty" bson:"-" mapstructure:"signerID,omitempty"`

	// Additional subject information to use to override the ones in the CSR.
	SubjectOverride *PKIXName `json:"subjectOverride,omitempty" msgpack:"subjectOverride,omitempty" bson:"-" mapstructure:"subjectOverride,omitempty"`

	// If set to true, the certificate is considered short lived and it will not be
	// possible to revoke it.
	Unrevocable *bool `json:"unrevocable,omitempty" msgpack:"unrevocable,omitempty" bson:"-" mapstructure:"unrevocable,omitempty"`

	// Usage defines the requested key usage.
	Usage *X509CertificateUsageValue `json:"usage,omitempty" msgpack:"usage,omitempty" bson:"-" mapstructure:"usage,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseX509Certificate represents the sparse version of a x509certificate.

func NewSparseX509Certificate

func NewSparseX509Certificate() *SparseX509Certificate

NewSparseX509Certificate returns a new SparseX509Certificate.

func (*SparseX509Certificate) DeepCopy

DeepCopy returns a deep copy if the SparseX509Certificate.

func (*SparseX509Certificate) DeepCopyInto

func (o *SparseX509Certificate) DeepCopyInto(out *SparseX509Certificate)

DeepCopyInto copies the receiver into the given *SparseX509Certificate.

func (*SparseX509Certificate) GetBSON added in v1.80.0

func (o *SparseX509Certificate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseX509Certificate) Identifier

func (o *SparseX509Certificate) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseX509Certificate) Identity

Identity returns the Identity of the sparse object.

func (*SparseX509Certificate) SetBSON added in v1.80.0

func (o *SparseX509Certificate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseX509Certificate) SetIdentifier

func (o *SparseX509Certificate) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseX509Certificate) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseX509Certificate) Version

func (o *SparseX509Certificate) Version() int

Version returns the hardcoded version of the model.

type SparseX509CertificateCheck

type SparseX509CertificateCheck struct {
	// ID contains the certificate serialNumber.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SparseX509CertificateCheck represents the sparse version of a x509certificatecheck.

func NewSparseX509CertificateCheck

func NewSparseX509CertificateCheck() *SparseX509CertificateCheck

NewSparseX509CertificateCheck returns a new SparseX509CertificateCheck.

func (*SparseX509CertificateCheck) DeepCopy

DeepCopy returns a deep copy if the SparseX509CertificateCheck.

func (*SparseX509CertificateCheck) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseX509CertificateCheck.

func (*SparseX509CertificateCheck) GetBSON added in v1.80.0

func (o *SparseX509CertificateCheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseX509CertificateCheck) Identifier

func (o *SparseX509CertificateCheck) Identifier() string

Identifier returns the value of the sparse object's unique identifier.

func (*SparseX509CertificateCheck) Identity

Identity returns the Identity of the sparse object.

func (*SparseX509CertificateCheck) SetBSON added in v1.80.0

func (o *SparseX509CertificateCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SparseX509CertificateCheck) SetIdentifier

func (o *SparseX509CertificateCheck) SetIdentifier(id string)

SetIdentifier sets the value of the sparse object's unique identifier.

func (*SparseX509CertificateCheck) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseX509CertificateCheck) Version

func (o *SparseX509CertificateCheck) Version() int

Version returns the hardcoded version of the model.

type SparseX509CertificateChecksList

type SparseX509CertificateChecksList []*SparseX509CertificateCheck

SparseX509CertificateChecksList represents a list of SparseX509CertificateChecks

func (SparseX509CertificateChecksList) Append

Append appends the objects to the a new copy of the SparseX509CertificateChecksList.

func (SparseX509CertificateChecksList) Copy

Copy returns a pointer to a copy the SparseX509CertificateChecksList.

func (SparseX509CertificateChecksList) DefaultOrder

func (o SparseX509CertificateChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseX509CertificateChecksList) Identity

Identity returns the identity of the objects in the list.

func (SparseX509CertificateChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseX509CertificateChecksList) ToPlain

ToPlain returns the SparseX509CertificateChecksList converted to X509CertificateChecksList.

func (SparseX509CertificateChecksList) Version

Version returns the version of the content.

type SparseX509CertificatesList

type SparseX509CertificatesList []*SparseX509Certificate

SparseX509CertificatesList represents a list of SparseX509Certificates

func (SparseX509CertificatesList) Append

Append appends the objects to the a new copy of the SparseX509CertificatesList.

func (SparseX509CertificatesList) Copy

Copy returns a pointer to a copy the SparseX509CertificatesList.

func (SparseX509CertificatesList) DefaultOrder

func (o SparseX509CertificatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseX509CertificatesList) Identity

Identity returns the identity of the objects in the list.

func (SparseX509CertificatesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseX509CertificatesList) ToPlain

ToPlain returns the SparseX509CertificatesList converted to X509CertificatesList.

func (SparseX509CertificatesList) Version

func (o SparseX509CertificatesList) Version() int

Version returns the version of the content.

type SquallTag

type SquallTag struct {
	// Number of time this tag is used.
	Count int `json:"count" msgpack:"count" bson:"count" mapstructure:"count,omitempty"`

	// namespace containing these tags.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Value of the tag.
	Value string `json:"value" msgpack:"value" bson:"value" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SquallTag represents the model of a squalltag

func NewSquallTag

func NewSquallTag() *SquallTag

NewSquallTag returns a new *SquallTag

func (*SquallTag) AttributeSpecifications

func (*SquallTag) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SquallTag) BleveType added in v1.1.0

func (o *SquallTag) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SquallTag) DeepCopy

func (o *SquallTag) DeepCopy() *SquallTag

DeepCopy returns a deep copy if the SquallTag.

func (*SquallTag) DeepCopyInto

func (o *SquallTag) DeepCopyInto(out *SquallTag)

DeepCopyInto copies the receiver into the given *SquallTag.

func (*SquallTag) DefaultOrder

func (o *SquallTag) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SquallTag) Doc

func (o *SquallTag) Doc() string

Doc returns the documentation for the object

func (*SquallTag) GetBSON added in v1.80.0

func (o *SquallTag) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SquallTag) Identifier

func (o *SquallTag) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SquallTag) Identity

func (o *SquallTag) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SquallTag) Patch

func (o *SquallTag) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSquallTag to the object.

func (*SquallTag) SetBSON added in v1.80.0

func (o *SquallTag) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SquallTag) SetIdentifier

func (o *SquallTag) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SquallTag) SpecificationForAttribute

func (*SquallTag) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SquallTag) String

func (o *SquallTag) String() string

func (*SquallTag) ToSparse

func (o *SquallTag) 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 (*SquallTag) Validate

func (o *SquallTag) Validate() error

Validate valides the current information stored into the structure.

func (*SquallTag) ValueForAttribute

func (o *SquallTag) ValueForAttribute(name string) interface{}

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 (*SquallTag) Version

func (o *SquallTag) Version() int

Version returns the hardcoded version of the model.

type SquallTagsList

type SquallTagsList []*SquallTag

SquallTagsList represents a list of SquallTags

func (SquallTagsList) Append

Append appends the objects to the a new copy of the SquallTagsList.

func (SquallTagsList) Copy

Copy returns a pointer to a copy the SquallTagsList.

func (SquallTagsList) DefaultOrder

func (o SquallTagsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SquallTagsList) Identity

func (o SquallTagsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SquallTagsList) List

List converts the object to an elemental.IdentifiablesList.

func (SquallTagsList) ToSparse

func (o SquallTagsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SquallTagsList converted to SparseSquallTagsList. Objects in the list will only contain the given fields. No field means entire field set.

func (SquallTagsList) Version

func (o SquallTagsList) Version() int

Version returns the version of the content.

type StatsInfo

type StatsInfo struct {
	// Contains the list of fields. You cannot group by these fields.
	Fields map[string]string `json:"fields" msgpack:"fields" bson:"-" mapstructure:"fields,omitempty"`

	// Name of the measurement.
	Measurement StatsInfoMeasurementValue `json:"measurement" msgpack:"measurement" bson:"-" mapstructure:"measurement,omitempty"`

	// Contains the list of tags. You can group by these tags.
	Tags []string `json:"tags" msgpack:"tags" bson:"-" mapstructure:"tags,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

StatsInfo represents the model of a statsinfo

func NewStatsInfo

func NewStatsInfo() *StatsInfo

NewStatsInfo returns a new *StatsInfo

func (*StatsInfo) AttributeSpecifications

func (*StatsInfo) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*StatsInfo) BleveType added in v1.1.0

func (o *StatsInfo) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*StatsInfo) DeepCopy

func (o *StatsInfo) DeepCopy() *StatsInfo

DeepCopy returns a deep copy if the StatsInfo.

func (*StatsInfo) DeepCopyInto

func (o *StatsInfo) DeepCopyInto(out *StatsInfo)

DeepCopyInto copies the receiver into the given *StatsInfo.

func (*StatsInfo) DefaultOrder

func (o *StatsInfo) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*StatsInfo) Doc

func (o *StatsInfo) Doc() string

Doc returns the documentation for the object

func (*StatsInfo) GetBSON added in v1.80.0

func (o *StatsInfo) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*StatsInfo) Identifier

func (o *StatsInfo) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*StatsInfo) Identity

func (o *StatsInfo) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*StatsInfo) Patch

func (o *StatsInfo) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseStatsInfo to the object.

func (*StatsInfo) SetBSON added in v1.80.0

func (o *StatsInfo) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*StatsInfo) SetIdentifier

func (o *StatsInfo) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*StatsInfo) SpecificationForAttribute

func (*StatsInfo) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*StatsInfo) String

func (o *StatsInfo) String() string

func (*StatsInfo) ToSparse

func (o *StatsInfo) 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 (*StatsInfo) Validate

func (o *StatsInfo) Validate() error

Validate valides the current information stored into the structure.

func (*StatsInfo) ValueForAttribute

func (o *StatsInfo) ValueForAttribute(name string) interface{}

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 (*StatsInfo) Version

func (o *StatsInfo) Version() int

Version returns the hardcoded version of the model.

type StatsInfoMeasurementValue

type StatsInfoMeasurementValue string

StatsInfoMeasurementValue represents the possible values for attribute "measurement".

const (
	// StatsInfoMeasurementAccesses represents the value Accesses.
	StatsInfoMeasurementAccesses StatsInfoMeasurementValue = "Accesses"

	// StatsInfoMeasurementAudit represents the value Audit.
	StatsInfoMeasurementAudit StatsInfoMeasurementValue = "Audit"

	// StatsInfoMeasurementConnectionExceptions represents the value ConnectionExceptions.
	StatsInfoMeasurementConnectionExceptions StatsInfoMeasurementValue = "ConnectionExceptions"

	// StatsInfoMeasurementCounters represents the value Counters.
	StatsInfoMeasurementCounters StatsInfoMeasurementValue = "Counters"

	// StatsInfoMeasurementDNSLookups represents the value DNSLookups.
	StatsInfoMeasurementDNSLookups StatsInfoMeasurementValue = "DNSLookups"

	// StatsInfoMeasurementEnforcers represents the value Enforcers.
	StatsInfoMeasurementEnforcers StatsInfoMeasurementValue = "Enforcers"

	// StatsInfoMeasurementEventLogs represents the value EventLogs.
	StatsInfoMeasurementEventLogs StatsInfoMeasurementValue = "EventLogs"

	// StatsInfoMeasurementFiles represents the value Files.
	StatsInfoMeasurementFiles StatsInfoMeasurementValue = "Files"

	// StatsInfoMeasurementFlows represents the value Flows.
	StatsInfoMeasurementFlows StatsInfoMeasurementValue = "Flows"

	// StatsInfoMeasurementPackets represents the value Packets.
	StatsInfoMeasurementPackets StatsInfoMeasurementValue = "Packets"

	// StatsInfoMeasurementPingReports represents the value PingReports.
	StatsInfoMeasurementPingReports StatsInfoMeasurementValue = "PingReports"
)

type StatsInfosList

type StatsInfosList []*StatsInfo

StatsInfosList represents a list of StatsInfos

func (StatsInfosList) Append

Append appends the objects to the a new copy of the StatsInfosList.

func (StatsInfosList) Copy

Copy returns a pointer to a copy the StatsInfosList.

func (StatsInfosList) DefaultOrder

func (o StatsInfosList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (StatsInfosList) Identity

func (o StatsInfosList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (StatsInfosList) List

List converts the object to an elemental.IdentifiablesList.

func (StatsInfosList) ToSparse

func (o StatsInfosList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the StatsInfosList converted to SparseStatsInfosList. Objects in the list will only contain the given fields. No field means entire field set.

func (StatsInfosList) Version

func (o StatsInfosList) Version() int

Version returns the version of the content.

type StatsQueriesList

type StatsQueriesList []*StatsQuery

StatsQueriesList represents a list of StatsQueries

func (StatsQueriesList) Append

Append appends the objects to the a new copy of the StatsQueriesList.

func (StatsQueriesList) Copy

Copy returns a pointer to a copy the StatsQueriesList.

func (StatsQueriesList) DefaultOrder

func (o StatsQueriesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (StatsQueriesList) Identity

func (o StatsQueriesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (StatsQueriesList) List

List converts the object to an elemental.IdentifiablesList.

func (StatsQueriesList) ToSparse

func (o StatsQueriesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the StatsQueriesList converted to SparseStatsQueriesList. Objects in the list will only contain the given fields. No field means entire field set.

func (StatsQueriesList) Version

func (o StatsQueriesList) Version() int

Version returns the version of the content.

type StatsQuery

type StatsQuery struct {
	// If set, the results will be order by time from the most recent to the oldest.
	Descending bool `json:"descending" msgpack:"descending" bson:"-" mapstructure:"descending,omitempty"`

	// List of fields to extract. If you don't pass anything, all available fields will
	// be returned. It is also possible to use a function like `sum(value)`.
	Fields []string `json:"fields" msgpack:"fields" bson:"-" mapstructure:"fields,omitempty"`

	// Apply a filter to the query.
	Filter string `json:"filter" msgpack:"filter" bson:"-" mapstructure:"filter,omitempty"`

	// Group results by the provided values. Note that not all fields can be used to
	// group the results.
	Groups []string `json:"groups" msgpack:"groups" bson:"-" mapstructure:"groups,omitempty"`

	// Limits the number of results. `-1` means no limit.
	Limit int `json:"limit" msgpack:"limit" bson:"-" mapstructure:"limit,omitempty"`

	// Name of the measurement.
	Measurement StatsQueryMeasurementValue `json:"measurement" msgpack:"measurement" bson:"-" mapstructure:"measurement,omitempty"`

	// Offsets the results. -1 means no offset.
	Offset int `json:"offset" msgpack:"offset" bson:"-" mapstructure:"offset,omitempty"`

	// Contains the result of the query.
	Results []*TimeSeriesQueryResults `json:"results" msgpack:"results" bson:"-" mapstructure:"results,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

StatsQuery represents the model of a statsquery

func NewStatsQuery

func NewStatsQuery() *StatsQuery

NewStatsQuery returns a new *StatsQuery

func (*StatsQuery) AttributeSpecifications

func (*StatsQuery) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*StatsQuery) BleveType added in v1.1.0

func (o *StatsQuery) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*StatsQuery) DeepCopy

func (o *StatsQuery) DeepCopy() *StatsQuery

DeepCopy returns a deep copy if the StatsQuery.

func (*StatsQuery) DeepCopyInto

func (o *StatsQuery) DeepCopyInto(out *StatsQuery)

DeepCopyInto copies the receiver into the given *StatsQuery.

func (*StatsQuery) DefaultOrder

func (o *StatsQuery) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*StatsQuery) Doc

func (o *StatsQuery) Doc() string

Doc returns the documentation for the object

func (*StatsQuery) GetBSON added in v1.80.0

func (o *StatsQuery) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*StatsQuery) Identifier

func (o *StatsQuery) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*StatsQuery) Identity

func (o *StatsQuery) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*StatsQuery) Patch

func (o *StatsQuery) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseStatsQuery to the object.

func (*StatsQuery) SetBSON added in v1.80.0

func (o *StatsQuery) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*StatsQuery) SetIdentifier

func (o *StatsQuery) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*StatsQuery) SpecificationForAttribute

func (*StatsQuery) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*StatsQuery) String

func (o *StatsQuery) String() string

func (*StatsQuery) ToSparse

func (o *StatsQuery) 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 (*StatsQuery) Validate

func (o *StatsQuery) Validate() error

Validate valides the current information stored into the structure.

func (*StatsQuery) ValueForAttribute

func (o *StatsQuery) ValueForAttribute(name string) interface{}

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 (*StatsQuery) Version

func (o *StatsQuery) Version() int

Version returns the hardcoded version of the model.

type StatsQueryMeasurementValue

type StatsQueryMeasurementValue string

StatsQueryMeasurementValue represents the possible values for attribute "measurement".

const (
	// StatsQueryMeasurementAccesses represents the value Accesses.
	StatsQueryMeasurementAccesses StatsQueryMeasurementValue = "Accesses"

	// StatsQueryMeasurementAudit represents the value Audit.
	StatsQueryMeasurementAudit StatsQueryMeasurementValue = "Audit"

	// StatsQueryMeasurementConnectionExceptions represents the value ConnectionExceptions.
	StatsQueryMeasurementConnectionExceptions StatsQueryMeasurementValue = "ConnectionExceptions"

	// StatsQueryMeasurementCounters represents the value Counters.
	StatsQueryMeasurementCounters StatsQueryMeasurementValue = "Counters"

	// StatsQueryMeasurementDNSLookups represents the value DNSLookups.
	StatsQueryMeasurementDNSLookups StatsQueryMeasurementValue = "DNSLookups"

	// StatsQueryMeasurementEnforcerTraces represents the value EnforcerTraces.
	StatsQueryMeasurementEnforcerTraces StatsQueryMeasurementValue = "EnforcerTraces"

	// StatsQueryMeasurementEnforcers represents the value Enforcers.
	StatsQueryMeasurementEnforcers StatsQueryMeasurementValue = "Enforcers"

	// StatsQueryMeasurementEventLogs represents the value EventLogs.
	StatsQueryMeasurementEventLogs StatsQueryMeasurementValue = "EventLogs"

	// StatsQueryMeasurementFiles represents the value Files.
	StatsQueryMeasurementFiles StatsQueryMeasurementValue = "Files"

	// StatsQueryMeasurementFlows represents the value Flows.
	StatsQueryMeasurementFlows StatsQueryMeasurementValue = "Flows"

	// StatsQueryMeasurementPackets represents the value Packets.
	StatsQueryMeasurementPackets StatsQueryMeasurementValue = "Packets"

	// StatsQueryMeasurementPingReports represents the value PingReports.
	StatsQueryMeasurementPingReports StatsQueryMeasurementValue = "PingReports"
)

type SuggestedPoliciesList

type SuggestedPoliciesList []*SuggestedPolicy

SuggestedPoliciesList represents a list of SuggestedPolicies

func (SuggestedPoliciesList) Append

Append appends the objects to the a new copy of the SuggestedPoliciesList.

func (SuggestedPoliciesList) Copy

Copy returns a pointer to a copy the SuggestedPoliciesList.

func (SuggestedPoliciesList) DefaultOrder

func (o SuggestedPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SuggestedPoliciesList) Identity

Identity returns the identity of the objects in the list.

func (SuggestedPoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SuggestedPoliciesList) ToSparse

func (o SuggestedPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the SuggestedPoliciesList converted to SparseSuggestedPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (SuggestedPoliciesList) Version

func (o SuggestedPoliciesList) Version() int

Version returns the version of the content.

type SuggestedPolicy

type SuggestedPolicy struct {
	// List of suggested network policies.
	NetworkAccessPolicies NetworkAccessPoliciesList `` /* 136-byte string literal not displayed */

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

SuggestedPolicy represents the model of a suggestedpolicy

func NewSuggestedPolicy

func NewSuggestedPolicy() *SuggestedPolicy

NewSuggestedPolicy returns a new *SuggestedPolicy

func (*SuggestedPolicy) AttributeSpecifications

func (*SuggestedPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*SuggestedPolicy) BleveType added in v1.1.0

func (o *SuggestedPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*SuggestedPolicy) DeepCopy

func (o *SuggestedPolicy) DeepCopy() *SuggestedPolicy

DeepCopy returns a deep copy if the SuggestedPolicy.

func (*SuggestedPolicy) DeepCopyInto

func (o *SuggestedPolicy) DeepCopyInto(out *SuggestedPolicy)

DeepCopyInto copies the receiver into the given *SuggestedPolicy.

func (*SuggestedPolicy) DefaultOrder

func (o *SuggestedPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*SuggestedPolicy) Doc

func (o *SuggestedPolicy) Doc() string

Doc returns the documentation for the object

func (*SuggestedPolicy) GetBSON added in v1.80.0

func (o *SuggestedPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SuggestedPolicy) Identifier

func (o *SuggestedPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*SuggestedPolicy) Identity

func (o *SuggestedPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*SuggestedPolicy) Patch

func (o *SuggestedPolicy) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseSuggestedPolicy to the object.

func (*SuggestedPolicy) SetBSON added in v1.80.0

func (o *SuggestedPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*SuggestedPolicy) SetIdentifier

func (o *SuggestedPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*SuggestedPolicy) SpecificationForAttribute

func (*SuggestedPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*SuggestedPolicy) String

func (o *SuggestedPolicy) String() string

func (*SuggestedPolicy) ToSparse

func (o *SuggestedPolicy) 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 (*SuggestedPolicy) Validate

func (o *SuggestedPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*SuggestedPolicy) ValueForAttribute

func (o *SuggestedPolicy) ValueForAttribute(name string) interface{}

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 (*SuggestedPolicy) Version

func (o *SuggestedPolicy) Version() int

Version returns the hardcoded version of the model.

type Tag

type Tag struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Represents the number of times the tag is used.
	Count int `json:"count" msgpack:"count" bson:"count" mapstructure:"count,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Represents the value of the tag.
	Value string `json:"value" msgpack:"value" bson:"value" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Tag represents the model of a tag

func NewTag

func NewTag() *Tag

NewTag returns a new *Tag

func (*Tag) AttributeSpecifications

func (*Tag) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Tag) BleveType added in v1.1.0

func (o *Tag) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Tag) DeepCopy

func (o *Tag) DeepCopy() *Tag

DeepCopy returns a deep copy if the Tag.

func (*Tag) DeepCopyInto

func (o *Tag) DeepCopyInto(out *Tag)

DeepCopyInto copies the receiver into the given *Tag.

func (*Tag) DefaultOrder

func (o *Tag) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Tag) Doc

func (o *Tag) Doc() string

Doc returns the documentation for the object

func (*Tag) GetBSON added in v1.80.0

func (o *Tag) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Tag) GetNamespace added in v1.1.0

func (o *Tag) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Tag) Identifier

func (o *Tag) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Tag) Identity

func (o *Tag) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Tag) Patch

func (o *Tag) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTag to the object.

func (*Tag) SetBSON added in v1.80.0

func (o *Tag) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Tag) SetIdentifier

func (o *Tag) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Tag) SetNamespace added in v1.1.0

func (o *Tag) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Tag) SpecificationForAttribute

func (*Tag) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Tag) String

func (o *Tag) String() string

func (*Tag) ToSparse

func (o *Tag) 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 (*Tag) Validate

func (o *Tag) Validate() error

Validate valides the current information stored into the structure.

func (*Tag) ValueForAttribute

func (o *Tag) ValueForAttribute(name string) interface{}

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 (*Tag) Version

func (o *Tag) Version() int

Version returns the hardcoded version of the model.

type TagInject

type TagInject struct {
	// List of tags to be added.
	AddedTags map[string]int `json:"addedTags" msgpack:"addedTags" bson:"-" mapstructure:"addedTags,omitempty"`

	// List of tags to be removed.
	RemovedTags map[string]int `json:"removedTags" msgpack:"removedTags" bson:"-" mapstructure:"removedTags,omitempty"`

	// List of tags to inject.
	TargetNamespace string `json:"targetNamespace" msgpack:"targetNamespace" bson:"-" mapstructure:"targetNamespace,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TagInject represents the model of a taginject

func NewTagInject

func NewTagInject() *TagInject

NewTagInject returns a new *TagInject

func (*TagInject) AttributeSpecifications

func (*TagInject) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*TagInject) BleveType added in v1.1.0

func (o *TagInject) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TagInject) DeepCopy

func (o *TagInject) DeepCopy() *TagInject

DeepCopy returns a deep copy if the TagInject.

func (*TagInject) DeepCopyInto

func (o *TagInject) DeepCopyInto(out *TagInject)

DeepCopyInto copies the receiver into the given *TagInject.

func (*TagInject) DefaultOrder

func (o *TagInject) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*TagInject) Doc

func (o *TagInject) Doc() string

Doc returns the documentation for the object

func (*TagInject) GetBSON added in v1.80.0

func (o *TagInject) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TagInject) Identifier

func (o *TagInject) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*TagInject) Identity

func (o *TagInject) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*TagInject) Patch

func (o *TagInject) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTagInject to the object.

func (*TagInject) SetBSON added in v1.80.0

func (o *TagInject) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TagInject) SetIdentifier

func (o *TagInject) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*TagInject) SpecificationForAttribute

func (*TagInject) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*TagInject) String

func (o *TagInject) String() string

func (*TagInject) ToSparse

func (o *TagInject) 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 (*TagInject) Validate

func (o *TagInject) Validate() error

Validate valides the current information stored into the structure.

func (*TagInject) ValueForAttribute

func (o *TagInject) ValueForAttribute(name string) interface{}

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 (*TagInject) Version

func (o *TagInject) Version() int

Version returns the hardcoded version of the model.

type TagInjectsList

type TagInjectsList []*TagInject

TagInjectsList represents a list of TagInjects

func (TagInjectsList) Append

Append appends the objects to the a new copy of the TagInjectsList.

func (TagInjectsList) Copy

Copy returns a pointer to a copy the TagInjectsList.

func (TagInjectsList) DefaultOrder

func (o TagInjectsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TagInjectsList) Identity

func (o TagInjectsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TagInjectsList) List

List converts the object to an elemental.IdentifiablesList.

func (TagInjectsList) ToSparse

func (o TagInjectsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TagInjectsList converted to SparseTagInjectsList. Objects in the list will only contain the given fields. No field means entire field set.

func (TagInjectsList) Version

func (o TagInjectsList) Version() int

Version returns the version of the content.

type TagPrefix added in v1.94.1

type TagPrefix struct {
	// List of tag prefixes that will be used to suggest policies. Only these tags will
	// be transmitted on the wire.
	Prefixes []string `json:"prefixes" msgpack:"prefixes" bson:"prefixes" mapstructure:"prefixes,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TagPrefix represents the model of a tagprefix

func NewTagPrefix added in v1.94.1

func NewTagPrefix() *TagPrefix

NewTagPrefix returns a new *TagPrefix

func (*TagPrefix) AttributeSpecifications added in v1.94.1

func (*TagPrefix) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*TagPrefix) BleveType added in v1.94.1

func (o *TagPrefix) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TagPrefix) DeepCopy added in v1.94.1

func (o *TagPrefix) DeepCopy() *TagPrefix

DeepCopy returns a deep copy if the TagPrefix.

func (*TagPrefix) DeepCopyInto added in v1.94.1

func (o *TagPrefix) DeepCopyInto(out *TagPrefix)

DeepCopyInto copies the receiver into the given *TagPrefix.

func (*TagPrefix) DefaultOrder added in v1.94.1

func (o *TagPrefix) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*TagPrefix) Doc added in v1.94.1

func (o *TagPrefix) Doc() string

Doc returns the documentation for the object

func (*TagPrefix) GetBSON added in v1.94.1

func (o *TagPrefix) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TagPrefix) Identifier added in v1.94.1

func (o *TagPrefix) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*TagPrefix) Identity added in v1.94.1

func (o *TagPrefix) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*TagPrefix) Patch added in v1.94.1

func (o *TagPrefix) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTagPrefix to the object.

func (*TagPrefix) SetBSON added in v1.94.1

func (o *TagPrefix) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TagPrefix) SetIdentifier added in v1.94.1

func (o *TagPrefix) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*TagPrefix) SpecificationForAttribute added in v1.94.1

func (*TagPrefix) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*TagPrefix) String added in v1.94.1

func (o *TagPrefix) String() string

func (*TagPrefix) ToSparse added in v1.94.1

func (o *TagPrefix) 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 (*TagPrefix) Validate added in v1.94.1

func (o *TagPrefix) Validate() error

Validate valides the current information stored into the structure.

func (*TagPrefix) ValueForAttribute added in v1.94.1

func (o *TagPrefix) ValueForAttribute(name string) interface{}

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 (*TagPrefix) Version added in v1.94.1

func (o *TagPrefix) Version() int

Version returns the hardcoded version of the model.

type TagPrefixsList added in v1.94.1

type TagPrefixsList []*TagPrefix

TagPrefixsList represents a list of TagPrefixs

func (TagPrefixsList) Append added in v1.94.1

Append appends the objects to the a new copy of the TagPrefixsList.

func (TagPrefixsList) Copy added in v1.94.1

Copy returns a pointer to a copy the TagPrefixsList.

func (TagPrefixsList) DefaultOrder added in v1.94.1

func (o TagPrefixsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TagPrefixsList) Identity added in v1.94.1

func (o TagPrefixsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TagPrefixsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (TagPrefixsList) ToSparse added in v1.94.1

func (o TagPrefixsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TagPrefixsList converted to SparseTagPrefixsList. Objects in the list will only contain the given fields. No field means entire field set.

func (TagPrefixsList) Version added in v1.94.1

func (o TagPrefixsList) Version() int

Version returns the version of the content.

type TagValue

type TagValue struct {
	// The requested key.
	Key string `json:"key" msgpack:"key" bson:"-" mapstructure:"key,omitempty"`

	// List of all values.
	Values []string `json:"values" msgpack:"values" bson:"-" mapstructure:"values,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TagValue represents the model of a tagvalue

func NewTagValue

func NewTagValue() *TagValue

NewTagValue returns a new *TagValue

func (*TagValue) AttributeSpecifications

func (*TagValue) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*TagValue) BleveType added in v1.1.0

func (o *TagValue) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TagValue) DeepCopy

func (o *TagValue) DeepCopy() *TagValue

DeepCopy returns a deep copy if the TagValue.

func (*TagValue) DeepCopyInto

func (o *TagValue) DeepCopyInto(out *TagValue)

DeepCopyInto copies the receiver into the given *TagValue.

func (*TagValue) DefaultOrder

func (o *TagValue) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*TagValue) Doc

func (o *TagValue) Doc() string

Doc returns the documentation for the object

func (*TagValue) GetBSON added in v1.80.0

func (o *TagValue) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TagValue) Identifier

func (o *TagValue) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*TagValue) Identity

func (o *TagValue) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*TagValue) Patch

func (o *TagValue) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTagValue to the object.

func (*TagValue) SetBSON added in v1.80.0

func (o *TagValue) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TagValue) SetIdentifier

func (o *TagValue) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*TagValue) SpecificationForAttribute

func (*TagValue) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*TagValue) String

func (o *TagValue) String() string

func (*TagValue) ToSparse

func (o *TagValue) 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 (*TagValue) Validate

func (o *TagValue) Validate() error

Validate valides the current information stored into the structure.

func (*TagValue) ValueForAttribute

func (o *TagValue) ValueForAttribute(name string) interface{}

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 (*TagValue) Version

func (o *TagValue) Version() int

Version returns the hardcoded version of the model.

type TagValuesList

type TagValuesList []*TagValue

TagValuesList represents a list of TagValues

func (TagValuesList) Append

Append appends the objects to the a new copy of the TagValuesList.

func (TagValuesList) Copy

Copy returns a pointer to a copy the TagValuesList.

func (TagValuesList) DefaultOrder

func (o TagValuesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TagValuesList) Identity

func (o TagValuesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TagValuesList) List

List converts the object to an elemental.IdentifiablesList.

func (TagValuesList) ToSparse

func (o TagValuesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TagValuesList converted to SparseTagValuesList. Objects in the list will only contain the given fields. No field means entire field set.

func (TagValuesList) Version

func (o TagValuesList) Version() int

Version returns the version of the content.

type TagsList

type TagsList []*Tag

TagsList represents a list of Tags

func (TagsList) Append

func (o TagsList) Append(objects ...elemental.Identifiable) elemental.Identifiables

Append appends the objects to the a new copy of the TagsList.

func (TagsList) Copy

func (o TagsList) Copy() elemental.Identifiables

Copy returns a pointer to a copy the TagsList.

func (TagsList) DefaultOrder

func (o TagsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TagsList) Identity

func (o TagsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TagsList) List

List converts the object to an elemental.IdentifiablesList.

func (TagsList) ToSparse

func (o TagsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TagsList converted to SparseTagsList. Objects in the list will only contain the given fields. No field means entire field set.

func (TagsList) Version

func (o TagsList) Version() int

Version returns the version of the content.

type Tenant added in v1.94.1

type Tenant struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// The external ID of the tenant.
	ExternalID string `json:"externalID" msgpack:"externalID" bson:"-" mapstructure:"externalID,omitempty"`

	// The name of the tenant.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Tenant represents the model of a tenant

func NewTenant added in v1.94.1

func NewTenant() *Tenant

NewTenant returns a new *Tenant

func (*Tenant) AttributeSpecifications added in v1.94.1

func (*Tenant) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Tenant) BleveType added in v1.94.1

func (o *Tenant) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Tenant) DeepCopy added in v1.94.1

func (o *Tenant) DeepCopy() *Tenant

DeepCopy returns a deep copy if the Tenant.

func (*Tenant) DeepCopyInto added in v1.94.1

func (o *Tenant) DeepCopyInto(out *Tenant)

DeepCopyInto copies the receiver into the given *Tenant.

func (*Tenant) DefaultOrder added in v1.94.1

func (o *Tenant) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Tenant) Doc added in v1.94.1

func (o *Tenant) Doc() string

Doc returns the documentation for the object

func (*Tenant) GetBSON added in v1.94.1

func (o *Tenant) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Tenant) Identifier added in v1.94.1

func (o *Tenant) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Tenant) Identity added in v1.94.1

func (o *Tenant) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Tenant) Patch added in v1.94.1

func (o *Tenant) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTenant to the object.

func (*Tenant) SetBSON added in v1.94.1

func (o *Tenant) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Tenant) SetIdentifier added in v1.94.1

func (o *Tenant) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Tenant) SpecificationForAttribute added in v1.94.1

func (*Tenant) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Tenant) String added in v1.94.1

func (o *Tenant) String() string

func (*Tenant) ToSparse added in v1.94.1

func (o *Tenant) 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 (*Tenant) Validate added in v1.94.1

func (o *Tenant) Validate() error

Validate valides the current information stored into the structure.

func (*Tenant) ValueForAttribute added in v1.94.1

func (o *Tenant) ValueForAttribute(name string) interface{}

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 (*Tenant) Version added in v1.94.1

func (o *Tenant) Version() int

Version returns the hardcoded version of the model.

type TenantsList added in v1.94.1

type TenantsList []*Tenant

TenantsList represents a list of Tenants

func (TenantsList) Append added in v1.94.1

Append appends the objects to the a new copy of the TenantsList.

func (TenantsList) Copy added in v1.94.1

Copy returns a pointer to a copy the TenantsList.

func (TenantsList) DefaultOrder added in v1.94.1

func (o TenantsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TenantsList) Identity added in v1.94.1

func (o TenantsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TenantsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (TenantsList) ToSparse added in v1.94.1

func (o TenantsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TenantsList converted to SparseTenantsList. Objects in the list will only contain the given fields. No field means entire field set.

func (TenantsList) Version added in v1.94.1

func (o TenantsList) Version() int

Version returns the version of the content.

type TextIndex added in v1.94.1

type TextIndex struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// raw text data that are indexed.
	Data string `json:"-" msgpack:"-" bson:"data" mapstructure:"-,omitempty"`

	// Date of the last indexing.
	Date time.Time `json:"-" msgpack:"-" bson:"date" mapstructure:"-,omitempty"`

	// Contains the ID of the match.
	ObjectID string `json:"-" msgpack:"-" bson:"objectid" mapstructure:"-,omitempty"`

	// Contains the identity of the match.
	ObjectIdentity string `json:"-" msgpack:"-" bson:"objectidentity" mapstructure:"-,omitempty"`

	// Contains the namespace of the match.
	ObjectNamespace string `json:"-" msgpack:"-" bson:"objectnamespace" mapstructure:"-,omitempty"`

	// Contains a match score.
	Score float64 `json:"-" msgpack:"-" bson:"score" mapstructure:"-,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TextIndex represents the model of a textindex

func NewTextIndex added in v1.94.1

func NewTextIndex() *TextIndex

NewTextIndex returns a new *TextIndex

func (*TextIndex) AttributeSpecifications added in v1.94.1

func (*TextIndex) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*TextIndex) BleveType added in v1.94.1

func (o *TextIndex) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TextIndex) DeepCopy added in v1.94.1

func (o *TextIndex) DeepCopy() *TextIndex

DeepCopy returns a deep copy if the TextIndex.

func (*TextIndex) DeepCopyInto added in v1.94.1

func (o *TextIndex) DeepCopyInto(out *TextIndex)

DeepCopyInto copies the receiver into the given *TextIndex.

func (*TextIndex) DefaultOrder added in v1.94.1

func (o *TextIndex) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*TextIndex) Doc added in v1.94.1

func (o *TextIndex) Doc() string

Doc returns the documentation for the object

func (*TextIndex) GetBSON added in v1.94.1

func (o *TextIndex) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TextIndex) GetZHash added in v1.94.1

func (o *TextIndex) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*TextIndex) GetZone added in v1.94.1

func (o *TextIndex) GetZone() int

GetZone returns the Zone of the receiver.

func (*TextIndex) Identifier added in v1.94.1

func (o *TextIndex) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*TextIndex) Identity added in v1.94.1

func (o *TextIndex) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*TextIndex) Patch added in v1.94.1

func (o *TextIndex) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTextIndex to the object.

func (*TextIndex) SetBSON added in v1.94.1

func (o *TextIndex) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TextIndex) SetIdentifier added in v1.94.1

func (o *TextIndex) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*TextIndex) SetZHash added in v1.94.1

func (o *TextIndex) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*TextIndex) SetZone added in v1.94.1

func (o *TextIndex) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*TextIndex) SpecificationForAttribute added in v1.94.1

func (*TextIndex) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*TextIndex) String added in v1.94.1

func (o *TextIndex) String() string

func (*TextIndex) ToSparse added in v1.94.1

func (o *TextIndex) 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 (*TextIndex) Validate added in v1.94.1

func (o *TextIndex) Validate() error

Validate valides the current information stored into the structure.

func (*TextIndex) ValueForAttribute added in v1.94.1

func (o *TextIndex) ValueForAttribute(name string) interface{}

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 (*TextIndex) Version added in v1.94.1

func (o *TextIndex) Version() int

Version returns the hardcoded version of the model.

type TextIndexsList added in v1.94.1

type TextIndexsList []*TextIndex

TextIndexsList represents a list of TextIndexs

func (TextIndexsList) Append added in v1.94.1

Append appends the objects to the a new copy of the TextIndexsList.

func (TextIndexsList) Copy added in v1.94.1

Copy returns a pointer to a copy the TextIndexsList.

func (TextIndexsList) DefaultOrder added in v1.94.1

func (o TextIndexsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TextIndexsList) Identity added in v1.94.1

func (o TextIndexsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TextIndexsList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (TextIndexsList) ToSparse added in v1.94.1

func (o TextIndexsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TextIndexsList converted to SparseTextIndexsList. Objects in the list will only contain the given fields. No field means entire field set.

func (TextIndexsList) Version added in v1.94.1

func (o TextIndexsList) Version() int

Version returns the version of the content.

type TimeSeriesQueryResults

type TimeSeriesQueryResults struct {
	// List of rows.
	Rows []*TimeSeriesRow `json:"rows" msgpack:"rows" bson:"-" mapstructure:"rows,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TimeSeriesQueryResults represents the model of a timeseriesqueryresults

func NewTimeSeriesQueryResults

func NewTimeSeriesQueryResults() *TimeSeriesQueryResults

NewTimeSeriesQueryResults returns a new *TimeSeriesQueryResults

func (*TimeSeriesQueryResults) BleveType added in v1.1.0

func (o *TimeSeriesQueryResults) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TimeSeriesQueryResults) DeepCopy

DeepCopy returns a deep copy if the TimeSeriesQueryResults.

func (*TimeSeriesQueryResults) DeepCopyInto

func (o *TimeSeriesQueryResults) DeepCopyInto(out *TimeSeriesQueryResults)

DeepCopyInto copies the receiver into the given *TimeSeriesQueryResults.

func (*TimeSeriesQueryResults) GetBSON added in v1.80.0

func (o *TimeSeriesQueryResults) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TimeSeriesQueryResults) SetBSON added in v1.80.0

func (o *TimeSeriesQueryResults) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TimeSeriesQueryResults) Validate

func (o *TimeSeriesQueryResults) Validate() error

Validate valides the current information stored into the structure.

type TimeSeriesRow

type TimeSeriesRow struct {
	// Columns of the row.
	Columns []string `json:"columns" msgpack:"columns" bson:"-" mapstructure:"columns,omitempty"`

	// Name of the row.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// List of tags.
	Tags map[string]string `json:"tags" msgpack:"tags" bson:"-" mapstructure:"tags,omitempty"`

	// List of tags.
	Values [][]interface{} `json:"values" msgpack:"values" bson:"-" mapstructure:"values,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TimeSeriesRow represents the model of a timeseriesrow

func NewTimeSeriesRow

func NewTimeSeriesRow() *TimeSeriesRow

NewTimeSeriesRow returns a new *TimeSeriesRow

func (*TimeSeriesRow) BleveType added in v1.1.0

func (o *TimeSeriesRow) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TimeSeriesRow) DeepCopy

func (o *TimeSeriesRow) DeepCopy() *TimeSeriesRow

DeepCopy returns a deep copy if the TimeSeriesRow.

func (*TimeSeriesRow) DeepCopyInto

func (o *TimeSeriesRow) DeepCopyInto(out *TimeSeriesRow)

DeepCopyInto copies the receiver into the given *TimeSeriesRow.

func (*TimeSeriesRow) GetBSON added in v1.80.0

func (o *TimeSeriesRow) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TimeSeriesRow) SetBSON added in v1.80.0

func (o *TimeSeriesRow) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TimeSeriesRow) Validate

func (o *TimeSeriesRow) Validate() error

Validate valides the current information stored into the structure.

type Token

type Token struct {
	// Certificate contains the client certificate to use to create a token.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// SigningKeyID holds the ID of the custom CA to use to sign the token.
	SigningKeyID string `json:"signingKeyID" msgpack:"signingKeyID" bson:"signingkeyid" mapstructure:"signingKeyID,omitempty"`

	// Tags includes a list of tags that must be added to the token.
	Tags []string `json:"tags" msgpack:"tags" bson:"-" mapstructure:"tags,omitempty"`

	// Token contains the generated token.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,omitempty"`

	// Validity contains the token validity duration.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Token represents the model of a token

func NewToken

func NewToken() *Token

NewToken returns a new *Token

func (*Token) AttributeSpecifications

func (*Token) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Token) BleveType added in v1.1.0

func (o *Token) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Token) DeepCopy

func (o *Token) DeepCopy() *Token

DeepCopy returns a deep copy if the Token.

func (*Token) DeepCopyInto

func (o *Token) DeepCopyInto(out *Token)

DeepCopyInto copies the receiver into the given *Token.

func (*Token) DefaultOrder

func (o *Token) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Token) Doc

func (o *Token) Doc() string

Doc returns the documentation for the object

func (*Token) GetBSON added in v1.80.0

func (o *Token) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Token) Identifier

func (o *Token) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Token) Identity

func (o *Token) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Token) Patch

func (o *Token) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseToken to the object.

func (*Token) SetBSON added in v1.80.0

func (o *Token) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Token) SetIdentifier

func (o *Token) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Token) SpecificationForAttribute

func (*Token) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Token) String

func (o *Token) String() string

func (*Token) ToSparse

func (o *Token) 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 (*Token) Validate

func (o *Token) Validate() error

Validate valides the current information stored into the structure.

func (*Token) ValueForAttribute

func (o *Token) ValueForAttribute(name string) interface{}

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 (*Token) Version

func (o *Token) Version() int

Version returns the hardcoded version of the model.

type TokenScopePoliciesList

type TokenScopePoliciesList []*TokenScopePolicy

TokenScopePoliciesList represents a list of TokenScopePolicies

func (TokenScopePoliciesList) Append

Append appends the objects to the a new copy of the TokenScopePoliciesList.

func (TokenScopePoliciesList) Copy

Copy returns a pointer to a copy the TokenScopePoliciesList.

func (TokenScopePoliciesList) DefaultOrder

func (o TokenScopePoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TokenScopePoliciesList) Identity

Identity returns the identity of the objects in the list.

func (TokenScopePoliciesList) List

List converts the object to an elemental.IdentifiablesList.

func (TokenScopePoliciesList) ToSparse

func (o TokenScopePoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TokenScopePoliciesList converted to SparseTokenScopePoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (TokenScopePoliciesList) Version

func (o TokenScopePoliciesList) Version() int

Version returns the version of the content.

type TokenScopePolicy

type TokenScopePolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// A list of audience values that are allowed when issuing a service token. An
	// empty list will allow any audience values.
	AllowedAudiences []string `json:"allowedAudiences" msgpack:"allowedAudiences" bson:"allowedaudiences" mapstructure:"allowedAudiences,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// The audience that should be assigned to a request if the caller is not
	// requesting any specific audience.
	AssignedAudience string `json:"assignedAudience" msgpack:"assignedAudience" bson:"assignedaudience" mapstructure:"assignedAudience,omitempty"`

	// The list of scopes that the policy will assign.
	AssignedScopes []string `json:"assignedScopes" msgpack:"assignedScopes" bson:"assignedscopes" mapstructure:"assignedScopes,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Indicates that this is fallback policy. It will only be
	// applied if no other policies have been resolved. If the policy is also
	// propagated it will become a fallback for children namespaces.
	Fallback bool `json:"fallback" msgpack:"fallback" bson:"fallback" mapstructure:"fallback,omitempty"`

	// A list of claim keys that should be inherited from the claims of the caller to
	// the assigned token. In this case, some of the caller claims will be propagated
	// to resolved token.
	InheritedClaimKeys []string `json:"inheritedClaimKeys" msgpack:"inheritedClaimKeys" bson:"inheritedclaimkeys" mapstructure:"inheritedClaimKeys,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Defines the selection criteria that this policy must match on identity
	// and scope request information.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TokenScopePolicy represents the model of a tokenscopepolicy

func NewTokenScopePolicy

func NewTokenScopePolicy() *TokenScopePolicy

NewTokenScopePolicy returns a new *TokenScopePolicy

func (*TokenScopePolicy) AttributeSpecifications

func (*TokenScopePolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*TokenScopePolicy) BleveType added in v1.1.0

func (o *TokenScopePolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TokenScopePolicy) DeepCopy

func (o *TokenScopePolicy) DeepCopy() *TokenScopePolicy

DeepCopy returns a deep copy if the TokenScopePolicy.

func (*TokenScopePolicy) DeepCopyInto

func (o *TokenScopePolicy) DeepCopyInto(out *TokenScopePolicy)

DeepCopyInto copies the receiver into the given *TokenScopePolicy.

func (*TokenScopePolicy) DefaultOrder

func (o *TokenScopePolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*TokenScopePolicy) Doc

func (o *TokenScopePolicy) Doc() string

Doc returns the documentation for the object

func (*TokenScopePolicy) GetActiveDuration

func (o *TokenScopePolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*TokenScopePolicy) GetActiveSchedule

func (o *TokenScopePolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*TokenScopePolicy) GetAnnotations

func (o *TokenScopePolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*TokenScopePolicy) GetAssociatedTags

func (o *TokenScopePolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*TokenScopePolicy) GetBSON added in v1.80.0

func (o *TokenScopePolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TokenScopePolicy) GetCreateIdempotencyKey

func (o *TokenScopePolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*TokenScopePolicy) GetCreateTime

func (o *TokenScopePolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*TokenScopePolicy) GetDescription

func (o *TokenScopePolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*TokenScopePolicy) GetDisabled

func (o *TokenScopePolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*TokenScopePolicy) GetExpirationTime

func (o *TokenScopePolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*TokenScopePolicy) GetFallback

func (o *TokenScopePolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*TokenScopePolicy) GetMetadata

func (o *TokenScopePolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*TokenScopePolicy) GetName

func (o *TokenScopePolicy) GetName() string

GetName returns the Name of the receiver.

func (*TokenScopePolicy) GetNamespace

func (o *TokenScopePolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*TokenScopePolicy) GetNormalizedTags

func (o *TokenScopePolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*TokenScopePolicy) GetPropagate

func (o *TokenScopePolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*TokenScopePolicy) GetProtected

func (o *TokenScopePolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*TokenScopePolicy) GetUpdateIdempotencyKey

func (o *TokenScopePolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*TokenScopePolicy) GetUpdateTime

func (o *TokenScopePolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*TokenScopePolicy) Identifier

func (o *TokenScopePolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*TokenScopePolicy) Identity

func (o *TokenScopePolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*TokenScopePolicy) Patch

Patch apply the non nil value of a *SparseTokenScopePolicy to the object.

func (*TokenScopePolicy) SetActiveDuration

func (o *TokenScopePolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*TokenScopePolicy) SetActiveSchedule

func (o *TokenScopePolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*TokenScopePolicy) SetAnnotations

func (o *TokenScopePolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*TokenScopePolicy) SetAssociatedTags

func (o *TokenScopePolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*TokenScopePolicy) SetBSON added in v1.80.0

func (o *TokenScopePolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TokenScopePolicy) SetCreateIdempotencyKey

func (o *TokenScopePolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*TokenScopePolicy) SetCreateTime

func (o *TokenScopePolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*TokenScopePolicy) SetDescription

func (o *TokenScopePolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*TokenScopePolicy) SetDisabled

func (o *TokenScopePolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*TokenScopePolicy) SetExpirationTime

func (o *TokenScopePolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*TokenScopePolicy) SetFallback

func (o *TokenScopePolicy) SetFallback(fallback bool)

SetFallback sets the property Fallback of the receiver using the given value.

func (*TokenScopePolicy) SetIdentifier

func (o *TokenScopePolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*TokenScopePolicy) SetMetadata

func (o *TokenScopePolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*TokenScopePolicy) SetName

func (o *TokenScopePolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*TokenScopePolicy) SetNamespace

func (o *TokenScopePolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*TokenScopePolicy) SetNormalizedTags

func (o *TokenScopePolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*TokenScopePolicy) SetPropagate

func (o *TokenScopePolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*TokenScopePolicy) SetProtected

func (o *TokenScopePolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*TokenScopePolicy) SetUpdateIdempotencyKey

func (o *TokenScopePolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*TokenScopePolicy) SetUpdateTime

func (o *TokenScopePolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*TokenScopePolicy) SpecificationForAttribute

func (*TokenScopePolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*TokenScopePolicy) String

func (o *TokenScopePolicy) String() string

func (*TokenScopePolicy) ToSparse

func (o *TokenScopePolicy) 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 (*TokenScopePolicy) Validate

func (o *TokenScopePolicy) Validate() error

Validate valides the current information stored into the structure.

func (*TokenScopePolicy) ValueForAttribute

func (o *TokenScopePolicy) ValueForAttribute(name string) interface{}

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 (*TokenScopePolicy) Version

func (o *TokenScopePolicy) Version() int

Version returns the hardcoded version of the model.

type TokensList

type TokensList []*Token

TokensList represents a list of Tokens

func (TokensList) Append

Append appends the objects to the a new copy of the TokensList.

func (TokensList) Copy

Copy returns a pointer to a copy the TokensList.

func (TokensList) DefaultOrder

func (o TokensList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TokensList) Identity

func (o TokensList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TokensList) List

List converts the object to an elemental.IdentifiablesList.

func (TokensList) ToSparse

func (o TokensList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TokensList converted to SparseTokensList. Objects in the list will only contain the given fields. No field means entire field set.

func (TokensList) Version

func (o TokensList) Version() int

Version returns the version of the content.

type TraceMode

type TraceMode struct {
	// Instructs the enforcers to provide an iptables trace for a processing unit.
	IPTables bool `json:"IPTables" msgpack:"IPTables" bson:"iptables" mapstructure:"IPTables,omitempty"`

	// Instructs the enforcer to send records for all
	// application-initiated connections.
	ApplicationConnections bool `` /* 140-byte string literal not displayed */

	// Determines the length of the time interval that the trace must be
	// enabled, using [Golang duration
	// syntax](https://golang.org/pkg/time/#example_Duration).
	Interval string `json:"interval" msgpack:"interval" bson:"interval" mapstructure:"interval,omitempty"`

	// Instructs the enforcer to send records for all
	// network-initiated connections.
	NetworkConnections bool `json:"networkConnections" msgpack:"networkConnections" bson:"networkconnections" mapstructure:"networkConnections,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TraceMode represents the model of a tracemode

func NewTraceMode

func NewTraceMode() *TraceMode

NewTraceMode returns a new *TraceMode

func (*TraceMode) BleveType added in v1.1.0

func (o *TraceMode) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TraceMode) DeepCopy

func (o *TraceMode) DeepCopy() *TraceMode

DeepCopy returns a deep copy if the TraceMode.

func (*TraceMode) DeepCopyInto

func (o *TraceMode) DeepCopyInto(out *TraceMode)

DeepCopyInto copies the receiver into the given *TraceMode.

func (*TraceMode) GetBSON added in v1.80.0

func (o *TraceMode) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TraceMode) SetBSON added in v1.80.0

func (o *TraceMode) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TraceMode) Validate

func (o *TraceMode) Validate() error

Validate valides the current information stored into the structure.

type TraceRecord

type TraceRecord struct {
	// The time to live (TTL) value of the packet.
	TTL int `json:"TTL" msgpack:"TTL" bson:"ttl" mapstructure:"TTL,omitempty"`

	// Chain that the trace was collected from.
	Chain string `json:"chain" msgpack:"chain" bson:"chain" mapstructure:"chain,omitempty"`

	// The destination IP.
	DestinationIP string `json:"destinationIP" msgpack:"destinationIP" bson:"destinationip" mapstructure:"destinationIP,omitempty"`

	// The destination interface of the packet.
	DestinationInterface string `` /* 132-byte string literal not displayed */

	// The destination UPD or TCP port of the packet.
	DestinationPort int `json:"destinationPort" msgpack:"destinationPort" bson:"destinationport" mapstructure:"destinationPort,omitempty"`

	// Length of the observed packet.
	Length int `json:"length" msgpack:"length" bson:"length" mapstructure:"length,omitempty"`

	// The IP packet header ID.
	PacketID int `json:"packetID" msgpack:"packetID" bson:"packetid" mapstructure:"packetID,omitempty"`

	// The protocol of the packet.
	Protocol int `json:"protocol" msgpack:"protocol" bson:"protocol" mapstructure:"protocol,omitempty"`

	// Priority index of the iptables entry that was hit.
	RuleID int `json:"ruleID" msgpack:"ruleID" bson:"ruleid" mapstructure:"ruleID,omitempty"`

	// Source IP of the packet.
	SourceIP string `json:"sourceIP" msgpack:"sourceIP" bson:"sourceip" mapstructure:"sourceIP,omitempty"`

	// Source interface of the packet.
	SourceInterface string `json:"sourceInterface" msgpack:"sourceInterface" bson:"sourceinterface" mapstructure:"sourceInterface,omitempty"`

	// Source TCP or UDP port of the packet.
	SourcePort int `json:"sourcePort" msgpack:"sourcePort" bson:"sourceport" mapstructure:"sourcePort,omitempty"`

	// The iptables name that the trace collected.
	TableName string `json:"tableName" msgpack:"tableName" bson:"tablename" mapstructure:"tableName,omitempty"`

	// The time-date stamp of the report.
	Timestamp time.Time `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TraceRecord represents the model of a tracerecord

func NewTraceRecord

func NewTraceRecord() *TraceRecord

NewTraceRecord returns a new *TraceRecord

func (*TraceRecord) BleveType added in v1.1.0

func (o *TraceRecord) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TraceRecord) DeepCopy

func (o *TraceRecord) DeepCopy() *TraceRecord

DeepCopy returns a deep copy if the TraceRecord.

func (*TraceRecord) DeepCopyInto

func (o *TraceRecord) DeepCopyInto(out *TraceRecord)

DeepCopyInto copies the receiver into the given *TraceRecord.

func (*TraceRecord) GetBSON added in v1.80.0

func (o *TraceRecord) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TraceRecord) SetBSON added in v1.80.0

func (o *TraceRecord) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TraceRecord) Validate

func (o *TraceRecord) Validate() error

Validate valides the current information stored into the structure.

type Trigger

type Trigger struct {
	// Contains the remote `POST` payload.
	Payload string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Trigger represents the model of a trigger

func NewTrigger

func NewTrigger() *Trigger

NewTrigger returns a new *Trigger

func (*Trigger) AttributeSpecifications

func (*Trigger) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Trigger) BleveType added in v1.1.0

func (o *Trigger) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Trigger) DeepCopy

func (o *Trigger) DeepCopy() *Trigger

DeepCopy returns a deep copy if the Trigger.

func (*Trigger) DeepCopyInto

func (o *Trigger) DeepCopyInto(out *Trigger)

DeepCopyInto copies the receiver into the given *Trigger.

func (*Trigger) DefaultOrder

func (o *Trigger) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Trigger) Doc

func (o *Trigger) Doc() string

Doc returns the documentation for the object

func (*Trigger) GetBSON added in v1.80.0

func (o *Trigger) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Trigger) Identifier

func (o *Trigger) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Trigger) Identity

func (o *Trigger) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Trigger) Patch

func (o *Trigger) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTrigger to the object.

func (*Trigger) SetBSON added in v1.80.0

func (o *Trigger) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Trigger) SetIdentifier

func (o *Trigger) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Trigger) SpecificationForAttribute

func (*Trigger) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Trigger) String

func (o *Trigger) String() string

func (*Trigger) ToSparse

func (o *Trigger) 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 (*Trigger) Validate

func (o *Trigger) Validate() error

Validate valides the current information stored into the structure.

func (*Trigger) ValueForAttribute

func (o *Trigger) ValueForAttribute(name string) interface{}

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 (*Trigger) Version

func (o *Trigger) Version() int

Version returns the hardcoded version of the model.

type TriggersList

type TriggersList []*Trigger

TriggersList represents a list of Triggers

func (TriggersList) Append

Append appends the objects to the a new copy of the TriggersList.

func (TriggersList) Copy

Copy returns a pointer to a copy the TriggersList.

func (TriggersList) DefaultOrder

func (o TriggersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TriggersList) Identity

func (o TriggersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TriggersList) List

List converts the object to an elemental.IdentifiablesList.

func (TriggersList) ToSparse

func (o TriggersList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TriggersList converted to SparseTriggersList. Objects in the list will only contain the given fields. No field means entire field set.

func (TriggersList) Version

func (o TriggersList) Version() int

Version returns the version of the content.

type TrustedCA added in v1.1.0

type TrustedCA struct {
	// The private certificate of the corresponding type associated with this
	// namespace.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// The controller that this certificate or CA was issued from.
	Controller string `json:"controller,omitempty" msgpack:"controller,omitempty" bson:"-" mapstructure:"controller,omitempty"`

	// The namespace that this certificate or CA was defined at.
	Namespace string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// The ID of namespace that this certificate or CA was defined at.
	NamespaceID string `json:"namespaceID,omitempty" msgpack:"namespaceID,omitempty" bson:"-" mapstructure:"namespaceID,omitempty"`

	// SerialNumber is the serial number of the certificate.
	Serialnumber string `json:"serialnumber,omitempty" msgpack:"serialnumber,omitempty" bson:"-" mapstructure:"serialnumber,omitempty"`

	// Type of the certificate.
	Type TrustedCATypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TrustedCA represents the model of a trustedca

func NewTrustedCA added in v1.1.0

func NewTrustedCA() *TrustedCA

NewTrustedCA returns a new *TrustedCA

func (*TrustedCA) AttributeSpecifications added in v1.1.0

func (*TrustedCA) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*TrustedCA) BleveType added in v1.1.0

func (o *TrustedCA) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TrustedCA) DeepCopy added in v1.1.0

func (o *TrustedCA) DeepCopy() *TrustedCA

DeepCopy returns a deep copy if the TrustedCA.

func (*TrustedCA) DeepCopyInto added in v1.1.0

func (o *TrustedCA) DeepCopyInto(out *TrustedCA)

DeepCopyInto copies the receiver into the given *TrustedCA.

func (*TrustedCA) DefaultOrder added in v1.1.0

func (o *TrustedCA) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*TrustedCA) Doc added in v1.1.0

func (o *TrustedCA) Doc() string

Doc returns the documentation for the object

func (*TrustedCA) GetBSON added in v1.80.0

func (o *TrustedCA) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TrustedCA) Identifier added in v1.1.0

func (o *TrustedCA) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*TrustedCA) Identity added in v1.1.0

func (o *TrustedCA) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*TrustedCA) Patch added in v1.1.0

func (o *TrustedCA) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseTrustedCA to the object.

func (*TrustedCA) SetBSON added in v1.80.0

func (o *TrustedCA) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TrustedCA) SetIdentifier added in v1.1.0

func (o *TrustedCA) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*TrustedCA) SpecificationForAttribute added in v1.1.0

func (*TrustedCA) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*TrustedCA) String added in v1.1.0

func (o *TrustedCA) String() string

func (*TrustedCA) ToSparse added in v1.1.0

func (o *TrustedCA) 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 (*TrustedCA) Validate added in v1.1.0

func (o *TrustedCA) Validate() error

Validate valides the current information stored into the structure.

func (*TrustedCA) ValueForAttribute added in v1.1.0

func (o *TrustedCA) ValueForAttribute(name string) interface{}

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 (*TrustedCA) Version added in v1.1.0

func (o *TrustedCA) Version() int

Version returns the hardcoded version of the model.

type TrustedCATypeValue added in v1.1.0

type TrustedCATypeValue string

TrustedCATypeValue represents the possible values for attribute "type".

const (
	// TrustedCATypeJWT represents the value JWT.
	TrustedCATypeJWT TrustedCATypeValue = "JWT"

	// TrustedCATypeSSH represents the value SSH.
	TrustedCATypeSSH TrustedCATypeValue = "SSH"

	// TrustedCATypeX509 represents the value X509.
	TrustedCATypeX509 TrustedCATypeValue = "X509"
)

type TrustedCAsList added in v1.1.0

type TrustedCAsList []*TrustedCA

TrustedCAsList represents a list of TrustedCAs

func (TrustedCAsList) Append added in v1.1.0

Append appends the objects to the a new copy of the TrustedCAsList.

func (TrustedCAsList) Copy added in v1.1.0

Copy returns a pointer to a copy the TrustedCAsList.

func (TrustedCAsList) DefaultOrder added in v1.1.0

func (o TrustedCAsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TrustedCAsList) Identity added in v1.1.0

func (o TrustedCAsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TrustedCAsList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (TrustedCAsList) ToSparse added in v1.1.0

func (o TrustedCAsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TrustedCAsList converted to SparseTrustedCAsList. Objects in the list will only contain the given fields. No field means entire field set.

func (TrustedCAsList) Version added in v1.1.0

func (o TrustedCAsList) Version() int

Version returns the version of the content.

type TrustedNamespace added in v1.94.1

type TrustedNamespace struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// Contains the PEM block of the certificate authority trusted namespace.
	CertificateAuthority string `` /* 132-byte string literal not displayed */

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the object to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// The controller declared in the certificate authority.
	RemoteController string `json:"remoteController" msgpack:"remoteController" bson:"remotecontroller" mapstructure:"remoteController,omitempty"`

	// The namespace declared in the certificate authority.
	RemoteNamespace string `json:"remoteNamespace" msgpack:"remoteNamespace" bson:"remotenamespace" mapstructure:"remoteNamespace,omitempty"`

	// The serial number of the CA.
	SerialNumber string `json:"serialNumber" msgpack:"serialNumber" bson:"serialnumber" mapstructure:"serialNumber,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

TrustedNamespace represents the model of a trustednamespace

func NewTrustedNamespace added in v1.94.1

func NewTrustedNamespace() *TrustedNamespace

NewTrustedNamespace returns a new *TrustedNamespace

func (*TrustedNamespace) AttributeSpecifications added in v1.94.1

func (*TrustedNamespace) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*TrustedNamespace) BleveType added in v1.94.1

func (o *TrustedNamespace) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*TrustedNamespace) DeepCopy added in v1.94.1

func (o *TrustedNamespace) DeepCopy() *TrustedNamespace

DeepCopy returns a deep copy if the TrustedNamespace.

func (*TrustedNamespace) DeepCopyInto added in v1.94.1

func (o *TrustedNamespace) DeepCopyInto(out *TrustedNamespace)

DeepCopyInto copies the receiver into the given *TrustedNamespace.

func (*TrustedNamespace) DefaultOrder added in v1.94.1

func (o *TrustedNamespace) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*TrustedNamespace) Doc added in v1.94.1

func (o *TrustedNamespace) Doc() string

Doc returns the documentation for the object

func (*TrustedNamespace) GetAnnotations added in v1.94.1

func (o *TrustedNamespace) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*TrustedNamespace) GetAssociatedTags added in v1.94.1

func (o *TrustedNamespace) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*TrustedNamespace) GetBSON added in v1.94.1

func (o *TrustedNamespace) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TrustedNamespace) GetCreateIdempotencyKey added in v1.94.1

func (o *TrustedNamespace) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*TrustedNamespace) GetCreateTime added in v1.94.1

func (o *TrustedNamespace) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*TrustedNamespace) GetMigrationsLog added in v1.94.1

func (o *TrustedNamespace) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*TrustedNamespace) GetName added in v1.94.1

func (o *TrustedNamespace) GetName() string

GetName returns the Name of the receiver.

func (*TrustedNamespace) GetNamespace added in v1.94.1

func (o *TrustedNamespace) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*TrustedNamespace) GetNormalizedTags added in v1.94.1

func (o *TrustedNamespace) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*TrustedNamespace) GetPropagate added in v1.94.1

func (o *TrustedNamespace) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*TrustedNamespace) GetProtected added in v1.94.1

func (o *TrustedNamespace) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*TrustedNamespace) GetUpdateIdempotencyKey added in v1.94.1

func (o *TrustedNamespace) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*TrustedNamespace) GetUpdateTime added in v1.94.1

func (o *TrustedNamespace) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*TrustedNamespace) GetZHash added in v1.94.1

func (o *TrustedNamespace) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*TrustedNamespace) GetZone added in v1.94.1

func (o *TrustedNamespace) GetZone() int

GetZone returns the Zone of the receiver.

func (*TrustedNamespace) Identifier added in v1.94.1

func (o *TrustedNamespace) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*TrustedNamespace) Identity added in v1.94.1

func (o *TrustedNamespace) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*TrustedNamespace) Patch added in v1.94.1

Patch apply the non nil value of a *SparseTrustedNamespace to the object.

func (*TrustedNamespace) SetAnnotations added in v1.94.1

func (o *TrustedNamespace) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*TrustedNamespace) SetAssociatedTags added in v1.94.1

func (o *TrustedNamespace) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*TrustedNamespace) SetBSON added in v1.94.1

func (o *TrustedNamespace) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*TrustedNamespace) SetCreateIdempotencyKey added in v1.94.1

func (o *TrustedNamespace) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*TrustedNamespace) SetCreateTime added in v1.94.1

func (o *TrustedNamespace) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*TrustedNamespace) SetIdentifier added in v1.94.1

func (o *TrustedNamespace) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*TrustedNamespace) SetMigrationsLog added in v1.94.1

func (o *TrustedNamespace) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*TrustedNamespace) SetName added in v1.94.1

func (o *TrustedNamespace) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*TrustedNamespace) SetNamespace added in v1.94.1

func (o *TrustedNamespace) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*TrustedNamespace) SetNormalizedTags added in v1.94.1

func (o *TrustedNamespace) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*TrustedNamespace) SetPropagate added in v1.94.1

func (o *TrustedNamespace) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*TrustedNamespace) SetProtected added in v1.94.1

func (o *TrustedNamespace) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*TrustedNamespace) SetUpdateIdempotencyKey added in v1.94.1

func (o *TrustedNamespace) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*TrustedNamespace) SetUpdateTime added in v1.94.1

func (o *TrustedNamespace) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*TrustedNamespace) SetZHash added in v1.94.1

func (o *TrustedNamespace) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*TrustedNamespace) SetZone added in v1.94.1

func (o *TrustedNamespace) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*TrustedNamespace) SpecificationForAttribute added in v1.94.1

func (*TrustedNamespace) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*TrustedNamespace) String added in v1.94.1

func (o *TrustedNamespace) String() string

func (*TrustedNamespace) ToSparse added in v1.94.1

func (o *TrustedNamespace) 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 (*TrustedNamespace) Validate added in v1.94.1

func (o *TrustedNamespace) Validate() error

Validate valides the current information stored into the structure.

func (*TrustedNamespace) ValueForAttribute added in v1.94.1

func (o *TrustedNamespace) ValueForAttribute(name string) interface{}

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 (*TrustedNamespace) Version added in v1.94.1

func (o *TrustedNamespace) Version() int

Version returns the hardcoded version of the model.

type TrustedNamespacesList added in v1.94.1

type TrustedNamespacesList []*TrustedNamespace

TrustedNamespacesList represents a list of TrustedNamespaces

func (TrustedNamespacesList) Append added in v1.94.1

Append appends the objects to the a new copy of the TrustedNamespacesList.

func (TrustedNamespacesList) Copy added in v1.94.1

Copy returns a pointer to a copy the TrustedNamespacesList.

func (TrustedNamespacesList) DefaultOrder added in v1.94.1

func (o TrustedNamespacesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TrustedNamespacesList) Identity added in v1.94.1

Identity returns the identity of the objects in the list.

func (TrustedNamespacesList) List added in v1.94.1

List converts the object to an elemental.IdentifiablesList.

func (TrustedNamespacesList) ToSparse added in v1.94.1

func (o TrustedNamespacesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the TrustedNamespacesList converted to SparseTrustedNamespacesList. Objects in the list will only contain the given fields. No field means entire field set.

func (TrustedNamespacesList) Version added in v1.94.1

func (o TrustedNamespacesList) Version() int

Version returns the version of the content.

type UIParameter added in v1.1.0

type UIParameter struct {
	// A value of `true` designates the parameter as advanced.
	Advanced bool `json:"advanced" msgpack:"advanced" bson:"advanced" mapstructure:"advanced,omitempty"`

	// Lists all the choices in case of an enum.
	AllowedChoices map[string]string `json:"allowedChoices" msgpack:"allowedChoices" bson:"allowedchoices" mapstructure:"allowedChoices,omitempty"`

	// List of values that can be used.
	AllowedValues []interface{} `json:"allowedValues" msgpack:"allowedValues" bson:"allowedvalues" mapstructure:"allowedValues,omitempty"`

	// Default value of the parameter.
	DefaultValue interface{} `json:"defaultValue" msgpack:"defaultValue" bson:"defaultvalue" mapstructure:"defaultValue,omitempty"`

	// Description of the parameter.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Key identifying the parameter.
	Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"`

	// Long explanation of the parameter.
	LongDescription string `json:"longDescription" msgpack:"longDescription" bson:"longdescription" mapstructure:"longDescription,omitempty"`

	// Name of the parameter.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// A value of `true` designates the parameter as optional.
	Optional bool `json:"optional" msgpack:"optional" bson:"optional" mapstructure:"optional,omitempty"`

	// The subtype of a list parameter.
	Subtype string `json:"subtype" msgpack:"subtype" bson:"subtype" mapstructure:"subtype,omitempty"`

	// The datatype of the parameter.
	Type UIParameterTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// A function that validates the parameter.
	ValidationFunction string `json:"validationFunction" msgpack:"validationFunction" bson:"validationfunction" mapstructure:"validationFunction,omitempty"`

	// Value of the parameter.
	Value interface{} `json:"value" msgpack:"value" bson:"value" mapstructure:"value,omitempty"`

	// A logical expression consisting of one or more
	// [UIParameterVisibility](#uiparametervisibility)
	// conditions linked together using AND or OR operators. If the expression
	// evaluates to true
	// the parameter is displayed to the user.
	VisibilityCondition [][]*UIParameterVisibility `` /* 128-byte string literal not displayed */

	// Width of the parameter.
	Width string `json:"width" msgpack:"width" bson:"width" mapstructure:"width,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

UIParameter represents the model of a uiparameter

func NewUIParameter added in v1.1.0

func NewUIParameter() *UIParameter

NewUIParameter returns a new *UIParameter

func (*UIParameter) BleveType added in v1.1.0

func (o *UIParameter) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*UIParameter) DeepCopy added in v1.1.0

func (o *UIParameter) DeepCopy() *UIParameter

DeepCopy returns a deep copy if the UIParameter.

func (*UIParameter) DeepCopyInto added in v1.1.0

func (o *UIParameter) DeepCopyInto(out *UIParameter)

DeepCopyInto copies the receiver into the given *UIParameter.

func (*UIParameter) GetBSON added in v1.80.0

func (o *UIParameter) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UIParameter) SetBSON added in v1.80.0

func (o *UIParameter) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UIParameter) Validate added in v1.1.0

func (o *UIParameter) Validate() error

Validate valides the current information stored into the structure.

type UIParameterTypeValue added in v1.1.0

type UIParameterTypeValue string

UIParameterTypeValue represents the possible values for attribute "type".

const (
	// UIParameterTypeBoolean represents the value Boolean.
	UIParameterTypeBoolean UIParameterTypeValue = "Boolean"

	// UIParameterTypeCVSSThreshold represents the value CVSSThreshold.
	UIParameterTypeCVSSThreshold UIParameterTypeValue = "CVSSThreshold"

	// UIParameterTypeCheckbox represents the value Checkbox.
	UIParameterTypeCheckbox UIParameterTypeValue = "Checkbox"

	// UIParameterTypeDangerMessage represents the value DangerMessage.
	UIParameterTypeDangerMessage UIParameterTypeValue = "DangerMessage"

	// UIParameterTypeDuration represents the value Duration.
	UIParameterTypeDuration UIParameterTypeValue = "Duration"

	// UIParameterTypeEndpoint represents the value Endpoint.
	UIParameterTypeEndpoint UIParameterTypeValue = "Endpoint"

	// UIParameterTypeEnum represents the value Enum.
	UIParameterTypeEnum UIParameterTypeValue = "Enum"

	// UIParameterTypeFileDrop represents the value FileDrop.
	UIParameterTypeFileDrop UIParameterTypeValue = "FileDrop"

	// UIParameterTypeFloat represents the value Float.
	UIParameterTypeFloat UIParameterTypeValue = "Float"

	// UIParameterTypeFloatSlice represents the value FloatSlice.
	UIParameterTypeFloatSlice UIParameterTypeValue = "FloatSlice"

	// UIParameterTypeInfoMessage represents the value InfoMessage.
	UIParameterTypeInfoMessage UIParameterTypeValue = "InfoMessage"

	// UIParameterTypeInteger represents the value Integer.
	UIParameterTypeInteger UIParameterTypeValue = "Integer"

	// UIParameterTypeIntegerSlice represents the value IntegerSlice.
	UIParameterTypeIntegerSlice UIParameterTypeValue = "IntegerSlice"

	// UIParameterTypeJSON represents the value JSON.
	UIParameterTypeJSON UIParameterTypeValue = "JSON"

	// UIParameterTypeList represents the value List.
	UIParameterTypeList UIParameterTypeValue = "List"

	// UIParameterTypeMessage represents the value Message.
	UIParameterTypeMessage UIParameterTypeValue = "Message"

	// UIParameterTypeNamespace represents the value Namespace.
	UIParameterTypeNamespace UIParameterTypeValue = "Namespace"

	// UIParameterTypePassword represents the value Password.
	UIParameterTypePassword UIParameterTypeValue = "Password"

	// UIParameterTypeString represents the value String.
	UIParameterTypeString UIParameterTypeValue = "String"

	// UIParameterTypeStringSlice represents the value StringSlice.
	UIParameterTypeStringSlice UIParameterTypeValue = "StringSlice"

	// UIParameterTypeSwitch represents the value Switch.
	UIParameterTypeSwitch UIParameterTypeValue = "Switch"

	// UIParameterTypeTagsExpression represents the value TagsExpression.
	UIParameterTypeTagsExpression UIParameterTypeValue = "TagsExpression"

	// UIParameterTypeTitle represents the value Title.
	UIParameterTypeTitle UIParameterTypeValue = "Title"

	// UIParameterTypeWarningMessage represents the value WarningMessage.
	UIParameterTypeWarningMessage UIParameterTypeValue = "WarningMessage"
)

type UIParameterVisibility added in v1.1.0

type UIParameterVisibility struct {
	// Key holding the value to compare.
	Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"`

	// Operator to apply.
	Operator UIParameterVisibilityOperatorValue `json:"operator" msgpack:"operator" bson:"operator" mapstructure:"operator,omitempty"`

	// Values that must match the key.
	Value interface{} `json:"value" msgpack:"value" bson:"value" mapstructure:"value,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

UIParameterVisibility represents the model of a uiparametervisibility

func NewUIParameterVisibility added in v1.1.0

func NewUIParameterVisibility() *UIParameterVisibility

NewUIParameterVisibility returns a new *UIParameterVisibility

func (*UIParameterVisibility) BleveType added in v1.1.0

func (o *UIParameterVisibility) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*UIParameterVisibility) DeepCopy added in v1.1.0

DeepCopy returns a deep copy if the UIParameterVisibility.

func (*UIParameterVisibility) DeepCopyInto added in v1.1.0

func (o *UIParameterVisibility) DeepCopyInto(out *UIParameterVisibility)

DeepCopyInto copies the receiver into the given *UIParameterVisibility.

func (*UIParameterVisibility) GetBSON added in v1.80.0

func (o *UIParameterVisibility) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UIParameterVisibility) SetBSON added in v1.80.0

func (o *UIParameterVisibility) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UIParameterVisibility) Validate added in v1.1.0

func (o *UIParameterVisibility) Validate() error

Validate valides the current information stored into the structure.

type UIParameterVisibilityOperatorValue added in v1.1.0

type UIParameterVisibilityOperatorValue string

UIParameterVisibilityOperatorValue represents the possible values for attribute "operator".

const (
	// UIParameterVisibilityOperatorDefined represents the value Defined.
	UIParameterVisibilityOperatorDefined UIParameterVisibilityOperatorValue = "Defined"

	// UIParameterVisibilityOperatorEqual represents the value Equal.
	UIParameterVisibilityOperatorEqual UIParameterVisibilityOperatorValue = "Equal"

	// UIParameterVisibilityOperatorGreaterThan represents the value GreaterThan.
	UIParameterVisibilityOperatorGreaterThan UIParameterVisibilityOperatorValue = "GreaterThan"

	// UIParameterVisibilityOperatorLesserThan represents the value LesserThan.
	UIParameterVisibilityOperatorLesserThan UIParameterVisibilityOperatorValue = "LesserThan"

	// UIParameterVisibilityOperatorMatch represents the value Match.
	UIParameterVisibilityOperatorMatch UIParameterVisibilityOperatorValue = "Match"

	// UIParameterVisibilityOperatorNotEqual represents the value NotEqual.
	UIParameterVisibilityOperatorNotEqual UIParameterVisibilityOperatorValue = "NotEqual"

	// UIParameterVisibilityOperatorNotMatch represents the value NotMatch.
	UIParameterVisibilityOperatorNotMatch UIParameterVisibilityOperatorValue = "NotMatch"

	// UIParameterVisibilityOperatorUndefined represents the value Undefined.
	UIParameterVisibilityOperatorUndefined UIParameterVisibilityOperatorValue = "Undefined"
)

type UIStep added in v1.1.0

type UIStep struct {
	// Defines if the step is an advanced one.
	Advanced bool `json:"advanced" msgpack:"advanced" bson:"advanced" mapstructure:"advanced,omitempty"`

	// Description of the step.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Name of the step.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// List of parameters for this step.
	Parameters []*UIParameter `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

UIStep represents the model of a uistep

func NewUIStep added in v1.1.0

func NewUIStep() *UIStep

NewUIStep returns a new *UIStep

func (*UIStep) BleveType added in v1.1.0

func (o *UIStep) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*UIStep) DeepCopy added in v1.1.0

func (o *UIStep) DeepCopy() *UIStep

DeepCopy returns a deep copy if the UIStep.

func (*UIStep) DeepCopyInto added in v1.1.0

func (o *UIStep) DeepCopyInto(out *UIStep)

DeepCopyInto copies the receiver into the given *UIStep.

func (*UIStep) GetBSON added in v1.80.0

func (o *UIStep) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UIStep) SetBSON added in v1.80.0

func (o *UIStep) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UIStep) Validate added in v1.1.0

func (o *UIStep) Validate() error

Validate valides the current information stored into the structure.

type UserAccessPoliciesList added in v1.1.0

type UserAccessPoliciesList []*UserAccessPolicy

UserAccessPoliciesList represents a list of UserAccessPolicies

func (UserAccessPoliciesList) Append added in v1.1.0

Append appends the objects to the a new copy of the UserAccessPoliciesList.

func (UserAccessPoliciesList) Copy added in v1.1.0

Copy returns a pointer to a copy the UserAccessPoliciesList.

func (UserAccessPoliciesList) DefaultOrder added in v1.1.0

func (o UserAccessPoliciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (UserAccessPoliciesList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (UserAccessPoliciesList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (UserAccessPoliciesList) ToSparse added in v1.1.0

func (o UserAccessPoliciesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the UserAccessPoliciesList converted to SparseUserAccessPoliciesList. Objects in the list will only contain the given fields. No field means entire field set.

func (UserAccessPoliciesList) Version added in v1.1.0

func (o UserAccessPoliciesList) Version() int

Version returns the version of the content.

type UserAccessPolicy added in v1.1.0

type UserAccessPolicy struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Defines for how long the policy will be active according to the
	// `activeSchedule`.
	ActiveDuration string `json:"activeDuration" msgpack:"activeDuration" bson:"activeduration" mapstructure:"activeDuration,omitempty"`

	// Defines when the policy should be active using the cron notation.
	// The policy will be active for the given `activeDuration`.
	ActiveSchedule string `json:"activeSchedule" msgpack:"activeSchedule" bson:"activeschedule" mapstructure:"activeSchedule,omitempty"`

	// Indicates the list of user who can use `sudo` commands.
	AllowedSudoUsers []string `json:"allowedSudoUsers" msgpack:"allowedSudoUsers" bson:"-" mapstructure:"allowedSudoUsers,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Creation date of the object.
	CreateTime time.Time `json:"createTime" msgpack:"createTime" bson:"createtime" mapstructure:"createTime,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Defines if the property is disabled.
	Disabled bool `json:"disabled" msgpack:"disabled" bson:"disabled" mapstructure:"disabled,omitempty"`

	// If set the policy will be automatically deleted after the given time.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Contains tags that can only be set during creation, must all start
	// with the '@' prefix, and should only be used by external systems.
	Metadata []string `json:"metadata" msgpack:"metadata" bson:"metadata" mapstructure:"metadata,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Contains the tag expression matching the enforcers the subject is allowed
	// to connect to.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Contains the tag expression the tags need to match for the policy to
	// apply.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// Last update date of the object.
	UpdateTime time.Time `json:"updateTime" msgpack:"updateTime" bson:"updatetime" mapstructure:"updateTime,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

UserAccessPolicy represents the model of a useraccesspolicy

func NewUserAccessPolicy added in v1.1.0

func NewUserAccessPolicy() *UserAccessPolicy

NewUserAccessPolicy returns a new *UserAccessPolicy

func (*UserAccessPolicy) AttributeSpecifications added in v1.1.0

func (*UserAccessPolicy) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*UserAccessPolicy) BleveType added in v1.1.0

func (o *UserAccessPolicy) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*UserAccessPolicy) DeepCopy added in v1.1.0

func (o *UserAccessPolicy) DeepCopy() *UserAccessPolicy

DeepCopy returns a deep copy if the UserAccessPolicy.

func (*UserAccessPolicy) DeepCopyInto added in v1.1.0

func (o *UserAccessPolicy) DeepCopyInto(out *UserAccessPolicy)

DeepCopyInto copies the receiver into the given *UserAccessPolicy.

func (*UserAccessPolicy) DefaultOrder added in v1.1.0

func (o *UserAccessPolicy) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*UserAccessPolicy) Doc added in v1.1.0

func (o *UserAccessPolicy) Doc() string

Doc returns the documentation for the object

func (*UserAccessPolicy) GetActiveDuration added in v1.1.0

func (o *UserAccessPolicy) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*UserAccessPolicy) GetActiveSchedule added in v1.1.0

func (o *UserAccessPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*UserAccessPolicy) GetAnnotations added in v1.1.0

func (o *UserAccessPolicy) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*UserAccessPolicy) GetAssociatedTags added in v1.1.0

func (o *UserAccessPolicy) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*UserAccessPolicy) GetBSON added in v1.80.0

func (o *UserAccessPolicy) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UserAccessPolicy) GetCreateIdempotencyKey added in v1.1.0

func (o *UserAccessPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*UserAccessPolicy) GetCreateTime added in v1.1.0

func (o *UserAccessPolicy) GetCreateTime() time.Time

GetCreateTime returns the CreateTime of the receiver.

func (*UserAccessPolicy) GetDescription added in v1.1.0

func (o *UserAccessPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*UserAccessPolicy) GetDisabled added in v1.1.0

func (o *UserAccessPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*UserAccessPolicy) GetExpirationTime added in v1.1.0

func (o *UserAccessPolicy) GetExpirationTime() time.Time

GetExpirationTime returns the ExpirationTime of the receiver.

func (*UserAccessPolicy) GetMetadata added in v1.1.0

func (o *UserAccessPolicy) GetMetadata() []string

GetMetadata returns the Metadata of the receiver.

func (*UserAccessPolicy) GetName added in v1.1.0

func (o *UserAccessPolicy) GetName() string

GetName returns the Name of the receiver.

func (*UserAccessPolicy) GetNamespace added in v1.1.0

func (o *UserAccessPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*UserAccessPolicy) GetNormalizedTags added in v1.1.0

func (o *UserAccessPolicy) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*UserAccessPolicy) GetPropagate added in v1.1.0

func (o *UserAccessPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*UserAccessPolicy) GetProtected added in v1.1.0

func (o *UserAccessPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*UserAccessPolicy) GetUpdateIdempotencyKey added in v1.1.0

func (o *UserAccessPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*UserAccessPolicy) GetUpdateTime added in v1.1.0

func (o *UserAccessPolicy) GetUpdateTime() time.Time

GetUpdateTime returns the UpdateTime of the receiver.

func (*UserAccessPolicy) Identifier added in v1.1.0

func (o *UserAccessPolicy) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*UserAccessPolicy) Identity added in v1.1.0

func (o *UserAccessPolicy) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*UserAccessPolicy) Patch added in v1.1.0

Patch apply the non nil value of a *SparseUserAccessPolicy to the object.

func (*UserAccessPolicy) SetActiveDuration added in v1.1.0

func (o *UserAccessPolicy) SetActiveDuration(activeDuration string)

SetActiveDuration sets the property ActiveDuration of the receiver using the given value.

func (*UserAccessPolicy) SetActiveSchedule added in v1.1.0

func (o *UserAccessPolicy) SetActiveSchedule(activeSchedule string)

SetActiveSchedule sets the property ActiveSchedule of the receiver using the given value.

func (*UserAccessPolicy) SetAnnotations added in v1.1.0

func (o *UserAccessPolicy) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*UserAccessPolicy) SetAssociatedTags added in v1.1.0

func (o *UserAccessPolicy) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*UserAccessPolicy) SetBSON added in v1.80.0

func (o *UserAccessPolicy) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*UserAccessPolicy) SetCreateIdempotencyKey added in v1.1.0

func (o *UserAccessPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*UserAccessPolicy) SetCreateTime added in v1.1.0

func (o *UserAccessPolicy) SetCreateTime(createTime time.Time)

SetCreateTime sets the property CreateTime of the receiver using the given value.

func (*UserAccessPolicy) SetDescription added in v1.1.0

func (o *UserAccessPolicy) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*UserAccessPolicy) SetDisabled added in v1.1.0

func (o *UserAccessPolicy) SetDisabled(disabled bool)

SetDisabled sets the property Disabled of the receiver using the given value.

func (*UserAccessPolicy) SetExpirationTime added in v1.1.0

func (o *UserAccessPolicy) SetExpirationTime(expirationTime time.Time)

SetExpirationTime sets the property ExpirationTime of the receiver using the given value.

func (*UserAccessPolicy) SetIdentifier added in v1.1.0

func (o *UserAccessPolicy) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*UserAccessPolicy) SetMetadata added in v1.1.0

func (o *UserAccessPolicy) SetMetadata(metadata []string)

SetMetadata sets the property Metadata of the receiver using the given value.

func (*UserAccessPolicy) SetName added in v1.1.0

func (o *UserAccessPolicy) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*UserAccessPolicy) SetNamespace added in v1.1.0

func (o *UserAccessPolicy) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*UserAccessPolicy) SetNormalizedTags added in v1.1.0

func (o *UserAccessPolicy) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*UserAccessPolicy) SetPropagate added in v1.1.0

func (o *UserAccessPolicy) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*UserAccessPolicy) SetProtected added in v1.1.0

func (o *UserAccessPolicy) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*UserAccessPolicy) SetUpdateIdempotencyKey added in v1.1.0

func (o *UserAccessPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*UserAccessPolicy) SetUpdateTime added in v1.1.0

func (o *UserAccessPolicy) SetUpdateTime(updateTime time.Time)

SetUpdateTime sets the property UpdateTime of the receiver using the given value.

func (*UserAccessPolicy) SpecificationForAttribute added in v1.1.0

func (*UserAccessPolicy) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*UserAccessPolicy) String added in v1.1.0

func (o *UserAccessPolicy) String() string

func (*UserAccessPolicy) ToSparse added in v1.1.0

func (o *UserAccessPolicy) 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 (*UserAccessPolicy) Validate added in v1.1.0

func (o *UserAccessPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*UserAccessPolicy) ValueForAttribute added in v1.1.0

func (o *UserAccessPolicy) ValueForAttribute(name string) interface{}

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 (*UserAccessPolicy) Version added in v1.1.0

func (o *UserAccessPolicy) Version() int

Version returns the hardcoded version of the model.

type ValidateRQL added in v1.103.0

type ValidateRQL struct {
	// The error message if the query fails validation.
	Error string `json:"error" msgpack:"error" bson:"-" mapstructure:"error,omitempty"`

	// The type of the policy.
	PolicyType string `json:"policyType" msgpack:"policyType" bson:"-" mapstructure:"policyType,omitempty"`

	// The Prisma Cloud ID.
	PrismaID int `json:"prismaID" msgpack:"prismaID" bson:"-" mapstructure:"prismaID,omitempty"`

	// The query to validate.
	Query string `json:"query" msgpack:"query" bson:"-" mapstructure:"query,omitempty"`

	// The search type.
	SearchType string `json:"searchType" msgpack:"searchType" bson:"-" mapstructure:"searchType,omitempty"`

	// The http status code of the response.
	Status int `json:"status" msgpack:"status" bson:"-" mapstructure:"status,omitempty"`

	// The timestamp of the query in nanoseconds.
	Timestamp int `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ValidateRQL represents the model of a validaterql

func NewValidateRQL added in v1.103.0

func NewValidateRQL() *ValidateRQL

NewValidateRQL returns a new *ValidateRQL

func (*ValidateRQL) AttributeSpecifications added in v1.103.0

func (*ValidateRQL) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ValidateRQL) BleveType added in v1.103.0

func (o *ValidateRQL) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ValidateRQL) DeepCopy added in v1.103.0

func (o *ValidateRQL) DeepCopy() *ValidateRQL

DeepCopy returns a deep copy if the ValidateRQL.

func (*ValidateRQL) DeepCopyInto added in v1.103.0

func (o *ValidateRQL) DeepCopyInto(out *ValidateRQL)

DeepCopyInto copies the receiver into the given *ValidateRQL.

func (*ValidateRQL) DefaultOrder added in v1.103.0

func (o *ValidateRQL) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ValidateRQL) Doc added in v1.103.0

func (o *ValidateRQL) Doc() string

Doc returns the documentation for the object

func (*ValidateRQL) GetBSON added in v1.103.0

func (o *ValidateRQL) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ValidateRQL) Identifier added in v1.103.0

func (o *ValidateRQL) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ValidateRQL) Identity added in v1.103.0

func (o *ValidateRQL) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ValidateRQL) Patch added in v1.103.0

func (o *ValidateRQL) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseValidateRQL to the object.

func (*ValidateRQL) SetBSON added in v1.103.0

func (o *ValidateRQL) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ValidateRQL) SetIdentifier added in v1.103.0

func (o *ValidateRQL) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ValidateRQL) SpecificationForAttribute added in v1.103.0

func (*ValidateRQL) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ValidateRQL) String added in v1.103.0

func (o *ValidateRQL) String() string

func (*ValidateRQL) ToSparse added in v1.103.0

func (o *ValidateRQL) 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 (*ValidateRQL) Validate added in v1.103.0

func (o *ValidateRQL) Validate() error

Validate valides the current information stored into the structure.

func (*ValidateRQL) ValueForAttribute added in v1.103.0

func (o *ValidateRQL) ValueForAttribute(name string) interface{}

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 (*ValidateRQL) Version added in v1.103.0

func (o *ValidateRQL) Version() int

Version returns the hardcoded version of the model.

type ValidateRQLsList added in v1.103.0

type ValidateRQLsList []*ValidateRQL

ValidateRQLsList represents a list of ValidateRQLs

func (ValidateRQLsList) Append added in v1.103.0

Append appends the objects to the a new copy of the ValidateRQLsList.

func (ValidateRQLsList) Copy added in v1.103.0

Copy returns a pointer to a copy the ValidateRQLsList.

func (ValidateRQLsList) DefaultOrder added in v1.103.0

func (o ValidateRQLsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ValidateRQLsList) Identity added in v1.103.0

func (o ValidateRQLsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (ValidateRQLsList) List added in v1.103.0

List converts the object to an elemental.IdentifiablesList.

func (ValidateRQLsList) ToSparse added in v1.103.0

func (o ValidateRQLsList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the ValidateRQLsList converted to SparseValidateRQLsList. Objects in the list will only contain the given fields. No field means entire field set.

func (ValidateRQLsList) Version added in v1.103.0

func (o ValidateRQLsList) Version() int

Version returns the version of the content.

type ValidateUIParameter added in v1.1.0

type ValidateUIParameter struct {
	// Contains the list of errors.
	Errors map[string]string `json:"errors" msgpack:"errors" bson:"-" mapstructure:"errors,omitempty"`

	// List of parameters to validate.
	Parameters []*UIParameter `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// Contains the computed values.
	Values map[string]interface{} `json:"values" msgpack:"values" bson:"-" mapstructure:"values,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

ValidateUIParameter represents the model of a validateuiparameter

func NewValidateUIParameter added in v1.1.0

func NewValidateUIParameter() *ValidateUIParameter

NewValidateUIParameter returns a new *ValidateUIParameter

func (*ValidateUIParameter) AttributeSpecifications added in v1.1.0

func (*ValidateUIParameter) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*ValidateUIParameter) BleveType added in v1.1.0

func (o *ValidateUIParameter) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ValidateUIParameter) DeepCopy added in v1.1.0

DeepCopy returns a deep copy if the ValidateUIParameter.

func (*ValidateUIParameter) DeepCopyInto added in v1.1.0

func (o *ValidateUIParameter) DeepCopyInto(out *ValidateUIParameter)

DeepCopyInto copies the receiver into the given *ValidateUIParameter.

func (*ValidateUIParameter) DefaultOrder added in v1.1.0

func (o *ValidateUIParameter) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*ValidateUIParameter) Doc added in v1.1.0

func (o *ValidateUIParameter) Doc() string

Doc returns the documentation for the object

func (*ValidateUIParameter) GetBSON added in v1.80.0

func (o *ValidateUIParameter) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ValidateUIParameter) Identifier added in v1.1.0

func (o *ValidateUIParameter) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*ValidateUIParameter) Identity added in v1.1.0

func (o *ValidateUIParameter) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*ValidateUIParameter) Patch added in v1.1.0

Patch apply the non nil value of a *SparseValidateUIParameter to the object.

func (*ValidateUIParameter) SetBSON added in v1.80.0

func (o *ValidateUIParameter) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*ValidateUIParameter) SetIdentifier added in v1.1.0

func (o *ValidateUIParameter) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*ValidateUIParameter) SpecificationForAttribute added in v1.1.0

func (*ValidateUIParameter) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ValidateUIParameter) String added in v1.1.0

func (o *ValidateUIParameter) String() string

func (*ValidateUIParameter) ToSparse added in v1.1.0

func (o *ValidateUIParameter) 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 (*ValidateUIParameter) Validate added in v1.1.0

func (o *ValidateUIParameter) Validate() error

Validate valides the current information stored into the structure.

func (*ValidateUIParameter) ValueForAttribute added in v1.1.0

func (o *ValidateUIParameter) ValueForAttribute(name string) interface{}

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 (*ValidateUIParameter) Version added in v1.1.0

func (o *ValidateUIParameter) Version() int

Version returns the hardcoded version of the model.

type ValidateUIParametersList added in v1.1.0

type ValidateUIParametersList []*ValidateUIParameter

ValidateUIParametersList represents a list of ValidateUIParameters

func (ValidateUIParametersList) Append added in v1.1.0

Append appends the objects to the a new copy of the ValidateUIParametersList.

func (ValidateUIParametersList) Copy added in v1.1.0

Copy returns a pointer to a copy the ValidateUIParametersList.

func (ValidateUIParametersList) DefaultOrder added in v1.1.0

func (o ValidateUIParametersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ValidateUIParametersList) Identity added in v1.1.0

Identity returns the identity of the objects in the list.

func (ValidateUIParametersList) List added in v1.1.0

List converts the object to an elemental.IdentifiablesList.

func (ValidateUIParametersList) ToSparse added in v1.1.0

ToSparse returns the ValidateUIParametersList converted to SparseValidateUIParametersList. Objects in the list will only contain the given fields. No field means entire field set.

func (ValidateUIParametersList) Version added in v1.1.0

func (o ValidateUIParametersList) Version() int

Version returns the version of the content.

type VulnerabilitiesList

type VulnerabilitiesList []*Vulnerability

VulnerabilitiesList represents a list of Vulnerabilities

func (VulnerabilitiesList) Append

Append appends the objects to the a new copy of the VulnerabilitiesList.

func (VulnerabilitiesList) Copy

Copy returns a pointer to a copy the VulnerabilitiesList.

func (VulnerabilitiesList) DefaultOrder

func (o VulnerabilitiesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (VulnerabilitiesList) Identity

func (o VulnerabilitiesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (VulnerabilitiesList) List

List converts the object to an elemental.IdentifiablesList.

func (VulnerabilitiesList) ToSparse

func (o VulnerabilitiesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the VulnerabilitiesList converted to SparseVulnerabilitiesList. Objects in the list will only contain the given fields. No field means entire field set.

func (VulnerabilitiesList) Version

func (o VulnerabilitiesList) Version() int

Version returns the version of the content.

type Vulnerability

type Vulnerability struct {
	// Common Vulnerability Scoring System (CVSS) version 2 score.
	CVSS2Score float64 `json:"CVSS2Score" msgpack:"CVSS2Score" bson:"cvss2score" mapstructure:"CVSS2Score,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Stores additional information about an entity.
	Annotations map[string][]string `json:"annotations" msgpack:"annotations" bson:"annotations" mapstructure:"annotations,omitempty"`

	// List of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,omitempty"`

	// internal idempotency key for a create operation.
	CreateIdempotencyKey string `json:"-" msgpack:"-" bson:"createidempotencykey" mapstructure:"-,omitempty"`

	// Description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// The URL that refers to the vulnerability.
	Link string `json:"link" msgpack:"link" bson:"link" mapstructure:"link,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog,omitempty" mapstructure:"-,omitempty"`

	// Name of the entity.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Namespace tag attached to an entity.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Contains the list of normalized tags of the entities.
	NormalizedTags []string `json:"normalizedTags" msgpack:"normalizedTags" bson:"normalizedtags" mapstructure:"normalizedTags,omitempty"`

	// Propagates the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Defines if the object is protected.
	Protected bool `json:"protected" msgpack:"protected" bson:"protected" mapstructure:"protected,omitempty"`

	// Refers to the security vulnerability level.
	Severity constants.Vulnerability `json:"severity" msgpack:"severity" bson:"severity" mapstructure:"severity,omitempty"`

	// internal idempotency key for a update operation.
	UpdateIdempotencyKey string `json:"-" msgpack:"-" bson:"updateidempotencykey" mapstructure:"-,omitempty"`

	// geographical hash of the data. This is used for sharding and
	// georedundancy.
	ZHash int `json:"-" msgpack:"-" bson:"zhash" mapstructure:"-,omitempty"`

	// Logical storage zone. Used for sharding.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

Vulnerability represents the model of a vulnerability

func NewVulnerability

func NewVulnerability() *Vulnerability

NewVulnerability returns a new *Vulnerability

func (*Vulnerability) AttributeSpecifications

func (*Vulnerability) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*Vulnerability) BleveType added in v1.1.0

func (o *Vulnerability) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Vulnerability) DeepCopy

func (o *Vulnerability) DeepCopy() *Vulnerability

DeepCopy returns a deep copy if the Vulnerability.

func (*Vulnerability) DeepCopyInto

func (o *Vulnerability) DeepCopyInto(out *Vulnerability)

DeepCopyInto copies the receiver into the given *Vulnerability.

func (*Vulnerability) DefaultOrder

func (o *Vulnerability) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*Vulnerability) Doc

func (o *Vulnerability) Doc() string

Doc returns the documentation for the object

func (*Vulnerability) GetAnnotations

func (o *Vulnerability) GetAnnotations() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*Vulnerability) GetAssociatedTags

func (o *Vulnerability) GetAssociatedTags() []string

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Vulnerability) GetBSON added in v1.80.0

func (o *Vulnerability) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Vulnerability) GetCreateIdempotencyKey

func (o *Vulnerability) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Vulnerability) GetDescription

func (o *Vulnerability) GetDescription() string

GetDescription returns the Description of the receiver.

func (*Vulnerability) GetMigrationsLog added in v1.30.0

func (o *Vulnerability) GetMigrationsLog() map[string]string

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*Vulnerability) GetName

func (o *Vulnerability) GetName() string

GetName returns the Name of the receiver.

func (*Vulnerability) GetNamespace

func (o *Vulnerability) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*Vulnerability) GetNormalizedTags

func (o *Vulnerability) GetNormalizedTags() []string

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Vulnerability) GetPropagate added in v1.94.1

func (o *Vulnerability) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*Vulnerability) GetProtected

func (o *Vulnerability) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Vulnerability) GetUpdateIdempotencyKey

func (o *Vulnerability) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*Vulnerability) GetZHash

func (o *Vulnerability) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*Vulnerability) GetZone

func (o *Vulnerability) GetZone() int

GetZone returns the Zone of the receiver.

func (*Vulnerability) Identifier

func (o *Vulnerability) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*Vulnerability) Identity

func (o *Vulnerability) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*Vulnerability) Patch

func (o *Vulnerability) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseVulnerability to the object.

func (*Vulnerability) SetAnnotations

func (o *Vulnerability) SetAnnotations(annotations map[string][]string)

SetAnnotations sets the property Annotations of the receiver using the given value.

func (*Vulnerability) SetAssociatedTags

func (o *Vulnerability) SetAssociatedTags(associatedTags []string)

SetAssociatedTags sets the property AssociatedTags of the receiver using the given value.

func (*Vulnerability) SetBSON added in v1.80.0

func (o *Vulnerability) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*Vulnerability) SetCreateIdempotencyKey

func (o *Vulnerability) SetCreateIdempotencyKey(createIdempotencyKey string)

SetCreateIdempotencyKey sets the property CreateIdempotencyKey of the receiver using the given value.

func (*Vulnerability) SetDescription

func (o *Vulnerability) SetDescription(description string)

SetDescription sets the property Description of the receiver using the given value.

func (*Vulnerability) SetIdentifier

func (o *Vulnerability) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*Vulnerability) SetMigrationsLog added in v1.30.0

func (o *Vulnerability) SetMigrationsLog(migrationsLog map[string]string)

SetMigrationsLog sets the property MigrationsLog of the receiver using the given value.

func (*Vulnerability) SetName

func (o *Vulnerability) SetName(name string)

SetName sets the property Name of the receiver using the given value.

func (*Vulnerability) SetNamespace

func (o *Vulnerability) SetNamespace(namespace string)

SetNamespace sets the property Namespace of the receiver using the given value.

func (*Vulnerability) SetNormalizedTags

func (o *Vulnerability) SetNormalizedTags(normalizedTags []string)

SetNormalizedTags sets the property NormalizedTags of the receiver using the given value.

func (*Vulnerability) SetPropagate added in v1.94.1

func (o *Vulnerability) SetPropagate(propagate bool)

SetPropagate sets the property Propagate of the receiver using the given value.

func (*Vulnerability) SetProtected

func (o *Vulnerability) SetProtected(protected bool)

SetProtected sets the property Protected of the receiver using the given value.

func (*Vulnerability) SetUpdateIdempotencyKey

func (o *Vulnerability) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey of the receiver using the given value.

func (*Vulnerability) SetZHash

func (o *Vulnerability) SetZHash(zHash int)

SetZHash sets the property ZHash of the receiver using the given value.

func (*Vulnerability) SetZone

func (o *Vulnerability) SetZone(zone int)

SetZone sets the property Zone of the receiver using the given value.

func (*Vulnerability) SpecificationForAttribute

func (*Vulnerability) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Vulnerability) String

func (o *Vulnerability) String() string

func (*Vulnerability) ToSparse

func (o *Vulnerability) 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 (*Vulnerability) Validate

func (o *Vulnerability) Validate() error

Validate valides the current information stored into the structure.

func (*Vulnerability) ValueForAttribute

func (o *Vulnerability) ValueForAttribute(name string) interface{}

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 (*Vulnerability) Version

func (o *Vulnerability) Version() int

Version returns the hardcoded version of the model.

type X509Certificate

type X509Certificate struct {
	// Contains the Certificate Signing Request (CSR) as a PEM-encoded string.
	CSR string `json:"CSR" msgpack:"CSR" bson:"-" mapstructure:"CSR,omitempty"`

	// ID contains the identifier of the certificate.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Certificate contains the certificate data in PEM format.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// ExpirationDate contains the requested expiration date.
	ExpirationDate time.Time `json:"expirationDate" msgpack:"expirationDate" bson:"-" mapstructure:"expirationDate,omitempty"`

	// Extensions to add to the certificate. It must contains ASN1-encoded bytes,
	// themselves encoded in base64.
	Extensions []byte `json:"extensions" msgpack:"extensions" bson:"-" mapstructure:"extensions,omitempty"`

	// Selects what CA should sign the certificate.
	Signer X509CertificateSignerValue `json:"signer" msgpack:"signer" bson:"-" mapstructure:"signer,omitempty"`

	// Selects the ID of the CA that should sign the certificate when signer is set to
	// Namespace.
	SignerID string `json:"signerID" msgpack:"signerID" bson:"-" mapstructure:"signerID,omitempty"`

	// Additional subject information to use to override the ones in the CSR.
	SubjectOverride *PKIXName `json:"subjectOverride,omitempty" msgpack:"subjectOverride,omitempty" bson:"-" mapstructure:"subjectOverride,omitempty"`

	// If set to true, the certificate is considered short lived and it will not be
	// possible to revoke it.
	Unrevocable bool `json:"unrevocable" msgpack:"unrevocable" bson:"-" mapstructure:"unrevocable,omitempty"`

	// Usage defines the requested key usage.
	Usage X509CertificateUsageValue `json:"usage" msgpack:"usage" bson:"-" mapstructure:"usage,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

X509Certificate represents the model of a x509certificate

func NewX509Certificate

func NewX509Certificate() *X509Certificate

NewX509Certificate returns a new *X509Certificate

func (*X509Certificate) AttributeSpecifications

func (*X509Certificate) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*X509Certificate) BleveType added in v1.1.0

func (o *X509Certificate) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*X509Certificate) DeepCopy

func (o *X509Certificate) DeepCopy() *X509Certificate

DeepCopy returns a deep copy if the X509Certificate.

func (*X509Certificate) DeepCopyInto

func (o *X509Certificate) DeepCopyInto(out *X509Certificate)

DeepCopyInto copies the receiver into the given *X509Certificate.

func (*X509Certificate) DefaultOrder

func (o *X509Certificate) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*X509Certificate) Doc

func (o *X509Certificate) Doc() string

Doc returns the documentation for the object

func (*X509Certificate) GetBSON added in v1.80.0

func (o *X509Certificate) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*X509Certificate) Identifier

func (o *X509Certificate) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*X509Certificate) Identity

func (o *X509Certificate) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*X509Certificate) Patch

func (o *X509Certificate) Patch(sparse elemental.SparseIdentifiable)

Patch apply the non nil value of a *SparseX509Certificate to the object.

func (*X509Certificate) SetBSON added in v1.80.0

func (o *X509Certificate) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*X509Certificate) SetIdentifier

func (o *X509Certificate) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*X509Certificate) SpecificationForAttribute

func (*X509Certificate) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*X509Certificate) String

func (o *X509Certificate) String() string

func (*X509Certificate) ToSparse

func (o *X509Certificate) 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 (*X509Certificate) Validate

func (o *X509Certificate) Validate() error

Validate valides the current information stored into the structure.

func (*X509Certificate) ValueForAttribute

func (o *X509Certificate) ValueForAttribute(name string) interface{}

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 (*X509Certificate) Version

func (o *X509Certificate) Version() int

Version returns the hardcoded version of the model.

type X509CertificateCheck

type X509CertificateCheck struct {
	// ID contains the certificate serialNumber.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	ModelVersion int `json:"-" msgpack:"-" bson:"_modelversion"`
}

X509CertificateCheck represents the model of a x509certificatecheck

func NewX509CertificateCheck

func NewX509CertificateCheck() *X509CertificateCheck

NewX509CertificateCheck returns a new *X509CertificateCheck

func (*X509CertificateCheck) AttributeSpecifications

func (*X509CertificateCheck) AttributeSpecifications() map[string]elemental.AttributeSpecification

AttributeSpecifications returns the full attribute specifications map.

func (*X509CertificateCheck) BleveType added in v1.1.0

func (o *X509CertificateCheck) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*X509CertificateCheck) DeepCopy

DeepCopy returns a deep copy if the X509CertificateCheck.

func (*X509CertificateCheck) DeepCopyInto

func (o *X509CertificateCheck) DeepCopyInto(out *X509CertificateCheck)

DeepCopyInto copies the receiver into the given *X509CertificateCheck.

func (*X509CertificateCheck) DefaultOrder

func (o *X509CertificateCheck) DefaultOrder() []string

DefaultOrder returns the list of default ordering fields.

func (*X509CertificateCheck) Doc

func (o *X509CertificateCheck) Doc() string

Doc returns the documentation for the object

func (*X509CertificateCheck) GetBSON added in v1.80.0

func (o *X509CertificateCheck) GetBSON() (interface{}, error)

GetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*X509CertificateCheck) Identifier

func (o *X509CertificateCheck) Identifier() string

Identifier returns the value of the object's unique identifier.

func (*X509CertificateCheck) Identity

func (o *X509CertificateCheck) Identity() elemental.Identity

Identity returns the Identity of the object.

func (*X509CertificateCheck) Patch

Patch apply the non nil value of a *SparseX509CertificateCheck to the object.

func (*X509CertificateCheck) SetBSON added in v1.80.0

func (o *X509CertificateCheck) SetBSON(raw bson.Raw) error

SetBSON implements the bson marshaling interface. This is used to transparently convert ID to MongoDBID as ObectID.

func (*X509CertificateCheck) SetIdentifier

func (o *X509CertificateCheck) SetIdentifier(id string)

SetIdentifier sets the value of the object's unique identifier.

func (*X509CertificateCheck) SpecificationForAttribute

func (*X509CertificateCheck) SpecificationForAttribute(name string) elemental.AttributeSpecification

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*X509CertificateCheck) String

func (o *X509CertificateCheck) String() string

func (*X509CertificateCheck) ToSparse

ToSparse returns the sparse version of the model. The returned object will only contain the given fields. No field means entire field set.

func (*X509CertificateCheck) Validate

func (o *X509CertificateCheck) Validate() error

Validate valides the current information stored into the structure.

func (*X509CertificateCheck) ValueForAttribute

func (o *X509CertificateCheck) ValueForAttribute(name string) interface{}

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 (*X509CertificateCheck) Version

func (o *X509CertificateCheck) Version() int

Version returns the hardcoded version of the model.

type X509CertificateChecksList

type X509CertificateChecksList []*X509CertificateCheck

X509CertificateChecksList represents a list of X509CertificateChecks

func (X509CertificateChecksList) Append

Append appends the objects to the a new copy of the X509CertificateChecksList.

func (X509CertificateChecksList) Copy

Copy returns a pointer to a copy the X509CertificateChecksList.

func (X509CertificateChecksList) DefaultOrder

func (o X509CertificateChecksList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (X509CertificateChecksList) Identity

Identity returns the identity of the objects in the list.

func (X509CertificateChecksList) List

List converts the object to an elemental.IdentifiablesList.

func (X509CertificateChecksList) ToSparse

ToSparse returns the X509CertificateChecksList converted to SparseX509CertificateChecksList. Objects in the list will only contain the given fields. No field means entire field set.

func (X509CertificateChecksList) Version

func (o X509CertificateChecksList) Version() int

Version returns the version of the content.

type X509CertificateSignerValue

type X509CertificateSignerValue string

X509CertificateSignerValue represents the possible values for attribute "signer".

const (
	// X509CertificateSignerNamespace represents the value Namespace.
	X509CertificateSignerNamespace X509CertificateSignerValue = "Namespace"

	// X509CertificateSignerPublic represents the value Public.
	X509CertificateSignerPublic X509CertificateSignerValue = "Public"

	// X509CertificateSignerSystem represents the value System.
	X509CertificateSignerSystem X509CertificateSignerValue = "System"
)

type X509CertificateUsageValue

type X509CertificateUsageValue string

X509CertificateUsageValue represents the possible values for attribute "usage".

const (
	// X509CertificateUsageClient represents the value Client.
	X509CertificateUsageClient X509CertificateUsageValue = "Client"

	// X509CertificateUsageServer represents the value Server.
	X509CertificateUsageServer X509CertificateUsageValue = "Server"

	// X509CertificateUsageServerClient represents the value ServerClient.
	X509CertificateUsageServerClient X509CertificateUsageValue = "ServerClient"
)

type X509CertificatesList

type X509CertificatesList []*X509Certificate

X509CertificatesList represents a list of X509Certificates

func (X509CertificatesList) Append

Append appends the objects to the a new copy of the X509CertificatesList.

func (X509CertificatesList) Copy

Copy returns a pointer to a copy the X509CertificatesList.

func (X509CertificatesList) DefaultOrder

func (o X509CertificatesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (X509CertificatesList) Identity

Identity returns the identity of the objects in the list.

func (X509CertificatesList) List

List converts the object to an elemental.IdentifiablesList.

func (X509CertificatesList) ToSparse

func (o X509CertificatesList) ToSparse(fields ...string) elemental.Identifiables

ToSparse returns the X509CertificatesList converted to SparseX509CertificatesList. Objects in the list will only contain the given fields. No field means entire field set.

func (X509CertificatesList) Version

func (o X509CertificatesList) Version() int

Version returns the version of the content.

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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