gaia

package module
v1.51.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2019 License: Apache-2.0 Imports: 18 Imported by: 35

README

Gaia

Gaia is the shared model of the Aporeto 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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizedIdentities",
		Description:    `A list of roles assigned to the user.`,
		Exposed:        true,
		Name:           "authorizedIdentities",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"AuthorizedNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizedNamespace",
		Description:    `Defines the namespace the user is authorized to access.`,
		Exposed:        true,
		Name:           "authorizedNamespace",
		Required:       true,
		Type:           "string",
	},
	"AuthorizedSubnets": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
		SubType: "string",
		Type:    "list",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
	"PropagationHidden": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `A tag or tag expression that identifies the authorized user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizedIdentities",
		Description:    `A list of roles assigned to the user.`,
		Exposed:        true,
		Name:           "authorizedIdentities",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"authorizednamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizedNamespace",
		Description:    `Defines the namespace the user is authorized to access.`,
		Exposed:        true,
		Name:           "authorizedNamespace",
		Required:       true,
		Type:           "string",
	},
	"authorizedsubnets": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
		SubType: "string",
		Type:    "list",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
	"propagationhidden": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `A tag or tag expression that identifies the authorized user(s).`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

APIAuthorizationPolicyLowerCaseAttributesMap represents the map of attribute for APIAuthorizationPolicy.

View Source
var APICheckAttributesMap = map[string]elemental.AttributeSpecification{
	"Authorized": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `The namespace to use to check the API authorization.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"Operation": elemental.AttributeSpecification{
		AllowedChoices: []string{"Create", "Delete", "Info", "Patch", "Retrieve", "RetrieveMany", "Update"},
		ConvertedName:  "Operation",
		Description:    `The operation you want to check.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operation",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"TargetIdentities": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `The namespace to use to check the API authorization.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"operation": elemental.AttributeSpecification{
		AllowedChoices: []string{"Create", "Delete", "Info", "Patch", "Retrieve", "RetrieveMany", "Update"},
		ConvertedName:  "Operation",
		Description:    `The operation you want to check.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operation",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"targetidentities": elemental.AttributeSpecification{
		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 AWSAPIGatewayAttributesMap = map[string]elemental.AttributeSpecification{
	"APIID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "APIID",
		Description:    `API ID as defined on AWS for the API that handled this request.`,
		Exposed:        true,
		Name:           "APIID",
		Type:           "string",
	},
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccountID",
		Description:    `the account ID for the gateway managing this request.`,
		Exposed:        true,
		Name:           "accountID",
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Authorized": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Authorized",
		Description:    `The policy decision for this API flow.`,
		Exposed:        true,
		Name:           "authorized",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "boolean",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"Method": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Method",
		Description:    `API method that handled this request.`,
		Exposed:        true,
		Name:           "method",
		Type:           "string",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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",
	},
	"NamespaceID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NamespaceID",
		Description:    `Link to the cluster namespace where the AWS API gateway is defined.`,
		Exposed:        true,
		Name:           "namespaceID",
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Resource": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Resource",
		Description:    `API resource that handled this request.`,
		Exposed:        true,
		Name:           "resource",
		Type:           "string",
	},
	"SourceIP": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceIP",
		Description:    `the client ip for this request.`,
		Exposed:        true,
		Name:           "sourceIP",
		Type:           "string",
	},
	"Stage": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Stage",
		Description:    `the stage name as defined on AWS for the API that handled this request.`,
		Exposed:        true,
		Name:           "stage",
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `the JWT token that was optionally attached to this request.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AWSAPIGatewayAttributesMap represents the map of attribute for AWSAPIGateway.

View Source
var AWSAPIGatewayIdentity = elemental.Identity{
	Name:     "awsapigateway",
	Category: "awsapigateways",
	Package:  "goldrush",
	Private:  false,
}

AWSAPIGatewayIdentity represents the Identity of the object.

View Source
var AWSAPIGatewayLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"apiid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "APIID",
		Description:    `API ID as defined on AWS for the API that handled this request.`,
		Exposed:        true,
		Name:           "APIID",
		Type:           "string",
	},
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccountID",
		Description:    `the account ID for the gateway managing this request.`,
		Exposed:        true,
		Name:           "accountID",
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"authorized": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Authorized",
		Description:    `The policy decision for this API flow.`,
		Exposed:        true,
		Name:           "authorized",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "boolean",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"method": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Method",
		Description:    `API method that handled this request.`,
		Exposed:        true,
		Name:           "method",
		Type:           "string",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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",
	},
	"namespaceid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NamespaceID",
		Description:    `Link to the cluster namespace where the AWS API gateway is defined.`,
		Exposed:        true,
		Name:           "namespaceID",
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"resource": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Resource",
		Description:    `API resource that handled this request.`,
		Exposed:        true,
		Name:           "resource",
		Type:           "string",
	},
	"sourceip": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceIP",
		Description:    `the client ip for this request.`,
		Exposed:        true,
		Name:           "sourceIP",
		Type:           "string",
	},
	"stage": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Stage",
		Description:    `the stage name as defined on AWS for the API that handled this request.`,
		Exposed:        true,
		Name:           "stage",
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `the JWT token that was optionally attached to this request.`,
		Exposed:        true,
		Name:           "token",
		Type:           "string",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AWSAPIGatewayLowerCaseAttributesMap represents the map of attribute for AWSAPIGateway.

View Source
var AWSAccountAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AccessKeyID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccessKeyID",
		CreationOnly:   true,
		Description: `Contains the AWS access key ID. Aporeto uses this just to retrieve your
account ID and does not store the value.`,
		Exposed:  true,
		Name:     "accessKeyID",
		Required: true,
		Type:     "string",
	},
	"AccessToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccessToken",
		CreationOnly:   true,
		Description: `Contains your AWS access token. Aporeto uses this just to retrieve your
account ID and does not store the value.`,
		Exposed: true,
		Name:    "accessToken",
		Type:    "string",
	},
	"AccountID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AccountID",
		Description:    `Contains your verified account ID.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "accountID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"ParentID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `Contains the parent Vince account ID.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ParentName": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentName",
		Description:    `Contains the name of the Vince parent account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentName",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Region": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Region",
		CreationOnly:   true,
		Description:    `Contains your the region where your AWS account is located.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "region",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"SecretAccessKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SecretAccessKey",
		CreationOnly:   true,
		Description: `Contains the AWS secret access key. Aporeto uses this just to retrieve your
account ID and does not store the value.`,
		Exposed:  true,
		Name:     "secretAccessKey",
		Required: true,
		Type:     "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AWSAccountAttributesMap represents the map of attribute for AWSAccount.

View Source
var AWSAccountIdentity = elemental.Identity{
	Name:     "awsaccount",
	Category: "awsaccounts",
	Package:  "vince",
	Private:  false,
}

AWSAccountIdentity represents the Identity of the object.

View Source
var AWSAccountLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"accesskeyid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccessKeyID",
		CreationOnly:   true,
		Description: `Contains the AWS access key ID. Aporeto uses this just to retrieve your
account ID and does not store the value.`,
		Exposed:  true,
		Name:     "accessKeyID",
		Required: true,
		Type:     "string",
	},
	"accesstoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccessToken",
		CreationOnly:   true,
		Description: `Contains your AWS access token. Aporeto uses this just to retrieve your
account ID and does not store the value.`,
		Exposed: true,
		Name:    "accessToken",
		Type:    "string",
	},
	"accountid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AccountID",
		Description:    `Contains your verified account ID.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "accountID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"parentid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `Contains the parent Vince account ID.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"parentname": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentName",
		Description:    `Contains the name of the Vince parent account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentName",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"region": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Region",
		CreationOnly:   true,
		Description:    `Contains your the region where your AWS account is located.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "region",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"secretaccesskey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SecretAccessKey",
		CreationOnly:   true,
		Description: `Contains the AWS secret access key. Aporeto uses this just to retrieve your
account ID and does not store the value.`,
		Exposed:  true,
		Name:     "secretAccessKey",
		Required: true,
		Type:     "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
}

AWSAccountLowerCaseAttributesMap represents the map of attribute for AWSAccount.

View Source
var AWSRegisterAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Provider": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Provider",
		Description:    `Token Provided by AWS.`,
		Exposed:        true,
		Name:           "provider",
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

AWSRegisterAttributesMap represents the map of attribute for AWSRegister.

View Source
var AWSRegisterIdentity = elemental.Identity{
	Name:     "awsregister",
	Category: "awsregister",
	Package:  "bill",
	Private:  false,
}

AWSRegisterIdentity represents the Identity of the object.

View Source
var AWSRegisterLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"provider": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Provider",
		Description:    `Token Provided by AWS.`,
		Exposed:        true,
		Name:           "provider",
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

AWSRegisterLowerCaseAttributesMap represents the map of attribute for AWSRegister.

View Source
var AccessReportAttributesMap = map[string]elemental.AttributeSpecification{
	"Action": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject"},
		ConvertedName:  "Action",
		Description:    `Action applied to the access.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Type:           "enum",
	},
	"ClaimHash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "claimHash",
		Type:           "string",
	},
	"EnforcerID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Type:           "string",
	},
	"EnforcerNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Type:           "string",
	},
	"ProcessingUnitID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Type:           "string",
	},
	"ProcessingUnitName": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitName",
		Description:    `Name of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitName",
		Type:           "string",
	},
	"ProcessingUnitNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Type:           "string",
	},
	"Reason": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
		Type:    "string",
	},
	"Timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{"SSHLogin", "SSHLogout", "SudoEnter", "SudoExit"},
		ConvertedName:  "Type",
		Description:    `Type of the report.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Type:           "enum",
	},
}

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{
	"action": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject"},
		ConvertedName:  "Action",
		Description:    `Action applied to the access.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Type:           "enum",
	},
	"claimhash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "claimHash",
		Type:           "string",
	},
	"enforcerid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Type:           "string",
	},
	"enforcernamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Type:           "string",
	},
	"processingunitid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Type:           "string",
	},
	"processingunitname": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitName",
		Description:    `Name of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitName",
		Type:           "string",
	},
	"processingunitnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit of the report.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Type:           "string",
	},
	"reason": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
		Type:    "string",
	},
	"timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{"SSHLogin", "SSHLogout", "SudoEnter", "SudoExit"},
		ConvertedName:  "Type",
		Description:    `Type of the report.`,
		Exposed:        true,
		Name:           "type",
		Required:       true,
		Type:           "enum",
	},
}

AccessReportLowerCaseAttributesMap represents the map of attribute for AccessReport.

View Source
var AccountAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"OTPEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTPEnabled",
		Description:    `Enable or disable two-factor authentication.`,
		Exposed:        true,
		Name:           "OTPEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"OTPQRCode": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTPSecret",
		Description:    `Stores the two-factor authentication secret.`,
		Name:           "OTPSecret",
		Stored:         true,
		Type:           "string",
	},
	"SSHCA": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCA",
		Description:    `Holds the SSH certificate authority used by the account namespace.`,
		Exposed:        true,
		Name:           "SSHCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"SSHCARenew": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ActivationExpiration",
		Description:    `Contains the expiration date of the activation token.`,
		Name:           "activationExpiration",
		Stored:         true,
		Type:           "time",
	},
	"ActivationToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ActivationToken",
		Description:    `Contains the activation token.`,
		Exposed:        true,
		Name:           "activationToken",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedAPIAuthPolicyID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedAPIAuthPolicyID",
		Description:    `Holds the ID of the associated API authorization.`,
		Name:           "associatedAPIAuthPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedAWSPolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedAWSPolicies",
		Description:    `Contains a map of associated AWS enforcer policies.`,
		Name:           "associatedAWSPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"AssociatedBillingID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedBillingID",
		Description:    `Holds the ID of the associated billing customer.`,
		Exposed:        true,
		Name:           "associatedBillingID",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedNamespaceID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedNamespaceID",
		Description:    `Contains the ID of the associated namespace.`,
		Name:           "associatedNamespaceID",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedPlanKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedPlanKey",
		CreationOnly:   true,
		Description:    `Contains the plan key associated with this account.`,
		Exposed:        true,
		Name:           "associatedPlanKey",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedQuotaPolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedQuotaPolicies",
		Description:    `Contains a map of the associated quotas.`,
		Name:           "associatedQuotaPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Company": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Company",
		Description:    `Company of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "company",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Email",
		Description:    `Email of the account holder.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "email",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"FirstName": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FirstName",
		Description:    `First name of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "firstName",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"LastName": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastName",
		Description:    `Last name of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "lastName",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChars:   `^[^\*\=]*$`,
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"NewPassword": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `Password for the account.`,
		Exposed:        true,
		Name:           "password",
		Stored:         true,
		Type:           "string",
	},
	"ReCAPTCHAKey": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResetPasswordExpiration",
		Description:    `Contains the expiration time for resetting the password.`,
		Name:           "resetPasswordExpiration",
		Stored:         true,
		Type:           "time",
	},
	"ResetPasswordToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResetPasswordToken",
		Description:    `Contains the token to use for resetting password.`,
		Name:           "resetPasswordToken",
		Stored:         true,
		Type:           "string",
	},
	"Status": elemental.AttributeSpecification{
		AllowedChoices: []string{"Active", "Disabled", "Invited", "Pending"},
		Autogenerated:  true,
		ConvertedName:  "Status",
		DefaultValue:   AccountStatusPending,
		Description:    `Status of the account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "status",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID of the account if validated.`,
		Exposed:        true,
		Name:           "ID",
		ReadOnly:       true,
		Type:           "string",
	},
	"OTP": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTP",
		Description:    `eventual otp.`,
		Exposed:        true,
		Name:           "OTP",
		Type:           "string",
	},
	"Email": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Email",
		Description:    `email of the account if validated.`,
		Exposed:        true,
		Name:           "email",
		ReadOnly:       true,
		Type:           "string",
	},
	"Handle": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Handle",
		Description:    `Account name of email.`,
		Exposed:        true,
		Name:           "handle",
		Required:       true,
		Type:           "string",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `name of the account.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
	"Password": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID of the account if validated.`,
		Exposed:        true,
		Name:           "ID",
		ReadOnly:       true,
		Type:           "string",
	},
	"otp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTP",
		Description:    `eventual otp.`,
		Exposed:        true,
		Name:           "OTP",
		Type:           "string",
	},
	"email": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Email",
		Description:    `email of the account if validated.`,
		Exposed:        true,
		Name:           "email",
		ReadOnly:       true,
		Type:           "string",
	},
	"handle": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Handle",
		Description:    `Account name of email.`,
		Exposed:        true,
		Name:           "handle",
		Required:       true,
		Type:           "string",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `name of the account.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
	"password": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"otpenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTPEnabled",
		Description:    `Enable or disable two-factor authentication.`,
		Exposed:        true,
		Name:           "OTPEnabled",
		Stored:         true,
		Type:           "boolean",
	},
	"otpqrcode": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTPSecret",
		Description:    `Stores the two-factor authentication secret.`,
		Name:           "OTPSecret",
		Stored:         true,
		Type:           "string",
	},
	"sshca": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCA",
		Description:    `Holds the SSH certificate authority used by the account namespace.`,
		Exposed:        true,
		Name:           "SSHCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"sshcarenew": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ActivationExpiration",
		Description:    `Contains the expiration date of the activation token.`,
		Name:           "activationExpiration",
		Stored:         true,
		Type:           "time",
	},
	"activationtoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ActivationToken",
		Description:    `Contains the activation token.`,
		Exposed:        true,
		Name:           "activationToken",
		Stored:         true,
		Type:           "string",
	},
	"associatedapiauthpolicyid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedAPIAuthPolicyID",
		Description:    `Holds the ID of the associated API authorization.`,
		Name:           "associatedAPIAuthPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"associatedawspolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedAWSPolicies",
		Description:    `Contains a map of associated AWS enforcer policies.`,
		Name:           "associatedAWSPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"associatedbillingid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedBillingID",
		Description:    `Holds the ID of the associated billing customer.`,
		Exposed:        true,
		Name:           "associatedBillingID",
		Stored:         true,
		Type:           "string",
	},
	"associatednamespaceid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedNamespaceID",
		Description:    `Contains the ID of the associated namespace.`,
		Name:           "associatedNamespaceID",
		Stored:         true,
		Type:           "string",
	},
	"associatedplankey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedPlanKey",
		CreationOnly:   true,
		Description:    `Contains the plan key associated with this account.`,
		Exposed:        true,
		Name:           "associatedPlanKey",
		Stored:         true,
		Type:           "string",
	},
	"associatedquotapolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedQuotaPolicies",
		Description:    `Contains a map of the associated quotas.`,
		Name:           "associatedQuotaPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"company": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Company",
		Description:    `Company of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "company",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Email",
		Description:    `Email of the account holder.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "email",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"firstname": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FirstName",
		Description:    `First name of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "firstName",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"lastname": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastName",
		Description:    `Last name of the account user.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "lastName",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChars:   `^[^\*\=]*$`,
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "name",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"newpassword": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `Password for the account.`,
		Exposed:        true,
		Name:           "password",
		Stored:         true,
		Type:           "string",
	},
	"recaptchakey": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResetPasswordExpiration",
		Description:    `Contains the expiration time for resetting the password.`,
		Name:           "resetPasswordExpiration",
		Stored:         true,
		Type:           "time",
	},
	"resetpasswordtoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResetPasswordToken",
		Description:    `Contains the token to use for resetting password.`,
		Name:           "resetPasswordToken",
		Stored:         true,
		Type:           "string",
	},
	"status": elemental.AttributeSpecification{
		AllowedChoices: []string{"Active", "Disabled", "Invited", "Pending"},
		Autogenerated:  true,
		ConvertedName:  "Status",
		DefaultValue:   AccountStatusPending,
		Description:    `Status of the account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "status",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `Claims of the user who performed the operation.`,
		Exposed:        true,
		Name:           "claims",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"Data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Date",
		Description:    `Time-date stamp of the notification.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"Diff": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Diff",
		Description:    `Contains the diff of the change.`,
		Exposed:        true,
		Name:           "diff",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Contains the error.`,
		Exposed:        true,
		Name:           "error",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"Message": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Message",
		Description:    `Message of the notification.`,
		Exposed:        true,
		Name:           "message",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Operation",
		Description:    `Describes what kind of operation the notification represents.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operation",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"OriginalData": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Source",
		Description:    `Contains meta information about the source.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "source",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"TargetIdentity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "TargetIdentity",
		Description:    `The identity of the related object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "targetIdentity",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `Claims of the user who performed the operation.`,
		Exposed:        true,
		Name:           "claims",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Date",
		Description:    `Time-date stamp of the notification.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"diff": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Diff",
		Description:    `Contains the diff of the change.`,
		Exposed:        true,
		Name:           "diff",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Contains the error.`,
		Exposed:        true,
		Name:           "error",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"message": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Message",
		Description:    `Message of the notification.`,
		Exposed:        true,
		Name:           "message",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Operation",
		Description:    `Describes what kind of operation the notification represents.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operation",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"originaldata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Source",
		Description:    `Contains meta information about the source.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "source",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"targetidentity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "TargetIdentity",
		Description:    `The identity of the related object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "targetIdentity",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the alarm.`,
		Exposed:        true,
		Name:           "content",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data represent user data related to the alarms.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Emails": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Status": elemental.AttributeSpecification{
		AllowedChoices: []string{"Acknowledged", "Open", "Resolved"},
		ConvertedName:  "Status",
		DefaultValue:   AlarmStatusOpen,
		Description:    `Status of the alarm.`,
		Exposed:        true,
		Name:           "status",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the alarm.`,
		Exposed:        true,
		Name:           "content",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data represent user data related to the alarms.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"emails": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"status": elemental.AttributeSpecification{
		AllowedChoices: []string{"Acknowledged", "Open", "Resolved"},
		ConvertedName:  "Status",
		DefaultValue:   AlarmStatusOpen,
		Description:    `Status of the alarm.`,
		Exposed:        true,
		Name:           "status",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CategoryID",
		Description:    `Category ID of the app.`,
		Exposed:        true,
		Name:           "categoryID",
		ReadOnly:       true,
		Type:           "string",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Icon": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Icon",
		Description:    `Contains a base64-encoded image for the app.`,
		Exposed:        true,
		Name:           "icon",
		ReadOnly:       true,
		Type:           "string",
	},
	"LatestVersion": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LatestVersion",
		Description:    `Represents the latest version available of the app.`,
		Exposed:        true,
		Name:           "latestVersion",
		Type:           "string",
	},
	"LongDescription": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LongDescription",
		Description:    `Contains a more detailed description of the app.`,
		Exposed:        true,
		Name:           "longDescription",
		Type:           "string",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Steps",
		Description:    `List of steps that contain parameters.`,
		Exposed:        true,
		Name:           "steps",
		Stored:         true,
		SubType:        "uistep",
		Type:           "refList",
	},
	"Title": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CertificateSN",
		Description:    `Link to the certificate created for this app credential.`,
		Name:           "certificateSN",
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Email": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Roles": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Roles",
		Description:    `List of roles to give the app credential.`,
		Exposed:        true,
		Name:           "roles",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CertificateSN",
		Description:    `Link to the certificate created for this app credential.`,
		Name:           "certificateSN",
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"email": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"roles": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Roles",
		Description:    `List of roles to give the app credential.`,
		Exposed:        true,
		Name:           "roles",
		Required:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CategoryID",
		Description:    `Category ID of the app.`,
		Exposed:        true,
		Name:           "categoryID",
		ReadOnly:       true,
		Type:           "string",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"icon": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Icon",
		Description:    `Contains a base64-encoded image for the app.`,
		Exposed:        true,
		Name:           "icon",
		ReadOnly:       true,
		Type:           "string",
	},
	"latestversion": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LatestVersion",
		Description:    `Represents the latest version available of the app.`,
		Exposed:        true,
		Name:           "latestVersion",
		Type:           "string",
	},
	"longdescription": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LongDescription",
		Description:    `Contains a more detailed description of the app.`,
		Exposed:        true,
		Name:           "longDescription",
		Type:           "string",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Steps",
		Description:    `List of steps that contain parameters.`,
		Exposed:        true,
		Name:           "steps",
		Stored:         true,
		SubType:        "uistep",
		Type:           "refList",
	},
	"title": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Rules": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"rules": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AUID",
		Description:    `The login ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "AUID",
		Type:           "string",
	},
	"CWD": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CWD",
		Description:    `Command working directory.`,
		Exposed:        true,
		Name:           "CWD",
		Type:           "string",
	},
	"EGID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EGID",
		Description:    `Effective group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "EGID",
		Type:           "integer",
	},
	"EUID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EUID",
		Description:    `Effective user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "EUID",
		Type:           "integer",
	},
	"EXE": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EXE",
		Description:    `Path to the executable.`,
		Exposed:        true,
		Name:           "EXE",
		Type:           "string",
	},
	"FSGID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FSGID",
		Description:    `File system group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "FSGID",
		Type:           "integer",
	},
	"FSUID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FSUID",
		Description:    `File system user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "FSUID",
		Type:           "integer",
	},
	"FilePath": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FilePath",
		Description:    `Full path of the file that was passed to the system call.`,
		Exposed:        true,
		Name:           "FilePath",
		Type:           "string",
	},
	"GID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "GID",
		Description:    `Group ID of the user who started the analyzed process.`,
		Exposed:        true,
		Name:           "GID",
		Type:           "integer",
	},
	"PER": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PER",
		Description:    `File or directory permissions.`,
		Exposed:        true,
		Name:           "PER",
		Type:           "integer",
	},
	"PID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PID",
		Description:    `Process ID of the executable.`,
		Exposed:        true,
		Name:           "PID",
		Type:           "integer",
	},
	"PPID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PPID",
		Description:    `Process ID of the parent executable.`,
		Exposed:        true,
		Name:           "PPID",
		Type:           "integer",
	},
	"SGID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SGID",
		Description:    `Set group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "SGID",
		Type:           "integer",
	},
	"SUID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SUID",
		Description:    `Set user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "SUID",
		Type:           "integer",
	},
	"UID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UID",
		Description:    `User ID.`,
		Exposed:        true,
		Name:           "UID",
		Type:           "integer",
	},
	"A0": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A0",
		Description:    `First argument of the executed system call.`,
		Exposed:        true,
		Name:           "a0",
		Type:           "string",
	},
	"A1": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A1",
		Description:    `Second argument of the executed system call.`,
		Exposed:        true,
		Name:           "a1",
		Type:           "string",
	},
	"A2": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A2",
		Description:    `Third argument of the executed system call.`,
		Exposed:        true,
		Name:           "a2",
		Type:           "string",
	},
	"A3": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A3",
		Description:    `Fourth argument of the executed system call.`,
		Exposed:        true,
		Name:           "a3",
		Type:           "string",
	},
	"Arch": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Arch",
		Description:    `Architecture of the system of the monitored process.`,
		Exposed:        true,
		Name:           "arch",
		Type:           "string",
	},
	"AuditProfileID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfileID",
		Description:    `ID of the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileID",
		Required:       true,
		Type:           "string",
	},
	"AuditProfileNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfileNamespace",
		Description:    `Namespace of the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileNamespace",
		Required:       true,
		Type:           "string",
	},
	"Command": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Command",
		Description:    `Command issued.`,
		Exposed:        true,
		Name:           "command",
		Type:           "string",
	},
	"EnforcerID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer reporting.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Type:           "string",
	},
	"EnforcerNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer reporting.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Type:           "string",
	},
	"Exit": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Exit",
		Description:    `Exit code of the executed system call.`,
		Exposed:        true,
		Name:           "exit",
		Type:           "integer",
	},
	"ProcessingUnitID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit originating the report.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Type:           "string",
	},
	"ProcessingUnitNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit originating the report.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Required:       true,
		Type:           "string",
	},
	"RecordType": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RecordType",
		Description:    `Type of audit record.`,
		Exposed:        true,
		Name:           "recordType",
		Required:       true,
		Type:           "string",
	},
	"Sequence": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Sequence",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "sequence",
		Type:           "integer",
	},
	"Success": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Success",
		Description:    `Tells if the operation has been a success or a failure.`,
		Exposed:        true,
		Name:           "success",
		Type:           "boolean",
	},
	"Syscall": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Syscall",
		Description:    `System call executed.`,
		Exposed:        true,
		Name:           "syscall",
		Type:           "string",
	},
	"Timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
}

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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AUID",
		Description:    `The login ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "AUID",
		Type:           "string",
	},
	"cwd": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CWD",
		Description:    `Command working directory.`,
		Exposed:        true,
		Name:           "CWD",
		Type:           "string",
	},
	"egid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EGID",
		Description:    `Effective group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "EGID",
		Type:           "integer",
	},
	"euid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EUID",
		Description:    `Effective user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "EUID",
		Type:           "integer",
	},
	"exe": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EXE",
		Description:    `Path to the executable.`,
		Exposed:        true,
		Name:           "EXE",
		Type:           "string",
	},
	"fsgid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FSGID",
		Description:    `File system group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "FSGID",
		Type:           "integer",
	},
	"fsuid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FSUID",
		Description:    `File system user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "FSUID",
		Type:           "integer",
	},
	"filepath": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FilePath",
		Description:    `Full path of the file that was passed to the system call.`,
		Exposed:        true,
		Name:           "FilePath",
		Type:           "string",
	},
	"gid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "GID",
		Description:    `Group ID of the user who started the analyzed process.`,
		Exposed:        true,
		Name:           "GID",
		Type:           "integer",
	},
	"per": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PER",
		Description:    `File or directory permissions.`,
		Exposed:        true,
		Name:           "PER",
		Type:           "integer",
	},
	"pid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PID",
		Description:    `Process ID of the executable.`,
		Exposed:        true,
		Name:           "PID",
		Type:           "integer",
	},
	"ppid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PPID",
		Description:    `Process ID of the parent executable.`,
		Exposed:        true,
		Name:           "PPID",
		Type:           "integer",
	},
	"sgid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SGID",
		Description:    `Set group ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "SGID",
		Type:           "integer",
	},
	"suid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SUID",
		Description:    `Set user ID of the user who started the audited process.`,
		Exposed:        true,
		Name:           "SUID",
		Type:           "integer",
	},
	"uid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UID",
		Description:    `User ID.`,
		Exposed:        true,
		Name:           "UID",
		Type:           "integer",
	},
	"a0": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A0",
		Description:    `First argument of the executed system call.`,
		Exposed:        true,
		Name:           "a0",
		Type:           "string",
	},
	"a1": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A1",
		Description:    `Second argument of the executed system call.`,
		Exposed:        true,
		Name:           "a1",
		Type:           "string",
	},
	"a2": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A2",
		Description:    `Third argument of the executed system call.`,
		Exposed:        true,
		Name:           "a2",
		Type:           "string",
	},
	"a3": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A3",
		Description:    `Fourth argument of the executed system call.`,
		Exposed:        true,
		Name:           "a3",
		Type:           "string",
	},
	"arch": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Arch",
		Description:    `Architecture of the system of the monitored process.`,
		Exposed:        true,
		Name:           "arch",
		Type:           "string",
	},
	"auditprofileid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfileID",
		Description:    `ID of the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileID",
		Required:       true,
		Type:           "string",
	},
	"auditprofilenamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfileNamespace",
		Description:    `Namespace of the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileNamespace",
		Required:       true,
		Type:           "string",
	},
	"command": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Command",
		Description:    `Command issued.`,
		Exposed:        true,
		Name:           "command",
		Type:           "string",
	},
	"enforcerid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer reporting.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Type:           "string",
	},
	"enforcernamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer reporting.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Type:           "string",
	},
	"exit": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Exit",
		Description:    `Exit code of the executed system call.`,
		Exposed:        true,
		Name:           "exit",
		Type:           "integer",
	},
	"processingunitid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit originating the report.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Type:           "string",
	},
	"processingunitnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit originating the report.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Required:       true,
		Type:           "string",
	},
	"recordtype": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RecordType",
		Description:    `Type of audit record.`,
		Exposed:        true,
		Name:           "recordType",
		Required:       true,
		Type:           "string",
	},
	"sequence": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Sequence",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "sequence",
		Type:           "integer",
	},
	"success": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Success",
		Description:    `Tells if the operation has been a success or a failure.`,
		Exposed:        true,
		Name:           "success",
		Type:           "boolean",
	},
	"syscall": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Syscall",
		Description:    `System call executed.`,
		Exposed:        true,
		Name:           "syscall",
		Type:           "string",
	},
	"timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
}

AuditReportLowerCaseAttributesMap represents the map of attribute for AuditReport.

View Source
var AuthnAttributesMap = map[string]elemental.AttributeSpecification{
	"Claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `The claims in the token.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "_claims",
		Type:           "external",
	},
}

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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `The claims in the token.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "_claims",
		Type:           "external",
	},
}

AuthnLowerCaseAttributesMap represents the map of attribute for Authn.

View Source
var AuthorityAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Algorithm": elemental.AttributeSpecification{
		AllowedChoices: []string{"ECDSA", "RSA"},
		ConvertedName:  "Algorithm",
		DefaultValue:   AuthorityAlgorithmECDSA,
		Description:    `Algorithm defines the signing algorithm to be used.`,
		Exposed:        true,
		Name:           "algorithm",
		Stored:         true,
		Type:           "enum",
	},
	"Certificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `PEM encoded certificate data.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CommonName": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CommonName",
		CreationOnly:   true,
		Description:    `CommonName contains the common name of the certificate.`,
		Exposed:        true,
		Name:           "commonName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationDate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description:    `Date of expiration of the issued certificate.`,
		Exposed:        true,
		Name:           "expirationDate",
		Stored:         true,
		Type:           "time",
	},
	"Key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Encrypted private key of the Authority.`,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"SerialNumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SerialNumber",
		Description:    `serialNumber of the certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{"CA", "TokenSigning"},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"algorithm": elemental.AttributeSpecification{
		AllowedChoices: []string{"ECDSA", "RSA"},
		ConvertedName:  "Algorithm",
		DefaultValue:   AuthorityAlgorithmECDSA,
		Description:    `Algorithm defines the signing algorithm to be used.`,
		Exposed:        true,
		Name:           "algorithm",
		Stored:         true,
		Type:           "enum",
	},
	"certificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `PEM encoded certificate data.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"commonname": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CommonName",
		CreationOnly:   true,
		Description:    `CommonName contains the common name of the certificate.`,
		Exposed:        true,
		Name:           "commonName",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationdate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description:    `Date of expiration of the issued certificate.`,
		Exposed:        true,
		Name:           "expirationDate",
		Stored:         true,
		Type:           "time",
	},
	"key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Encrypted private key of the Authority.`,
		Name:           "key",
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"serialnumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SerialNumber",
		Description:    `serialNumber of the certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{"CA", "TokenSigning"},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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{
	"Claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `The list of verified claims.`,
		Exposed:        true,
		Name:           "claims",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"ClientIP": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientIP",
		Description:    `IP of the client.`,
		Exposed:        true,
		Name:           "clientIP",
		Type:           "string",
	},
	"Error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Return an eventual error.`,
		Exposed:        true,
		Name:           "error",
		ReadOnly:       true,
		Type:           "string",
	},
	"Permissions": elemental.AttributeSpecification{
		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",
	},
	"TargetNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `description.`,
		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{
	"claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `The list of verified claims.`,
		Exposed:        true,
		Name:           "claims",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"clientip": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientIP",
		Description:    `IP of the client.`,
		Exposed:        true,
		Name:           "clientIP",
		Type:           "string",
	},
	"error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Return an eventual error.`,
		Exposed:        true,
		Name:           "error",
		ReadOnly:       true,
		Type:           "string",
	},
	"permissions": elemental.AttributeSpecification{
		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",
	},
	"targetnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `description.`,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Actions": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Entitlements": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Entitlements",
		Description:    `Declares which operations are allowed on which identities.`,
		Exposed:        true,
		Name:           "entitlements",
		Stored:         true,
		SubType:        "_automation_entitlements",
		Type:           "external",
	},
	"Errors": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Errors",
		Description:    `Contains the error of the last run.`,
		Exposed:        true,
		Name:           "errors",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Events": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastExecTime",
		Description:    `The last successful execution tine.`,
		Exposed:        true,
		Name:           "lastExecTime",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Schedule": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"Stdout": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Stdout",
		Description:    `Contains the standard output of the last run.`,
		Exposed:        true,
		Name:           "stdout",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Event", "RemoteCall", "Webhook", "Time"},
		ConvertedName:  "Trigger",
		DefaultValue:   AutomationTriggerTime,
		Description:    `Controls when the automation should be triggered.`,
		Exposed:        true,
		Name:           "trigger",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"actions": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"entitlements": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Entitlements",
		Description:    `Declares which operations are allowed on which identities.`,
		Exposed:        true,
		Name:           "entitlements",
		Stored:         true,
		SubType:        "_automation_entitlements",
		Type:           "external",
	},
	"errors": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Errors",
		Description:    `Contains the error of the last run.`,
		Exposed:        true,
		Name:           "errors",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"events": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastExecTime",
		Description:    `The last successful execution tine.`,
		Exposed:        true,
		Name:           "lastExecTime",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"schedule": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"stdout": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Stdout",
		Description:    `Contains the standard output of the last run.`,
		Exposed:        true,
		Name:           "stdout",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Event", "RemoteCall", "Webhook", "Time"},
		ConvertedName:  "Trigger",
		DefaultValue:   AutomationTriggerTime,
		Description:    `Controls when the automation should be triggered.`,
		Exposed:        true,
		Name:           "trigger",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Entitlements": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Entitlements",
		Description:    `Contains the entitlements needed for executing the function.`,
		Exposed:        true,
		Name:           "entitlements",
		SubType:        "_automation_entitlements",
		Type:           "external",
	},
	"Function": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Function",
		Description:    `Function contains the code.`,
		Exposed:        true,
		Name:           "function",
		Type:           "string",
	},
	"Key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Key",
		Description:    `Contains the unique identifier key for the template.`,
		Exposed:        true,
		Name:           "key",
		Type:           "string",
	},
	"Kind": elemental.AttributeSpecification{
		AllowedChoices: []string{"Action", "Condition"},
		ConvertedName:  "Kind",
		DefaultValue:   AutomationTemplateKindCondition,
		Description:    `Represents the kind of template.`,
		Exposed:        true,
		Name:           "kind",
		Type:           "enum",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Steps": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"entitlements": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Entitlements",
		Description:    `Contains the entitlements needed for executing the function.`,
		Exposed:        true,
		Name:           "entitlements",
		SubType:        "_automation_entitlements",
		Type:           "external",
	},
	"function": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Function",
		Description:    `Function contains the code.`,
		Exposed:        true,
		Name:           "function",
		Type:           "string",
	},
	"key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Key",
		Description:    `Contains the unique identifier key for the template.`,
		Exposed:        true,
		Name:           "key",
		Type:           "string",
	},
	"kind": elemental.AttributeSpecification{
		AllowedChoices: []string{"Action", "Condition"},
		ConvertedName:  "Kind",
		DefaultValue:   AutomationTemplateKindCondition,
		Description:    `Represents the kind of template.`,
		Exposed:        true,
		Name:           "kind",
		Type:           "enum",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"steps": elemental.AttributeSpecification{
		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 CategoryAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"FirstSeen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date of the first appearance of the claims.`,
		Name:           "firstSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"Hash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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,
		Type:     "string",
	},
	"LastSeen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastSeen",
		Description:    `Contains the date of the last appearance of the claims.`,
		Name:           "lastSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ZHash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"firstseen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date of the first appearance of the claims.`,
		Name:           "firstSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"hash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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,
		Type:     "string",
	},
	"lastseen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastSeen",
		Description:    `Contains the date of the last appearance of the claims.`,
		Name:           "lastSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"zhash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 CounterReportAttributesMap = map[string]elemental.AttributeSpecification{
	"AckInUnknownState": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckInUnknownState",
		Description:    `Counter for sending finack ack received in unknown connection state.`,
		Exposed:        true,
		Name:           "AckInUnknownState",
		Type:           "integer",
	},
	"AckInvalidFormat": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckInvalidFormat",
		Description:    `Counter for ack packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "AckInvalidFormat",
		Type:           "integer",
	},
	"AckRejected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckRejected",
		Description:    `Counter for reject ack packet as per policy.`,
		Exposed:        true,
		Name:           "AckRejected",
		Type:           "integer",
	},
	"AckSigValidationFailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckSigValidationFailed",
		Description:    `Counter for ack packet dropped because signature validation failed.`,
		Exposed:        true,
		Name:           "AckSigValidationFailed",
		Type:           "integer",
	},
	"AckTCPNoTCPAuthOption": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckTCPNoTCPAuthOption",
		Description:    `Counter for tcp authentication option not found.`,
		Exposed:        true,
		Name:           "AckTCPNoTCPAuthOption",
		Type:           "integer",
	},
	"ConnectionsProcessed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ConnectionsProcessed",
		Description:    `Counter for connections processed.`,
		Exposed:        true,
		Name:           "ConnectionsProcessed",
		Type:           "integer",
	},
	"ContextIDNotFound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ContextIDNotFound",
		Description:    `Counter for unable to find ContextID.`,
		Exposed:        true,
		Name:           "ContextIDNotFound",
		Type:           "integer",
	},
	"DroppedExternalService": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DroppedExternalService",
		Description: `Counter for no acls found for external services. dropping application syn
packet.`,
		Exposed: true,
		Name:    "DroppedExternalService",
		Type:    "integer",
	},
	"InvalidConnState": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvalidConnState",
		Description:    `Counter for invalid connection state.`,
		Exposed:        true,
		Name:           "InvalidConnState",
		Type:           "integer",
	},
	"InvalidNetState": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvalidNetState",
		Description:    `Counter for invalid net state.`,
		Exposed:        true,
		Name:           "InvalidNetState",
		Type:           "integer",
	},
	"InvalidProtocol": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvalidProtocol",
		Description:    `Counter for invalid protocol.`,
		Exposed:        true,
		Name:           "InvalidProtocol",
		Type:           "integer",
	},
	"InvalidSynAck": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvalidSynAck",
		Description:    `Counter for pu is already dead - drop synack packet.`,
		Exposed:        true,
		Name:           "InvalidSynAck",
		Type:           "integer",
	},
	"MarkNotFound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MarkNotFound",
		Description:    `Counter for pu mark not found.`,
		Exposed:        true,
		Name:           "MarkNotFound",
		Type:           "integer",
	},
	"NetSynNotSeen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NetSynNotSeen",
		Description:    `Counter for network syn packet was not seen.`,
		Exposed:        true,
		Name:           "NetSynNotSeen",
		Type:           "integer",
	},
	"NoConnFound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NoConnFound",
		Description:    `Counter for no context or connection found.`,
		Exposed:        true,
		Name:           "NoConnFound",
		Type:           "integer",
	},
	"NonPUTraffic": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NonPUTraffic",
		Description:    `Counter for traffic that belongs to a non PU process.`,
		Exposed:        true,
		Name:           "NonPUTraffic",
		Type:           "integer",
	},
	"OutOfOrderSynAck": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OutOfOrderSynAck",
		Description:    `Counter for synack for flow with processed finack.`,
		Exposed:        true,
		Name:           "OutOfOrderSynAck",
		Type:           "integer",
	},
	"PortNotFound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PortNotFound",
		Description:    `Counter for port not found.`,
		Exposed:        true,
		Name:           "PortNotFound",
		Type:           "integer",
	},
	"RejectPacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RejectPacket",
		Description:    `Counter for reject the packet as per policy.`,
		Exposed:        true,
		Name:           "RejectPacket",
		Type:           "integer",
	},
	"ServicePostprocessorFailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServicePostprocessorFailed",
		Description:    `Counter for post service processing failed for network packet.`,
		Exposed:        true,
		Name:           "ServicePostprocessorFailed",
		Type:           "integer",
	},
	"ServicePreprocessorFailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServicePreprocessorFailed",
		Description:    `Counter for network packets that failed preprocessing.`,
		Exposed:        true,
		Name:           "ServicePreprocessorFailed",
		Type:           "integer",
	},
	"SynAckBadClaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckBadClaims",
		Description:    `Counter for synack packet dropped because of bad claims.`,
		Exposed:        true,
		Name:           "SynAckBadClaims",
		Type:           "integer",
	},
	"SynAckClaimsMisMatch": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckClaimsMisMatch",
		Description:    `Counter for synack packet dropped because of encryption mismatch.`,
		Exposed:        true,
		Name:           "SynAckClaimsMisMatch",
		Type:           "integer",
	},
	"SynAckDroppedExternalService": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckDroppedExternalService",
		Description:    `Counter for synack from external service dropped.`,
		Exposed:        true,
		Name:           "SynAckDroppedExternalService",
		Type:           "integer",
	},
	"SynAckInvalidFormat": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckInvalidFormat",
		Description:    `Counter for synack packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "SynAckInvalidFormat",
		Type:           "integer",
	},
	"SynAckMissingClaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckMissingClaims",
		Description:    `Counter for synack packet dropped because of no claims.`,
		Exposed:        true,
		Name:           "SynAckMissingClaims",
		Type:           "integer",
	},
	"SynAckMissingToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckMissingToken",
		Description:    `Counter for synack packet dropped because of missing token.`,
		Exposed:        true,
		Name:           "SynAckMissingToken",
		Type:           "integer",
	},
	"SynAckNoTCPAuthOption": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckNoTCPAuthOption",
		Description:    `Counter for tcp authentication option not found.`,
		Exposed:        true,
		Name:           "SynAckNoTCPAuthOption",
		Type:           "integer",
	},
	"SynAckRejected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckRejected",
		Description:    `Counter for dropping because of reject rule on transmitter.`,
		Exposed:        true,
		Name:           "SynAckRejected",
		Type:           "integer",
	},
	"SynDroppedInvalidFormat": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynDroppedInvalidFormat",
		Description:    `Counter for syn packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "SynDroppedInvalidFormat",
		Type:           "integer",
	},
	"SynDroppedInvalidToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynDroppedInvalidToken",
		Description:    `Counter for syn packet dropped because of invalid token.`,
		Exposed:        true,
		Name:           "SynDroppedInvalidToken",
		Type:           "integer",
	},
	"SynDroppedNoClaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynDroppedNoClaims",
		Description:    `Counter for syn packet dropped because of no claims.`,
		Exposed:        true,
		Name:           "SynDroppedNoClaims",
		Type:           "integer",
	},
	"SynDroppedTCPOption": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynDroppedTCPOption",
		Description:    `Counter for tcp authentication option not found.`,
		Exposed:        true,
		Name:           "SynDroppedTCPOption",
		Type:           "integer",
	},
	"SynRejectPacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynRejectPacket",
		Description:    `Counter for syn dropped due to policy.`,
		Exposed:        true,
		Name:           "SynRejectPacket",
		Type:           "integer",
	},
	"SynUnexpectedPacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynUnexpectedPacket",
		Description:    `Counter for received syn packet from unknown pu.`,
		Exposed:        true,
		Name:           "SynUnexpectedPacket",
		Type:           "integer",
	},
	"TCPAuthNotFound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TCPAuthNotFound",
		Description:    `Counter for tcp authentication option not found.`,
		Exposed:        true,
		Name:           "TCPAuthNotFound",
		Type:           "integer",
	},
	"UDPAckInvalidSignature": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPAckInvalidSignature",
		Description:    `Counter for dropped udp ack invalid signature.`,
		Exposed:        true,
		Name:           "UDPAckInvalidSignature",
		Type:           "integer",
	},
	"UDPConnectionsProcessed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPConnectionsProcessed",
		Description:    `Counter for number of processed UDP connections.`,
		Exposed:        true,
		Name:           "UDPConnectionsProcessed",
		Type:           "integer",
	},
	"UDPDropContextNotFound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropContextNotFound",
		Description:    `Counter for dropped UDP data packets with no context.`,
		Exposed:        true,
		Name:           "UDPDropContextNotFound",
		Type:           "integer",
	},
	"UDPDropFin": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropFin",
		Description:    `Counter for dropped udp FIN handshake packets.`,
		Exposed:        true,
		Name:           "UDPDropFin",
		Type:           "integer",
	},
	"UDPDropInNfQueue": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropInNfQueue",
		Description:    `Counter for dropped UDP in NfQueue.`,
		Exposed:        true,
		Name:           "UDPDropInNfQueue",
		Type:           "integer",
	},
	"UDPDropNoConnection": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropNoConnection",
		Description:    `Counter for dropped UDP data packets with no connection.`,
		Exposed:        true,
		Name:           "UDPDropNoConnection",
		Type:           "integer",
	},
	"UDPDropPacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropPacket",
		Description:    `Counter for dropped UDP data packets.`,
		Exposed:        true,
		Name:           "UDPDropPacket",
		Type:           "integer",
	},
	"UDPDropQueueFull": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropQueueFull",
		Description:    `Counter for dropped UDP Queue Full.`,
		Exposed:        true,
		Name:           "UDPDropQueueFull",
		Type:           "integer",
	},
	"UDPDropSynAck": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropSynAck",
		Description:    `Counter for dropped udp synack handshake packets.`,
		Exposed:        true,
		Name:           "UDPDropSynAck",
		Type:           "integer",
	},
	"UDPInvalidNetState": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPInvalidNetState",
		Description:    `Counter for udp packets received in invalid network state.`,
		Exposed:        true,
		Name:           "UDPInvalidNetState",
		Type:           "integer",
	},
	"UDPPostProcessingFailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPPostProcessingFailed",
		Description:    `Counter for UDP packets failing postprocessing.`,
		Exposed:        true,
		Name:           "UDPPostProcessingFailed",
		Type:           "integer",
	},
	"UDPPreProcessingFailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPPreProcessingFailed",
		Description:    `Counter for UDP packets failing preprocessing.`,
		Exposed:        true,
		Name:           "UDPPreProcessingFailed",
		Type:           "integer",
	},
	"UDPRejected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPRejected",
		Description:    `Counter for UDP packets dropped due to policy.`,
		Exposed:        true,
		Name:           "UDPRejected",
		Type:           "integer",
	},
	"UDPSynAckDropBadClaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynAckDropBadClaims",
		Description:    `Counter for dropped udp synack bad claims.`,
		Exposed:        true,
		Name:           "UDPSynAckDropBadClaims",
		Type:           "integer",
	},
	"UDPSynAckMissingClaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynAckMissingClaims",
		Description:    `Counter for dropped udp synack missing claims.`,
		Exposed:        true,
		Name:           "UDPSynAckMissingClaims",
		Type:           "integer",
	},
	"UDPSynAckPolicy": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynAckPolicy",
		Description:    `Counter for dropped udp synack bad claims.`,
		Exposed:        true,
		Name:           "UDPSynAckPolicy",
		Type:           "integer",
	},
	"UDPSynDrop": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynDrop",
		Description:    `Counter for dropped udp syn transmits.`,
		Exposed:        true,
		Name:           "UDPSynDrop",
		Type:           "integer",
	},
	"UDPSynDropPolicy": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynDropPolicy",
		Description:    `Counter for dropped udp syn policy.`,
		Exposed:        true,
		Name:           "UDPSynDropPolicy",
		Type:           "integer",
	},
	"UDPSynInvalidToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynInvalidToken",
		Description:    `Counter for dropped udp FIN handshake packets.`,
		Exposed:        true,
		Name:           "UDPSynInvalidToken",
		Type:           "integer",
	},
	"UDPSynMissingClaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynMissingClaims",
		Description:    `Counter for dropped UDP SYN missing claims.`,
		Exposed:        true,
		Name:           "UDPSynMissingClaims",
		Type:           "integer",
	},
	"UnknownError": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UnknownError",
		Description:    `Counter for unknown error.`,
		Exposed:        true,
		Name:           "UnknownError",
		Type:           "integer",
	},
	"EnforcerID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ProcessingUnitID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitID",
		Description:    `PUID is the ID of the PU reporting the counter.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "processingUnitID",
		Type:           "string",
	},
	"ProcessingUnitNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the PU reporting the counter.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "processingUnitNamespace",
		Type:           "string",
	},
	"Timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Timestamp is the date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
}

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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckInUnknownState",
		Description:    `Counter for sending finack ack received in unknown connection state.`,
		Exposed:        true,
		Name:           "AckInUnknownState",
		Type:           "integer",
	},
	"ackinvalidformat": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckInvalidFormat",
		Description:    `Counter for ack packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "AckInvalidFormat",
		Type:           "integer",
	},
	"ackrejected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckRejected",
		Description:    `Counter for reject ack packet as per policy.`,
		Exposed:        true,
		Name:           "AckRejected",
		Type:           "integer",
	},
	"acksigvalidationfailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckSigValidationFailed",
		Description:    `Counter for ack packet dropped because signature validation failed.`,
		Exposed:        true,
		Name:           "AckSigValidationFailed",
		Type:           "integer",
	},
	"acktcpnotcpauthoption": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AckTCPNoTCPAuthOption",
		Description:    `Counter for tcp authentication option not found.`,
		Exposed:        true,
		Name:           "AckTCPNoTCPAuthOption",
		Type:           "integer",
	},
	"connectionsprocessed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ConnectionsProcessed",
		Description:    `Counter for connections processed.`,
		Exposed:        true,
		Name:           "ConnectionsProcessed",
		Type:           "integer",
	},
	"contextidnotfound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ContextIDNotFound",
		Description:    `Counter for unable to find ContextID.`,
		Exposed:        true,
		Name:           "ContextIDNotFound",
		Type:           "integer",
	},
	"droppedexternalservice": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DroppedExternalService",
		Description: `Counter for no acls found for external services. dropping application syn
packet.`,
		Exposed: true,
		Name:    "DroppedExternalService",
		Type:    "integer",
	},
	"invalidconnstate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvalidConnState",
		Description:    `Counter for invalid connection state.`,
		Exposed:        true,
		Name:           "InvalidConnState",
		Type:           "integer",
	},
	"invalidnetstate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvalidNetState",
		Description:    `Counter for invalid net state.`,
		Exposed:        true,
		Name:           "InvalidNetState",
		Type:           "integer",
	},
	"invalidprotocol": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvalidProtocol",
		Description:    `Counter for invalid protocol.`,
		Exposed:        true,
		Name:           "InvalidProtocol",
		Type:           "integer",
	},
	"invalidsynack": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvalidSynAck",
		Description:    `Counter for pu is already dead - drop synack packet.`,
		Exposed:        true,
		Name:           "InvalidSynAck",
		Type:           "integer",
	},
	"marknotfound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MarkNotFound",
		Description:    `Counter for pu mark not found.`,
		Exposed:        true,
		Name:           "MarkNotFound",
		Type:           "integer",
	},
	"netsynnotseen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NetSynNotSeen",
		Description:    `Counter for network syn packet was not seen.`,
		Exposed:        true,
		Name:           "NetSynNotSeen",
		Type:           "integer",
	},
	"noconnfound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NoConnFound",
		Description:    `Counter for no context or connection found.`,
		Exposed:        true,
		Name:           "NoConnFound",
		Type:           "integer",
	},
	"nonputraffic": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NonPUTraffic",
		Description:    `Counter for traffic that belongs to a non PU process.`,
		Exposed:        true,
		Name:           "NonPUTraffic",
		Type:           "integer",
	},
	"outofordersynack": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OutOfOrderSynAck",
		Description:    `Counter for synack for flow with processed finack.`,
		Exposed:        true,
		Name:           "OutOfOrderSynAck",
		Type:           "integer",
	},
	"portnotfound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PortNotFound",
		Description:    `Counter for port not found.`,
		Exposed:        true,
		Name:           "PortNotFound",
		Type:           "integer",
	},
	"rejectpacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RejectPacket",
		Description:    `Counter for reject the packet as per policy.`,
		Exposed:        true,
		Name:           "RejectPacket",
		Type:           "integer",
	},
	"servicepostprocessorfailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServicePostprocessorFailed",
		Description:    `Counter for post service processing failed for network packet.`,
		Exposed:        true,
		Name:           "ServicePostprocessorFailed",
		Type:           "integer",
	},
	"servicepreprocessorfailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServicePreprocessorFailed",
		Description:    `Counter for network packets that failed preprocessing.`,
		Exposed:        true,
		Name:           "ServicePreprocessorFailed",
		Type:           "integer",
	},
	"synackbadclaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckBadClaims",
		Description:    `Counter for synack packet dropped because of bad claims.`,
		Exposed:        true,
		Name:           "SynAckBadClaims",
		Type:           "integer",
	},
	"synackclaimsmismatch": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckClaimsMisMatch",
		Description:    `Counter for synack packet dropped because of encryption mismatch.`,
		Exposed:        true,
		Name:           "SynAckClaimsMisMatch",
		Type:           "integer",
	},
	"synackdroppedexternalservice": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckDroppedExternalService",
		Description:    `Counter for synack from external service dropped.`,
		Exposed:        true,
		Name:           "SynAckDroppedExternalService",
		Type:           "integer",
	},
	"synackinvalidformat": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckInvalidFormat",
		Description:    `Counter for synack packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "SynAckInvalidFormat",
		Type:           "integer",
	},
	"synackmissingclaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckMissingClaims",
		Description:    `Counter for synack packet dropped because of no claims.`,
		Exposed:        true,
		Name:           "SynAckMissingClaims",
		Type:           "integer",
	},
	"synackmissingtoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckMissingToken",
		Description:    `Counter for synack packet dropped because of missing token.`,
		Exposed:        true,
		Name:           "SynAckMissingToken",
		Type:           "integer",
	},
	"synacknotcpauthoption": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckNoTCPAuthOption",
		Description:    `Counter for tcp authentication option not found.`,
		Exposed:        true,
		Name:           "SynAckNoTCPAuthOption",
		Type:           "integer",
	},
	"synackrejected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynAckRejected",
		Description:    `Counter for dropping because of reject rule on transmitter.`,
		Exposed:        true,
		Name:           "SynAckRejected",
		Type:           "integer",
	},
	"syndroppedinvalidformat": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynDroppedInvalidFormat",
		Description:    `Counter for syn packet dropped because of invalid format.`,
		Exposed:        true,
		Name:           "SynDroppedInvalidFormat",
		Type:           "integer",
	},
	"syndroppedinvalidtoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynDroppedInvalidToken",
		Description:    `Counter for syn packet dropped because of invalid token.`,
		Exposed:        true,
		Name:           "SynDroppedInvalidToken",
		Type:           "integer",
	},
	"syndroppednoclaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynDroppedNoClaims",
		Description:    `Counter for syn packet dropped because of no claims.`,
		Exposed:        true,
		Name:           "SynDroppedNoClaims",
		Type:           "integer",
	},
	"syndroppedtcpoption": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynDroppedTCPOption",
		Description:    `Counter for tcp authentication option not found.`,
		Exposed:        true,
		Name:           "SynDroppedTCPOption",
		Type:           "integer",
	},
	"synrejectpacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynRejectPacket",
		Description:    `Counter for syn dropped due to policy.`,
		Exposed:        true,
		Name:           "SynRejectPacket",
		Type:           "integer",
	},
	"synunexpectedpacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SynUnexpectedPacket",
		Description:    `Counter for received syn packet from unknown pu.`,
		Exposed:        true,
		Name:           "SynUnexpectedPacket",
		Type:           "integer",
	},
	"tcpauthnotfound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TCPAuthNotFound",
		Description:    `Counter for tcp authentication option not found.`,
		Exposed:        true,
		Name:           "TCPAuthNotFound",
		Type:           "integer",
	},
	"udpackinvalidsignature": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPAckInvalidSignature",
		Description:    `Counter for dropped udp ack invalid signature.`,
		Exposed:        true,
		Name:           "UDPAckInvalidSignature",
		Type:           "integer",
	},
	"udpconnectionsprocessed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPConnectionsProcessed",
		Description:    `Counter for number of processed UDP connections.`,
		Exposed:        true,
		Name:           "UDPConnectionsProcessed",
		Type:           "integer",
	},
	"udpdropcontextnotfound": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropContextNotFound",
		Description:    `Counter for dropped UDP data packets with no context.`,
		Exposed:        true,
		Name:           "UDPDropContextNotFound",
		Type:           "integer",
	},
	"udpdropfin": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropFin",
		Description:    `Counter for dropped udp FIN handshake packets.`,
		Exposed:        true,
		Name:           "UDPDropFin",
		Type:           "integer",
	},
	"udpdropinnfqueue": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropInNfQueue",
		Description:    `Counter for dropped UDP in NfQueue.`,
		Exposed:        true,
		Name:           "UDPDropInNfQueue",
		Type:           "integer",
	},
	"udpdropnoconnection": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropNoConnection",
		Description:    `Counter for dropped UDP data packets with no connection.`,
		Exposed:        true,
		Name:           "UDPDropNoConnection",
		Type:           "integer",
	},
	"udpdroppacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropPacket",
		Description:    `Counter for dropped UDP data packets.`,
		Exposed:        true,
		Name:           "UDPDropPacket",
		Type:           "integer",
	},
	"udpdropqueuefull": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropQueueFull",
		Description:    `Counter for dropped UDP Queue Full.`,
		Exposed:        true,
		Name:           "UDPDropQueueFull",
		Type:           "integer",
	},
	"udpdropsynack": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPDropSynAck",
		Description:    `Counter for dropped udp synack handshake packets.`,
		Exposed:        true,
		Name:           "UDPDropSynAck",
		Type:           "integer",
	},
	"udpinvalidnetstate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPInvalidNetState",
		Description:    `Counter for udp packets received in invalid network state.`,
		Exposed:        true,
		Name:           "UDPInvalidNetState",
		Type:           "integer",
	},
	"udppostprocessingfailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPPostProcessingFailed",
		Description:    `Counter for UDP packets failing postprocessing.`,
		Exposed:        true,
		Name:           "UDPPostProcessingFailed",
		Type:           "integer",
	},
	"udppreprocessingfailed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPPreProcessingFailed",
		Description:    `Counter for UDP packets failing preprocessing.`,
		Exposed:        true,
		Name:           "UDPPreProcessingFailed",
		Type:           "integer",
	},
	"udprejected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPRejected",
		Description:    `Counter for UDP packets dropped due to policy.`,
		Exposed:        true,
		Name:           "UDPRejected",
		Type:           "integer",
	},
	"udpsynackdropbadclaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynAckDropBadClaims",
		Description:    `Counter for dropped udp synack bad claims.`,
		Exposed:        true,
		Name:           "UDPSynAckDropBadClaims",
		Type:           "integer",
	},
	"udpsynackmissingclaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynAckMissingClaims",
		Description:    `Counter for dropped udp synack missing claims.`,
		Exposed:        true,
		Name:           "UDPSynAckMissingClaims",
		Type:           "integer",
	},
	"udpsynackpolicy": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynAckPolicy",
		Description:    `Counter for dropped udp synack bad claims.`,
		Exposed:        true,
		Name:           "UDPSynAckPolicy",
		Type:           "integer",
	},
	"udpsyndrop": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynDrop",
		Description:    `Counter for dropped udp syn transmits.`,
		Exposed:        true,
		Name:           "UDPSynDrop",
		Type:           "integer",
	},
	"udpsyndroppolicy": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynDropPolicy",
		Description:    `Counter for dropped udp syn policy.`,
		Exposed:        true,
		Name:           "UDPSynDropPolicy",
		Type:           "integer",
	},
	"udpsyninvalidtoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynInvalidToken",
		Description:    `Counter for dropped udp FIN handshake packets.`,
		Exposed:        true,
		Name:           "UDPSynInvalidToken",
		Type:           "integer",
	},
	"udpsynmissingclaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UDPSynMissingClaims",
		Description:    `Counter for dropped UDP SYN missing claims.`,
		Exposed:        true,
		Name:           "UDPSynMissingClaims",
		Type:           "integer",
	},
	"unknownerror": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UnknownError",
		Description:    `Counter for unknown error.`,
		Exposed:        true,
		Name:           "UnknownError",
		Type:           "integer",
	},
	"enforcerid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"processingunitid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitID",
		Description:    `PUID is the ID of the PU reporting the counter.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "processingUnitID",
		Type:           "string",
	},
	"processingunitnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the PU reporting the counter.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "processingUnitNamespace",
		Type:           "string",
	},
	"timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Timestamp is the date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
}

CounterReportLowerCaseAttributesMap represents the map of attribute for CounterReport.

View Source
var CustomerAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"Provider": elemental.AttributeSpecification{
		AllowedChoices: []string{"Aporeto", "AWS"},
		ConvertedName:  "Provider",
		DefaultValue:   CustomerProviderAporeto,
		Description:    `Provider holds the name of the provider to be billed for this service.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "provider",
		Stored:         true,
		Type:           "enum",
	},
	"ProviderCustomerID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProviderCustomerID",
		Description: `providerCustomerID holds the customer id as used by the provider for this
customer to enable provider billing.`,
		Exposed:   true,
		Name:      "providerCustomerID",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"ProviderProductID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProviderProductID",
		Description: `providerProductID holds the product id as used by the provider for this
customer to enable provider billing.`,
		Exposed:   true,
		Name:      "providerProductID",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"State": elemental.AttributeSpecification{
		AllowedChoices: []string{"SubscribePending", "SubscribeFailed", "SubscribeSuccess", "UnsubscribePending", "UnsubscribeSuccess"},
		ConvertedName:  "State",
		DefaultValue:   CustomerStateSubscribePending,
		Description:    `State holds the status of the customer with the provider.`,
		Exposed:        true,
		Name:           "state",
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

CustomerAttributesMap represents the map of attribute for Customer.

View Source
var CustomerIdentity = elemental.Identity{
	Name:     "customer",
	Category: "customers",
	Package:  "bill",
	Private:  true,
}

CustomerIdentity represents the Identity of the object.

View Source
var CustomerLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"provider": elemental.AttributeSpecification{
		AllowedChoices: []string{"Aporeto", "AWS"},
		ConvertedName:  "Provider",
		DefaultValue:   CustomerProviderAporeto,
		Description:    `Provider holds the name of the provider to be billed for this service.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "provider",
		Stored:         true,
		Type:           "enum",
	},
	"providercustomerid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProviderCustomerID",
		Description: `providerCustomerID holds the customer id as used by the provider for this
customer to enable provider billing.`,
		Exposed:   true,
		Name:      "providerCustomerID",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"providerproductid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProviderProductID",
		Description: `providerProductID holds the product id as used by the provider for this
customer to enable provider billing.`,
		Exposed:   true,
		Name:      "providerProductID",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"state": elemental.AttributeSpecification{
		AllowedChoices: []string{"SubscribePending", "SubscribeFailed", "SubscribeSuccess", "UnsubscribePending", "UnsubscribeSuccess"},
		ConvertedName:  "State",
		DefaultValue:   CustomerStateSubscribePending,
		Description:    `State holds the status of the customer with the provider.`,
		Exposed:        true,
		Name:           "state",
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

CustomerLowerCaseAttributesMap represents the map of attribute for Customer.

View Source
var DataPathCertificateAttributesMap = map[string]elemental.AttributeSpecification{
	"CSR": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		Description: `Contains the certificate signing request (CSR) the enforcer wants control plane to sign. 
Depending on the certificate there will be various requirements for the CSR to be accepted.`,
		Exposed:  true,
		Name:     "CSR",
		Required: true,
		Type:     "string",
	},
	"Certificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `The certificate.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"ObjectID": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SessionID",
		Description:    `Provides the session ID of the enforcer when retrieving a datapath certificate.`,
		Exposed:        true,
		Name:           "sessionID",
		Type:           "string",
	},
	"Signer": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Signer",
		Description:    `Contains the CA that signed the delivered certificate.`,
		Exposed:        true,
		Name:           "signer",
		ReadOnly:       true,
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Contains a cryptographic token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{"Enforcer", "Service"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		Description: `Contains the certificate signing request (CSR) the enforcer wants control plane to sign. 
Depending on the certificate there will be various requirements for the CSR to be accepted.`,
		Exposed:  true,
		Name:     "CSR",
		Required: true,
		Type:     "string",
	},
	"certificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `The certificate.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"objectid": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SessionID",
		Description:    `Provides the session ID of the enforcer when retrieving a datapath certificate.`,
		Exposed:        true,
		Name:           "sessionID",
		Type:           "string",
	},
	"signer": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Signer",
		Description:    `Contains the CA that signed the delivered certificate.`,
		Exposed:        true,
		Name:           "signer",
		ReadOnly:       true,
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Contains a cryptographic token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{"Enforcer", "Service"},
		ConvertedName:  "Type",
		Description:    `Type of certificate.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
}

DataPathCertificateLowerCaseAttributesMap represents the map of attribute for DataPathCertificate.

View Source
var DependencyMapAttributesMap = map[string]elemental.AttributeSpecification{
	"Edges": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Edges",
		Description:    `The edges of the map.`,
		Exposed:        true,
		Name:           "edges",
		ReadOnly:       true,
		SubType:        "graphedge",
		Type:           "refMap",
	},
	"Groups": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Groups",
		Description:    `Provides information about the group values.`,
		Exposed:        true,
		Name:           "groups",
		ReadOnly:       true,
		SubType:        "graphgroup",
		Type:           "refMap",
	},
	"Nodes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Nodes",
		Description:    `Refers to the nodes of the map.`,
		Exposed:        true,
		Name:           "nodes",
		ReadOnly:       true,
		SubType:        "graphnode",
		Type:           "refMap",
	},
	"ViewSuggestions": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Edges",
		Description:    `The edges of the map.`,
		Exposed:        true,
		Name:           "edges",
		ReadOnly:       true,
		SubType:        "graphedge",
		Type:           "refMap",
	},
	"groups": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Groups",
		Description:    `Provides information about the group values.`,
		Exposed:        true,
		Name:           "groups",
		ReadOnly:       true,
		SubType:        "graphgroup",
		Type:           "refMap",
	},
	"nodes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Nodes",
		Description:    `Refers to the nodes of the map.`,
		Exposed:        true,
		Name:           "nodes",
		ReadOnly:       true,
		SubType:        "graphnode",
		Type:           "refMap",
	},
	"viewsuggestions": elemental.AttributeSpecification{
		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 EmailAttributesMap = map[string]elemental.AttributeSpecification{
	"Attachments": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Attachments",
		Description:    `Attachments is a list of attachments to send.`,
		Exposed:        true,
		Name:           "attachments",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Bcc": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Bcc",
		Description:    `Bcc represents email that should be in copy but hidden.`,
		Exposed:        true,
		Name:           "bcc",
		SubType:        "string",
		Type:           "list",
	},
	"Cc": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Cc",
		Description:    `Cc represents the addresses that should be in copy.`,
		Exposed:        true,
		Name:           "cc",
		SubType:        "string",
		Type:           "list",
	},
	"Content": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		Description:    `Content of the email to send.`,
		Exposed:        true,
		Name:           "content",
		Type:           "string",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject represents the subject of the email.`,
		Exposed:        true,
		Name:           "subject",
		Type:           "string",
	},
	"To": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "To",
		Description:    `To represents receivers of the email.`,
		Exposed:        true,
		Name:           "to",
		SubType:        "string",
		Type:           "list",
	},
	"Type": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Attachments",
		Description:    `Attachments is a list of attachments to send.`,
		Exposed:        true,
		Name:           "attachments",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"bcc": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Bcc",
		Description:    `Bcc represents email that should be in copy but hidden.`,
		Exposed:        true,
		Name:           "bcc",
		SubType:        "string",
		Type:           "list",
	},
	"cc": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Cc",
		Description:    `Cc represents the addresses that should be in copy.`,
		Exposed:        true,
		Name:           "cc",
		SubType:        "string",
		Type:           "list",
	},
	"content": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		Description:    `Content of the email to send.`,
		Exposed:        true,
		Name:           "content",
		Type:           "string",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject represents the subject of the email.`,
		Exposed:        true,
		Name:           "subject",
		Type:           "string",
	},
	"to": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "To",
		Description:    `To represents receivers of the email.`,
		Exposed:        true,
		Name:           "to",
		SubType:        "string",
		Type:           "list",
	},
	"type": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `The certificate of the enforcer.`,
		Exposed:        true,
		Name:           "certificate",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CertificateExpirationDate": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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 control plane,
providing a renewed certificate.`,
		Exposed:   true,
		Name:      "certificateRequest",
		Transient: true,
		Type:      "string",
	},
	"CollectInfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectInfo",
		Description:    `Indicates to the enforcer whether or not it needs to collect information.`,
		Exposed:        true,
		Name:           "collectInfo",
		Stored:         true,
		Type:           "boolean",
	},
	"CollectedInfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectedInfo",
		Description:    `Represents the latest information collected by the enforcer.`,
		Exposed:        true,
		Name:           "collectedInfo",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CurrentVersion",
		Description:    `The version number of the installed enforcer binary.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "currentVersion",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcementStatus": elemental.AttributeSpecification{
		AllowedChoices: []string{"Inactive", "Active", "Failed"},
		ConvertedName:  "EnforcementStatus",
		DefaultValue:   EnforcerEnforcementStatusInactive,
		Description:    `Status of the enforcement for host services.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "enum",
	},
	"LastCollectionTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastCollectionTime",
		Description:    `Identifies when the information was collected.`,
		Exposed:        true,
		Name:           "lastCollectionTime",
		Stored:         true,
		Type:           "time",
	},
	"LastPokeTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastPokeTime",
		Description:    `The time and date of the last poke.`,
		Name:           "lastPokeTime",
		Stored:         true,
		Type:           "time",
	},
	"LastSyncTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastSyncTime",
		Description:    `The time and date of the last heartbeat.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"LastValidHostServices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Info", "Debug", "Warn", "Error", "Trace"},
		ConvertedName:  "LogLevel",
		DefaultValue:   EnforcerLogLevelInfo,
		Description:    `Log level of the enforcer.`,
		Exposed:        true,
		Name:           "logLevel",
		Stored:         true,
		Type:           "enum",
	},
	"LogLevelDuration": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Registered", "Connected", "Disconnected", "Initialized"},
		ConvertedName:  "OperationalStatus",
		DefaultValue:   EnforcerOperationalStatusRegistered,
		Description:    `The status of the enforcer.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operationalStatus",
		Stored:         true,
		Type:           "enum",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"PublicToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subnets",
		Description:    `Local subnets of this enforcer.`,
		Exposed:        true,
		Name:           "subnets",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Unreachable",
		Description: `The Aporeto control plane 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,
		Type:     "boolean",
	},
	"UpdateAvailable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UpdateAvailable",
		Description:    `If ` + "`" + `true` + "`" + `, the enforcer version is outdated and should be updated.`,
		Exposed:        true,
		Name:           "updateAvailable",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 EnforcerLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"fqdn": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `The certificate of the enforcer.`,
		Exposed:        true,
		Name:           "certificate",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"certificateexpirationdate": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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 control plane,
providing a renewed certificate.`,
		Exposed:   true,
		Name:      "certificateRequest",
		Transient: true,
		Type:      "string",
	},
	"collectinfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectInfo",
		Description:    `Indicates to the enforcer whether or not it needs to collect information.`,
		Exposed:        true,
		Name:           "collectInfo",
		Stored:         true,
		Type:           "boolean",
	},
	"collectedinfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectedInfo",
		Description:    `Represents the latest information collected by the enforcer.`,
		Exposed:        true,
		Name:           "collectedInfo",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CurrentVersion",
		Description:    `The version number of the installed enforcer binary.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "currentVersion",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"enforcementstatus": elemental.AttributeSpecification{
		AllowedChoices: []string{"Inactive", "Active", "Failed"},
		ConvertedName:  "EnforcementStatus",
		DefaultValue:   EnforcerEnforcementStatusInactive,
		Description:    `Status of the enforcement for host services.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "enum",
	},
	"lastcollectiontime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastCollectionTime",
		Description:    `Identifies when the information was collected.`,
		Exposed:        true,
		Name:           "lastCollectionTime",
		Stored:         true,
		Type:           "time",
	},
	"lastpoketime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastPokeTime",
		Description:    `The time and date of the last poke.`,
		Name:           "lastPokeTime",
		Stored:         true,
		Type:           "time",
	},
	"lastsynctime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastSyncTime",
		Description:    `The time and date of the last heartbeat.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"lastvalidhostservices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Info", "Debug", "Warn", "Error", "Trace"},
		ConvertedName:  "LogLevel",
		DefaultValue:   EnforcerLogLevelInfo,
		Description:    `Log level of the enforcer.`,
		Exposed:        true,
		Name:           "logLevel",
		Stored:         true,
		Type:           "enum",
	},
	"loglevelduration": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Registered", "Connected", "Disconnected", "Initialized"},
		ConvertedName:  "OperationalStatus",
		DefaultValue:   EnforcerOperationalStatusRegistered,
		Description:    `The status of the enforcer.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operationalStatus",
		Stored:         true,
		Type:           "enum",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"publictoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subnets",
		Description:    `Local subnets of this enforcer.`,
		Exposed:        true,
		Name:           "subnets",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Unreachable",
		Description: `The Aporeto control plane 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,
		Type:     "boolean",
	},
	"updateavailable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UpdateAvailable",
		Description:    `If ` + "`" + `true` + "`" + `, the enforcer version is outdated and should be updated.`,
		Exposed:        true,
		Name:           "updateAvailable",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ExcludedInterfaces": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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 Aporeto for SSH only.`,
		Exposed:   true,
		Name:      "excludedNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"IgnoreExpression": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"KubeSquall", "PodAtomic", "PodContainers"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Docker", "ECS", "Kubernetes"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"TargetNetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetUDPNetworks",
		Description: `If empty, Aporeto 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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"excludedinterfaces": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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 Aporeto for SSH only.`,
		Exposed:   true,
		Name:      "excludedNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"ignoreexpression": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"KubeSquall", "PodAtomic", "PodContainers"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Docker", "ECS", "Kubernetes"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"targetnetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetUDPNetworks",
		Description: `If empty, Aporeto 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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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 EnforcerReportAttributesMap = map[string]elemental.AttributeSpecification{
	"CPULoad": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CPULoad",
		Description:    `Total CPU utilization of the enforcer as a percentage of vCPUs.`,
		Exposed:        true,
		Name:           "CPULoad",
		Type:           "float",
	},
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "ID",
		Required:       true,
		Type:           "string",
	},
	"Memory": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Memory",
		Description:    `Total resident memory used by the enforcer in bytes.`,
		Exposed:        true,
		Name:           "memory",
		Type:           "integer",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the enforcer.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"Processes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Processes",
		Description:    `Number of active processes of the enforcer.`,
		Exposed:        true,
		Name:           "processes",
		Type:           "integer",
	},
	"Timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
}

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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CPULoad",
		Description:    `Total CPU utilization of the enforcer as a percentage of vCPUs.`,
		Exposed:        true,
		Name:           "CPULoad",
		Type:           "float",
	},
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID of the enforcer.`,
		Exposed:        true,
		Name:           "ID",
		Required:       true,
		Type:           "string",
	},
	"memory": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Memory",
		Description:    `Total resident memory used by the enforcer in bytes.`,
		Exposed:        true,
		Name:           "memory",
		Type:           "integer",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the enforcer.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the enforcer.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"processes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Processes",
		Description:    `Number of active processes of the enforcer.`,
		Exposed:        true,
		Name:           "processes",
		Type:           "integer",
	},
	"timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
}

EnforcerReportLowerCaseAttributesMap represents the map of attribute for EnforcerReport.

View Source
var EnforcerTraceReportAttributesMap = map[string]elemental.AttributeSpecification{
	"EnforcerID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer where the trace was collected.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer where the trace was collected.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit where the trace was collected.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"PuID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PuID",
		Description:    `ID of the processing unit where the trace was collected.`,
		Exposed:        true,
		Name:           "puID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Records": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `ID of the enforcer where the trace was collected.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer where the trace was collected.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit where the trace was collected.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"puid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PuID",
		Description:    `ID of the processing unit where the trace was collected.`,
		Exposed:        true,
		Name:           "puID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"records": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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{
	"Category": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Category",
		CreationOnly:   true,
		Description:    `Category of the event log.`,
		Exposed:        true,
		Name:           "category",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Content": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the event log.`,
		Exposed:        true,
		Name:           "content",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Date": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Date",
		CreationOnly:   true,
		Description:    `Creation date of the event log.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Level": elemental.AttributeSpecification{
		AllowedChoices: []string{"Debug", "Info", "Warning", "Error", "Critical"},
		ConvertedName:  "Level",
		CreationOnly:   true,
		DefaultValue:   EventLogLevelInfo,
		Description:    `Sets the log level.`,
		Exposed:        true,
		Name:           "level",
		Stored:         true,
		Type:           "enum",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"Title": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Title",
		CreationOnly:   true,
		Description:    `Title of the event log.`,
		Exposed:        true,
		Name:           "title",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
}

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{
	"category": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Category",
		CreationOnly:   true,
		Description:    `Category of the event log.`,
		Exposed:        true,
		Name:           "category",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"content": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the event log.`,
		Exposed:        true,
		Name:           "content",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"date": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Date",
		CreationOnly:   true,
		Description:    `Creation date of the event log.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"level": elemental.AttributeSpecification{
		AllowedChoices: []string{"Debug", "Info", "Warning", "Error", "Critical"},
		ConvertedName:  "Level",
		CreationOnly:   true,
		DefaultValue:   EventLogLevelInfo,
		Description:    `Sets the log level.`,
		Exposed:        true,
		Name:           "level",
		Stored:         true,
		Type:           "enum",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"title": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Title",
		CreationOnly:   true,
		Description:    `Title of the event log.`,
		Exposed:        true,
		Name:           "title",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
}

EventLogLowerCaseAttributesMap represents the map of attribute for EventLog.

View Source
var ExportAttributesMap = map[string]elemental.AttributeSpecification{
	"APIVersion": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "APIVersion",
		Description:    `Version of the Aporeto API used for the exported data.`,
		Exposed:        true,
		Name:           "APIVersion",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"Data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Data",
		Description:    `List of all exported data.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "map[string][]map[string]interface{}",
		Type:           "external",
	},
	"Identities": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Identities",
		Description:    `The list of identities to export.`,
		Exposed:        true,
		Name:           "identities",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Label": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "APIVersion",
		Description:    `Version of the Aporeto API used for the exported data.`,
		Exposed:        true,
		Name:           "APIVersion",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Data",
		Description:    `List of all exported data.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "map[string][]map[string]interface{}",
		Type:           "external",
	},
	"identities": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Identities",
		Description:    `The list of identities to export.`,
		Exposed:        true,
		Name:           "identities",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"label": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Entries": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Entries",
		Description:    `List of CIDRs or domain name.`,
		Exposed:        true,
		Name:           "entries",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
	"Ports": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Ports",
		DefaultValue: []string{
			"1:65535",
		},
		Description: `List of single ports or range (xx:yy).`,
		Exposed:     true,
		Name:        "ports",
		Stored:      true,
		SubType:     "string",
		Type:        "list",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Protocols": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protocols",
		DefaultValue: []string{
			"tcp",
		},
		Description: `List of protocols (` + "`" + `tcp` + "`" + `, ` + "`" + `udp` + "`" + `, or protocol number).`,
		Exposed:     true,
		Name:        "protocols",
		Stored:      true,
		SubType:     "string",
		Type:        "list",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"entries": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Entries",
		Description:    `List of CIDRs or domain name.`,
		Exposed:        true,
		Name:           "entries",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
	"ports": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Ports",
		DefaultValue: []string{
			"1:65535",
		},
		Description: `List of single ports or range (xx:yy).`,
		Exposed:     true,
		Name:        "ports",
		Stored:      true,
		SubType:     "string",
		Type:        "list",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"protocols": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protocols",
		DefaultValue: []string{
			"tcp",
		},
		Description: `List of protocols (` + "`" + `tcp` + "`" + `, ` + "`" + `udp` + "`" + `, or protocol number).`,
		Exposed:     true,
		Name:        "protocols",
		Stored:      true,
		SubType:     "string",
		Type:        "list",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsExecute",
		Description:    `Allows files to be executed.`,
		Exposed:        true,
		Name:           "allowsExecute",
		Orderable:      true,
		Type:           "boolean",
	},
	"AllowsRead": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsRead",
		Description:    `Allows files to be read.`,
		Exposed:        true,
		Name:           "allowsRead",
		Orderable:      true,
		Type:           "boolean",
	},
	"AllowsWrite": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsWrite",
		Description:    `Allows files to be written.`,
		Exposed:        true,
		Name:           "allowsWrite",
		Orderable:      true,
		Type:           "boolean",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"EncryptionEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `Set to ` + "`" + `true` + "`" + ` to enable automatic encryption.`,
		Exposed:        true,
		Name:           "encryptionEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LogsEnabled",
		Description:    `A value of ` + "`" + `true` + "`" + ` enables logging.`,
		Exposed:        true,
		Name:           "logsEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `The object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `The subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsExecute",
		Description:    `Allows files to be executed.`,
		Exposed:        true,
		Name:           "allowsExecute",
		Orderable:      true,
		Type:           "boolean",
	},
	"allowsread": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsRead",
		Description:    `Allows files to be read.`,
		Exposed:        true,
		Name:           "allowsRead",
		Orderable:      true,
		Type:           "boolean",
	},
	"allowswrite": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsWrite",
		Description:    `Allows files to be written.`,
		Exposed:        true,
		Name:           "allowsWrite",
		Orderable:      true,
		Type:           "boolean",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"encryptionenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `Set to ` + "`" + `true` + "`" + ` to enable automatic encryption.`,
		Exposed:        true,
		Name:           "encryptionEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LogsEnabled",
		Description:    `A value of ` + "`" + `true` + "`" + ` enables logging.`,
		Exposed:        true,
		Name:           "logsEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `The object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `The subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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{
	"Action": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject", "Limit"},
		ConvertedName:  "Action",
		Description:    `Action taken.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Type:           "enum",
	},
	"Host": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Host",
		DefaultValue:   "localhost",
		Description:    `Host storing the file.`,
		Exposed:        true,
		Name:           "host",
		Required:       true,
		Type:           "string",
	},
	"Mode": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Mode",
		DefaultValue:   "rxw",
		Description:    `Mode of file access.`,
		Exposed:        true,
		Name:           "mode",
		Required:       true,
		Type:           "string",
	},
	"Path": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Path",
		DefaultValue:   "/etc/passwd",
		Description:    `Path of the file.`,
		Exposed:        true,
		Name:           "path",
		Required:       true,
		Type:           "string",
	},
	"ProcessingUnitID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Type:           "string",
	},
	"ProcessingUnitNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Required:       true,
		Type:           "string",
	},
	"Timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
}

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{
	"action": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject", "Limit"},
		ConvertedName:  "Action",
		Description:    `Action taken.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Type:           "enum",
	},
	"host": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Host",
		DefaultValue:   "localhost",
		Description:    `Host storing the file.`,
		Exposed:        true,
		Name:           "host",
		Required:       true,
		Type:           "string",
	},
	"mode": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Mode",
		DefaultValue:   "rxw",
		Description:    `Mode of file access.`,
		Exposed:        true,
		Name:           "mode",
		Required:       true,
		Type:           "string",
	},
	"path": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Path",
		DefaultValue:   "/etc/passwd",
		Description:    `Path of the file.`,
		Exposed:        true,
		Name:           "path",
		Required:       true,
		Type:           "string",
	},
	"processingunitid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitID",
		Description:    `ID of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		Required:       true,
		Type:           "string",
	},
	"processingunitnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnitNamespace",
		Description:    `Namespace of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitNamespace",
		Required:       true,
		Type:           "string",
	},
	"timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
}

FileAccessReportLowerCaseAttributesMap represents the map of attribute for FileAccessReport.

View Source
var FilePathAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Filepath": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Filepath",
		Description:    `FilePath refer to the file mount path.`,
		Exposed:        true,
		Name:           "filepath",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Server": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"filepath": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Filepath",
		Description:    `FilePath refer to the file mount path.`,
		Exposed:        true,
		Name:           "filepath",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"server": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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{
	"Action": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject"},
		ConvertedName:  "Action",
		Description:    `Action applied to the flow.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Type:           "enum",
	},
	"DestinationID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination.`,
		Exposed:        true,
		Name:           "destinationID",
		Required:       true,
		Type:           "string",
	},
	"DestinationIP": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationIP",
		Description:    `Destination IP address.`,
		Exposed:        true,
		Name:           "destinationIP",
		Type:           "string",
	},
	"DestinationNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationNamespace",
		Description:    `Namespace of the destination.`,
		Exposed:        true,
		Name:           "destinationNamespace",
		Type:           "string",
	},
	"DestinationPort": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationPort",
		Description:    `Port of the destination.`,
		Exposed:        true,
		Name:           "destinationPort",
		Type:           "integer",
	},
	"DestinationType": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		ConvertedName:  "DestinationType",
		Description:    `Destination type.`,
		Exposed:        true,
		Name:           "destinationType",
		Required:       true,
		Type:           "enum",
	},
	"DropReason": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
		Type:    "string",
	},
	"Encrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypted",
		Description:    `If ` + "`" + `true` + "`" + `, the flow was encrypted.`,
		Exposed:        true,
		Name:           "encrypted",
		Type:           "boolean",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Deprecated:     true,
		Description:    `This is here for backward compatibility.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"Observed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Observed",
		Description:    `If ` + "`" + `true` + "`" + `, design mode is on.`,
		Exposed:        true,
		Name:           "observed",
		Type:           "boolean",
	},
	"ObservedAction": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject", "NotApplicable"},
		ConvertedName:  "ObservedAction",
		DefaultValue:   FlowReportObservedActionNotApplicable,
		Description:    `Action observed on the flow.`,
		Exposed:        true,
		Name:           "observedAction",
		Type:           "enum",
	},
	"ObservedDropReason": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedDropReason",
		Description: `Specifies the reason for a rejection. Only set if ` + "`" + `observedAction` + "`" + ` is set
to ` + "`" + `Reject` + "`" + `.`,
		Exposed: true,
		Name:    "observedDropReason",
		Type:    "string",
	},
	"ObservedEncrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedEncrypted",
		Description:    `Value of the encryption of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Type:           "boolean",
	},
	"ObservedPolicyID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedPolicyID",
		Description:    `ID of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyID",
		Type:           "string",
	},
	"ObservedPolicyNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedPolicyNamespace",
		Description:    `Namespace of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyNamespace",
		Type:           "string",
	},
	"PolicyID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyID",
		Description:    `ID of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyID",
		Required:       true,
		Type:           "string",
	},
	"PolicyNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyNamespace",
		Description:    `Namespace of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Required:       true,
		Type:           "string",
	},
	"Protocol": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		Name:           "protocol",
		Required:       true,
		Type:           "integer",
	},
	"ServiceClaimHash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "serviceClaimHash",
		Type:           "string",
	},
	"ServiceID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceID",
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceID",
		Type:           "string",
	},
	"ServiceNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceNamespace",
		Description:    `Service URL accessed.`,
		Exposed:        true,
		Name:           "serviceNamespace",
		Type:           "string",
	},
	"ServiceType": elemental.AttributeSpecification{
		AllowedChoices: []string{"L3", "HTTP", "TCP", "NotApplicable"},
		ConvertedName:  "ServiceType",
		DefaultValue:   FlowReportServiceTypeNotApplicable,
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		Type:           "enum",
	},
	"ServiceURL": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceURL",
		Description:    `Service URL accessed.`,
		Exposed:        true,
		Name:           "serviceURL",
		Type:           "string",
	},
	"SourceID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceID",
		Description:    `ID of the source.`,
		Exposed:        true,
		Name:           "sourceID",
		Required:       true,
		Type:           "string",
	},
	"SourceIP": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceIP",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceIP",
		Type:           "string",
	},
	"SourceNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceNamespace",
		Description:    `Namespace of the source.`,
		Exposed:        true,
		Name:           "sourceNamespace",
		Type:           "string",
	},
	"SourceType": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		ConvertedName:  "SourceType",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceType",
		Required:       true,
		Type:           "enum",
	},
	"Timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the log.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"Value": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `Number of flows in the log.`,
		Exposed:        true,
		Name:           "value",
		Required:       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{
	"action": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject"},
		ConvertedName:  "Action",
		Description:    `Action applied to the flow.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Type:           "enum",
	},
	"destinationid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination.`,
		Exposed:        true,
		Name:           "destinationID",
		Required:       true,
		Type:           "string",
	},
	"destinationip": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationIP",
		Description:    `Destination IP address.`,
		Exposed:        true,
		Name:           "destinationIP",
		Type:           "string",
	},
	"destinationnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationNamespace",
		Description:    `Namespace of the destination.`,
		Exposed:        true,
		Name:           "destinationNamespace",
		Type:           "string",
	},
	"destinationport": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationPort",
		Description:    `Port of the destination.`,
		Exposed:        true,
		Name:           "destinationPort",
		Type:           "integer",
	},
	"destinationtype": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		ConvertedName:  "DestinationType",
		Description:    `Destination type.`,
		Exposed:        true,
		Name:           "destinationType",
		Required:       true,
		Type:           "enum",
	},
	"dropreason": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
		Type:    "string",
	},
	"encrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypted",
		Description:    `If ` + "`" + `true` + "`" + `, the flow was encrypted.`,
		Exposed:        true,
		Name:           "encrypted",
		Type:           "boolean",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Deprecated:     true,
		Description:    `This is here for backward compatibility.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"observed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Observed",
		Description:    `If ` + "`" + `true` + "`" + `, design mode is on.`,
		Exposed:        true,
		Name:           "observed",
		Type:           "boolean",
	},
	"observedaction": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject", "NotApplicable"},
		ConvertedName:  "ObservedAction",
		DefaultValue:   FlowReportObservedActionNotApplicable,
		Description:    `Action observed on the flow.`,
		Exposed:        true,
		Name:           "observedAction",
		Type:           "enum",
	},
	"observeddropreason": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedDropReason",
		Description: `Specifies the reason for a rejection. Only set if ` + "`" + `observedAction` + "`" + ` is set
to ` + "`" + `Reject` + "`" + `.`,
		Exposed: true,
		Name:    "observedDropReason",
		Type:    "string",
	},
	"observedencrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedEncrypted",
		Description:    `Value of the encryption of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Type:           "boolean",
	},
	"observedpolicyid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedPolicyID",
		Description:    `ID of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyID",
		Type:           "string",
	},
	"observedpolicynamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedPolicyNamespace",
		Description:    `Namespace of the network policy that observed the flow.`,
		Exposed:        true,
		Name:           "observedPolicyNamespace",
		Type:           "string",
	},
	"policyid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyID",
		Description:    `ID of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyID",
		Required:       true,
		Type:           "string",
	},
	"policynamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyNamespace",
		Description:    `Namespace of the network policy that accepted the flow.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Required:       true,
		Type:           "string",
	},
	"protocol": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		Name:           "protocol",
		Required:       true,
		Type:           "integer",
	},
	"serviceclaimhash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceClaimHash",
		Description:    `Hash of the claims used to communicate.`,
		Exposed:        true,
		Name:           "serviceClaimHash",
		Type:           "string",
	},
	"serviceid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceID",
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceID",
		Type:           "string",
	},
	"servicenamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceNamespace",
		Description:    `Service URL accessed.`,
		Exposed:        true,
		Name:           "serviceNamespace",
		Type:           "string",
	},
	"servicetype": elemental.AttributeSpecification{
		AllowedChoices: []string{"L3", "HTTP", "TCP", "NotApplicable"},
		ConvertedName:  "ServiceType",
		DefaultValue:   FlowReportServiceTypeNotApplicable,
		Description:    `ID of the service.`,
		Exposed:        true,
		Name:           "serviceType",
		Type:           "enum",
	},
	"serviceurl": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceURL",
		Description:    `Service URL accessed.`,
		Exposed:        true,
		Name:           "serviceURL",
		Type:           "string",
	},
	"sourceid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceID",
		Description:    `ID of the source.`,
		Exposed:        true,
		Name:           "sourceID",
		Required:       true,
		Type:           "string",
	},
	"sourceip": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceIP",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceIP",
		Type:           "string",
	},
	"sourcenamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceNamespace",
		Description:    `Namespace of the source.`,
		Exposed:        true,
		Name:           "sourceNamespace",
		Type:           "string",
	},
	"sourcetype": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Claims"},
		ConvertedName:  "SourceType",
		Description:    `Type of the source.`,
		Exposed:        true,
		Name:           "sourceType",
		Required:       true,
		Type:           "enum",
	},
	"timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Time and date of the log.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"value": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `Number of flows in the log.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Type:           "integer",
	},
}

FlowReportLowerCaseAttributesMap represents the map of attribute for FlowReport.

View Source
var GraphEdgeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `DB Identifier of the edge.`,
		Identifier:     true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"AcceptedFlows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AcceptedFlows",
		Description:    `Number of accepted flows in the edge.`,
		Exposed:        true,
		Name:           "acceptedFlows",
		Stored:         true,
		Type:           "integer",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CreateTime",
		Description:    `Date on which the edge has been inserted.`,
		Name:           "createTime",
		Stored:         true,
		Type:           "time",
	},
	"DestinationID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "destinationID",
		Stored:         true,
		Type:           "string",
	},
	"DestinationType": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Node"},
		ConvertedName:  "DestinationType",
		Description:    `Type of the destination ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "destinationType",
		Stored:         true,
		Type:           "enum",
	},
	"Encrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypted",
		Description:    `The number of encrypted flows in the edge.`,
		Exposed:        true,
		Name:           "encrypted",
		Stored:         true,
		Type:           "integer",
	},
	"FirstSeen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date when the edge was first seen.`,
		Exposed:        true,
		Name:           "firstSeen",
		Stored:         true,
		Type:           "time",
	},
	"FlowID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FlowID",
		Description:    `Identifier of the edge.`,
		Exposed:        true,
		Name:           "flowID",
		Stored:         true,
		Type:           "string",
	},
	"LastSeen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastSeen",
		Description:    `Contains the date when the edge was last seen.`,
		Exposed:        true,
		Name:           "lastSeen",
		Stored:         true,
		Type:           "time",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of object represented by the node.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"ObservedAcceptedFlows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedAcceptedFlows",
		Description:    `Number of accepted observed flows.`,
		Exposed:        true,
		Name:           "observedAcceptedFlows",
		Stored:         true,
		Type:           "integer",
	},
	"ObservedEncrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedEncrypted",
		Description:    `Number of encrypted observed flows.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Stored:         true,
		Type:           "integer",
	},
	"ObservedRejectedFlows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedRejectedFlows",
		Description:    `Number of rejected observed flows.`,
		Exposed:        true,
		Name:           "observedRejectedFlows",
		Stored:         true,
		Type:           "integer",
	},
	"RejectedFlows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RejectedFlows",
		Description:    `Number of rejected flows in the edge.`,
		Exposed:        true,
		Name:           "rejectedFlows",
		Stored:         true,
		Type:           "integer",
	},
	"SourceID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceID",
		Description:    `ID of the source ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "sourceID",
		Stored:         true,
		Type:           "string",
	},
	"SourceType": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Node"},
		ConvertedName:  "SourceType",
		Description:    `Type of the source ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "sourceType",
		Stored:         true,
		Type:           "enum",
	},
	"ZHash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `DB Identifier of the edge.`,
		Identifier:     true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"acceptedflows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AcceptedFlows",
		Description:    `Number of accepted flows in the edge.`,
		Exposed:        true,
		Name:           "acceptedFlows",
		Stored:         true,
		Type:           "integer",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CreateTime",
		Description:    `Date on which the edge has been inserted.`,
		Name:           "createTime",
		Stored:         true,
		Type:           "time",
	},
	"destinationid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationID",
		Description:    `ID of the destination ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "destinationID",
		Stored:         true,
		Type:           "string",
	},
	"destinationtype": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Node"},
		ConvertedName:  "DestinationType",
		Description:    `Type of the destination ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "destinationType",
		Stored:         true,
		Type:           "enum",
	},
	"encrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypted",
		Description:    `The number of encrypted flows in the edge.`,
		Exposed:        true,
		Name:           "encrypted",
		Stored:         true,
		Type:           "integer",
	},
	"firstseen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date when the edge was first seen.`,
		Exposed:        true,
		Name:           "firstSeen",
		Stored:         true,
		Type:           "time",
	},
	"flowid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FlowID",
		Description:    `Identifier of the edge.`,
		Exposed:        true,
		Name:           "flowID",
		Stored:         true,
		Type:           "string",
	},
	"lastseen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastSeen",
		Description:    `Contains the date when the edge was last seen.`,
		Exposed:        true,
		Name:           "lastSeen",
		Stored:         true,
		Type:           "time",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of object represented by the node.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"observedacceptedflows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedAcceptedFlows",
		Description:    `Number of accepted observed flows.`,
		Exposed:        true,
		Name:           "observedAcceptedFlows",
		Stored:         true,
		Type:           "integer",
	},
	"observedencrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedEncrypted",
		Description:    `Number of encrypted observed flows.`,
		Exposed:        true,
		Name:           "observedEncrypted",
		Stored:         true,
		Type:           "integer",
	},
	"observedrejectedflows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObservedRejectedFlows",
		Description:    `Number of rejected observed flows.`,
		Exposed:        true,
		Name:           "observedRejectedFlows",
		Stored:         true,
		Type:           "integer",
	},
	"rejectedflows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RejectedFlows",
		Description:    `Number of rejected flows in the edge.`,
		Exposed:        true,
		Name:           "rejectedFlows",
		Stored:         true,
		Type:           "integer",
	},
	"sourceid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceID",
		Description:    `ID of the source ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "sourceID",
		Stored:         true,
		Type:           "string",
	},
	"sourcetype": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "ExternalNetwork", "Node"},
		ConvertedName:  "SourceType",
		Description:    `Type of the source ` + "`" + `GraphNode` + "`" + ` of the edge.`,
		Exposed:        true,
		Name:           "sourceType",
		Stored:         true,
		Type:           "enum",
	},
	"zhash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `Identifier of object represented by the node.`,
		Exposed:        true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"EnforcementStatus": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcementStatus",
		Description:    `Enforcement status of processing unit represented by the node.`,
		Exposed:        true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "string",
	},
	"FirstSeen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date when the edge was first seen.`,
		Exposed:        true,
		Name:           "firstSeen",
		Stored:         true,
		Type:           "time",
	},
	"GroupID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "GroupID",
		Description:    `ID of the group the node is eventually part of.`,
		Exposed:        true,
		Name:           "groupID",
		Stored:         true,
		Type:           "string",
	},
	"Images": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Images",
		Description:    `List of images.`,
		Exposed:        true,
		Name:           "images",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"LastSeen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastSeen",
		Description:    `Contains the date when the edge was last seen.`,
		Exposed:        true,
		Name:           "lastSeen",
		Stored:         true,
		Type:           "time",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of object represented by the node.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of object represented by the node.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"Status": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Status",
		Description:    `Status of object represented by the node.`,
		Exposed:        true,
		Name:           "status",
		Stored:         true,
		Type:           "string",
	},
	"Tags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `Tags of object represented by the node.`,
		Exposed:        true,
		Name:           "tags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{"Docker", "ExternalNetwork", "Volume", "Claim", "Node"},
		ConvertedName:  "Type",
		Description:    `Type of object represented by the node.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"Unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Unreachable",
		Description:    `If ` + "`" + `true` + "`" + ` the node is marked as unreachable.`,
		Exposed:        true,
		Name:           "unreachable",
		Stored:         true,
		Type:           "boolean",
	},
	"VulnerabilityLevel": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `Identifier of object represented by the node.`,
		Exposed:        true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"enforcementstatus": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcementStatus",
		Description:    `Enforcement status of processing unit represented by the node.`,
		Exposed:        true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "string",
	},
	"firstseen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FirstSeen",
		Description:    `Contains the date when the edge was first seen.`,
		Exposed:        true,
		Name:           "firstSeen",
		Stored:         true,
		Type:           "time",
	},
	"groupid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "GroupID",
		Description:    `ID of the group the node is eventually part of.`,
		Exposed:        true,
		Name:           "groupID",
		Stored:         true,
		Type:           "string",
	},
	"images": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Images",
		Description:    `List of images.`,
		Exposed:        true,
		Name:           "images",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"lastseen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastSeen",
		Description:    `Contains the date when the edge was last seen.`,
		Exposed:        true,
		Name:           "lastSeen",
		Stored:         true,
		Type:           "time",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of object represented by the node.`,
		Exposed:        true,
		Name:           "name",
		Stored:         true,
		Type:           "string",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of object represented by the node.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"status": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Status",
		Description:    `Status of object represented by the node.`,
		Exposed:        true,
		Name:           "status",
		Stored:         true,
		Type:           "string",
	},
	"tags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `Tags of object represented by the node.`,
		Exposed:        true,
		Name:           "tags",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{"Docker", "ExternalNetwork", "Volume", "Claim", "Node"},
		ConvertedName:  "Type",
		Description:    `Type of object represented by the node.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Unreachable",
		Description:    `If ` + "`" + `true` + "`" + ` the node is marked as unreachable.`,
		Exposed:        true,
		Name:           "unreachable",
		Stored:         true,
		Type:           "boolean",
	},
	"vulnerabilitylevel": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Endpoints": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"endpoints": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 HookPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientCertificateKey",
		Description: `Contains the key associated with the ` + "`" + `clientCertificate` + "`" + `. It must be provided
only
when ` + "`" + `clientCertificate` + "`" + ` has been configured.`,
		Exposed:   true,
		Name:      "clientCertificateKey",
		Orderable: true,
		Secret:    true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"ContinueOnError": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Endpoint": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Endpoint",
		Description:    `Contains the full address of the remote processor endpoint.`,
		Exposed:        true,
		Name:           "endpoint",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Both", "Post", "Pre"},
		ConvertedName:  "Mode",
		DefaultValue:   HookPolicyModePre,
		Description:    `Defines the type of hook.`,
		Exposed:        true,
		Name:           "mode",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientCertificateKey",
		Description: `Contains the key associated with the ` + "`" + `clientCertificate` + "`" + `. It must be provided
only
when ` + "`" + `clientCertificate` + "`" + ` has been configured.`,
		Exposed:   true,
		Name:      "clientCertificateKey",
		Orderable: true,
		Secret:    true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"continueonerror": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"endpoint": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Endpoint",
		Description:    `Contains the full address of the remote processor endpoint.`,
		Exposed:        true,
		Name:           "endpoint",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Both", "Post", "Pre"},
		ConvertedName:  "Mode",
		DefaultValue:   HookPolicyModePre,
		Description:    `Defines the type of hook.`,
		Exposed:        true,
		Name:           "mode",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"HostModeEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Services": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"hostmodeenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"services": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IP",
		Description:    `The IP address.`,
		Exposed:        true,
		Name:           "IP",
		ReadOnly:       true,
		Type:           "string",
	},
	"Error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Error that occurred during resolution.`,
		Exposed:        true,
		Name:           "error",
		ReadOnly:       true,
		Type:           "string",
	},
	"Records": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IP",
		Description:    `The IP address.`,
		Exposed:        true,
		Name:           "IP",
		ReadOnly:       true,
		Type:           "string",
	},
	"error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Error that occurred during resolution.`,
		Exposed:        true,
		Name:           "error",
		ReadOnly:       true,
		Type:           "string",
	},
	"records": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		SubType:        "export",
		Type:           "ref",
	},
	"Mode": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		SubType:        "export",
		Type:           "ref",
	},
	"mode": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		Stored:         true,
		SubType:        "export",
		Type:           "ref",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		Stored:         true,
		SubType:        "export",
		Type:           "ref",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Comment",
		Description:    `A new comment that will be added to ` + "`" + `commentFeed` + "`" + `.`,
		Exposed:        true,
		Name:           "comment",
		Transient:      true,
		Type:           "string",
	},
	"CommentFeed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		Stored:         true,
		SubType:        "map[string][]map[string]interface{}",
		Type:           "external",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"RequesterClaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RequesterClaims",
		Description:    `The identity claims of the requester; populated by the control plane.`,
		Exposed:        true,
		Name:           "requesterClaims",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"RequesterNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RequesterNamespace",
		Description: `The namespace from which the request originated; populated by the
control plane.`,
		Exposed:  true,
		Name:     "requesterNamespace",
		ReadOnly: true,
		Stored:   true,
		Type:     "string",
	},
	"Status": elemental.AttributeSpecification{
		AllowedChoices: []string{"Draft", "Submitted", "Approved", "Rejected"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SubmittedOnce",
		Description:    `Internal field to know if the request has been submitted once.`,
		Name:           "submittedOnce",
		Stored:         true,
		Type:           "boolean",
	},
	"TargetNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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,
		Transient: true,
		Type:      "string",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Comment",
		Description:    `A new comment that will be added to ` + "`" + `commentFeed` + "`" + `.`,
		Exposed:        true,
		Name:           "comment",
		Transient:      true,
		Type:           "string",
	},
	"commentfeed": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Description:    `Data to import.`,
		Exposed:        true,
		Name:           "data",
		Required:       true,
		Stored:         true,
		SubType:        "map[string][]map[string]interface{}",
		Type:           "external",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"requesterclaims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RequesterClaims",
		Description:    `The identity claims of the requester; populated by the control plane.`,
		Exposed:        true,
		Name:           "requesterClaims",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"requesternamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RequesterNamespace",
		Description: `The namespace from which the request originated; populated by the
control plane.`,
		Exposed:  true,
		Name:     "requesterNamespace",
		ReadOnly: true,
		Stored:   true,
		Type:     "string",
	},
	"status": elemental.AttributeSpecification{
		AllowedChoices: []string{"Draft", "Submitted", "Approved", "Rejected"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SubmittedOnce",
		Description:    `Internal field to know if the request has been submitted once.`,
		Name:           "submittedOnce",
		Stored:         true,
		Type:           "boolean",
	},
	"targetnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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,
		Transient: true,
		Type:      "string",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `Object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `Object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject of the policy.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AppIdentifier",
		Description:    `AppIdentifier retains the identifier for the app.`,
		Name:           "appIdentifier",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CategoryID",
		Description:    `The category ID of the application.`,
		Exposed:        true,
		Name:           "categoryID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CurrentVersion",
		Description:    `Version of the installed application.`,
		Exposed:        true,
		Name:           "currentVersion",
		Stored:         true,
		Type:           "string",
	},
	"DeploymentCount": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DeploymentCount",
		Description:    `DeploymentCount represents the number of expected deployment for this app.`,
		Name:           "deploymentCount",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters to start the application.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Status": elemental.AttributeSpecification{
		AllowedChoices: []string{"Unknown", "Deploying", "Initializing", "Running", "Undeploying", "Error"},
		ConvertedName:  "Status",
		DefaultValue:   InstalledAppStatusUnknown,
		Description:    `Status of the application.`,
		Exposed:        true,
		Name:           "status",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"StatusMessage": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "StatusMessage",
		Description:    `Reason for the status of the application.`,
		Exposed:        true,
		Name:           "statusMessage",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AppIdentifier",
		Description:    `AppIdentifier retains the identifier for the app.`,
		Name:           "appIdentifier",
		Stored:         true,
		Type:           "string",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CategoryID",
		Description:    `The category ID of the application.`,
		Exposed:        true,
		Name:           "categoryID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CurrentVersion",
		Description:    `Version of the installed application.`,
		Exposed:        true,
		Name:           "currentVersion",
		Stored:         true,
		Type:           "string",
	},
	"deploymentcount": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DeploymentCount",
		Description:    `DeploymentCount represents the number of expected deployment for this app.`,
		Name:           "deploymentCount",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters to start the application.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"status": elemental.AttributeSpecification{
		AllowedChoices: []string{"Unknown", "Deploying", "Initializing", "Running", "Undeploying", "Error"},
		ConvertedName:  "Status",
		DefaultValue:   InstalledAppStatusUnknown,
		Description:    `Status of the application.`,
		Exposed:        true,
		Name:           "status",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "enum",
	},
	"statusmessage": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "StatusMessage",
		Description:    `Reason for the status of the application.`,
		Exposed:        true,
		Name:           "statusMessage",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 InvoiceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `The ID of the invoice.`,
		Exposed:        true,
		Name:           "ID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccountID",
		Description:    `The ID of the customer that this invoice belongs to.`,
		Exposed:        true,
		Name:           "accountID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"BilledToProvider": elemental.AttributeSpecification{
		AllowedChoices: []string{"Aporeto", "AWS"},
		ConvertedName:  "BilledToProvider",
		DefaultValue:   InvoiceBilledToProviderAporeto,
		Description:    `The name of the provider that this invoice was billed to.`,
		Exposed:        true,
		Name:           "billedToProvider",
		Stored:         true,
		Type:           "enum",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"EndDate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EndDate",
		Description:    `The end date of the invoice.`,
		Exposed:        true,
		Name:           "endDate",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"StartDate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "StartDate",
		Description:    `The start date of this invoice.`,
		Exposed:        true,
		Name:           "startDate",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

InvoiceAttributesMap represents the map of attribute for Invoice.

View Source
var InvoiceIdentity = elemental.Identity{
	Name:     "invoice",
	Category: "invoices",
	Package:  "bill",
	Private:  false,
}

InvoiceIdentity represents the Identity of the object.

View Source
var InvoiceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `The ID of the invoice.`,
		Exposed:        true,
		Name:           "ID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccountID",
		Description:    `The ID of the customer that this invoice belongs to.`,
		Exposed:        true,
		Name:           "accountID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"billedtoprovider": elemental.AttributeSpecification{
		AllowedChoices: []string{"Aporeto", "AWS"},
		ConvertedName:  "BilledToProvider",
		DefaultValue:   InvoiceBilledToProviderAporeto,
		Description:    `The name of the provider that this invoice was billed to.`,
		Exposed:        true,
		Name:           "billedToProvider",
		Stored:         true,
		Type:           "enum",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"enddate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EndDate",
		Description:    `The end date of the invoice.`,
		Exposed:        true,
		Name:           "endDate",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"startdate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "StartDate",
		Description:    `The start date of this invoice.`,
		Exposed:        true,
		Name:           "startDate",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

InvoiceLowerCaseAttributesMap represents the map of attribute for Invoice.

View Source
var InvoiceRecordAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `The ID of the invoice record.`,
		Exposed:        true,
		Name:           "ID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"InvoiceID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvoiceID",
		Description:    `The ID of the invoice associated with the invoice record.`,
		Exposed:        true,
		Name:           "invoiceID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"InvoiceRecords": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvoiceRecords",
		Description:    `Details about billing units.`,
		Exposed:        true,
		Name:           "invoiceRecords",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

InvoiceRecordAttributesMap represents the map of attribute for InvoiceRecord.

View Source
var InvoiceRecordIdentity = elemental.Identity{
	Name:     "invoicerecord",
	Category: "invoicerecords",
	Package:  "bill",
	Private:  false,
}

InvoiceRecordIdentity represents the Identity of the object.

View Source
var InvoiceRecordLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `The ID of the invoice record.`,
		Exposed:        true,
		Name:           "ID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateTime",
		Description:    `Creation date of the object.`,
		Exposed:        true,
		Getter:         true,
		Name:           "createTime",
		Orderable:      true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "time",
	},
	"invoiceid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvoiceID",
		Description:    `The ID of the invoice associated with the invoice record.`,
		Exposed:        true,
		Name:           "invoiceID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"invoicerecords": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvoiceRecords",
		Description:    `Details about billing units.`,
		Exposed:        true,
		Name:           "invoiceRecords",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

InvoiceRecordLowerCaseAttributesMap represents the map of attribute for InvoiceRecord.

View Source
var IsolationProfileAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"SyscallRules": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"syscallrules": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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",
	},
	"Data": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Quota",
		Description:    `Restricts the number of times the issued token can be used.`,
		Exposed:        true,
		Name:           "quota",
		Type:           "integer",
	},
	"Realm": elemental.AttributeSpecification{
		AllowedChoices: []string{"AWSIdentityDocument", "AWSSecurityToken", "Certificate", "Google", "LDAP", "Vince", "GCPIdentityToken", "AzureIdentityToken", "OIDC", "SAML"},
		ConvertedName:  "Realm",
		Description: `The authentication realm. ` + "`" + `AWSIdentityDocument` + "`" + `, ` + "`" + `AWSSecurityToken` + "`" + `,
` + "`" + `Certificate` + "`" + `,
` + "`" + `Google` + "`" + `, ` + "`" + `LDAP` + "`" + `, ` + "`" + `Vince` + "`" + `, ` + "`" + `GCPIdentityToken` + "`" + `, ` + "`" + `AzureIdentityToken` + "`" + `, or ` + "`" + `OIDC` + "`" + `.`,
		Exposed:  true,
		Name:     "realm",
		Required: true,
		Type:     "enum",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The token to use for the registration.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"Validity": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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",
	},
	"data": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Quota",
		Description:    `Restricts the number of times the issued token can be used.`,
		Exposed:        true,
		Name:           "quota",
		Type:           "integer",
	},
	"realm": elemental.AttributeSpecification{
		AllowedChoices: []string{"AWSIdentityDocument", "AWSSecurityToken", "Certificate", "Google", "LDAP", "Vince", "GCPIdentityToken", "AzureIdentityToken", "OIDC", "SAML"},
		ConvertedName:  "Realm",
		Description: `The authentication realm. ` + "`" + `AWSIdentityDocument` + "`" + `, ` + "`" + `AWSSecurityToken` + "`" + `,
` + "`" + `Certificate` + "`" + `,
` + "`" + `Google` + "`" + `, ` + "`" + `LDAP` + "`" + `, ` + "`" + `Vince` + "`" + `, ` + "`" + `GCPIdentityToken` + "`" + `, ` + "`" + `AzureIdentityToken` + "`" + `, or ` + "`" + `OIDC` + "`" + `.`,
		Exposed:  true,
		Name:     "realm",
		Required: true,
		Type:     "enum",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `The token to use for the registration.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"validity": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Audience",
		CreationOnly:   true,
		Description:    `Audience is the valid audience for this token.`,
		Exposed:        true,
		Name:           "audience",
		Required:       true,
		Type:           "string",
	},
	"NamespaceID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NamespaceID",
		CreationOnly:   true,
		Description:    `The ID of the corresponding namespace.`,
		Exposed:        true,
		Name:           "namespaceID",
		Type:           "string",
	},
	"ServiceClaims": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		CreationOnly:   true,
		Description:    `The subject claims of the token.`,
		Exposed:        true,
		Name:           "subject",
		Required:       true,
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token contains the generated token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"UserClaims": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Audience",
		CreationOnly:   true,
		Description:    `Audience is the valid audience for this token.`,
		Exposed:        true,
		Name:           "audience",
		Required:       true,
		Type:           "string",
	},
	"namespaceid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NamespaceID",
		CreationOnly:   true,
		Description:    `The ID of the corresponding namespace.`,
		Exposed:        true,
		Name:           "namespaceID",
		Type:           "string",
	},
	"serviceclaims": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		CreationOnly:   true,
		Description:    `The subject claims of the token.`,
		Exposed:        true,
		Name:           "subject",
		Required:       true,
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token contains the generated token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"userclaims": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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 LDAPProviderAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Address": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"TLS", "InbandTLS"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"IgnoredKeys": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IgnoredKeys",
		Description:    `A list of keys that must not be imported into Aporeto authorization system.`,
		Exposed:        true,
		Name:           "ignoredKeys",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"SubjectKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"address": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"TLS", "InbandTLS"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ignoredkeys": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IgnoredKeys",
		Description:    `A list of keys that must not be imported into Aporeto authorization system.`,
		Exposed:        true,
		Name:           "ignoredKeys",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subjectkey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 LogAttributesMap = map[string]elemental.AttributeSpecification{
	"Data": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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 MessageAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationTime",
		Description:    `The time after which the message will be deleted.`,
		Exposed:        true,
		Name:           "expirationTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Level": elemental.AttributeSpecification{
		AllowedChoices: []string{"Danger", "Info", "Warning"},
		ConvertedName:  "Level",
		DefaultValue:   MessageLevelInfo,
		Description:    `Importance of the message.`,
		Exposed:        true,
		Name:           "level",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		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",
		Stored:  true,
		Type:    "string",
	},
	"ZHash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationTime",
		Description:    `The time after which the message will be deleted.`,
		Exposed:        true,
		Name:           "expirationTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"level": elemental.AttributeSpecification{
		AllowedChoices: []string{"Danger", "Info", "Warning"},
		ConvertedName:  "Level",
		DefaultValue:   MessageLevelInfo,
		Description:    `Importance of the message.`,
		Exposed:        true,
		Name:           "level",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		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",
		Stored:  true,
		Type:    "string",
	},
	"zhash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 NamespaceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"JWTCertificateType": elemental.AttributeSpecification{
		AllowedChoices: []string{"RSA", "EC", "None"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCA",
		Description:    `The SSH certificate authority used by the namespace.`,
		Exposed:        true,
		Name:           "SSHCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"SSHCAEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SSHCAEnabled",
		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
platform.`,
		Exposed:   true,
		Name:      "SSHCAEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedLocalCAID",
		Description:    `AssociatedLocalCAID holds the remote ID of the certificate authority to use.`,
		Name:           "associatedLocalCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AssociatedSSHCAID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedSSHCAID",
		Description:    `The remote ID of the SSH certificate authority to use.`,
		Exposed:        true,
		Name:           "associatedSSHCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"LocalCA": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LocalCA",
		Description:    `The certificate authority used by this namespace.`,
		Exposed:        true,
		Name:           "localCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"LocalCAEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		CreationOnly:   true,
		DefaultOrder:   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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ServiceCertificateValidity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceCertificateValidity",
		DefaultValue:   "1h",
		Description: `Determines the length of validity of certificates issued in this namespace using
[Golang duration syntax](https://golang.org/pkg/time/#example_Duration). Default
value is ` + "`" + `1h` + "`" + `.`,
		Exposed: true,
		Name:    "serviceCertificateValidity",
		Stored:  true,
		Type:    "string",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
	"Zoning": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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 NamespaceLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"jwtcertificatetype": elemental.AttributeSpecification{
		AllowedChoices: []string{"RSA", "EC", "None"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCA",
		Description:    `The SSH certificate authority used by the namespace.`,
		Exposed:        true,
		Name:           "SSHCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"sshcaenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SSHCAEnabled",
		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
platform.`,
		Exposed:   true,
		Name:      "SSHCAEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedLocalCAID",
		Description:    `AssociatedLocalCAID holds the remote ID of the certificate authority to use.`,
		Name:           "associatedLocalCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"associatedsshcaid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedSSHCAID",
		Description:    `The remote ID of the SSH certificate authority to use.`,
		Exposed:        true,
		Name:           "associatedSSHCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"localca": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LocalCA",
		Description:    `The certificate authority used by this namespace.`,
		Exposed:        true,
		Name:           "localCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"localcaenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		CreationOnly:   true,
		DefaultOrder:   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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"servicecertificatevalidity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ServiceCertificateValidity",
		DefaultValue:   "1h",
		Description: `Determines the length of validity of certificates issued in this namespace using
[Golang duration syntax](https://golang.org/pkg/time/#example_Duration). Default
value is ` + "`" + `1h` + "`" + `.`,
		Exposed: true,
		Name:    "serviceCertificateValidity",
		Stored:  true,
		Type:    "string",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		Getter:         true,
		Name:           "zone",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Transient:      true,
		Type:           "integer",
	},
	"zoning": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"MappedNamespace": elemental.AttributeSpecification{
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		ConvertedName:  "MappedNamespace",
		Description:    `The namespace to map the ` + "`" + `subject` + "`" + ` to.`,
		Exposed:        true,
		Name:           "mappedNamespace",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"mappednamespace": elemental.AttributeSpecification{
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		ConvertedName:  "MappedNamespace",
		Description:    `The namespace to map the ` + "`" + `subject` + "`" + ` to.`,
		Exposed:        true,
		Name:           "mappedNamespace",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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 NetworkAccessPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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, such as encryption.`,
		Exposed:   true,
		Name:      "action",
		Orderable: true,
		Type:      "enum",
	},
	"ActiveDuration": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"EncryptionEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `Defines if the flow has to be encrypted.`,
		Exposed:        true,
		Name:           "encryptionEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LogsEnabled",
		Description: `If ` + "`" + `true` + "`" + `, the relevant flows are logged and available from the Aporeto control
plane.
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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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, such as encryption.`,
		Exposed:   true,
		Name:      "action",
		Orderable: true,
		Type:      "enum",
	},
	"activeduration": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"encryptionenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `Defines if the flow has to be encrypted.`,
		Exposed:        true,
		Name:           "encryptionEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LogsEnabled",
		Description: `If ` + "`" + `true` + "`" + `, the relevant flows are logged and available from the Aporeto control
plane.
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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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 OAUTHInfoAttributesMap = map[string]elemental.AttributeSpecification{
	"IDTokenSigningAlgValuesSupported": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AuhorizationEndpoint",
		Description:    `AuhorizationEndpoint is the authorization endpoint.`,
		Exposed:        true,
		Name:           "auhorizationEndpoint",
		ReadOnly:       true,
		Type:           "string",
	},
	"ClaimsSupported": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AuhorizationEndpoint",
		Description:    `AuhorizationEndpoint is the authorization endpoint.`,
		Exposed:        true,
		Name:           "auhorizationEndpoint",
		ReadOnly:       true,
		Type:           "string",
	},
	"claimssupported": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ClientID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientID",
		Description:    `Unique client ID.`,
		Exposed:        true,
		Name:           "clientID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ClientSecret": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientSecret",
		Description:    `Client secret associated with the client ID.`,
		Exposed:        true,
		Name:           "clientSecret",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"Endpoint": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `Contains the parent Aporeto account ID.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ParentName": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentName",
		Description:    `Contains the name of the parent Aporeto account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentName",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Scopes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Scopes",
		Description:    `List of scopes to allow.`,
		Exposed:        true,
		Name:           "scopes",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Subjects": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subjects",
		Description:    `List of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"clientid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientID",
		Description:    `Unique client ID.`,
		Exposed:        true,
		Name:           "clientID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"clientsecret": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientSecret",
		Description:    `Client secret associated with the client ID.`,
		Exposed:        true,
		Name:           "clientSecret",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"endpoint": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `Contains the parent Aporeto account ID.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"parentname": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentName",
		Description:    `Contains the name of the parent Aporeto account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentName",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"scopes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Scopes",
		Description:    `List of scopes to allow.`,
		Exposed:        true,
		Name:           "scopes",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"subjects": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subjects",
		Description:    `List of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 PacketReportAttributesMap = map[string]elemental.AttributeSpecification{
	"TCPFlags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TCPFlags",
		Description:    `Flags are the TCP flags of the packet.`,
		Name:           "TCPFlags",
		Type:           "integer",
	},
	"Claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `Claims is the list of claims detected for the packet.`,
		Name:           "claims",
		SubType:        "string",
		Type:           "list",
	},
	"DestinationIP": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationIP",
		Description:    `The destination IP address of the packet.`,
		Exposed:        true,
		Name:           "destinationIP",
		Type:           "string",
	},
	"DestinationPort": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationPort",
		Description:    `The destination port of a TCP or UDP packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "destinationPort",
		Type:           "integer",
	},
	"DropReason": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DropReason",
		Description: `If ` + "`" + `event` + "`" + ` is set to ` + "`" + `Dropped` + "`" + `, contains the reason that the packet was dropped.
Otherwise empty.`,
		Exposed: true,
		Name:    "dropReason",
		Type:    "string",
	},
	"Encrypt": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypt",
		Description:    `Set to ` + "`" + `true` + "`" + ` if the packet was encrypted.`,
		Exposed:        true,
		Name:           "encrypt",
		Type:           "boolean",
	},
	"EnforcerID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Event": elemental.AttributeSpecification{
		AllowedChoices: []string{"Received", "Transmitted", "Dropped"},
		ConvertedName:  "Event",
		Description:    `The event that triggered the report.`,
		Exposed:        true,
		Name:           "event",
		Required:       true,
		Type:           "enum",
	},
	"Length": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Length",
		Description:    `Length is the length of the packet.`,
		MaxValue:       65536,
		Name:           "length",
		Type:           "integer",
	},
	"Mark": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Mark",
		Description:    `Mark is the mark value of the packet.`,
		Name:           "mark",
		Required:       true,
		Type:           "integer",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"PacketID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PacketID",
		Description:    `PacketID is the ID from the IP header of the packet.`,
		Name:           "packetID",
		Required:       true,
		Type:           "integer",
	},
	"Protocol": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		MaxValue:       255,
		Name:           "protocol",
		Type:           "integer",
	},
	"PuID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PuID",
		Description:    `The ID of the processing unit reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "puID",
		Required:       true,
		Type:           "string",
	},
	"RawPacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RawPacket",
		DefaultValue:   "abcd",
		Description:    `The first 64 bytes of the packet.`,
		Exposed:        true,
		Name:           "rawPacket",
		Stored:         true,
		Type:           "string",
	},
	"SourceIP": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceIP",
		Description:    `The source IP address of the packet.`,
		Exposed:        true,
		Name:           "sourceIP",
		Type:           "string",
	},
	"SourcePort": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourcePort",
		Description:    `The source port of the packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "sourcePort",
		Type:           "integer",
	},
	"Timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `The time-date stamp of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
	"TriremePacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TriremePacket",
		DefaultValue:   true,
		Description:    `Set to ` + "`" + `true` + "`" + ` if the packet arrived with the Trireme options (default).`,
		Exposed:        true,
		Name:           "triremePacket",
		Required:       true,
		Stored:         true,
		Type:           "boolean",
	},
}

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{
	"tcpflags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TCPFlags",
		Description:    `Flags are the TCP flags of the packet.`,
		Name:           "TCPFlags",
		Type:           "integer",
	},
	"claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `Claims is the list of claims detected for the packet.`,
		Name:           "claims",
		SubType:        "string",
		Type:           "list",
	},
	"destinationip": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationIP",
		Description:    `The destination IP address of the packet.`,
		Exposed:        true,
		Name:           "destinationIP",
		Type:           "string",
	},
	"destinationport": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationPort",
		Description:    `The destination port of a TCP or UDP packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "destinationPort",
		Type:           "integer",
	},
	"dropreason": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DropReason",
		Description: `If ` + "`" + `event` + "`" + ` is set to ` + "`" + `Dropped` + "`" + `, contains the reason that the packet was dropped.
Otherwise empty.`,
		Exposed: true,
		Name:    "dropReason",
		Type:    "string",
	},
	"encrypt": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypt",
		Description:    `Set to ` + "`" + `true` + "`" + ` if the packet was encrypted.`,
		Exposed:        true,
		Name:           "encrypt",
		Type:           "boolean",
	},
	"enforcerid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `Identifier of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerID",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `Namespace of the enforcer sending the report.`,
		Exposed:        true,
		Name:           "enforcerNamespace",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"event": elemental.AttributeSpecification{
		AllowedChoices: []string{"Received", "Transmitted", "Dropped"},
		ConvertedName:  "Event",
		Description:    `The event that triggered the report.`,
		Exposed:        true,
		Name:           "event",
		Required:       true,
		Type:           "enum",
	},
	"length": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Length",
		Description:    `Length is the length of the packet.`,
		MaxValue:       65536,
		Name:           "length",
		Type:           "integer",
	},
	"mark": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Mark",
		Description:    `Mark is the mark value of the packet.`,
		Name:           "mark",
		Required:       true,
		Type:           "integer",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the processing unit reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"packetid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PacketID",
		Description:    `PacketID is the ID from the IP header of the packet.`,
		Name:           "packetID",
		Required:       true,
		Type:           "integer",
	},
	"protocol": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protocol",
		Description:    `Protocol number.`,
		Exposed:        true,
		MaxValue:       255,
		Name:           "protocol",
		Type:           "integer",
	},
	"puid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PuID",
		Description:    `The ID of the processing unit reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "puID",
		Required:       true,
		Type:           "string",
	},
	"rawpacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RawPacket",
		DefaultValue:   "abcd",
		Description:    `The first 64 bytes of the packet.`,
		Exposed:        true,
		Name:           "rawPacket",
		Stored:         true,
		Type:           "string",
	},
	"sourceip": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceIP",
		Description:    `The source IP address of the packet.`,
		Exposed:        true,
		Name:           "sourceIP",
		Type:           "string",
	},
	"sourceport": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourcePort",
		Description:    `The source port of the packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "sourcePort",
		Type:           "integer",
	},
	"timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `The time-date stamp of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
	"triremepacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TriremePacket",
		DefaultValue:   true,
		Description:    `Set to ` + "`" + `true` + "`" + ` if the packet arrived with the Trireme options (default).`,
		Exposed:        true,
		Name:           "triremePacket",
		Required:       true,
		Stored:         true,
		Type:           "boolean",
	},
}

PacketReportLowerCaseAttributesMap represents the map of attribute for PacketReport.

View Source
var PasswordResetAttributesMap = map[string]elemental.AttributeSpecification{
	"Password": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `Contains the new password.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `Contains the new password.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		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 PlanAttributesMap = map[string]elemental.AttributeSpecification{
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Description",
		Description:    `Contains the description of the plan.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Contains the key identifier of the plan.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `Contains the name of the plan.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Quotas": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Quotas",
		Description:    `Defines the quota for each identity.`,
		Name:           "quotas",
		ReadOnly:       true,
		SubType:        "map[string]int",
		Type:           "external",
	},
	"RequireAdminValidation": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RequireAdminValidation",
		Description:    `RequireAdminValidation indicates if the plan requires an admin approval.`,
		Name:           "requireAdminValidation",
		ReadOnly:       true,
		Stored:         true,
		Type:           "boolean",
	},
	"Roles": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Description",
		Description:    `Contains the description of the plan.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Contains the key identifier of the plan.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `Contains the name of the plan.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"quotas": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Quotas",
		Description:    `Defines the quota for each identity.`,
		Name:           "quotas",
		ReadOnly:       true,
		SubType:        "map[string]int",
		Type:           "external",
	},
	"requireadminvalidation": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "RequireAdminValidation",
		Description:    `RequireAdminValidation indicates if the plan requires an admin approval.`,
		Name:           "requireAdminValidation",
		ReadOnly:       true,
		Stored:         true,
		Type:           "boolean",
	},
	"roles": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Action": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Relation": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"APIAuthorization", "AuditProfileMapping", "EnforcerProfile", "File", "Hook", "HostServiceMapping", "Infrastructure", "NamespaceMapping", "Network", "ProcessingUnit", "Quota", "Service", "ServiceDependency", "Syscall", "TokenScope", "SSHAuthorization", "UserAccess"},
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description:    `Type of the policy.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"action": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"relation": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"APIAuthorization", "AuditProfileMapping", "EnforcerProfile", "File", "Hook", "HostServiceMapping", "Infrastructure", "NamespaceMapping", "Network", "ProcessingUnit", "Quota", "Service", "ServiceDependency", "Syscall", "TokenScope", "SSHAuthorization", "UserAccess"},
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description:    `Type of the policy.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceID",
		Description:    `Contains the original ID of the updated object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "sourceID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"SourceNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceNamespace",
		Description:    `Contains the original namespace of the updated object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "sourceNamespace",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceID",
		Description:    `Contains the original ID of the updated object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "sourceID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"sourcenamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceNamespace",
		Description:    `Contains the original namespace of the updated object.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "sourceNamespace",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfiles",
		Description:    `Provides the audit profiles that must be applied.`,
		Exposed:        true,
		Name:           "auditProfiles",
		SubType:        "auditprofile",
		Type:           "refList",
	},
	"EnforcerProfiles": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerProfiles",
		Description:    `Provides information about the enforcer profile.`,
		Exposed:        true,
		Name:           "enforcerProfiles",
		SubType:        "enforcerprofile",
		Type:           "refList",
	},
	"ExternalNetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExternalNetworks",
		Description:    `Provides the external network that the policy targets.`,
		Exposed:        true,
		Name:           "externalNetworks",
		SubType:        "externalnetwork",
		Type:           "refList",
	},
	"FilePaths": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FilePaths",
		Description:    `Provides the file paths that the policy targets.`,
		Exposed:        true,
		Name:           "filePaths",
		SubType:        "filepath",
		Type:           "refList",
	},
	"HostServices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "HostServices",
		Description:    `Provides the list of host services that must be instantiated.`,
		Exposed:        true,
		Name:           "hostServices",
		SubType:        "hostservice",
		Type:           "refList",
	},
	"IsolationProfiles": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IsolationProfiles",
		Description:    `Provides the isolation profiles of the rule.`,
		Exposed:        true,
		Name:           "isolationProfiles",
		SubType:        "isolationprofile",
		Type:           "refList",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespaces",
		Description:    `The namespace that the policy targets.`,
		Exposed:        true,
		Name:           "namespaces",
		SubType:        "namespace",
		Type:           "refList",
	},
	"PolicyNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyNamespace",
		Description:    `The namespace of the policy that created this rule.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Type:           "string",
	},
	"PolicyUpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyUpdateTime",
		Description:    `Last time the policy was updated.`,
		Exposed:        true,
		Name:           "policyUpdateTime",
		Type:           "time",
	},
	"Propagated": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagated",
		Description:    `Indicates if the policy is propagated.`,
		Exposed:        true,
		Name:           "propagated",
		Type:           "boolean",
	},
	"Relation": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Services",
		Description:    `Provides the services of this policy rule.`,
		Exposed:        true,
		Name:           "services",
		SubType:        "service",
		Type:           "refList",
	},
	"TagClauses": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfiles",
		Description:    `Provides the audit profiles that must be applied.`,
		Exposed:        true,
		Name:           "auditProfiles",
		SubType:        "auditprofile",
		Type:           "refList",
	},
	"enforcerprofiles": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerProfiles",
		Description:    `Provides information about the enforcer profile.`,
		Exposed:        true,
		Name:           "enforcerProfiles",
		SubType:        "enforcerprofile",
		Type:           "refList",
	},
	"externalnetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExternalNetworks",
		Description:    `Provides the external network that the policy targets.`,
		Exposed:        true,
		Name:           "externalNetworks",
		SubType:        "externalnetwork",
		Type:           "refList",
	},
	"filepaths": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FilePaths",
		Description:    `Provides the file paths that the policy targets.`,
		Exposed:        true,
		Name:           "filePaths",
		SubType:        "filepath",
		Type:           "refList",
	},
	"hostservices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "HostServices",
		Description:    `Provides the list of host services that must be instantiated.`,
		Exposed:        true,
		Name:           "hostServices",
		SubType:        "hostservice",
		Type:           "refList",
	},
	"isolationprofiles": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IsolationProfiles",
		Description:    `Provides the isolation profiles of the rule.`,
		Exposed:        true,
		Name:           "isolationProfiles",
		SubType:        "isolationprofile",
		Type:           "refList",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespaces",
		Description:    `The namespace that the policy targets.`,
		Exposed:        true,
		Name:           "namespaces",
		SubType:        "namespace",
		Type:           "refList",
	},
	"policynamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyNamespace",
		Description:    `The namespace of the policy that created this rule.`,
		Exposed:        true,
		Name:           "policyNamespace",
		Type:           "string",
	},
	"policyupdatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyUpdateTime",
		Description:    `Last time the policy was updated.`,
		Exposed:        true,
		Name:           "policyUpdateTime",
		Type:           "time",
	},
	"propagated": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagated",
		Description:    `Indicates if the policy is propagated.`,
		Exposed:        true,
		Name:           "propagated",
		Type:           "boolean",
	},
	"relation": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Services",
		Description:    `Provides the services of this policy rule.`,
		Exposed:        true,
		Name:           "services",
		SubType:        "service",
		Type:           "refList",
	},
	"tagclauses": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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 PrivateKeyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID is the internal ID of the key.`,
		Identifier:     true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"CertificateSerialNumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CertificateSerialNumber",
		Description: `CertificateSerialNumber represents the certificate serial number associated to
this key.`,
		Name:   "certificateSerialNumber",
		Stored: true,
		Type:   "string",
	},
	"Data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		CreationOnly:   true,
		Description:    `Data contains the privateKey data.`,
		Name:           "data",
		Stored:         true,
		Type:           "string",
	},
}

PrivateKeyAttributesMap represents the map of attribute for PrivateKey.

View Source
var PrivateKeyIdentity = elemental.Identity{
	Name:     "privatekey",
	Category: "privatekeys",
	Package:  "barret",
	Private:  true,
}

PrivateKeyIdentity represents the Identity of the object.

View Source
var PrivateKeyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID is the internal ID of the key.`,
		Identifier:     true,
		Name:           "ID",
		Stored:         true,
		Type:           "string",
	},
	"certificateserialnumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CertificateSerialNumber",
		Description: `CertificateSerialNumber represents the certificate serial number associated to
this key.`,
		Name:   "certificateSerialNumber",
		Stored: true,
		Type:   "string",
	},
	"data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		CreationOnly:   true,
		Description:    `Data contains the privateKey data.`,
		Name:           "data",
		Stored:         true,
		Type:           "string",
	},
}

PrivateKeyLowerCaseAttributesMap represents the map of attribute for PrivateKey.

View Source
var ProcessingUnitAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"CollectInfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"CreateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcementStatus": elemental.AttributeSpecification{
		AllowedChoices: []string{"Active", "Failed", "Inactive"},
		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` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "enforcementStatus",
		Stored:     true,
		Type:       "enum",
	},
	"EnforcerID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `The ID of the enforcer associated with the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"EnforcerNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `The namespace of the enforcer associated with the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcerNamespace",
		Stored:         true,
		Type:           "string",
	},
	"Image": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastCollectionTime",
		Description:    `The date and time when the information was collected.`,
		Exposed:        true,
		Name:           "lastCollectionTime",
		Stored:         true,
		Type:           "time",
	},
	"LastPokeTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastPokeTime",
		Description:    `Last poke is the time when the pu got last poked.`,
		Name:           "lastPokeTime",
		Stored:         true,
		Type:           "time",
	},
	"LastSyncTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastSyncTime",
		Description:    `The date and time of the last policy resolution.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NativeContextID",
		Description:    `The Docker UUID or service PID.`,
		Exposed:        true,
		Name:           "nativeContextID",
		Stored:         true,
		Type:           "string",
	},
	"NetworkServices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Initialized", "Paused", "Running", "Stopped", "Terminated"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Tracing": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Tracing",
		Description:    `Indicates if this processing unit must be placed in tracing mode.`,
		Exposed:        true,
		Name:           "tracing",
		Stored:         true,
		SubType:        "tracemode",
		Type:           "ref",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{"APIGateway", "Docker", "Host", "HostService", "LinuxService", "RKT", "User", "SSHSession"},
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description: `Type of processing unit: ` + "`" + `APIGateway` + "`" + `, ` + "`" + `Docker` + "`" + `, ` + "`" + `Host` + "`" + `, ` + "`" + `HostService` + "`" + `,
` + "`" + `LinuxService` + "`" + `,
` + "`" + `RKT` + "`" + `, ` + "`" + `User` + "`" + `, or ` + "`" + `SSHSession` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "type",
		Stored:     true,
		Type:       "enum",
	},
	"Unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Unreachable",
		Description: `The Aporeto control plane sets this value to ` + "`" + `true` + "`" + ` if it hasn't heard from the
processing
unit for more than five minutes.`,
		Exposed:  true,
		Name:     "unreachable",
		ReadOnly: true,
		Stored:   true,
		Type:     "boolean",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `List of tags attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "associatedTags",
		Setter:         true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"collectinfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"createidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"enforcementstatus": elemental.AttributeSpecification{
		AllowedChoices: []string{"Active", "Failed", "Inactive"},
		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` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "enforcementStatus",
		Stored:     true,
		Type:       "enum",
	},
	"enforcerid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `The ID of the enforcer associated with the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcerID",
		Stored:         true,
		Type:           "string",
	},
	"enforcernamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerNamespace",
		Description:    `The namespace of the enforcer associated with the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcerNamespace",
		Stored:         true,
		Type:           "string",
	},
	"image": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastCollectionTime",
		Description:    `The date and time when the information was collected.`,
		Exposed:        true,
		Name:           "lastCollectionTime",
		Stored:         true,
		Type:           "time",
	},
	"lastpoketime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastPokeTime",
		Description:    `Last poke is the time when the pu got last poked.`,
		Name:           "lastPokeTime",
		Stored:         true,
		Type:           "time",
	},
	"lastsynctime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastSyncTime",
		Description:    `The date and time of the last policy resolution.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NativeContextID",
		Description:    `The Docker UUID or service PID.`,
		Exposed:        true,
		Name:           "nativeContextID",
		Stored:         true,
		Type:           "string",
	},
	"networkservices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Initialized", "Paused", "Running", "Stopped", "Terminated"},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"tracing": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Tracing",
		Description:    `Indicates if this processing unit must be placed in tracing mode.`,
		Exposed:        true,
		Name:           "tracing",
		Stored:         true,
		SubType:        "tracemode",
		Type:           "ref",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{"APIGateway", "Docker", "Host", "HostService", "LinuxService", "RKT", "User", "SSHSession"},
		ConvertedName:  "Type",
		CreationOnly:   true,
		Description: `Type of processing unit: ` + "`" + `APIGateway` + "`" + `, ` + "`" + `Docker` + "`" + `, ` + "`" + `Host` + "`" + `, ` + "`" + `HostService` + "`" + `,
` + "`" + `LinuxService` + "`" + `,
` + "`" + `RKT` + "`" + `, ` + "`" + `User` + "`" + `, or ` + "`" + `SSHSession` + "`" + `.`,
		Exposed:    true,
		Filterable: true,
		Name:       "type",
		Stored:     true,
		Type:       "enum",
	},
	"unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Unreachable",
		Description: `The Aporeto control plane sets this value to ` + "`" + `true` + "`" + ` if it hasn't heard from the
processing
unit for more than five minutes.`,
		Exposed:  true,
		Name:     "unreachable",
		ReadOnly: true,
		Stored:   true,
		Type:     "boolean",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Delete", "Enforce", "LogCompliance", "Reject", "Snapshot", "Stop"},
		ConvertedName:  "Action",
		Description:    `Action determines the action to take while enforcing the isolation profile.`,
		Exposed:        true,
		Name:           "action",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"ActiveDuration": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `A tag or tag expression identifying the processing unit(s) to which the
isolation profile should be mapped.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Delete", "Enforce", "LogCompliance", "Reject", "Snapshot", "Stop"},
		ConvertedName:  "Action",
		Description:    `Action determines the action to take while enforcing the isolation profile.`,
		Exposed:        true,
		Name:           "action",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"activeduration": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description: `A tag or tag expression identifying the processing unit(s) to which the
isolation profile should be mapped.`,
		Exposed: true,
		Name:    "subject",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `Contains the original ID of the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "ID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Contains the original namespace of the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "namespace",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
}

ProcessingUnitRefreshAttributesMap represents the map of attribute for ProcessingUnitRefresh.

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

ProcessingUnitRefreshIdentity represents the Identity of the object.

View Source
var ProcessingUnitRefreshLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `Contains the original ID of the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "ID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Contains the original namespace of the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "namespace",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
}

ProcessingUnitRefreshLowerCaseAttributesMap represents the map of attribute for ProcessingUnitRefresh.

View Source
var QuotaCheckAttributesMap = map[string]elemental.AttributeSpecification{
	"Quota": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Quota": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"quota": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Icon": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Icon",
		Description:    `Contains a base64-encoded image for the recipe.`,
		Exposed:        true,
		Name:           "icon",
		Stored:         true,
		Type:           "string",
	},
	"Key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Key",
		Description:    `The unique key of the recipe.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Label": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		CreationOnly:   true,
		DefaultValue:   "magicpanda",
		Description:    `Defines the recipe.`,
		Exposed:        true,
		Name:           "label",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"LongDescription": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LongDescription",
		Description:    `Provides a long description of the recipe.`,
		Exposed:        true,
		Name:           "longDescription",
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Options",
		Description:    `Options of the recipe.`,
		Exposed:        true,
		Name:           "options",
		Stored:         true,
		SubType:        "recipeoptions",
		Type:           "ref",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Steps": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SuccessfullMessage",
		Description:    `A string message presented upon success (optional).`,
		Exposed:        true,
		Name:           "successfullMessage",
		Stored:         true,
		Type:           "string",
	},
	"TargetIdentities": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Template",
		Description:    `Template of the recipe to import.`,
		Exposed:        true,
		Name:           "template",
		Stored:         true,
		Type:           "string",
	},
	"TemplateHash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TemplateHash",
		Description:    `A hash of the template.`,
		Exposed:        true,
		Name:           "templateHash",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"icon": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Icon",
		Description:    `Contains a base64-encoded image for the recipe.`,
		Exposed:        true,
		Name:           "icon",
		Stored:         true,
		Type:           "string",
	},
	"key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Key",
		Description:    `The unique key of the recipe.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"label": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		CreationOnly:   true,
		DefaultValue:   "magicpanda",
		Description:    `Defines the recipe.`,
		Exposed:        true,
		Name:           "label",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"longdescription": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LongDescription",
		Description:    `Provides a long description of the recipe.`,
		Exposed:        true,
		Name:           "longDescription",
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Options",
		Description:    `Options of the recipe.`,
		Exposed:        true,
		Name:           "options",
		Stored:         true,
		SubType:        "recipeoptions",
		Type:           "ref",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"steps": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SuccessfullMessage",
		Description:    `A string message presented upon success (optional).`,
		Exposed:        true,
		Name:           "successfullMessage",
		Stored:         true,
		Type:           "string",
	},
	"targetidentities": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Template",
		Description:    `Template of the recipe to import.`,
		Exposed:        true,
		Name:           "template",
		Stored:         true,
		Type:           "string",
	},
	"templatehash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TemplateHash",
		Description:    `A hash of the template.`,
		Exposed:        true,
		Name:           "templateHash",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `Represents the claims of the currently managed object.`,
		Exposed:        true,
		Name:           "claims",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"Input": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Input",
		Description:    `Represents data received from the service.`,
		Exposed:        true,
		Name:           "input",
		Required:       true,
		SubType:        "json.RawMessage",
		Type:           "external",
	},
	"Mode": elemental.AttributeSpecification{
		AllowedChoices: []string{"Post", "Pre"},
		ConvertedName:  "Mode",
		Description:    `Defines the hook's type.`,
		Exposed:        true,
		Name:           "mode",
		Type:           "enum",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Represents the current namespace.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"Operation": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `Represents the claims of the currently managed object.`,
		Exposed:        true,
		Name:           "claims",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"input": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Input",
		Description:    `Represents data received from the service.`,
		Exposed:        true,
		Name:           "input",
		Required:       true,
		SubType:        "json.RawMessage",
		Type:           "external",
	},
	"mode": elemental.AttributeSpecification{
		AllowedChoices: []string{"Post", "Pre"},
		ConvertedName:  "Mode",
		Description:    `Defines the hook's type.`,
		Exposed:        true,
		Name:           "mode",
		Type:           "enum",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Represents the current namespace.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"operation": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Output",
		Description:    `Holds the rendered template.`,
		Exposed:        true,
		Name:           "output",
		Type:           "string",
	},
	"Parameters": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Template": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Output",
		Description:    `Holds the rendered template.`,
		Exposed:        true,
		Name:           "output",
		Type:           "string",
	},
	"parameters": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `Contains the computed parameters.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"template": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Certificate",
		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",
	},
	"DependendServices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DependendServices",
		Description:    `The list of services that this processing unit depends on.`,
		Exposed:        true,
		Name:           "dependendServices",
		SubType:        "service",
		Type:           "refList",
	},
	"EgressPolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "EgressPolicies",
		Description:    `Lists all the egress policies attached to processing unit.`,
		Exposed:        true,
		Name:           "egressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"ExposedServices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExposedServices",
		Description:    `The list of services that this processing unit is implementing.`,
		Exposed:        true,
		Name:           "exposedServices",
		SubType:        "service",
		Type:           "refList",
	},
	"HashedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "HashedTags",
		Description:    `Contains the list of tags that matched the policies and their hashes.`,
		Exposed:        true,
		Name:           "hashedTags",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"IngressPolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IngressPolicies",
		Description:    `Lists all the ingress policies attached to the processing unit.`,
		Exposed:        true,
		Name:           "ingressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"MatchingTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "MatchingTags",
		Description:    `Contains the list of tags that matched the policies.`,
		Exposed:        true,
		Name:           "matchingTags",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"ProcessingUnit": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnit",
		CreationOnly:   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",
		Required: true,
		SubType:  "processingunit",
		Type:     "ref",
	},
	"ProcessingUnitID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ProcessingUnitID",
		Description:    `Identifier of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		ReadOnly:       true,
		Type:           "string",
	},
	"Scopes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
}

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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Certificate",
		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",
	},
	"dependendservices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DependendServices",
		Description:    `The list of services that this processing unit depends on.`,
		Exposed:        true,
		Name:           "dependendServices",
		SubType:        "service",
		Type:           "refList",
	},
	"egresspolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "EgressPolicies",
		Description:    `Lists all the egress policies attached to processing unit.`,
		Exposed:        true,
		Name:           "egressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"exposedservices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExposedServices",
		Description:    `The list of services that this processing unit is implementing.`,
		Exposed:        true,
		Name:           "exposedServices",
		SubType:        "service",
		Type:           "refList",
	},
	"hashedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "HashedTags",
		Description:    `Contains the list of tags that matched the policies and their hashes.`,
		Exposed:        true,
		Name:           "hashedTags",
		ReadOnly:       true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"ingresspolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "IngressPolicies",
		Description:    `Lists all the ingress policies attached to the processing unit.`,
		Exposed:        true,
		Name:           "ingressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"matchingtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "MatchingTags",
		Description:    `Contains the list of tags that matched the policies.`,
		Exposed:        true,
		Name:           "matchingTags",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"processingunit": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ProcessingUnit",
		CreationOnly:   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",
		Required: true,
		SubType:  "processingunit",
		Type:     "ref",
	},
	"processingunitid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ProcessingUnitID",
		Description:    `Identifier of the processing unit.`,
		Exposed:        true,
		Name:           "processingUnitID",
		ReadOnly:       true,
		Type:           "string",
	},
	"scopes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
}

RenderedPolicyLowerCaseAttributesMap represents the map of attribute for RenderedPolicy.

View Source
var ReportAttributesMap = map[string]elemental.AttributeSpecification{
	"Fields": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fields",
		Description:    `TSDB Fields to set for the report.`,
		Exposed:        true,
		Name:           "fields",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Kind": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Timestamp contains the time for the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"Value": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fields",
		Description:    `TSDB Fields to set for the report.`,
		Exposed:        true,
		Name:           "fields",
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"kind": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Timestamp contains the time for the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"value": elemental.AttributeSpecification{
		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 RevocationAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID contains the ID of the revocation.`,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationDate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"RevokeDate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RevokeDate",
		Description:    `Set time from when the certificate will be revoked.`,
		Exposed:        true,
		Name:           "revokeDate",
		Stored:         true,
		Type:           "time",
	},
	"SerialNumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SerialNumber",
		CreationOnly:   true,
		Description:    `SerialNumber of the revoked certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		Stored:         true,
		Type:           "string",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		CreationOnly:   true,
		Description:    `Subject of the certificate related to the revocation.`,
		Exposed:        true,
		Name:           "subject",
		Stored:         true,
		Type:           "string",
	},
	"ZHash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID contains the ID of the revocation.`,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationdate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"revokedate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RevokeDate",
		Description:    `Set time from when the certificate will be revoked.`,
		Exposed:        true,
		Name:           "revokeDate",
		Stored:         true,
		Type:           "time",
	},
	"serialnumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SerialNumber",
		CreationOnly:   true,
		Description:    `SerialNumber of the revoked certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		Stored:         true,
		Type:           "string",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		CreationOnly:   true,
		Description:    `Subject of the certificate related to the revocation.`,
		Exposed:        true,
		Name:           "subject",
		Stored:         true,
		Type:           "string",
	},
	"zhash": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Authorizations",
		Description:    `Authorizations of the role.`,
		Exposed:        true,
		Name:           "authorizations",
		ReadOnly:       true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Description",
		Description:    `Description of the role.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Type:           "string",
	},
	"Key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Key of the role.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Type:           "string",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `Name of the role.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
}

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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Authorizations",
		Description:    `Authorizations of the role.`,
		Exposed:        true,
		Name:           "authorizations",
		ReadOnly:       true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Description",
		Description:    `Description of the role.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Type:           "string",
	},
	"key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Key of the role.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Type:           "string",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Name",
		Description:    `Name of the role.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Type:           "string",
	},
}

RoleLowerCaseAttributesMap represents the map of attribute for Role.

View Source
var RootAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"IDPCertificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IDPCertificate",
		Description:    `Identity Provider Certificate in PEM format.`,
		Exposed:        true,
		Name:           "IDPCertificate",
		Stored:         true,
		Type:           "string",
	},
	"IDPIssuer": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IDPIssuer",
		Description:    `Identity Provider Issuer (also called Entity ID).`,
		Exposed:        true,
		Name:           "IDPIssuer",
		Stored:         true,
		Type:           "string",
	},
	"IDPMetadata": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IDPURL",
		Description:    `URL of the identity provider.`,
		Exposed:        true,
		Name:           "IDPURL",
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"MigrationsLog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subjects": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subjects",
		Description:    `List of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"idpcertificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IDPCertificate",
		Description:    `Identity Provider Certificate in PEM format.`,
		Exposed:        true,
		Name:           "IDPCertificate",
		Stored:         true,
		Type:           "string",
	},
	"idpissuer": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IDPIssuer",
		Description:    `Identity Provider Issuer (also called Entity ID).`,
		Exposed:        true,
		Name:           "IDPIssuer",
		Stored:         true,
		Type:           "string",
	},
	"idpmetadata": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IDPURL",
		Description:    `URL of the identity provider.`,
		Exposed:        true,
		Name:           "IDPURL",
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
	},
	"migrationslog": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subjects": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subjects",
		Description:    `List of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Alg": elemental.AttributeSpecification{
		AllowedChoices: []string{"RSA", "ECDSA"},
		ConvertedName:  "Alg",
		DefaultValue:   SSHAuthorityAlgECDSA,
		Description:    `Algorithm to use for the CA.`,
		Exposed:        true,
		Name:           "alg",
		Stored:         true,
		Type:           "enum",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PrivateKey",
		Description:    `Contains the private key of the CA.`,
		Name:           "privateKey",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"PublicKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PublicKey",
		Description:    `Contains the public key of the CA.`,
		Exposed:        true,
		Name:           "publicKey",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"alg": elemental.AttributeSpecification{
		AllowedChoices: []string{"RSA", "ECDSA"},
		ConvertedName:  "Alg",
		DefaultValue:   SSHAuthorityAlgECDSA,
		Description:    `Algorithm to use for the CA.`,
		Exposed:        true,
		Name:           "alg",
		Stored:         true,
		Type:           "enum",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PrivateKey",
		Description:    `Contains the private key of the CA.`,
		Name:           "privateKey",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"publickey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PublicKey",
		Description:    `Contains the public key of the CA.`,
		Exposed:        true,
		Name:           "publicKey",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description: `On systems without the Aporeto enforcer, you must provide the name of the Linux user. 
Otherwise, Aporeto 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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description: `On systems without the Aporeto enforcer, you must provide the name of the Linux user. 
Otherwise, Aporeto 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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Contains the signed SSH certificate in OpenSSH Format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"Extensions": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description:    `List of principals to set in the ssh certificate.`,
		Exposed:        true,
		Name:           "principals",
		SubType:        "string",
		Type:           "list",
	},
	"PublicKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PublicKey",
		Description:    `Contains the public key to sign in OpenSSH Format.`,
		Exposed:        true,
		Name:           "publicKey",
		Required:       true,
		Type:           "string",
	},
	"SignerID": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"User", "Host"},
		ConvertedName:  "Type",
		DefaultValue:   SSHCertificateTypeUser,
		Description:    `Type of SSH certificate.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
	"Validity": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Contains the signed SSH certificate in OpenSSH Format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"extensions": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description:    `List of principals to set in the ssh certificate.`,
		Exposed:        true,
		Name:           "principals",
		SubType:        "string",
		Type:           "list",
	},
	"publickey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PublicKey",
		Description:    `Contains the public key to sign in OpenSSH Format.`,
		Exposed:        true,
		Name:           "publicKey",
		Required:       true,
		Type:           "string",
	},
	"signerid": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"User", "Host"},
		ConvertedName:  "Type",
		DefaultValue:   SSHCertificateTypeUser,
		Description:    `Type of SSH certificate.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
	"validity": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Contains the signed SSH certificate in OpenSSH format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"PublicKey": elemental.AttributeSpecification{
		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",
	},
}

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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Contains the signed SSH certificate in OpenSSH format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"publickey": elemental.AttributeSpecification{
		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",
	},
}

SSHIdentityLowerCaseAttributesMap represents the map of attribute for SSHIdentity.

View Source
var SearchAttributesMap = map[string]elemental.AttributeSpecification{
	"Object": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Object",
		Description:    `Contains the matched object.`,
		Exposed:        true,
		Name:           "object",
		ReadOnly:       true,
		Type:           "object",
	},
	"ObjectID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectID",
		Description:    `Contains the ID of the match.`,
		Exposed:        true,
		Name:           "objectID",
		ReadOnly:       true,
		Type:           "string",
	},
	"ObjectIdentity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectIdentity",
		Description:    `Contains the identity of the match.`,
		Exposed:        true,
		Name:           "objectIdentity",
		ReadOnly:       true,
		Type:           "string",
	},
	"ObjectNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectNamespace",
		Description:    `Contains the namespace of the match.`,
		Exposed:        true,
		Name:           "objectNamespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"Score": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Object",
		Description:    `Contains the matched object.`,
		Exposed:        true,
		Name:           "object",
		ReadOnly:       true,
		Type:           "object",
	},
	"objectid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectID",
		Description:    `Contains the ID of the match.`,
		Exposed:        true,
		Name:           "objectID",
		ReadOnly:       true,
		Type:           "string",
	},
	"objectidentity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectIdentity",
		Description:    `Contains the identity of the match.`,
		Exposed:        true,
		Name:           "objectIdentity",
		ReadOnly:       true,
		Type:           "string",
	},
	"objectnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ObjectNamespace",
		Description:    `Contains the namespace of the match.`,
		Exposed:        true,
		Name:           "objectNamespace",
		ReadOnly:       true,
		Type:           "string",
	},
	"score": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"IPs": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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, Aporeto's public
signing
certificate authority will be used.`,
		Exposed: true,
		Name:    "MTLSCertificateAuthority",
		Stored:  true,
		Type:    "string",
	},
	"OIDCCallbackURL": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OIDCCallbackURL",
		Description: `This is an advanced setting. Optional OIDC callback URL. If you don't set it,
Aporeto will autodiscover it. It will be
` + "`" + `https://<hosts[0]|IPs[0]>/.aporeto/oidc/callback` + "`" + `.`,
		Exposed: true,
		Name:    "OIDCCallbackURL",
		Stored:  true,
		Type:    "string",
	},
	"OIDCClientID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TLSCertificateKey",
		Description: `PEM-encoded certificate key associated with ` + "`" + `TLSCertificate` + "`" + `. Only has effect
and
required if ` + "`" + `TLSType` + "`" + ` is set to ` + "`" + `External` + "`" + `.`,
		Exposed: true,
		Name:    "TLSCertificateKey",
		Stored:  true,
		Type:    "string",
	},
	"TLSType": elemental.AttributeSpecification{
		AllowedChoices: []string{"Aporeto", "LetsEncrypt", "External", "None"},
		ConvertedName:  "TLSType",
		DefaultValue:   ServiceTLSTypeAporeto,
		Description: `Set how to provide a server certificate to the service.

- ` + "`" + `Aporeto` + "`" + `: Generate a certificate issued from Aporeto 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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllAPITags",
		Description:    `This is a set of all API tags for matching in the DB.`,
		Name:           "allAPITags",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AllServiceTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllServiceTags",
		Description:    `This is a set of all selector tags for matching in the DB.`,
		Name:           "allServiceTags",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"None", "JWT", "OIDC", "MTLS"},
		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 Aporeto's public signing certificate
will be used.`,
		Exposed: true,
		Name:    "authorizationType",
		Stored:  true,
		Type:    "enum",
	},
	"ClaimsToHTTPHeaderMappings": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Endpoints": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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 can be different.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "exposedPort",
		Required: true,
		Stored:   true,
		Type:     "integer",
	},
	"ExposedServiceIsTLS": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "External",
		Description:    `Indicates if this is an external service.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "external",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"Hosts": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
		Required: true,
		Stored:   true,
		Type:     "integer",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"PublicApplicationPort": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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
useful when
an application is being accessed from a public network.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "publicApplicationPort",
		Stored:   true,
		Type:     "integer",
	},
	"RedirectURLOnAuthorizationFailure": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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
reasons
of the failure.`,
		Exposed: true,
		Name:    "redirectURLOnAuthorizationFailure",
		Stored:  true,
		Type:    "string",
	},
	"Selectors": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"HTTP", "TCP", "KubernetesSecrets", "VaultSecrets"},
		ConvertedName:  "Type",
		DefaultValue:   ServiceTypeHTTP,
		Description:    `Type of service.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 ServiceDependencyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `Object of the service dependency.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject of the service dependency.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"UpdateIdempotencyKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

ServiceDependencyAttributesMap represents the map of attribute for ServiceDependency.

View Source
var ServiceDependencyIdentity = elemental.Identity{
	Name:     "servicedependency",
	Category: "servicedependencies",
	Package:  "squall",
	Private:  false,
}

ServiceDependencyIdentity represents the Identity of the object.

View Source
var ServiceDependencyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Object",
		Description:    `Object of the service dependency.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Subject",
		Description:    `Subject of the service dependency.`,
		Exposed:        true,
		Name:           "subject",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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",
	},
}

ServiceDependencyLowerCaseAttributesMap represents the map of attribute for ServiceDependency.

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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ips": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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, Aporeto's public
signing
certificate authority will be used.`,
		Exposed: true,
		Name:    "MTLSCertificateAuthority",
		Stored:  true,
		Type:    "string",
	},
	"oidccallbackurl": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OIDCCallbackURL",
		Description: `This is an advanced setting. Optional OIDC callback URL. If you don't set it,
Aporeto will autodiscover it. It will be
` + "`" + `https://<hosts[0]|IPs[0]>/.aporeto/oidc/callback` + "`" + `.`,
		Exposed: true,
		Name:    "OIDCCallbackURL",
		Stored:  true,
		Type:    "string",
	},
	"oidcclientid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TLSCertificateKey",
		Description: `PEM-encoded certificate key associated with ` + "`" + `TLSCertificate` + "`" + `. Only has effect
and
required if ` + "`" + `TLSType` + "`" + ` is set to ` + "`" + `External` + "`" + `.`,
		Exposed: true,
		Name:    "TLSCertificateKey",
		Stored:  true,
		Type:    "string",
	},
	"tlstype": elemental.AttributeSpecification{
		AllowedChoices: []string{"Aporeto", "LetsEncrypt", "External", "None"},
		ConvertedName:  "TLSType",
		DefaultValue:   ServiceTLSTypeAporeto,
		Description: `Set how to provide a server certificate to the service.

- ` + "`" + `Aporeto` + "`" + `: Generate a certificate issued from Aporeto 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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllAPITags",
		Description:    `This is a set of all API tags for matching in the DB.`,
		Name:           "allAPITags",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"allservicetags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllServiceTags",
		Description:    `This is a set of all selector tags for matching in the DB.`,
		Name:           "allServiceTags",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Archived",
		Description:    `Defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"None", "JWT", "OIDC", "MTLS"},
		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 Aporeto's public signing certificate
will be used.`,
		Exposed: true,
		Name:    "authorizationType",
		Stored:  true,
		Type:    "enum",
	},
	"claimstohttpheadermappings": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"endpoints": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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 can be different.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "exposedPort",
		Required: true,
		Stored:   true,
		Type:     "integer",
	},
	"exposedserviceistls": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "External",
		Description:    `Indicates if this is an external service.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "external",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"hosts": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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",
		Required: true,
		Stored:   true,
		Type:     "integer",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"publicapplicationport": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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
useful when
an application is being accessed from a public network.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "publicApplicationPort",
		Stored:   true,
		Type:     "integer",
	},
	"redirecturlonauthorizationfailure": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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
reasons
of the failure.`,
		Exposed: true,
		Name:    "redirectURLOnAuthorizationFailure",
		Stored:  true,
		Type:    "string",
	},
	"selectors": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"HTTP", "TCP", "KubernetesSecrets", "VaultSecrets"},
		ConvertedName:  "Type",
		DefaultValue:   ServiceTypeHTTP,
		Description:    `Type of service.`,
		Exposed:        true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"updateidempotencykey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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 ServiceTokenAttributesMap = map[string]elemental.AttributeSpecification{
	"Audience": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObjectID",
		Description:    `ID of the object you want to issue a token for.`,
		Exposed:        true,
		Name:           "objectID",
		Type:           "string",
	},
	"SessionID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SessionID",
		Description:    `Provides the session ID of the enforcer when retrieving a datapath certificate.`,
		Exposed:        true,
		Name:           "sessionID",
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token is the signed JWT service token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "Service"},
		ConvertedName:  "Type",
		DefaultValue:   ServiceTokenTypeService,
		Description:    `Type of token request.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
	"Validity": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ObjectID",
		Description:    `ID of the object you want to issue a token for.`,
		Exposed:        true,
		Name:           "objectID",
		Type:           "string",
	},
	"sessionid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SessionID",
		Description:    `Provides the session ID of the enforcer when retrieving a datapath certificate.`,
		Exposed:        true,
		Name:           "sessionID",
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token is the signed JWT service token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{"ProcessingUnit", "Service"},
		ConvertedName:  "Type",
		DefaultValue:   ServiceTokenTypeService,
		Description:    `Type of token request.`,
		Exposed:        true,
		Name:           "type",
		Type:           "enum",
	},
	"validity": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Count",
		Description:    `Number of time this tag is used.`,
		Exposed:        true,
		Name:           "count",
		Stored:         true,
		Type:           "integer",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `namespace containing these tags.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"Value": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Count",
		Description:    `Number of time this tag is used.`,
		Exposed:        true,
		Name:           "count",
		Stored:         true,
		Type:           "integer",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `namespace containing these tags.`,
		Exposed:        true,
		Name:           "namespace",
		Stored:         true,
		Type:           "string",
	},
	"value": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Flows", "Audit", "Enforcers", "Files", "EventLogs", "Counters", "Accesses", "Packets"},
		ConvertedName:  "Measurement",
		DefaultValue:   StatsInfoMeasurementFlows,
		Description:    `Name of the measurement.`,
		Exposed:        true,
		Name:           "measurement",
		Type:           "enum",
	},
	"Tags": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{"Flows", "Audit", "Enforcers", "Files", "EventLogs", "Counters", "Accesses", "Packets"},
		ConvertedName:  "Measurement",
		DefaultValue:   StatsInfoMeasurementFlows,
		Description:    `Name of the measurement.`,
		Exposed:        true,
		Name:           "measurement",
		Type:           "enum",
	},
	"tags": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Filter",
		Description:    `Apply a filter to the query.`,
		Exposed:        true,
		Name:           "filter",
		Type:           "string",
	},
	"Groups": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   -1,
		Description:    `Limits the number of results. ` + "`" + `-1` + "`" + ` means no limit.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"Measurement": elemental.AttributeSpecification{
		AllowedChoices: []string{"Flows", "Audit", "Enforcers", "Files", "EventLogs", "Packets", "EnforcerTraces", "Counters", "Accesses"},
		ConvertedName:  "Measurement",
		DefaultValue:   StatsQueryMeasurementFlows,
		Description:    `Name of the measurement.`,
		Exposed:        true,
		Name:           "measurement",
		Type:           "enum",
	},
	"Offset": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Offset",
		DefaultValue:   -1,
		Description:    `Offsets the results. -1 means no offset.`,
		Exposed:        true,
		Name:           "offset",
		Type:           "integer",
	},
	"Results": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Filter",
		Description:    `Apply a filter to the query.`,
		Exposed:        true,
		Name:           "filter",
		Type:           "string",
	},
	"groups": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Limit",
		DefaultValue:   -1,
		Description:    `Limits the number of results. ` + "`" + `-1` + "`" + ` means no limit.`,
		Exposed:        true,
		Name:           "limit",
		Type:           "integer",
	},
	"measurement": elemental.AttributeSpecification{
		AllowedChoices: []string{"Flows", "Audit", "Enforcers", "Files", "EventLogs", "Packets", "EnforcerTraces", "Counters", "Accesses"},
		ConvertedName:  "Measurement",
		DefaultValue:   StatsQueryMeasurementFlows,
		Description:    `Name of the measurement.`,
		Exposed:        true,
		Name:           "measurement",
		Type:           "enum",
	},
	"offset": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Offset",
		DefaultValue:   -1,
		Description:    `Offsets the results. -1 means no offset.`,
		Exposed:        true,
		Name:           "offset",
		Type:           "integer",
	},
	"results": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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 TabulationAttributesMap = map[string]elemental.AttributeSpecification{
	"Headers": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Headers",
		Description:    `Contains the requests headers that matched.`,
		Exposed:        true,
		Name:           "headers",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"Rows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Rows",
		Description:    `Contains the tabulated data.`,
		Exposed:        true,
		Name:           "rows",
		ReadOnly:       true,
		SubType:        "[][]interface{}",
		Type:           "external",
	},
	"TargetIdentity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "TargetIdentity",
		Description:    `Contains the requested target identity.`,
		Exposed:        true,
		Name:           "targetIdentity",
		ReadOnly:       true,
		Type:           "string",
	},
}

TabulationAttributesMap represents the map of attribute for Tabulation.

View Source
var TabulationIdentity = elemental.Identity{
	Name:     "tabulation",
	Category: "tabulations",
	Package:  "elena",
	Private:  false,
}

TabulationIdentity represents the Identity of the object.

View Source
var TabulationLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"headers": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Headers",
		Description:    `Contains the requests headers that matched.`,
		Exposed:        true,
		Name:           "headers",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"rows": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Rows",
		Description:    `Contains the tabulated data.`,
		Exposed:        true,
		Name:           "rows",
		ReadOnly:       true,
		SubType:        "[][]interface{}",
		Type:           "external",
	},
	"targetidentity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "TargetIdentity",
		Description:    `Contains the requested target identity.`,
		Exposed:        true,
		Name:           "targetIdentity",
		ReadOnly:       true,
		Type:           "string",
	},
}

TabulationLowerCaseAttributesMap represents the map of attribute for Tabulation.

View Source
var TagAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Count": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Count",
		Description:    `Represents the number of times the tag is used.`,
		Exposed:        true,
		Name:           "count",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AddedTags",
		Description:    `List of tags to be added.`,
		Exposed:        true,
		Name:           "addedTags",
		SubType:        "map[string]int",
		Type:           "external",
	},
	"RemovedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RemovedTags",
		Description:    `List of tags to be removed.`,
		Exposed:        true,
		Name:           "removedTags",
		SubType:        "map[string]int",
		Type:           "external",
	},
	"TargetNamespace": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AddedTags",
		Description:    `List of tags to be added.`,
		Exposed:        true,
		Name:           "addedTags",
		SubType:        "map[string]int",
		Type:           "external",
	},
	"removedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "RemovedTags",
		Description:    `List of tags to be removed.`,
		Exposed:        true,
		Name:           "removedTags",
		SubType:        "map[string]int",
		Type:           "external",
	},
	"targetnamespace": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"count": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Count",
		Description:    `Represents the number of times the tag is used.`,
		Exposed:        true,
		Name:           "count",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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 TagValueAttributesMap = map[string]elemental.AttributeSpecification{
	"Key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `The requested key.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Type:           "string",
	},
	"Values": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `The requested key.`,
		Exposed:        true,
		Name:           "key",
		ReadOnly:       true,
		Type:           "string",
	},
	"values": elemental.AttributeSpecification{
		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 TokenAttributesMap = map[string]elemental.AttributeSpecification{
	"Certificate": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token contains the generated token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"Validity": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token contains the generated token.`,
		Exposed:        true,
		Name:           "token",
		ReadOnly:       true,
		Type:           "string",
	},
	"validity": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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",
	},
	"Serialnumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Serialnumber",
		Description:    `SerialNumber is the serial number of the certificate.`,
		Exposed:        true,
		Name:           "serialnumber",
		ReadOnly:       true,
		Type:           "string",
	},
	"Type": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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",
	},
	"serialnumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Serialnumber",
		Description:    `SerialNumber is the serial number of the certificate.`,
		Exposed:        true,
		Name:           "serialnumber",
		ReadOnly:       true,
		Type:           "string",
	},
	"type": elemental.AttributeSpecification{
		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 UserAccessPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowedSudoUsers",
		Description:    `Indicates the list of user who can use ` + "`" + `sudo` + "`" + ` commands.`,
		Exposed:        true,
		Name:           "allowedSudoUsers",
		SubType:        "string",
		Type:           "list",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChars:   `^[0-9]+[smh]$`,
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowedSudoUsers",
		Description:    `Indicates the list of user who can use ` + "`" + `sudo` + "`" + ` commands.`,
		Exposed:        true,
		Name:           "allowedSudoUsers",
		SubType:        "string",
		Type:           "list",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"disabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Disabled",
		Description:    `Defines if the property is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"subject": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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 ValidateUIParameterAttributesMap = map[string]elemental.AttributeSpecification{
	"Errors": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Errors",
		Description:    `Contains the list of errors.`,
		Exposed:        true,
		Name:           "errors",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Parameters": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `List of parameters to validate.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "uiparameter",
		Type:           "refList",
	},
	"Values": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Errors",
		Description:    `Contains the list of errors.`,
		Exposed:        true,
		Name:           "errors",
		SubType:        "map[string]string",
		Type:           "external",
	},
	"parameters": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Parameters",
		Description:    `List of parameters to validate.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "uiparameter",
		Type:           "refList",
	},
	"values": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CVSS2Score",
		CreationOnly:   true,
		Description:    `Common Vulnerability Scoring System (CVSS) version 2 score.`,
		Exposed:        true,
		Name:           "CVSS2Score",
		Stored:         true,
		Type:           "float",
	},
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"CreateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Link": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Severity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"UpdateTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CVSS2Score",
		CreationOnly:   true,
		Description:    `Common Vulnerability Scoring System (CVSS) version 2 score.`,
		Exposed:        true,
		Name:           "CVSS2Score",
		Stored:         true,
		Type:           "float",
	},
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `Identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "CreateIdempotencyKey",
		Description:    `internal idempotency key for a create operation.`,
		Getter:         true,
		Name:           "createIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"createtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"link": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MigrationsLog",
		Description:    `Internal property maintaining migrations information.`,
		Getter:         true,
		Name:           "migrationsLog",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		DefaultOrder:   true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Defines if the object is protected.`,
		Exposed:        true,
		Getter:         true,
		Name:           "protected",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"severity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "UpdateIdempotencyKey",
		Description:    `internal idempotency key for a update operation.`,
		Getter:         true,
		Name:           "updateIdempotencyKey",
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"updatetime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Zone",
		Description:    `Geographical zone. Used for sharding and georedundancy.`,
		Exposed:        true,
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		CreationOnly:   true,
		Description:    `CSR contains the Certificate Signing Request as a PEM encoded string.`,
		Exposed:        true,
		Name:           "CSR",
		Required:       true,
		Type:           "string",
	},
	"ID": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Certificate contains the certificate data in PEM format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"ExpirationDate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description:    `ExpirationDate contains the requested expiration date.`,
		Exposed:        true,
		Name:           "expirationDate",
		SubType:        "string",
		Type:           "time",
	},
	"Extensions": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Extensions",
		CreationOnly:   true,
		Description: `Extensions is a list of extensions that can be added as SAN extensions to the
certificate.`,
		Exposed: true,
		Name:    "extensions",
		SubType: "string",
		Type:    "list",
	},
	"Signer": elemental.AttributeSpecification{
		AllowedChoices: []string{"Public", "System"},
		ConvertedName:  "Signer",
		DefaultValue:   X509CertificateSignerPublic,
		Description:    `Selects what CA should sign the certificate.`,
		Exposed:        true,
		Name:           "signer",
		Type:           "enum",
	},
	"SubjectOverride": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		CreationOnly:   true,
		Description:    `CSR contains the Certificate Signing Request as a PEM encoded string.`,
		Exposed:        true,
		Name:           "CSR",
		Required:       true,
		Type:           "string",
	},
	"id": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Certificate",
		Description:    `Certificate contains the certificate data in PEM format.`,
		Exposed:        true,
		Name:           "certificate",
		ReadOnly:       true,
		Type:           "string",
	},
	"expirationdate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationDate",
		CreationOnly:   true,
		Description:    `ExpirationDate contains the requested expiration date.`,
		Exposed:        true,
		Name:           "expirationDate",
		SubType:        "string",
		Type:           "time",
	},
	"extensions": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Extensions",
		CreationOnly:   true,
		Description: `Extensions is a list of extensions that can be added as SAN extensions to the
certificate.`,
		Exposed: true,
		Name:    "extensions",
		SubType: "string",
		Type:    "list",
	},
	"signer": elemental.AttributeSpecification{
		AllowedChoices: []string{"Public", "System"},
		ConvertedName:  "Signer",
		DefaultValue:   X509CertificateSignerPublic,
		Description:    `Selects what CA should sign the certificate.`,
		Exposed:        true,
		Name:           "signer",
		Type:           "enum",
	},
	"subjectoverride": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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": elemental.AttributeSpecification{
		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 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 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 ValidateEnforcerProfile

func ValidateEnforcerProfile(enforcerProfile *EnforcerProfile) error

ValidateEnforcerProfile validates a an enforcer profile.

func ValidateHTTPMethods

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

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

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 ValidateMetadata

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

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

func ValidateNetwork

func ValidateNetwork(attribute string, network string) error

ValidateNetwork validates a CIDR.

func ValidateNetworkList

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

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

func ValidateOptionalNetworkList

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

ValidateOptionalNetworkList validates a list of networks. It can be empty/

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 ValidateProcessingUnitServicesList

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

ValidateProcessingUnitServicesList validates a list of processing unit services.

func ValidateProcessingUnitServicesListWithoutOverlap

func ValidateProcessingUnitServicesListWithoutOverlap(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 ValidateProtoPort added in v1.1.0

func ValidateProtoPort(attribute string, service string) error

ValidateProtoPort validates protocol/port.

func ValidateProtoPorts added in v1.1.0

func ValidateProtoPorts(attribute string, services []string) error

ValidateProtoPorts validates a list of protocol/ports.

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 ValidateServiceEntity

func ValidateServiceEntity(service *Service) error

ValidateServiceEntity validates a Service.

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 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"`

	// 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 `json:"authorizedIdentities" msgpack:"authorizedIdentities" bson:"-" mapstructure:"authorizedIdentities,omitempty"`

	// Defines the namespace the user is authorized to access.
	AuthorizedNamespace string `json:"authorizedNamespace" msgpack:"authorizedNamespace" bson:"-" mapstructure:"authorizedNamespace,omitempty"`

	// 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:"-" 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"`

	// 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:"-" 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"`
}

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) 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) 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) 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) 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) 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) 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) 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) 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 AWSAPIGateway

type AWSAPIGateway struct {
	// API ID as defined on AWS for the API that handled this request.
	APIID string `json:"APIID" msgpack:"APIID" bson:"-" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

	// the account ID for the gateway managing this request.
	AccountID string `json:"accountID" msgpack:"accountID" bson:"-" 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 policy decision for this API flow.
	Authorized bool `json:"authorized" msgpack:"authorized" bson:"-" mapstructure:"authorized,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"`

	// API method that handled this request.
	Method string `json:"method" msgpack:"method" bson:"-" mapstructure:"method,omitempty"`

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

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

	// Link to the cluster namespace where the AWS API gateway is defined.
	NamespaceID string `json:"namespaceID" msgpack:"namespaceID" bson:"-" mapstructure:"namespaceID,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"`

	// API resource that handled this request.
	Resource string `json:"resource" msgpack:"resource" bson:"-" mapstructure:"resource,omitempty"`

	// the client ip for this request.
	SourceIP string `json:"sourceIP" msgpack:"sourceIP" bson:"-" mapstructure:"sourceIP,omitempty"`

	// the stage name as defined on AWS for the API that handled this request.
	Stage string `json:"stage" msgpack:"stage" bson:"-" mapstructure:"stage,omitempty"`

	// the JWT token that was optionally attached to this request.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,omitempty"`

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

AWSAPIGateway represents the model of a awsapigateway

func NewAWSAPIGateway

func NewAWSAPIGateway() *AWSAPIGateway

NewAWSAPIGateway returns a new *AWSAPIGateway

func (*AWSAPIGateway) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*AWSAPIGateway) BleveType added in v1.1.0

func (o *AWSAPIGateway) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AWSAPIGateway) DeepCopy

func (o *AWSAPIGateway) DeepCopy() *AWSAPIGateway

DeepCopy returns a deep copy if the AWSAPIGateway.

func (*AWSAPIGateway) DeepCopyInto

func (o *AWSAPIGateway) DeepCopyInto(out *AWSAPIGateway)

DeepCopyInto copies the receiver into the given *AWSAPIGateway.

func (*AWSAPIGateway) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*AWSAPIGateway) Doc

func (o *AWSAPIGateway) Doc() string

Doc returns the documentation for the object

func (*AWSAPIGateway) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*AWSAPIGateway) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*AWSAPIGateway) GetCreateIdempotencyKey

func (o *AWSAPIGateway) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*AWSAPIGateway) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*AWSAPIGateway) GetDescription

func (o *AWSAPIGateway) GetDescription() string

GetDescription returns the Description of the receiver.

func (*AWSAPIGateway) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*AWSAPIGateway) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*AWSAPIGateway) GetName

func (o *AWSAPIGateway) GetName() string

GetName returns the Name of the receiver.

func (*AWSAPIGateway) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*AWSAPIGateway) GetProtected

func (o *AWSAPIGateway) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*AWSAPIGateway) GetUpdateIdempotencyKey

func (o *AWSAPIGateway) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*AWSAPIGateway) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*AWSAPIGateway) GetZHash added in v1.1.0

func (o *AWSAPIGateway) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AWSAPIGateway) GetZone added in v1.1.0

func (o *AWSAPIGateway) GetZone() int

GetZone returns the Zone of the receiver.

func (*AWSAPIGateway) Identifier

func (o *AWSAPIGateway) Identifier() string

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

func (*AWSAPIGateway) Identity

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

Identity returns the Identity of the object.

func (*AWSAPIGateway) Patch

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

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

func (*AWSAPIGateway) SetAnnotations

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

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

func (*AWSAPIGateway) SetAssociatedTags

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

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

func (*AWSAPIGateway) SetCreateIdempotencyKey

func (o *AWSAPIGateway) SetCreateIdempotencyKey(createIdempotencyKey string)

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

func (*AWSAPIGateway) SetCreateTime

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

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

func (*AWSAPIGateway) SetDescription

func (o *AWSAPIGateway) SetDescription(description string)

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

func (*AWSAPIGateway) SetIdentifier

func (o *AWSAPIGateway) SetIdentifier(id string)

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

func (*AWSAPIGateway) SetMetadata

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

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

func (*AWSAPIGateway) SetMigrationsLog added in v1.30.0

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

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

func (*AWSAPIGateway) SetName

func (o *AWSAPIGateway) SetName(name string)

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

func (*AWSAPIGateway) SetNormalizedTags

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

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

func (*AWSAPIGateway) SetProtected

func (o *AWSAPIGateway) SetProtected(protected bool)

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

func (*AWSAPIGateway) SetUpdateIdempotencyKey

func (o *AWSAPIGateway) SetUpdateIdempotencyKey(updateIdempotencyKey string)

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

func (*AWSAPIGateway) SetUpdateTime

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

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

func (*AWSAPIGateway) SetZHash added in v1.1.0

func (o *AWSAPIGateway) SetZHash(zHash int)

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

func (*AWSAPIGateway) SetZone added in v1.1.0

func (o *AWSAPIGateway) SetZone(zone int)

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

func (*AWSAPIGateway) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AWSAPIGateway) String

func (o *AWSAPIGateway) String() string

func (*AWSAPIGateway) ToSparse

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

func (o *AWSAPIGateway) Validate() error

Validate valides the current information stored into the structure.

func (*AWSAPIGateway) ValueForAttribute

func (o *AWSAPIGateway) 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 (*AWSAPIGateway) Version

func (o *AWSAPIGateway) Version() int

Version returns the hardcoded version of the model.

type AWSAPIGatewaysList

type AWSAPIGatewaysList []*AWSAPIGateway

AWSAPIGatewaysList represents a list of AWSAPIGateways

func (AWSAPIGatewaysList) Append

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

func (AWSAPIGatewaysList) Copy

Copy returns a pointer to a copy the AWSAPIGatewaysList.

func (AWSAPIGatewaysList) DefaultOrder

func (o AWSAPIGatewaysList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AWSAPIGatewaysList) Identity

func (o AWSAPIGatewaysList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AWSAPIGatewaysList) List

List converts the object to an elemental.IdentifiablesList.

func (AWSAPIGatewaysList) ToSparse

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

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

func (AWSAPIGatewaysList) Version

func (o AWSAPIGatewaysList) Version() int

Version returns the version of the content.

type AWSAccount

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

	// Contains the AWS access key ID. Aporeto uses this just to retrieve your
	// account ID and does not store the value.
	AccessKeyID string `json:"accessKeyID" msgpack:"accessKeyID" bson:"-" mapstructure:"accessKeyID,omitempty"`

	// Contains your AWS access token. Aporeto uses this just to retrieve your
	// account ID and does not store the value.
	AccessToken string `json:"accessToken" msgpack:"accessToken" bson:"-" mapstructure:"accessToken,omitempty"`

	// Contains your verified account ID.
	AccountID string `json:"accountID" msgpack:"accountID" bson:"accountid" mapstructure:"accountID,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" mapstructure:"-,omitempty"`

	// Contains the parent Vince account ID.
	ParentID string `json:"parentID" msgpack:"parentID" bson:"parentid" mapstructure:"parentID,omitempty"`

	// Contains the name of the Vince parent account.
	ParentName string `json:"parentName" msgpack:"parentName" bson:"parentname" mapstructure:"parentName,omitempty"`

	// Contains your the region where your AWS account is located.
	Region string `json:"region" msgpack:"region" bson:"region" mapstructure:"region,omitempty"`

	// Contains the AWS secret access key. Aporeto uses this just to retrieve your
	// account ID and does not store the value.
	SecretAccessKey string `json:"secretAccessKey" msgpack:"secretAccessKey" bson:"-" mapstructure:"secretAccessKey,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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,omitempty"`

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

AWSAccount represents the model of a awsaccount

func NewAWSAccount

func NewAWSAccount() *AWSAccount

NewAWSAccount returns a new *AWSAccount

func (*AWSAccount) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*AWSAccount) BleveType added in v1.1.0

func (o *AWSAccount) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AWSAccount) DeepCopy

func (o *AWSAccount) DeepCopy() *AWSAccount

DeepCopy returns a deep copy if the AWSAccount.

func (*AWSAccount) DeepCopyInto

func (o *AWSAccount) DeepCopyInto(out *AWSAccount)

DeepCopyInto copies the receiver into the given *AWSAccount.

func (*AWSAccount) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*AWSAccount) Doc

func (o *AWSAccount) Doc() string

Doc returns the documentation for the object

func (*AWSAccount) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*AWSAccount) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*AWSAccount) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*AWSAccount) GetZHash added in v1.1.0

func (o *AWSAccount) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AWSAccount) GetZone added in v1.1.0

func (o *AWSAccount) GetZone() int

GetZone returns the Zone of the receiver.

func (*AWSAccount) Identifier

func (o *AWSAccount) Identifier() string

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

func (*AWSAccount) Identity

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

Identity returns the Identity of the object.

func (*AWSAccount) Patch

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

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

func (*AWSAccount) SetCreateTime

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

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

func (*AWSAccount) SetIdentifier

func (o *AWSAccount) SetIdentifier(id string)

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

func (*AWSAccount) SetMigrationsLog added in v1.30.0

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

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

func (*AWSAccount) SetUpdateTime

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

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

func (*AWSAccount) SetZHash added in v1.1.0

func (o *AWSAccount) SetZHash(zHash int)

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

func (*AWSAccount) SetZone added in v1.1.0

func (o *AWSAccount) SetZone(zone int)

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

func (*AWSAccount) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AWSAccount) String

func (o *AWSAccount) String() string

func (*AWSAccount) ToSparse

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

func (o *AWSAccount) Validate() error

Validate valides the current information stored into the structure.

func (*AWSAccount) ValueForAttribute

func (o *AWSAccount) 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 (*AWSAccount) Version

func (o *AWSAccount) Version() int

Version returns the hardcoded version of the model.

type AWSAccountsList

type AWSAccountsList []*AWSAccount

AWSAccountsList represents a list of AWSAccounts

func (AWSAccountsList) Append

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

func (AWSAccountsList) Copy

Copy returns a pointer to a copy the AWSAccountsList.

func (AWSAccountsList) DefaultOrder

func (o AWSAccountsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AWSAccountsList) Identity

func (o AWSAccountsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AWSAccountsList) List

List converts the object to an elemental.IdentifiablesList.

func (AWSAccountsList) ToSparse

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

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

func (AWSAccountsList) Version

func (o AWSAccountsList) Version() int

Version returns the version of the content.

type AWSRegister

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

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

	// Token Provided by AWS.
	Provider string `json:"provider" msgpack:"provider" bson:"-" mapstructure:"provider,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"`
}

AWSRegister represents the model of a awsregister

func NewAWSRegister

func NewAWSRegister() *AWSRegister

NewAWSRegister returns a new *AWSRegister

func (*AWSRegister) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*AWSRegister) BleveType added in v1.1.0

func (o *AWSRegister) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*AWSRegister) DeepCopy

func (o *AWSRegister) DeepCopy() *AWSRegister

DeepCopy returns a deep copy if the AWSRegister.

func (*AWSRegister) DeepCopyInto

func (o *AWSRegister) DeepCopyInto(out *AWSRegister)

DeepCopyInto copies the receiver into the given *AWSRegister.

func (*AWSRegister) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*AWSRegister) Doc

func (o *AWSRegister) Doc() string

Doc returns the documentation for the object

func (*AWSRegister) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*AWSRegister) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*AWSRegister) Identifier

func (o *AWSRegister) Identifier() string

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

func (*AWSRegister) Identity

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

Identity returns the Identity of the object.

func (*AWSRegister) Patch

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

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

func (*AWSRegister) SetCreateTime

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

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

func (*AWSRegister) SetIdentifier

func (o *AWSRegister) SetIdentifier(id string)

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

func (*AWSRegister) SetUpdateTime

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

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

func (*AWSRegister) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*AWSRegister) String

func (o *AWSRegister) String() string

func (*AWSRegister) ToSparse

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

func (o *AWSRegister) Validate() error

Validate valides the current information stored into the structure.

func (*AWSRegister) ValueForAttribute

func (o *AWSRegister) 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 (*AWSRegister) Version

func (o *AWSRegister) Version() int

Version returns the hardcoded version of the model.

type AWSRegistersList

type AWSRegistersList []*AWSRegister

AWSRegistersList represents a list of AWSRegisters

func (AWSRegistersList) Append

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

func (AWSRegistersList) Copy

Copy returns a pointer to a copy the AWSRegistersList.

func (AWSRegistersList) DefaultOrder

func (o AWSRegistersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AWSRegistersList) Identity

func (o AWSRegistersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AWSRegistersList) List

List converts the object to an elemental.IdentifiablesList.

func (AWSRegistersList) ToSparse

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

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

func (AWSRegistersList) Version

func (o AWSRegistersList) Version() int

Version returns the version of the content.

type AccessReport added in v1.1.0

type AccessReport struct {
	// Action applied to the access.
	Action AccessReportActionValue `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

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

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

	// Namespace of the enforcer.
	EnforcerNamespace string `json:"enforcerNamespace" msgpack:"enforcerNamespace" bson:"-" mapstructure:"enforcerNamespace,omitempty"`

	// ID of the processing unit of the report.
	ProcessingUnitID string `json:"processingUnitID" msgpack:"processingUnitID" bson:"-" mapstructure:"processingUnitID,omitempty"`

	// Name of the processing unit of the report.
	ProcessingUnitName string `json:"processingUnitName" msgpack:"processingUnitName" bson:"-" mapstructure:"processingUnitName,omitempty"`

	// Namespace of the processing unit of the report.
	ProcessingUnitNamespace string `json:"processingUnitNamespace" msgpack:"processingUnitNamespace" bson:"-" mapstructure:"processingUnitNamespace,omitempty"`

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

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

	// Type of the report.
	Type AccessReportTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,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) 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) SetIdentifier added in v1.1.0

func (o *AccessReport) SetIdentifier(id string)

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

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 Account

type Account struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" 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:"sshca" 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 `` /* 132-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"`

	// Holds the ID of the associated billing customer.
	AssociatedBillingID string `` /* 128-byte string literal not displayed */

	// 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"`

	// 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"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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) 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) 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:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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:"_id" 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"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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:"_id" 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"`

	// 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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" msgpack:"AUID" bson:"-" mapstructure:"AUID,omitempty"`

	// Command working directory.
	CWD string `json:"CWD" msgpack:"CWD" bson:"-" mapstructure:"CWD,omitempty"`

	// Effective group ID of the user who started the audited process.
	EGID int `json:"EGID" msgpack:"EGID" bson:"-" mapstructure:"EGID,omitempty"`

	// Effective user ID of the user who started the audited process.
	EUID int `json:"EUID" msgpack:"EUID" bson:"-" mapstructure:"EUID,omitempty"`

	// Path to the executable.
	EXE string `json:"EXE" msgpack:"EXE" bson:"-" mapstructure:"EXE,omitempty"`

	// File system group ID of the user who started the audited process.
	FSGID int `json:"FSGID" msgpack:"FSGID" bson:"-" mapstructure:"FSGID,omitempty"`

	// File system user ID of the user who started the audited process.
	FSUID int `json:"FSUID" msgpack:"FSUID" bson:"-" mapstructure:"FSUID,omitempty"`

	// Full path of the file that was passed to the system call.
	FilePath string `json:"FilePath" msgpack:"FilePath" bson:"-" mapstructure:"FilePath,omitempty"`

	// Group ID of the user who started the analyzed process.
	GID int `json:"GID" msgpack:"GID" bson:"-" mapstructure:"GID,omitempty"`

	// File or directory permissions.
	PER int `json:"PER" msgpack:"PER" bson:"-" mapstructure:"PER,omitempty"`

	// Process ID of the executable.
	PID int `json:"PID" msgpack:"PID" bson:"-" mapstructure:"PID,omitempty"`

	// Process ID of the parent executable.
	PPID int `json:"PPID" msgpack:"PPID" bson:"-" mapstructure:"PPID,omitempty"`

	// Set group ID of the user who started the audited process.
	SGID int `json:"SGID" msgpack:"SGID" bson:"-" mapstructure:"SGID,omitempty"`

	// Set user ID of the user who started the audited process.
	SUID int `json:"SUID" msgpack:"SUID" bson:"-" mapstructure:"SUID,omitempty"`

	// User ID.
	UID int `json:"UID" msgpack:"UID" bson:"-" mapstructure:"UID,omitempty"`

	// First argument of the executed system call.
	A0 string `json:"a0" msgpack:"a0" bson:"-" mapstructure:"a0,omitempty"`

	// Second argument of the executed system call.
	A1 string `json:"a1" msgpack:"a1" bson:"-" mapstructure:"a1,omitempty"`

	// Third argument of the executed system call.
	A2 string `json:"a2" msgpack:"a2" bson:"-" mapstructure:"a2,omitempty"`

	// Fourth argument of the executed system call.
	A3 string `json:"a3" msgpack:"a3" bson:"-" mapstructure:"a3,omitempty"`

	// Architecture of the system of the monitored process.
	Arch string `json:"arch" msgpack:"arch" bson:"-" mapstructure:"arch,omitempty"`

	// ID of the audit profile that triggered the report.
	AuditProfileID string `json:"auditProfileID" msgpack:"auditProfileID" bson:"-" mapstructure:"auditProfileID,omitempty"`

	// Namespace of the audit profile that triggered the report.
	AuditProfileNamespace string `json:"auditProfileNamespace" msgpack:"auditProfileNamespace" bson:"-" mapstructure:"auditProfileNamespace,omitempty"`

	// Command issued.
	Command string `json:"command" msgpack:"command" bson:"-" mapstructure:"command,omitempty"`

	// ID of the enforcer reporting.
	EnforcerID string `json:"enforcerID" msgpack:"enforcerID" bson:"-" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer reporting.
	EnforcerNamespace string `json:"enforcerNamespace" msgpack:"enforcerNamespace" bson:"-" mapstructure:"enforcerNamespace,omitempty"`

	// Exit code of the executed system call.
	Exit int `json:"exit" msgpack:"exit" bson:"-" mapstructure:"exit,omitempty"`

	// ID of the processing unit originating the report.
	ProcessingUnitID string `json:"processingUnitID" msgpack:"processingUnitID" bson:"-" mapstructure:"processingUnitID,omitempty"`

	// Namespace of the processing unit originating the report.
	ProcessingUnitNamespace string `json:"processingUnitNamespace" msgpack:"processingUnitNamespace" bson:"-" mapstructure:"processingUnitNamespace,omitempty"`

	// Type of audit record.
	RecordType string `json:"recordType" msgpack:"recordType" bson:"-" mapstructure:"recordType,omitempty"`

	// Needs documentation.
	Sequence int `json:"sequence" msgpack:"sequence" bson:"-" mapstructure:"sequence,omitempty"`

	// Tells if the operation has been a success or a failure.
	Success bool `json:"success" msgpack:"success" bson:"-" mapstructure:"success,omitempty"`

	// System call executed.
	Syscall string `json:"syscall" msgpack:"syscall" bson:"-" mapstructure:"syscall,omitempty"`

	// Date of the report.
	Timestamp time.Time `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,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) 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) SetIdentifier

func (o *AuditReport) SetIdentifier(id string)

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

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"`

	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) 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) 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:"_id" 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" mapstructure:"-,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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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 {
	// 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"`

	// description.
	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) 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) 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:"_id" 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"`

	// 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" 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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) 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) 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) 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) 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 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:"_id" 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) 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) 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) 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:"_id" 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 raw JSON web token (JWT) claims.
	Content map[string]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"`

	// Contains the date of the first appearance of the claims.
	FirstSeen time.Time `json:"-" msgpack:"-" bson:"firstseen" 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:"-" 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" 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*Claims) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*Claims) GetCreateIdempotencyKey

func (o *Claims) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

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) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*Claims) GetProtected

func (o *Claims) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*Claims) GetUpdateIdempotencyKey

func (o *Claims) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey 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) SetAnnotations

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

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

func (*Claims) SetAssociatedTags

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

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

func (*Claims) SetCreateIdempotencyKey

func (o *Claims) SetCreateIdempotencyKey(createIdempotencyKey string)

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

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) SetNormalizedTags

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

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

func (*Claims) SetProtected

func (o *Claims) SetProtected(protected bool)

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

func (*Claims) SetUpdateIdempotencyKey

func (o *Claims) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey 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 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) Validate

func (o *Comment) Validate() error

Validate valides the current information stored into the structure.

type CounterReport added in v1.29.0

type CounterReport struct {
	// Counter for sending finack ack received in unknown connection state.
	AckInUnknownState int `json:"AckInUnknownState" msgpack:"AckInUnknownState" bson:"-" mapstructure:"AckInUnknownState,omitempty"`

	// Counter for ack packet dropped because of invalid format.
	AckInvalidFormat int `json:"AckInvalidFormat" msgpack:"AckInvalidFormat" bson:"-" mapstructure:"AckInvalidFormat,omitempty"`

	// Counter for reject ack packet as per policy.
	AckRejected int `json:"AckRejected" msgpack:"AckRejected" bson:"-" mapstructure:"AckRejected,omitempty"`

	// Counter for ack packet dropped because signature validation failed.
	AckSigValidationFailed int `json:"AckSigValidationFailed" msgpack:"AckSigValidationFailed" bson:"-" mapstructure:"AckSigValidationFailed,omitempty"`

	// Counter for tcp authentication option not found.
	AckTCPNoTCPAuthOption int `json:"AckTCPNoTCPAuthOption" msgpack:"AckTCPNoTCPAuthOption" bson:"-" mapstructure:"AckTCPNoTCPAuthOption,omitempty"`

	// Counter for connections processed.
	ConnectionsProcessed int `json:"ConnectionsProcessed" msgpack:"ConnectionsProcessed" bson:"-" mapstructure:"ConnectionsProcessed,omitempty"`

	// Counter for unable to find ContextID.
	ContextIDNotFound int `json:"ContextIDNotFound" msgpack:"ContextIDNotFound" bson:"-" mapstructure:"ContextIDNotFound,omitempty"`

	// Counter for no acls found for external services. dropping application syn
	// packet.
	DroppedExternalService int `json:"DroppedExternalService" msgpack:"DroppedExternalService" bson:"-" mapstructure:"DroppedExternalService,omitempty"`

	// Counter for invalid connection state.
	InvalidConnState int `json:"InvalidConnState" msgpack:"InvalidConnState" bson:"-" mapstructure:"InvalidConnState,omitempty"`

	// Counter for invalid net state.
	InvalidNetState int `json:"InvalidNetState" msgpack:"InvalidNetState" bson:"-" mapstructure:"InvalidNetState,omitempty"`

	// Counter for invalid protocol.
	InvalidProtocol int `json:"InvalidProtocol" msgpack:"InvalidProtocol" bson:"-" mapstructure:"InvalidProtocol,omitempty"`

	// Counter for pu is already dead - drop synack packet.
	InvalidSynAck int `json:"InvalidSynAck" msgpack:"InvalidSynAck" bson:"-" mapstructure:"InvalidSynAck,omitempty"`

	// Counter for pu mark not found.
	MarkNotFound int `json:"MarkNotFound" msgpack:"MarkNotFound" bson:"-" mapstructure:"MarkNotFound,omitempty"`

	// Counter for network syn packet was not seen.
	NetSynNotSeen int `json:"NetSynNotSeen" msgpack:"NetSynNotSeen" bson:"-" mapstructure:"NetSynNotSeen,omitempty"`

	// Counter for no context or connection found.
	NoConnFound int `json:"NoConnFound" msgpack:"NoConnFound" bson:"-" mapstructure:"NoConnFound,omitempty"`

	// Counter for traffic that belongs to a non PU process.
	NonPUTraffic int `json:"NonPUTraffic" msgpack:"NonPUTraffic" bson:"-" mapstructure:"NonPUTraffic,omitempty"`

	// Counter for synack for flow with processed finack.
	OutOfOrderSynAck int `json:"OutOfOrderSynAck" msgpack:"OutOfOrderSynAck" bson:"-" mapstructure:"OutOfOrderSynAck,omitempty"`

	// Counter for port not found.
	PortNotFound int `json:"PortNotFound" msgpack:"PortNotFound" bson:"-" mapstructure:"PortNotFound,omitempty"`

	// Counter for reject the packet as per policy.
	RejectPacket int `json:"RejectPacket" msgpack:"RejectPacket" bson:"-" mapstructure:"RejectPacket,omitempty"`

	// Counter for post service processing failed for network packet.
	ServicePostprocessorFailed int `` /* 131-byte string literal not displayed */

	// Counter for network packets that failed preprocessing.
	ServicePreprocessorFailed int `` /* 128-byte string literal not displayed */

	// Counter for synack packet dropped because of bad claims.
	SynAckBadClaims int `json:"SynAckBadClaims" msgpack:"SynAckBadClaims" bson:"-" mapstructure:"SynAckBadClaims,omitempty"`

	// Counter for synack packet dropped because of encryption mismatch.
	SynAckClaimsMisMatch int `json:"SynAckClaimsMisMatch" msgpack:"SynAckClaimsMisMatch" bson:"-" mapstructure:"SynAckClaimsMisMatch,omitempty"`

	// Counter for synack from external service dropped.
	SynAckDroppedExternalService int `` /* 137-byte string literal not displayed */

	// Counter for synack packet dropped because of invalid format.
	SynAckInvalidFormat int `json:"SynAckInvalidFormat" msgpack:"SynAckInvalidFormat" bson:"-" mapstructure:"SynAckInvalidFormat,omitempty"`

	// Counter for synack packet dropped because of no claims.
	SynAckMissingClaims int `json:"SynAckMissingClaims" msgpack:"SynAckMissingClaims" bson:"-" mapstructure:"SynAckMissingClaims,omitempty"`

	// Counter for synack packet dropped because of missing token.
	SynAckMissingToken int `json:"SynAckMissingToken" msgpack:"SynAckMissingToken" bson:"-" mapstructure:"SynAckMissingToken,omitempty"`

	// Counter for tcp authentication option not found.
	SynAckNoTCPAuthOption int `json:"SynAckNoTCPAuthOption" msgpack:"SynAckNoTCPAuthOption" bson:"-" mapstructure:"SynAckNoTCPAuthOption,omitempty"`

	// Counter for dropping because of reject rule on transmitter.
	SynAckRejected int `json:"SynAckRejected" msgpack:"SynAckRejected" bson:"-" mapstructure:"SynAckRejected,omitempty"`

	// Counter for syn packet dropped because of invalid format.
	SynDroppedInvalidFormat int `json:"SynDroppedInvalidFormat" msgpack:"SynDroppedInvalidFormat" bson:"-" mapstructure:"SynDroppedInvalidFormat,omitempty"`

	// Counter for syn packet dropped because of invalid token.
	SynDroppedInvalidToken int `json:"SynDroppedInvalidToken" msgpack:"SynDroppedInvalidToken" bson:"-" mapstructure:"SynDroppedInvalidToken,omitempty"`

	// Counter for syn packet dropped because of no claims.
	SynDroppedNoClaims int `json:"SynDroppedNoClaims" msgpack:"SynDroppedNoClaims" bson:"-" mapstructure:"SynDroppedNoClaims,omitempty"`

	// Counter for tcp authentication option not found.
	SynDroppedTCPOption int `json:"SynDroppedTCPOption" msgpack:"SynDroppedTCPOption" bson:"-" mapstructure:"SynDroppedTCPOption,omitempty"`

	// Counter for syn dropped due to policy.
	SynRejectPacket int `json:"SynRejectPacket" msgpack:"SynRejectPacket" bson:"-" mapstructure:"SynRejectPacket,omitempty"`

	// Counter for received syn packet from unknown pu.
	SynUnexpectedPacket int `json:"SynUnexpectedPacket" msgpack:"SynUnexpectedPacket" bson:"-" mapstructure:"SynUnexpectedPacket,omitempty"`

	// Counter for tcp authentication option not found.
	TCPAuthNotFound int `json:"TCPAuthNotFound" msgpack:"TCPAuthNotFound" bson:"-" mapstructure:"TCPAuthNotFound,omitempty"`

	// Counter for dropped udp ack invalid signature.
	UDPAckInvalidSignature int `json:"UDPAckInvalidSignature" msgpack:"UDPAckInvalidSignature" bson:"-" mapstructure:"UDPAckInvalidSignature,omitempty"`

	// Counter for number of processed UDP connections.
	UDPConnectionsProcessed int `json:"UDPConnectionsProcessed" msgpack:"UDPConnectionsProcessed" bson:"-" mapstructure:"UDPConnectionsProcessed,omitempty"`

	// Counter for dropped UDP data packets with no context.
	UDPDropContextNotFound int `json:"UDPDropContextNotFound" msgpack:"UDPDropContextNotFound" bson:"-" mapstructure:"UDPDropContextNotFound,omitempty"`

	// Counter for dropped udp FIN handshake packets.
	UDPDropFin int `json:"UDPDropFin" msgpack:"UDPDropFin" bson:"-" mapstructure:"UDPDropFin,omitempty"`

	// Counter for dropped UDP in NfQueue.
	UDPDropInNfQueue int `json:"UDPDropInNfQueue" msgpack:"UDPDropInNfQueue" bson:"-" mapstructure:"UDPDropInNfQueue,omitempty"`

	// Counter for dropped UDP data packets with no connection.
	UDPDropNoConnection int `json:"UDPDropNoConnection" msgpack:"UDPDropNoConnection" bson:"-" mapstructure:"UDPDropNoConnection,omitempty"`

	// Counter for dropped UDP data packets.
	UDPDropPacket int `json:"UDPDropPacket" msgpack:"UDPDropPacket" bson:"-" mapstructure:"UDPDropPacket,omitempty"`

	// Counter for dropped UDP Queue Full.
	UDPDropQueueFull int `json:"UDPDropQueueFull" msgpack:"UDPDropQueueFull" bson:"-" mapstructure:"UDPDropQueueFull,omitempty"`

	// Counter for dropped udp synack handshake packets.
	UDPDropSynAck int `json:"UDPDropSynAck" msgpack:"UDPDropSynAck" bson:"-" mapstructure:"UDPDropSynAck,omitempty"`

	// Counter for udp packets received in invalid network state.
	UDPInvalidNetState int `json:"UDPInvalidNetState" msgpack:"UDPInvalidNetState" bson:"-" mapstructure:"UDPInvalidNetState,omitempty"`

	// Counter for UDP packets failing postprocessing.
	UDPPostProcessingFailed int `json:"UDPPostProcessingFailed" msgpack:"UDPPostProcessingFailed" bson:"-" mapstructure:"UDPPostProcessingFailed,omitempty"`

	// Counter for UDP packets failing preprocessing.
	UDPPreProcessingFailed int `json:"UDPPreProcessingFailed" msgpack:"UDPPreProcessingFailed" bson:"-" mapstructure:"UDPPreProcessingFailed,omitempty"`

	// Counter for UDP packets dropped due to policy.
	UDPRejected int `json:"UDPRejected" msgpack:"UDPRejected" bson:"-" mapstructure:"UDPRejected,omitempty"`

	// Counter for dropped udp synack bad claims.
	UDPSynAckDropBadClaims int `json:"UDPSynAckDropBadClaims" msgpack:"UDPSynAckDropBadClaims" bson:"-" mapstructure:"UDPSynAckDropBadClaims,omitempty"`

	// Counter for dropped udp synack missing claims.
	UDPSynAckMissingClaims int `json:"UDPSynAckMissingClaims" msgpack:"UDPSynAckMissingClaims" bson:"-" mapstructure:"UDPSynAckMissingClaims,omitempty"`

	// Counter for dropped udp synack bad claims.
	UDPSynAckPolicy int `json:"UDPSynAckPolicy" msgpack:"UDPSynAckPolicy" bson:"-" mapstructure:"UDPSynAckPolicy,omitempty"`

	// Counter for dropped udp syn transmits.
	UDPSynDrop int `json:"UDPSynDrop" msgpack:"UDPSynDrop" bson:"-" mapstructure:"UDPSynDrop,omitempty"`

	// Counter for dropped udp syn policy.
	UDPSynDropPolicy int `json:"UDPSynDropPolicy" msgpack:"UDPSynDropPolicy" bson:"-" mapstructure:"UDPSynDropPolicy,omitempty"`

	// Counter for dropped udp FIN handshake packets.
	UDPSynInvalidToken int `json:"UDPSynInvalidToken" msgpack:"UDPSynInvalidToken" bson:"-" mapstructure:"UDPSynInvalidToken,omitempty"`

	// Counter for dropped UDP SYN missing claims.
	UDPSynMissingClaims int `json:"UDPSynMissingClaims" msgpack:"UDPSynMissingClaims" bson:"-" mapstructure:"UDPSynMissingClaims,omitempty"`

	// Counter for unknown error.
	UnknownError int `json:"UnknownError" msgpack:"UnknownError" bson:"-" mapstructure:"UnknownError,omitempty"`

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

	// Namespace of the enforcer sending the report.
	EnforcerNamespace string `json:"enforcerNamespace" msgpack:"enforcerNamespace" bson:"enforcernamespace" mapstructure:"enforcerNamespace,omitempty"`

	// PUID is the ID of the PU reporting the counter.
	ProcessingUnitID string `json:"processingUnitID" msgpack:"processingUnitID" bson:"-" mapstructure:"processingUnitID,omitempty"`

	// Namespace of the PU reporting the counter.
	ProcessingUnitNamespace string `json:"processingUnitNamespace" msgpack:"processingUnitNamespace" bson:"-" mapstructure:"processingUnitNamespace,omitempty"`

	// Timestamp is the date of the report.
	Timestamp time.Time `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,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) 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) SetIdentifier added in v1.29.0

func (o *CounterReport) SetIdentifier(id string)

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

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 Aporeto 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) Validate

func (o *Credential) Validate() error

Validate valides the current information stored into the structure.

type Customer

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

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

	// Provider holds the name of the provider to be billed for this service.
	Provider CustomerProviderValue `json:"provider" msgpack:"provider" bson:"provider" mapstructure:"provider,omitempty"`

	// providerCustomerID holds the customer id as used by the provider for this
	// customer to enable provider billing.
	ProviderCustomerID string `json:"providerCustomerID" msgpack:"providerCustomerID" bson:"providercustomerid" mapstructure:"providerCustomerID,omitempty"`

	// providerProductID holds the product id as used by the provider for this
	// customer to enable provider billing.
	ProviderProductID string `json:"providerProductID" msgpack:"providerProductID" bson:"providerproductid" mapstructure:"providerProductID,omitempty"`

	// State holds the status of the customer with the provider.
	State CustomerStateValue `json:"state" msgpack:"state" bson:"state" mapstructure:"state,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"`
}

Customer represents the model of a customer

func NewCustomer

func NewCustomer() *Customer

NewCustomer returns a new *Customer

func (*Customer) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Customer) BleveType added in v1.1.0

func (o *Customer) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Customer) DeepCopy

func (o *Customer) DeepCopy() *Customer

DeepCopy returns a deep copy if the Customer.

func (*Customer) DeepCopyInto

func (o *Customer) DeepCopyInto(out *Customer)

DeepCopyInto copies the receiver into the given *Customer.

func (*Customer) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*Customer) Doc

func (o *Customer) Doc() string

Doc returns the documentation for the object

func (*Customer) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*Customer) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*Customer) Identifier

func (o *Customer) Identifier() string

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

func (*Customer) Identity

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

Identity returns the Identity of the object.

func (*Customer) Patch

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

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

func (*Customer) SetCreateTime

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

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

func (*Customer) SetIdentifier

func (o *Customer) SetIdentifier(id string)

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

func (*Customer) SetUpdateTime

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

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

func (*Customer) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Customer) String

func (o *Customer) String() string

func (*Customer) ToSparse

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

func (o *Customer) Validate() error

Validate valides the current information stored into the structure.

func (*Customer) ValueForAttribute

func (o *Customer) 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 (*Customer) Version

func (o *Customer) Version() int

Version returns the hardcoded version of the model.

type CustomerProviderValue

type CustomerProviderValue string

CustomerProviderValue represents the possible values for attribute "provider".

const (
	// CustomerProviderAWS represents the value AWS.
	CustomerProviderAWS CustomerProviderValue = "AWS"

	// CustomerProviderAporeto represents the value Aporeto.
	CustomerProviderAporeto CustomerProviderValue = "Aporeto"
)

type CustomerStateValue

type CustomerStateValue string

CustomerStateValue represents the possible values for attribute "state".

const (
	// CustomerStateSubscribeFailed represents the value SubscribeFailed.
	CustomerStateSubscribeFailed CustomerStateValue = "SubscribeFailed"

	// CustomerStateSubscribePending represents the value SubscribePending.
	CustomerStateSubscribePending CustomerStateValue = "SubscribePending"

	// CustomerStateSubscribeSuccess represents the value SubscribeSuccess.
	CustomerStateSubscribeSuccess CustomerStateValue = "SubscribeSuccess"

	// CustomerStateUnsubscribePending represents the value UnsubscribePending.
	CustomerStateUnsubscribePending CustomerStateValue = "UnsubscribePending"

	// CustomerStateUnsubscribeSuccess represents the value UnsubscribeSuccess.
	CustomerStateUnsubscribeSuccess CustomerStateValue = "UnsubscribeSuccess"
)

type CustomersList

type CustomersList []*Customer

CustomersList represents a list of Customers

func (CustomersList) Append

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

func (CustomersList) Copy

Copy returns a pointer to a copy the CustomersList.

func (CustomersList) DefaultOrder

func (o CustomersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (CustomersList) Identity

func (o CustomersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (CustomersList) List

List converts the object to an elemental.IdentifiablesList.

func (CustomersList) ToSparse

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

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

func (CustomersList) Version

func (o CustomersList) Version() int

Version returns the version of the content.

type DataPathCertificate

type DataPathCertificate struct {
	// Contains the certificate signing request (CSR) the enforcer wants control plane to sign.
	// Depending on the certificate there will be various requirements for the CSR to be accepted.
	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) 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) 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"

	// DataPathCertificateTypeService represents the value Service.
	DataPathCertificateTypeService DataPathCertificateTypeValue = "Service"
)

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 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) 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) 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 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) 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) 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) 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:"_id" 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 control plane,
	// 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"`

	// 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"`

	// Status of the enforcement for host services.
	EnforcementStatus EnforcerEnforcementStatusValue `json:"enforcementStatus" msgpack:"enforcementStatus" bson:"enforcementstatus" mapstructure:"enforcementStatus,omitempty"`

	// Identifies when the information was collected.
	LastCollectionTime time.Time `json:"lastCollectionTime" msgpack:"lastCollectionTime" bson:"lastcollectiontime" mapstructure:"lastCollectionTime,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"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog" 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 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 Aporeto control plane 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"`

	// If `true`, the enforcer version is outdated and should be updated.
	UpdateAvailable bool `json:"updateAvailable" msgpack:"updateAvailable" bson:"updateavailable" mapstructure:"updateAvailable,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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 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 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:"_id" 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 Aporeto 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" 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, Aporeto 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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 EnforcerReport

type EnforcerReport struct {
	// Total CPU utilization of the enforcer as a percentage of vCPUs.
	CPULoad float64 `json:"CPULoad" msgpack:"CPULoad" bson:"-" mapstructure:"CPULoad,omitempty"`

	// ID of the enforcer.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Total resident memory used by the enforcer in bytes.
	Memory int `json:"memory" msgpack:"memory" bson:"-" mapstructure:"memory,omitempty"`

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

	// Namespace of the enforcer.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	// Number of active processes of the enforcer.
	Processes int `json:"processes" msgpack:"processes" bson:"-" mapstructure:"processes,omitempty"`

	// Date of the report.
	Timestamp time.Time `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,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) 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) SetIdentifier

func (o *EnforcerReport) SetIdentifier(id string)

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

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 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) 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) 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 {
	// Category of the event log.
	Category string `json:"category" msgpack:"category" bson:"category" mapstructure:"category,omitempty"`

	// Content of the event log.
	Content string `json:"content" msgpack:"content" bson:"content" mapstructure:"content,omitempty"`

	// Creation date of the event log.
	Date time.Time `json:"date" msgpack:"date" bson:"date" mapstructure:"date,omitempty"`

	// Sets the log level.
	Level EventLogLevelValue `json:"level" msgpack:"level" bson:"level" mapstructure:"level,omitempty"`

	// Namespace tag attached to the event log.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Opaque data that can be attached to the event log, for further machine processing.
	Opaque string `json:"opaque" msgpack:"opaque" bson:"opaque" 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" msgpack:"targetID" bson:"targetid" mapstructure:"targetID,omitempty"`

	// Identity of the object this event log is attached to.
	TargetIdentity string `json:"targetIdentity" msgpack:"targetIdentity" bson:"targetidentity" mapstructure:"targetIdentity,omitempty"`

	// Title of the event log.
	Title string `json:"title" msgpack:"title" bson:"title" mapstructure:"title,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) GetNamespace

func (o *EventLog) GetNamespace() string

GetNamespace returns the Namespace 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) SetIdentifier

func (o *EventLog) SetIdentifier(id string)

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

func (*EventLog) SetNamespace

func (o *EventLog) SetNamespace(namespace string)

SetNamespace sets the property Namespace 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 Aporeto 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) 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) 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:"_id" 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" 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"`

	// List of single ports or range (xx:yy).
	Ports []string `json:"ports" msgpack:"ports" bson:"ports" 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"`

	// List of protocols (`tcp`, `udp`, or protocol number).
	Protocols []string `json:"protocols" msgpack:"protocols" bson:"protocols" mapstructure:"protocols,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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 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) 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) 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 {
	// Action taken.
	Action FileAccessReportActionValue `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

	// Host storing the file.
	Host string `json:"host" msgpack:"host" bson:"-" mapstructure:"host,omitempty"`

	// Mode of file access.
	Mode string `json:"mode" msgpack:"mode" bson:"-" mapstructure:"mode,omitempty"`

	// Path of the file.
	Path string `json:"path" msgpack:"path" bson:"-" mapstructure:"path,omitempty"`

	// ID of the processing unit.
	ProcessingUnitID string `json:"processingUnitID" msgpack:"processingUnitID" bson:"-" mapstructure:"processingUnitID,omitempty"`

	// Namespace of the processing unit.
	ProcessingUnitNamespace string `json:"processingUnitNamespace" msgpack:"processingUnitNamespace" bson:"-" mapstructure:"processingUnitNamespace,omitempty"`

	// Date of the report.
	Timestamp time.Time `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,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) 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) SetIdentifier

func (o *FileAccessReport) SetIdentifier(id string)

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

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:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 {
	// Action applied to the flow.
	Action FlowReportActionValue `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

	// ID of the destination.
	DestinationID string `json:"destinationID" msgpack:"destinationID" bson:"-" mapstructure:"destinationID,omitempty"`

	// Destination IP address.
	DestinationIP string `json:"destinationIP" msgpack:"destinationIP" bson:"-" mapstructure:"destinationIP,omitempty"`

	// Namespace of the destination.
	DestinationNamespace string `json:"destinationNamespace" msgpack:"destinationNamespace" bson:"-" mapstructure:"destinationNamespace,omitempty"`

	// Port of the destination.
	DestinationPort int `json:"destinationPort" msgpack:"destinationPort" bson:"-" mapstructure:"destinationPort,omitempty"`

	// Destination type.
	DestinationType FlowReportDestinationTypeValue `json:"destinationType" msgpack:"destinationType" bson:"-" mapstructure:"destinationType,omitempty"`

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

	// If `true`, the flow was encrypted.
	Encrypted bool `json:"encrypted" msgpack:"encrypted" bson:"-" mapstructure:"encrypted,omitempty"`

	// This is here for backward compatibility.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	// If `true`, design mode is on.
	Observed bool `json:"observed" msgpack:"observed" bson:"-" mapstructure:"observed,omitempty"`

	// Action observed on the flow.
	ObservedAction FlowReportObservedActionValue `json:"observedAction" msgpack:"observedAction" bson:"-" mapstructure:"observedAction,omitempty"`

	// Specifies the reason for a rejection. Only set if `observedAction` is set
	// to `Reject`.
	ObservedDropReason string `json:"observedDropReason" msgpack:"observedDropReason" bson:"-" mapstructure:"observedDropReason,omitempty"`

	// Value of the encryption of the network policy that observed the flow.
	ObservedEncrypted bool `json:"observedEncrypted" msgpack:"observedEncrypted" bson:"-" mapstructure:"observedEncrypted,omitempty"`

	// ID of the network policy that observed the flow.
	ObservedPolicyID string `json:"observedPolicyID" msgpack:"observedPolicyID" bson:"-" mapstructure:"observedPolicyID,omitempty"`

	// Namespace of the network policy that observed the flow.
	ObservedPolicyNamespace string `json:"observedPolicyNamespace" msgpack:"observedPolicyNamespace" bson:"-" mapstructure:"observedPolicyNamespace,omitempty"`

	// ID of the network policy that accepted the flow.
	PolicyID string `json:"policyID" msgpack:"policyID" bson:"-" mapstructure:"policyID,omitempty"`

	// Namespace of the network policy that accepted the flow.
	PolicyNamespace string `json:"policyNamespace" msgpack:"policyNamespace" bson:"-" mapstructure:"policyNamespace,omitempty"`

	// Protocol number.
	Protocol int `json:"protocol" msgpack:"protocol" bson:"-" mapstructure:"protocol,omitempty"`

	// Hash of the claims used to communicate.
	ServiceClaimHash string `json:"serviceClaimHash" msgpack:"serviceClaimHash" bson:"-" mapstructure:"serviceClaimHash,omitempty"`

	// ID of the service.
	ServiceID string `json:"serviceID" msgpack:"serviceID" bson:"-" mapstructure:"serviceID,omitempty"`

	// Service URL accessed.
	ServiceNamespace string `json:"serviceNamespace" msgpack:"serviceNamespace" bson:"-" mapstructure:"serviceNamespace,omitempty"`

	// ID of the service.
	ServiceType FlowReportServiceTypeValue `json:"serviceType" msgpack:"serviceType" bson:"-" mapstructure:"serviceType,omitempty"`

	// Service URL accessed.
	ServiceURL string `json:"serviceURL" msgpack:"serviceURL" bson:"-" mapstructure:"serviceURL,omitempty"`

	// ID of the source.
	SourceID string `json:"sourceID" msgpack:"sourceID" bson:"-" mapstructure:"sourceID,omitempty"`

	// Type of the source.
	SourceIP string `json:"sourceIP" msgpack:"sourceIP" bson:"-" mapstructure:"sourceIP,omitempty"`

	// Namespace of the source.
	SourceNamespace string `json:"sourceNamespace" msgpack:"sourceNamespace" bson:"-" mapstructure:"sourceNamespace,omitempty"`

	// Type of the source.
	SourceType FlowReportSourceTypeValue `json:"sourceType" msgpack:"sourceType" bson:"-" mapstructure:"sourceType,omitempty"`

	// Time and date of the log.
	Timestamp time.Time `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,omitempty"`

	// Number of flows in the log.
	Value int `json:"value" msgpack:"value" bson:"-" mapstructure:"value,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) 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) SetIdentifier

func (o *FlowReport) SetIdentifier(id string)

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

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:"_id" mapstructure:"-,omitempty"`

	// Number of accepted flows in the edge.
	AcceptedFlows int `json:"acceptedFlows" msgpack:"acceptedFlows" bson:"acceptedflows" mapstructure:"acceptedFlows,omitempty"`

	// Date on which the edge has been inserted.
	CreateTime time.Time `json:"-" msgpack:"-" bson:"createtime" mapstructure:"-,omitempty"`

	// 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 int `json:"encrypted" msgpack:"encrypted" bson:"encrypted" mapstructure:"encrypted,omitempty"`

	// Contains the date when the edge was first seen.
	FirstSeen time.Time `json:"firstSeen" msgpack:"firstSeen" bson:"firstseen" 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" msgpack:"lastSeen" bson:"lastseen" mapstructure:"lastSeen,omitempty"`

	// Namespace of object represented by the node.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Number of accepted observed flows.
	ObservedAcceptedFlows int `` /* 136-byte string literal not displayed */

	// Number of encrypted observed flows.
	ObservedEncrypted int `json:"observedEncrypted" msgpack:"observedEncrypted" bson:"observedencrypted" mapstructure:"observedEncrypted,omitempty"`

	// Number of rejected observed flows.
	ObservedRejectedFlows int `` /* 136-byte string literal not displayed */

	// Number of rejected flows in the edge.
	RejectedFlows int `json:"rejectedFlows" msgpack:"rejectedFlows" bson:"rejectedflows" mapstructure:"rejectedFlows,omitempty"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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"

	// GraphEdgeDestinationTypeNode represents the value Node.
	GraphEdgeDestinationTypeNode GraphEdgeDestinationTypeValue = "Node"

	// GraphEdgeDestinationTypeProcessingUnit represents the value ProcessingUnit.
	GraphEdgeDestinationTypeProcessingUnit GraphEdgeDestinationTypeValue = "ProcessingUnit"
)

type GraphEdgeSourceTypeValue

type GraphEdgeSourceTypeValue string

GraphEdgeSourceTypeValue represents the possible values for attribute "sourceType".

const (
	// GraphEdgeSourceTypeExternalNetwork represents the value ExternalNetwork.
	GraphEdgeSourceTypeExternalNetwork GraphEdgeSourceTypeValue = "ExternalNetwork"

	// GraphEdgeSourceTypeNode represents the value Node.
	GraphEdgeSourceTypeNode GraphEdgeSourceTypeValue = "Node"

	// GraphEdgeSourceTypeProcessingUnit represents the value ProcessingUnit.
	GraphEdgeSourceTypeProcessingUnit GraphEdgeSourceTypeValue = "ProcessingUnit"
)

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) 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" 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) 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) 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"

	// GraphNodeTypeNode represents the value Node.
	GraphNodeTypeNode GraphNodeTypeValue = "Node"

	// 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:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 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"`

	// 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"`

	// 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"`

	// 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) 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) 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) 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) 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 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:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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) 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) 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) 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) 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:"_id" 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"`

	// 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"`

	// 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 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:"_id" 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" 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 control plane.
	RequesterClaims []string `json:"requesterClaims" msgpack:"requesterClaims" bson:"requesterclaims" mapstructure:"requesterClaims,omitempty"`

	// The namespace from which the request originated; populated by the
	// control plane.
	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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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:"_id" mapstructure:"ID,omitempty"`

	// 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"`

	// 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"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 Invoice

type Invoice struct {
	// The ID of the invoice.
	ID string `json:"ID" msgpack:"ID" bson:"id" mapstructure:"ID,omitempty"`

	// The ID of the customer that this invoice belongs to.
	AccountID string `json:"accountID" msgpack:"accountID" bson:"accountid" mapstructure:"accountID,omitempty"`

	// The name of the provider that this invoice was billed to.
	BilledToProvider InvoiceBilledToProviderValue `json:"billedToProvider" msgpack:"billedToProvider" bson:"billedtoprovider" mapstructure:"billedToProvider,omitempty"`

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

	// The end date of the invoice.
	EndDate time.Time `json:"endDate" msgpack:"endDate" bson:"enddate" mapstructure:"endDate,omitempty"`

	// The start date of this invoice.
	StartDate time.Time `json:"startDate" msgpack:"startDate" bson:"startdate" mapstructure:"startDate,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"`
}

Invoice represents the model of a invoice

func NewInvoice

func NewInvoice() *Invoice

NewInvoice returns a new *Invoice

func (*Invoice) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Invoice) BleveType added in v1.1.0

func (o *Invoice) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Invoice) DeepCopy

func (o *Invoice) DeepCopy() *Invoice

DeepCopy returns a deep copy if the Invoice.

func (*Invoice) DeepCopyInto

func (o *Invoice) DeepCopyInto(out *Invoice)

DeepCopyInto copies the receiver into the given *Invoice.

func (*Invoice) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*Invoice) Doc

func (o *Invoice) Doc() string

Doc returns the documentation for the object

func (*Invoice) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*Invoice) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*Invoice) Identifier

func (o *Invoice) Identifier() string

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

func (*Invoice) Identity

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

Identity returns the Identity of the object.

func (*Invoice) Patch

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

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

func (*Invoice) SetCreateTime

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

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

func (*Invoice) SetIdentifier

func (o *Invoice) SetIdentifier(id string)

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

func (*Invoice) SetUpdateTime

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

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

func (*Invoice) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Invoice) String

func (o *Invoice) String() string

func (*Invoice) ToSparse

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

func (o *Invoice) Validate() error

Validate valides the current information stored into the structure.

func (*Invoice) ValueForAttribute

func (o *Invoice) 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 (*Invoice) Version

func (o *Invoice) Version() int

Version returns the hardcoded version of the model.

type InvoiceBilledToProviderValue

type InvoiceBilledToProviderValue string

InvoiceBilledToProviderValue represents the possible values for attribute "billedToProvider".

const (
	// InvoiceBilledToProviderAWS represents the value AWS.
	InvoiceBilledToProviderAWS InvoiceBilledToProviderValue = "AWS"

	// InvoiceBilledToProviderAporeto represents the value Aporeto.
	InvoiceBilledToProviderAporeto InvoiceBilledToProviderValue = "Aporeto"
)

type InvoiceRecord

type InvoiceRecord struct {
	// The ID of the invoice record.
	ID string `json:"ID" msgpack:"ID" bson:"id" mapstructure:"ID,omitempty"`

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

	// The ID of the invoice associated with the invoice record.
	InvoiceID string `json:"invoiceID" msgpack:"invoiceID" bson:"invoiceid" mapstructure:"invoiceID,omitempty"`

	// Details about billing units.
	InvoiceRecords []string `json:"invoiceRecords" msgpack:"invoiceRecords" bson:"invoicerecords" mapstructure:"invoiceRecords,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"`
}

InvoiceRecord represents the model of a invoicerecord

func NewInvoiceRecord

func NewInvoiceRecord() *InvoiceRecord

NewInvoiceRecord returns a new *InvoiceRecord

func (*InvoiceRecord) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*InvoiceRecord) BleveType added in v1.1.0

func (o *InvoiceRecord) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*InvoiceRecord) DeepCopy

func (o *InvoiceRecord) DeepCopy() *InvoiceRecord

DeepCopy returns a deep copy if the InvoiceRecord.

func (*InvoiceRecord) DeepCopyInto

func (o *InvoiceRecord) DeepCopyInto(out *InvoiceRecord)

DeepCopyInto copies the receiver into the given *InvoiceRecord.

func (*InvoiceRecord) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*InvoiceRecord) Doc

func (o *InvoiceRecord) Doc() string

Doc returns the documentation for the object

func (*InvoiceRecord) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*InvoiceRecord) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*InvoiceRecord) Identifier

func (o *InvoiceRecord) Identifier() string

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

func (*InvoiceRecord) Identity

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

Identity returns the Identity of the object.

func (*InvoiceRecord) Patch

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

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

func (*InvoiceRecord) SetCreateTime

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

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

func (*InvoiceRecord) SetIdentifier

func (o *InvoiceRecord) SetIdentifier(id string)

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

func (*InvoiceRecord) SetUpdateTime

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

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

func (*InvoiceRecord) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*InvoiceRecord) String

func (o *InvoiceRecord) String() string

func (*InvoiceRecord) ToSparse

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

func (o *InvoiceRecord) Validate() error

Validate valides the current information stored into the structure.

func (*InvoiceRecord) ValueForAttribute

func (o *InvoiceRecord) 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 (*InvoiceRecord) Version

func (o *InvoiceRecord) Version() int

Version returns the hardcoded version of the model.

type InvoiceRecordsList

type InvoiceRecordsList []*InvoiceRecord

InvoiceRecordsList represents a list of InvoiceRecords

func (InvoiceRecordsList) Append

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

func (InvoiceRecordsList) Copy

Copy returns a pointer to a copy the InvoiceRecordsList.

func (InvoiceRecordsList) DefaultOrder

func (o InvoiceRecordsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (InvoiceRecordsList) Identity

func (o InvoiceRecordsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (InvoiceRecordsList) List

List converts the object to an elemental.IdentifiablesList.

func (InvoiceRecordsList) ToSparse

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

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

func (InvoiceRecordsList) Version

func (o InvoiceRecordsList) Version() int

Version returns the version of the content.

type InvoicesList

type InvoicesList []*Invoice

InvoicesList represents a list of Invoices

func (InvoicesList) Append

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

func (InvoicesList) Copy

Copy returns a pointer to a copy the InvoicesList.

func (InvoicesList) DefaultOrder

func (o InvoicesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (InvoicesList) Identity

func (o InvoicesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (InvoicesList) List

List converts the object to an elemental.IdentifiablesList.

func (InvoicesList) ToSparse

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

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

func (InvoicesList) Version

func (o InvoicesList) 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:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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"`

	// 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. `AWSIdentityDocument`, `AWSSecurityToken`,
	// `Certificate`,
	// `Google`, `LDAP`, `Vince`, `GCPIdentityToken`, `AzureIdentityToken`, or `OIDC`.
	Realm IssueRealmValue `json:"realm" msgpack:"realm" bson:"-" mapstructure:"realm,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) 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) 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 (
	// IssueRealmAWSIdentityDocument represents the value AWSIdentityDocument.
	IssueRealmAWSIdentityDocument IssueRealmValue = "AWSIdentityDocument"

	// IssueRealmAWSSecurityToken represents the value AWSSecurityToken.
	IssueRealmAWSSecurityToken IssueRealmValue = "AWSSecurityToken"

	// 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"

	// 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) 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) 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) 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 LDAPProvider added in v1.1.0

type LDAPProvider struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" 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 Aporeto authorization system.
	IgnoredKeys []string `json:"ignoredKeys" msgpack:"ignoredKeys" bson:"ignoredkeys" mapstructure:"ignoredKeys,omitempty"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 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) 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) 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 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:"_id" 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" 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:"validity" mapstructure:"validity,omitempty"`

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

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 Namespace

type Namespace struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" 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:"SSHCA" msgpack:"SSHCA" bson:"sshca" mapstructure:"SSHCA,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
	// platform.
	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"`

	// 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:"localCA" msgpack:"localCA" bson:"localca" mapstructure:"localCA,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" 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"`

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

	// Determines the length of validity of certificates issued in this namespace using
	// [Golang duration syntax](https://golang.org/pkg/time/#example_Duration). Default
	// value is `1h`.
	ServiceCertificateValidity string `` /* 156-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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 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) 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) 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 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, such as encryption.
	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.
	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 the Aporeto control
	// plane.
	// 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) 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) 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 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) 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) 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) 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) 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:"_id" 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"`

	// 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"`

	// 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" 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 Aporeto account ID.
	ParentID string `json:"parentID" msgpack:"parentID" bson:"parentid" mapstructure:"parentID,omitempty"`

	// Contains the name of the parent Aporeto 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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) 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) 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 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) Validate

func (o *PKIXName) Validate() error

Validate valides the current information stored into the structure.

type PacketReport

type PacketReport struct {
	// Flags are the TCP flags of the packet.
	TCPFlags int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Claims is the list of claims detected for the packet.
	Claims []string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// The destination IP address of the packet.
	DestinationIP string `json:"destinationIP" msgpack:"destinationIP" bson:"-" mapstructure:"destinationIP,omitempty"`

	// The destination port of a TCP or UDP packet.
	DestinationPort int `json:"destinationPort" msgpack:"destinationPort" bson:"-" mapstructure:"destinationPort,omitempty"`

	// If `event` is set to `Dropped`, contains the reason that the packet was dropped.
	// Otherwise empty.
	DropReason string `json:"dropReason" msgpack:"dropReason" bson:"-" mapstructure:"dropReason,omitempty"`

	// Set to `true` if the packet was encrypted.
	Encrypt bool `json:"encrypt" msgpack:"encrypt" bson:"-" mapstructure:"encrypt,omitempty"`

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

	// Namespace of the enforcer sending the report.
	EnforcerNamespace string `json:"enforcerNamespace" msgpack:"enforcerNamespace" bson:"enforcernamespace" mapstructure:"enforcerNamespace,omitempty"`

	// The event that triggered the report.
	Event PacketReportEventValue `json:"event" msgpack:"event" bson:"-" mapstructure:"event,omitempty"`

	// Length is the length of the packet.
	Length int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Mark is the mark value of the packet.
	Mark int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Namespace of the processing unit reporting the packet.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

	// PacketID is the ID from the IP header of the packet.
	PacketID int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Protocol number.
	Protocol int `json:"protocol" msgpack:"protocol" bson:"-" mapstructure:"protocol,omitempty"`

	// The ID of the processing unit reporting the packet.
	PuID string `json:"puID" msgpack:"puID" bson:"-" mapstructure:"puID,omitempty"`

	// The first 64 bytes of the packet.
	RawPacket string `json:"rawPacket" msgpack:"rawPacket" bson:"rawpacket" mapstructure:"rawPacket,omitempty"`

	// The source IP address of the packet.
	SourceIP string `json:"sourceIP" msgpack:"sourceIP" bson:"-" mapstructure:"sourceIP,omitempty"`

	// The source port of the packet.
	SourcePort int `json:"sourcePort" msgpack:"sourcePort" bson:"-" mapstructure:"sourcePort,omitempty"`

	// The time-date stamp of the report.
	Timestamp time.Time `json:"timestamp" msgpack:"timestamp" bson:"-" mapstructure:"timestamp,omitempty"`

	// Set to `true` if the packet arrived with the Trireme options (default).
	TriremePacket bool `json:"triremePacket" msgpack:"triremePacket" bson:"triremepacket" mapstructure:"triremePacket,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) 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) SetIdentifier

func (o *PacketReport) SetIdentifier(id string)

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

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) 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) 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 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) 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) 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) 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) 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:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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) 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) 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) 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) 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" msgpack:"tagClauses" 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) 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) 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:"_id" 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) 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) 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"

	// 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 PrivateKey

type PrivateKey struct {
	// ID is the internal ID of the key.
	ID string `json:"-" msgpack:"-" bson:"_id" mapstructure:"-,omitempty"`

	// CertificateSerialNumber represents the certificate serial number associated to
	// this key.
	CertificateSerialNumber string `json:"-" msgpack:"-" bson:"certificateserialnumber" mapstructure:"-,omitempty"`

	// Data contains the privateKey data.
	Data string `json:"-" msgpack:"-" bson:"data" mapstructure:"-,omitempty"`

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

PrivateKey represents the model of a privatekey

func NewPrivateKey

func NewPrivateKey() *PrivateKey

NewPrivateKey returns a new *PrivateKey

func (*PrivateKey) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*PrivateKey) BleveType added in v1.1.0

func (o *PrivateKey) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*PrivateKey) DeepCopy

func (o *PrivateKey) DeepCopy() *PrivateKey

DeepCopy returns a deep copy if the PrivateKey.

func (*PrivateKey) DeepCopyInto

func (o *PrivateKey) DeepCopyInto(out *PrivateKey)

DeepCopyInto copies the receiver into the given *PrivateKey.

func (*PrivateKey) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*PrivateKey) Doc

func (o *PrivateKey) Doc() string

Doc returns the documentation for the object

func (*PrivateKey) Identifier

func (o *PrivateKey) Identifier() string

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

func (*PrivateKey) Identity

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

Identity returns the Identity of the object.

func (*PrivateKey) Patch

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

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

func (*PrivateKey) SetIdentifier

func (o *PrivateKey) SetIdentifier(id string)

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

func (*PrivateKey) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PrivateKey) String

func (o *PrivateKey) String() string

func (*PrivateKey) ToSparse

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

func (o *PrivateKey) Validate() error

Validate valides the current information stored into the structure.

func (*PrivateKey) ValueForAttribute

func (o *PrivateKey) 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 (*PrivateKey) Version

func (o *PrivateKey) Version() int

Version returns the hardcoded version of the model.

type PrivateKeysList

type PrivateKeysList []*PrivateKey

PrivateKeysList represents a list of PrivateKeys

func (PrivateKeysList) Append

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

func (PrivateKeysList) Copy

Copy returns a pointer to a copy the PrivateKeysList.

func (PrivateKeysList) DefaultOrder

func (o PrivateKeysList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PrivateKeysList) Identity

func (o PrivateKeysList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PrivateKeysList) List

List converts the object to an elemental.IdentifiablesList.

func (PrivateKeysList) ToSparse

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

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

func (PrivateKeysList) Version

func (o PrivateKeysList) 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:"_id" 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"`

	// 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"`

	// 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 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`.
	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"`

	// Last poke is the time when the pu got last poked.
	LastPokeTime time.Time `json:"-" msgpack:"-" bson:"lastpoketime" mapstructure:"-,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" 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:"tracing" mapstructure:"tracing,omitempty"`

	// Type of processing unit: `APIGateway`, `Docker`, `Host`, `HostService`,
	// `LinuxService`,
	// `RKT`, `User`, or `SSHSession`.
	Type ProcessingUnitTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// The Aporeto control plane sets this value to `true` if it hasn't heard from the
	// processing
	// unit for more than 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 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.
	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"`

	// 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"`

	// A tag or tag expression identifying the processing unit(s) to which the
	// isolation profile should be mapped.
	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) 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) 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 (
	// 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 ProcessingUnitRefresh

type ProcessingUnitRefresh struct {
	// Contains the original ID of the processing unit.
	ID string `json:"ID" msgpack:"ID" bson:"id" mapstructure:"ID,omitempty"`

	// Contains the original namespace of the processing unit.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	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) 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) 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 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) 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"
)

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) 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) 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) 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) 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:"_id" 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 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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 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) 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 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) 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) 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) 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) 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" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// 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" msgpack:"egressPolicies" 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 tags that matched the policies and their hashes.
	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" msgpack:"ingressPolicies" bson:"-" mapstructure:"ingressPolicies,omitempty"`

	// Contains the list of tags that matched the policies.
	MatchingTags []string `json:"matchingTags" msgpack:"matchingTags" 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" msgpack:"processingUnit" bson:"-" mapstructure:"processingUnit,omitempty"`

	// Identifier of the processing unit.
	ProcessingUnitID string `json:"processingUnitID" msgpack:"processingUnitID" bson:"-" mapstructure:"processingUnitID,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"`

	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) 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) 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 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) 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) 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 Revocation

type Revocation struct {
	// ID contains the ID of the revocation.
	ID string `json:"-" msgpack:"-" bson:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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"`

	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) 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) 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) 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) 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:"_id" 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"`

	// Internal property maintaining migrations information.
	MigrationsLog map[string]string `json:"-" msgpack:"-" bson:"migrationslog" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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:"_id" 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" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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 the Aporeto enforcer, you must provide the name of the Linux user.
	// Otherwise, Aporeto 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"`

	// 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) 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) 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) 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) 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"`

	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) 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) 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 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) 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) 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:"_id" 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, Aporeto'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,
	// Aporeto 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 issued from Aporeto 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 DB.
	AllAPITags []string `json:"-" msgpack:"-" bson:"allapitags" mapstructure:"-,omitempty"`

	// This is a set of all selector tags for matching in the DB.
	AllServiceTags []string `json:"-" msgpack:"-" bson:"allservicetags" 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 Aporeto'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 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" 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"`

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

	// 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
	// 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
	// reasons
	// of 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) 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) 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) 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) 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) 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) 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 ServiceDependenciesList

type ServiceDependenciesList []*ServiceDependency

ServiceDependenciesList represents a list of ServiceDependencies

func (ServiceDependenciesList) Append

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

func (ServiceDependenciesList) Copy

Copy returns a pointer to a copy the ServiceDependenciesList.

func (ServiceDependenciesList) DefaultOrder

func (o ServiceDependenciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (ServiceDependenciesList) Identity

Identity returns the identity of the objects in the list.

func (ServiceDependenciesList) List

List converts the object to an elemental.IdentifiablesList.

func (ServiceDependenciesList) ToSparse

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

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

func (ServiceDependenciesList) Version

func (o ServiceDependenciesList) Version() int

Version returns the version of the content.

type ServiceDependency

type ServiceDependency 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"`
}

ServiceDependency represents the model of a servicedependency

func NewServiceDependency

func NewServiceDependency() *ServiceDependency

NewServiceDependency returns a new *ServiceDependency

func (*ServiceDependency) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*ServiceDependency) BleveType added in v1.1.0

func (o *ServiceDependency) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*ServiceDependency) DeepCopy

func (o *ServiceDependency) DeepCopy() *ServiceDependency

DeepCopy returns a deep copy if the ServiceDependency.

func (*ServiceDependency) DeepCopyInto

func (o *ServiceDependency) DeepCopyInto(out *ServiceDependency)

DeepCopyInto copies the receiver into the given *ServiceDependency.

func (*ServiceDependency) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*ServiceDependency) Doc

func (o *ServiceDependency) Doc() string

Doc returns the documentation for the object

func (*ServiceDependency) GetActiveDuration

func (o *ServiceDependency) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*ServiceDependency) GetActiveSchedule

func (o *ServiceDependency) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*ServiceDependency) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*ServiceDependency) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*ServiceDependency) GetCreateIdempotencyKey

func (o *ServiceDependency) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*ServiceDependency) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*ServiceDependency) GetDescription

func (o *ServiceDependency) GetDescription() string

GetDescription returns the Description of the receiver.

func (*ServiceDependency) GetDisabled

func (o *ServiceDependency) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*ServiceDependency) GetFallback

func (o *ServiceDependency) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*ServiceDependency) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*ServiceDependency) GetName

func (o *ServiceDependency) GetName() string

GetName returns the Name of the receiver.

func (*ServiceDependency) GetNamespace

func (o *ServiceDependency) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*ServiceDependency) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*ServiceDependency) GetPropagate

func (o *ServiceDependency) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*ServiceDependency) GetProtected

func (o *ServiceDependency) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*ServiceDependency) GetUpdateIdempotencyKey

func (o *ServiceDependency) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*ServiceDependency) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*ServiceDependency) Identifier

func (o *ServiceDependency) Identifier() string

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

func (*ServiceDependency) Identity

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

Identity returns the Identity of the object.

func (*ServiceDependency) Patch

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

func (*ServiceDependency) SetActiveDuration

func (o *ServiceDependency) SetActiveDuration(activeDuration string)

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

func (*ServiceDependency) SetActiveSchedule

func (o *ServiceDependency) SetActiveSchedule(activeSchedule string)

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

func (*ServiceDependency) SetAnnotations

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

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

func (*ServiceDependency) SetAssociatedTags

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

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

func (*ServiceDependency) SetCreateIdempotencyKey

func (o *ServiceDependency) SetCreateIdempotencyKey(createIdempotencyKey string)

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

func (*ServiceDependency) SetCreateTime

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

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

func (*ServiceDependency) SetDescription

func (o *ServiceDependency) SetDescription(description string)

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

func (*ServiceDependency) SetDisabled

func (o *ServiceDependency) SetDisabled(disabled bool)

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

func (*ServiceDependency) SetFallback

func (o *ServiceDependency) SetFallback(fallback bool)

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

func (*ServiceDependency) SetIdentifier

func (o *ServiceDependency) SetIdentifier(id string)

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

func (*ServiceDependency) SetMetadata

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

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

func (*ServiceDependency) SetName

func (o *ServiceDependency) SetName(name string)

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

func (*ServiceDependency) SetNamespace

func (o *ServiceDependency) SetNamespace(namespace string)

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

func (*ServiceDependency) SetNormalizedTags

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

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

func (*ServiceDependency) SetPropagate

func (o *ServiceDependency) SetPropagate(propagate bool)

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

func (*ServiceDependency) SetProtected

func (o *ServiceDependency) SetProtected(protected bool)

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

func (*ServiceDependency) SetUpdateIdempotencyKey

func (o *ServiceDependency) SetUpdateIdempotencyKey(updateIdempotencyKey string)

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

func (*ServiceDependency) SetUpdateTime

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

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

func (*ServiceDependency) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*ServiceDependency) String

func (o *ServiceDependency) String() string

func (*ServiceDependency) ToSparse

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

func (o *ServiceDependency) Validate() error

Validate valides the current information stored into the structure.

func (*ServiceDependency) ValueForAttribute

func (o *ServiceDependency) 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 (*ServiceDependency) Version

func (o *ServiceDependency) Version() int

Version returns the hardcoded version of the model.

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) 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) 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 */

	// 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 `` /* 133-byte string literal not displayed */

	// Defines the namespace the user is authorized to access.
	AuthorizedNamespace *string `` /* 130-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,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 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 */

	// 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:"-" 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"`
}

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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseAPIAuthorizationPolicy) GetActiveSchedule

func (o *SparseAPIAuthorizationPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseAPIAuthorizationPolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseAPIAuthorizationPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAPIAuthorizationPolicy) GetCreateIdempotencyKey

func (o *SparseAPIAuthorizationPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAPIAuthorizationPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAPIAuthorizationPolicy) GetDescription

func (o *SparseAPIAuthorizationPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseAPIAuthorizationPolicy) GetDisabled

func (o *SparseAPIAuthorizationPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseAPIAuthorizationPolicy) GetExpirationTime

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseAPIAuthorizationPolicy) GetFallback

func (o *SparseAPIAuthorizationPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseAPIAuthorizationPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseAPIAuthorizationPolicy) GetName

func (o *SparseAPIAuthorizationPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseAPIAuthorizationPolicy) GetNamespace

func (o *SparseAPIAuthorizationPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseAPIAuthorizationPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAPIAuthorizationPolicy) GetPropagationHidden

func (o *SparseAPIAuthorizationPolicy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*SparseAPIAuthorizationPolicy) GetProtected

func (o *SparseAPIAuthorizationPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseAPIAuthorizationPolicy) GetUpdateIdempotencyKey

func (o *SparseAPIAuthorizationPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAPIAuthorizationPolicy) GetUpdateTime

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

GetUpdateTime returns the UpdateTime 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) 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) 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) 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) 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) 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 SparseAWSAPIGateway

type SparseAWSAPIGateway struct {
	// API ID as defined on AWS for the API that handled this request.
	APIID *string `json:"APIID,omitempty" msgpack:"APIID,omitempty" bson:"-" mapstructure:"APIID,omitempty"`

	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// the account ID for the gateway managing this request.
	AccountID *string `json:"accountID,omitempty" msgpack:"accountID,omitempty" bson:"-" 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 policy decision for this API flow.
	Authorized *bool `json:"authorized,omitempty" msgpack:"authorized,omitempty" bson:"-" mapstructure:"authorized,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 */

	// 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"`

	// API method that handled this request.
	Method *string `json:"method,omitempty" msgpack:"method,omitempty" bson:"-" mapstructure:"method,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"`

	// Link to the cluster namespace where the AWS API gateway is defined.
	NamespaceID *string `json:"namespaceID,omitempty" msgpack:"namespaceID,omitempty" bson:"-" mapstructure:"namespaceID,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"`

	// API resource that handled this request.
	Resource *string `json:"resource,omitempty" msgpack:"resource,omitempty" bson:"-" mapstructure:"resource,omitempty"`

	// the client ip for this request.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"-" mapstructure:"sourceIP,omitempty"`

	// the stage name as defined on AWS for the API that handled this request.
	Stage *string `json:"stage,omitempty" msgpack:"stage,omitempty" bson:"-" mapstructure:"stage,omitempty"`

	// the JWT token that was optionally attached to this request.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,omitempty"`

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

SparseAWSAPIGateway represents the sparse version of a awsapigateway.

func NewSparseAWSAPIGateway

func NewSparseAWSAPIGateway() *SparseAWSAPIGateway

NewSparseAWSAPIGateway returns a new SparseAWSAPIGateway.

func (*SparseAWSAPIGateway) DeepCopy

DeepCopy returns a deep copy if the SparseAWSAPIGateway.

func (*SparseAWSAPIGateway) DeepCopyInto

func (o *SparseAWSAPIGateway) DeepCopyInto(out *SparseAWSAPIGateway)

DeepCopyInto copies the receiver into the given *SparseAWSAPIGateway.

func (*SparseAWSAPIGateway) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseAWSAPIGateway) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAWSAPIGateway) GetCreateIdempotencyKey

func (o *SparseAWSAPIGateway) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAWSAPIGateway) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAWSAPIGateway) GetDescription

func (o *SparseAWSAPIGateway) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseAWSAPIGateway) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseAWSAPIGateway) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAWSAPIGateway) GetName

func (o *SparseAWSAPIGateway) GetName() string

GetName returns the Name of the receiver.

func (*SparseAWSAPIGateway) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAWSAPIGateway) GetProtected

func (o *SparseAWSAPIGateway) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseAWSAPIGateway) GetUpdateIdempotencyKey

func (o *SparseAWSAPIGateway) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAWSAPIGateway) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAWSAPIGateway) GetZHash added in v1.1.0

func (o *SparseAWSAPIGateway) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAWSAPIGateway) GetZone added in v1.1.0

func (o *SparseAWSAPIGateway) GetZone() int

GetZone returns the Zone of the receiver.

func (*SparseAWSAPIGateway) Identifier

func (o *SparseAWSAPIGateway) Identifier() string

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

func (*SparseAWSAPIGateway) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseAWSAPIGateway) SetAnnotations

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

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

func (*SparseAWSAPIGateway) SetAssociatedTags

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

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

func (*SparseAWSAPIGateway) SetCreateIdempotencyKey

func (o *SparseAWSAPIGateway) SetCreateIdempotencyKey(createIdempotencyKey string)

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

func (*SparseAWSAPIGateway) SetCreateTime

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

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

func (*SparseAWSAPIGateway) SetDescription

func (o *SparseAWSAPIGateway) SetDescription(description string)

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

func (*SparseAWSAPIGateway) SetIdentifier

func (o *SparseAWSAPIGateway) SetIdentifier(id string)

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

func (*SparseAWSAPIGateway) SetMetadata

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

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

func (*SparseAWSAPIGateway) SetMigrationsLog added in v1.30.0

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

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

func (*SparseAWSAPIGateway) SetName

func (o *SparseAWSAPIGateway) SetName(name string)

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

func (*SparseAWSAPIGateway) SetNormalizedTags

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

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

func (*SparseAWSAPIGateway) SetProtected

func (o *SparseAWSAPIGateway) SetProtected(protected bool)

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

func (*SparseAWSAPIGateway) SetUpdateIdempotencyKey

func (o *SparseAWSAPIGateway) SetUpdateIdempotencyKey(updateIdempotencyKey string)

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

func (*SparseAWSAPIGateway) SetUpdateTime

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

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

func (*SparseAWSAPIGateway) SetZHash added in v1.1.0

func (o *SparseAWSAPIGateway) SetZHash(zHash int)

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

func (*SparseAWSAPIGateway) SetZone added in v1.1.0

func (o *SparseAWSAPIGateway) SetZone(zone int)

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

func (*SparseAWSAPIGateway) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAWSAPIGateway) Version

func (o *SparseAWSAPIGateway) Version() int

Version returns the hardcoded version of the model.

type SparseAWSAPIGatewaysList

type SparseAWSAPIGatewaysList []*SparseAWSAPIGateway

SparseAWSAPIGatewaysList represents a list of SparseAWSAPIGateways

func (SparseAWSAPIGatewaysList) Append

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

func (SparseAWSAPIGatewaysList) Copy

Copy returns a pointer to a copy the SparseAWSAPIGatewaysList.

func (SparseAWSAPIGatewaysList) DefaultOrder

func (o SparseAWSAPIGatewaysList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAWSAPIGatewaysList) Identity

Identity returns the identity of the objects in the list.

func (SparseAWSAPIGatewaysList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAWSAPIGatewaysList) ToPlain

ToPlain returns the SparseAWSAPIGatewaysList converted to AWSAPIGatewaysList.

func (SparseAWSAPIGatewaysList) Version

func (o SparseAWSAPIGatewaysList) Version() int

Version returns the version of the content.

type SparseAWSAccount

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

	// Contains the AWS access key ID. Aporeto uses this just to retrieve your
	// account ID and does not store the value.
	AccessKeyID *string `json:"accessKeyID,omitempty" msgpack:"accessKeyID,omitempty" bson:"-" mapstructure:"accessKeyID,omitempty"`

	// Contains your AWS access token. Aporeto uses this just to retrieve your
	// account ID and does not store the value.
	AccessToken *string `json:"accessToken,omitempty" msgpack:"accessToken,omitempty" bson:"-" mapstructure:"accessToken,omitempty"`

	// Contains your verified account ID.
	AccountID *string `json:"accountID,omitempty" msgpack:"accountID,omitempty" bson:"accountid,omitempty" mapstructure:"accountID,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"`

	// Contains the parent Vince account ID.
	ParentID *string `json:"parentID,omitempty" msgpack:"parentID,omitempty" bson:"parentid,omitempty" mapstructure:"parentID,omitempty"`

	// Contains the name of the Vince parent account.
	ParentName *string `json:"parentName,omitempty" msgpack:"parentName,omitempty" bson:"parentname,omitempty" mapstructure:"parentName,omitempty"`

	// Contains your the region where your AWS account is located.
	Region *string `json:"region,omitempty" msgpack:"region,omitempty" bson:"region,omitempty" mapstructure:"region,omitempty"`

	// Contains the AWS secret access key. Aporeto uses this just to retrieve your
	// account ID and does not store the value.
	SecretAccessKey *string `json:"secretAccessKey,omitempty" msgpack:"secretAccessKey,omitempty" bson:"-" mapstructure:"secretAccessKey,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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,omitempty"`

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

SparseAWSAccount represents the sparse version of a awsaccount.

func NewSparseAWSAccount

func NewSparseAWSAccount() *SparseAWSAccount

NewSparseAWSAccount returns a new SparseAWSAccount.

func (*SparseAWSAccount) DeepCopy

func (o *SparseAWSAccount) DeepCopy() *SparseAWSAccount

DeepCopy returns a deep copy if the SparseAWSAccount.

func (*SparseAWSAccount) DeepCopyInto

func (o *SparseAWSAccount) DeepCopyInto(out *SparseAWSAccount)

DeepCopyInto copies the receiver into the given *SparseAWSAccount.

func (*SparseAWSAccount) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAWSAccount) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAWSAccount) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAWSAccount) GetZHash added in v1.1.0

func (o *SparseAWSAccount) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAWSAccount) GetZone added in v1.1.0

func (o *SparseAWSAccount) GetZone() int

GetZone returns the Zone of the receiver.

func (*SparseAWSAccount) Identifier

func (o *SparseAWSAccount) Identifier() string

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

func (*SparseAWSAccount) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseAWSAccount) SetCreateTime

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

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

func (*SparseAWSAccount) SetIdentifier

func (o *SparseAWSAccount) SetIdentifier(id string)

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

func (*SparseAWSAccount) SetMigrationsLog added in v1.30.0

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

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

func (*SparseAWSAccount) SetUpdateTime

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

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

func (*SparseAWSAccount) SetZHash added in v1.1.0

func (o *SparseAWSAccount) SetZHash(zHash int)

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

func (*SparseAWSAccount) SetZone added in v1.1.0

func (o *SparseAWSAccount) SetZone(zone int)

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

func (*SparseAWSAccount) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAWSAccount) Version

func (o *SparseAWSAccount) Version() int

Version returns the hardcoded version of the model.

type SparseAWSAccountsList

type SparseAWSAccountsList []*SparseAWSAccount

SparseAWSAccountsList represents a list of SparseAWSAccounts

func (SparseAWSAccountsList) Append

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

func (SparseAWSAccountsList) Copy

Copy returns a pointer to a copy the SparseAWSAccountsList.

func (SparseAWSAccountsList) DefaultOrder

func (o SparseAWSAccountsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAWSAccountsList) Identity

Identity returns the identity of the objects in the list.

func (SparseAWSAccountsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAWSAccountsList) ToPlain

ToPlain returns the SparseAWSAccountsList converted to AWSAccountsList.

func (SparseAWSAccountsList) Version

func (o SparseAWSAccountsList) Version() int

Version returns the version of the content.

type SparseAWSRegister

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

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

	// Token Provided by AWS.
	Provider *string `json:"provider,omitempty" msgpack:"provider,omitempty" bson:"-" mapstructure:"provider,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"`
}

SparseAWSRegister represents the sparse version of a awsregister.

func NewSparseAWSRegister

func NewSparseAWSRegister() *SparseAWSRegister

NewSparseAWSRegister returns a new SparseAWSRegister.

func (*SparseAWSRegister) DeepCopy

func (o *SparseAWSRegister) DeepCopy() *SparseAWSRegister

DeepCopy returns a deep copy if the SparseAWSRegister.

func (*SparseAWSRegister) DeepCopyInto

func (o *SparseAWSRegister) DeepCopyInto(out *SparseAWSRegister)

DeepCopyInto copies the receiver into the given *SparseAWSRegister.

func (*SparseAWSRegister) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAWSRegister) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAWSRegister) Identifier

func (o *SparseAWSRegister) Identifier() string

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

func (*SparseAWSRegister) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseAWSRegister) SetCreateTime

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

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

func (*SparseAWSRegister) SetIdentifier

func (o *SparseAWSRegister) SetIdentifier(id string)

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

func (*SparseAWSRegister) SetUpdateTime

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

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

func (*SparseAWSRegister) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAWSRegister) Version

func (o *SparseAWSRegister) Version() int

Version returns the hardcoded version of the model.

type SparseAWSRegistersList

type SparseAWSRegistersList []*SparseAWSRegister

SparseAWSRegistersList represents a list of SparseAWSRegisters

func (SparseAWSRegistersList) Append

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

func (SparseAWSRegistersList) Copy

Copy returns a pointer to a copy the SparseAWSRegistersList.

func (SparseAWSRegistersList) DefaultOrder

func (o SparseAWSRegistersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAWSRegistersList) Identity

Identity returns the identity of the objects in the list.

func (SparseAWSRegistersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAWSRegistersList) ToPlain

ToPlain returns the SparseAWSRegistersList converted to AWSRegistersList.

func (SparseAWSRegistersList) Version

func (o SparseAWSRegistersList) Version() int

Version returns the version of the content.

type SparseAccessReport added in v1.1.0

type SparseAccessReport struct {
	// Action applied to the access.
	Action *AccessReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"-" mapstructure:"action,omitempty"`

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

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

	// Namespace of the enforcer.
	EnforcerNamespace *string `json:"enforcerNamespace,omitempty" msgpack:"enforcerNamespace,omitempty" bson:"-" mapstructure:"enforcerNamespace,omitempty"`

	// ID of the processing unit of the report.
	ProcessingUnitID *string `json:"processingUnitID,omitempty" msgpack:"processingUnitID,omitempty" bson:"-" mapstructure:"processingUnitID,omitempty"`

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

	// Namespace of the processing unit of the report.
	ProcessingUnitNamespace *string `` /* 142-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:"-" mapstructure:"reason,omitempty"`

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

	// Type of the report.
	Type *AccessReportTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,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) 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) 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) 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 SparseAccount

type SparseAccount struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" 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:"sshca,omitempty" 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"`

	// Holds the ID of the associated billing customer.
	AssociatedBillingID *string `` /* 158-byte string literal not displayed */

	// 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"`

	// 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAccount) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAccount) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAccount) GetZHash added in v1.1.0

func (o *SparseAccount) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAccount) GetZone added in v1.1.0

func (o *SparseAccount) GetZone() 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) 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) 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) 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) 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) 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:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseActivity) GetNamespace added in v1.1.0

func (o *SparseActivity) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseActivity) GetZHash

func (o *SparseActivity) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseActivity) GetZone

func (o *SparseActivity) GetZone() 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) 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:"_id" 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseAlarm) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAlarm) GetCreateIdempotencyKey

func (o *SparseAlarm) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAlarm) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAlarm) GetDescription

func (o *SparseAlarm) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseAlarm) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAlarm) GetName

func (o *SparseAlarm) GetName() string

GetName returns the Name of the receiver.

func (*SparseAlarm) GetNamespace

func (o *SparseAlarm) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseAlarm) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAlarm) GetProtected

func (o *SparseAlarm) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseAlarm) GetUpdateIdempotencyKey

func (o *SparseAlarm) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAlarm) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAlarm) GetZHash

func (o *SparseAlarm) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAlarm) GetZone

func (o *SparseAlarm) GetZone() 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) 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) GetDescription

func (o *SparseApp) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseApp) GetName

func (o *SparseApp) GetName() 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) 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:"_id" 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseAppCredential) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAppCredential) GetCreateIdempotencyKey

func (o *SparseAppCredential) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAppCredential) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAppCredential) GetDescription

func (o *SparseAppCredential) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseAppCredential) GetDisabled

func (o *SparseAppCredential) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseAppCredential) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseAppCredential) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAppCredential) GetName

func (o *SparseAppCredential) GetName() string

GetName returns the Name of the receiver.

func (*SparseAppCredential) GetNamespace

func (o *SparseAppCredential) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseAppCredential) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAppCredential) GetProtected

func (o *SparseAppCredential) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseAppCredential) GetUpdateIdempotencyKey

func (o *SparseAppCredential) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAppCredential) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAppCredential) GetZHash

func (o *SparseAppCredential) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAppCredential) GetZone

func (o *SparseAppCredential) GetZone() 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) 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:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseAuditProfile) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAuditProfile) GetCreateIdempotencyKey

func (o *SparseAuditProfile) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAuditProfile) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAuditProfile) GetDescription

func (o *SparseAuditProfile) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseAuditProfile) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseAuditProfile) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAuditProfile) GetName

func (o *SparseAuditProfile) GetName() string

GetName returns the Name of the receiver.

func (*SparseAuditProfile) GetNamespace

func (o *SparseAuditProfile) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseAuditProfile) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAuditProfile) GetPropagate

func (o *SparseAuditProfile) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseAuditProfile) GetProtected

func (o *SparseAuditProfile) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseAuditProfile) GetUpdateIdempotencyKey

func (o *SparseAuditProfile) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAuditProfile) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAuditProfile) GetZHash

func (o *SparseAuditProfile) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAuditProfile) GetZone

func (o *SparseAuditProfile) GetZone() 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) 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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseAuditProfileMappingPolicy) GetActiveSchedule

func (o *SparseAuditProfileMappingPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseAuditProfileMappingPolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseAuditProfileMappingPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAuditProfileMappingPolicy) GetCreateIdempotencyKey

func (o *SparseAuditProfileMappingPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAuditProfileMappingPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAuditProfileMappingPolicy) GetDescription

func (o *SparseAuditProfileMappingPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseAuditProfileMappingPolicy) GetDisabled

func (o *SparseAuditProfileMappingPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseAuditProfileMappingPolicy) GetFallback

func (o *SparseAuditProfileMappingPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseAuditProfileMappingPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseAuditProfileMappingPolicy) GetName

GetName returns the Name of the receiver.

func (*SparseAuditProfileMappingPolicy) GetNamespace

func (o *SparseAuditProfileMappingPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseAuditProfileMappingPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAuditProfileMappingPolicy) GetPropagate

func (o *SparseAuditProfileMappingPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseAuditProfileMappingPolicy) GetProtected

func (o *SparseAuditProfileMappingPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseAuditProfileMappingPolicy) GetUpdateIdempotencyKey

func (o *SparseAuditProfileMappingPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAuditProfileMappingPolicy) GetUpdateTime

func (o *SparseAuditProfileMappingPolicy) GetUpdateTime() 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) 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:"-" mapstructure:"AUID,omitempty"`

	// Command working directory.
	CWD *string `json:"CWD,omitempty" msgpack:"CWD,omitempty" bson:"-" mapstructure:"CWD,omitempty"`

	// Effective group ID of the user who started the audited process.
	EGID *int `json:"EGID,omitempty" msgpack:"EGID,omitempty" bson:"-" mapstructure:"EGID,omitempty"`

	// Effective user ID of the user who started the audited process.
	EUID *int `json:"EUID,omitempty" msgpack:"EUID,omitempty" bson:"-" mapstructure:"EUID,omitempty"`

	// Path to the executable.
	EXE *string `json:"EXE,omitempty" msgpack:"EXE,omitempty" bson:"-" mapstructure:"EXE,omitempty"`

	// File system group ID of the user who started the audited process.
	FSGID *int `json:"FSGID,omitempty" msgpack:"FSGID,omitempty" bson:"-" mapstructure:"FSGID,omitempty"`

	// File system user ID of the user who started the audited process.
	FSUID *int `json:"FSUID,omitempty" msgpack:"FSUID,omitempty" bson:"-" mapstructure:"FSUID,omitempty"`

	// Full path of the file that was passed to the system call.
	FilePath *string `json:"FilePath,omitempty" msgpack:"FilePath,omitempty" bson:"-" mapstructure:"FilePath,omitempty"`

	// Group ID of the user who started the analyzed process.
	GID *int `json:"GID,omitempty" msgpack:"GID,omitempty" bson:"-" mapstructure:"GID,omitempty"`

	// File or directory permissions.
	PER *int `json:"PER,omitempty" msgpack:"PER,omitempty" bson:"-" mapstructure:"PER,omitempty"`

	// Process ID of the executable.
	PID *int `json:"PID,omitempty" msgpack:"PID,omitempty" bson:"-" mapstructure:"PID,omitempty"`

	// Process ID of the parent executable.
	PPID *int `json:"PPID,omitempty" msgpack:"PPID,omitempty" bson:"-" mapstructure:"PPID,omitempty"`

	// Set group ID of the user who started the audited process.
	SGID *int `json:"SGID,omitempty" msgpack:"SGID,omitempty" bson:"-" mapstructure:"SGID,omitempty"`

	// Set user ID of the user who started the audited process.
	SUID *int `json:"SUID,omitempty" msgpack:"SUID,omitempty" bson:"-" mapstructure:"SUID,omitempty"`

	// User ID.
	UID *int `json:"UID,omitempty" msgpack:"UID,omitempty" bson:"-" mapstructure:"UID,omitempty"`

	// First argument of the executed system call.
	A0 *string `json:"a0,omitempty" msgpack:"a0,omitempty" bson:"-" mapstructure:"a0,omitempty"`

	// Second argument of the executed system call.
	A1 *string `json:"a1,omitempty" msgpack:"a1,omitempty" bson:"-" mapstructure:"a1,omitempty"`

	// Third argument of the executed system call.
	A2 *string `json:"a2,omitempty" msgpack:"a2,omitempty" bson:"-" mapstructure:"a2,omitempty"`

	// Fourth argument of the executed system call.
	A3 *string `json:"a3,omitempty" msgpack:"a3,omitempty" bson:"-" mapstructure:"a3,omitempty"`

	// Architecture of the system of the monitored process.
	Arch *string `json:"arch,omitempty" msgpack:"arch,omitempty" bson:"-" mapstructure:"arch,omitempty"`

	// ID of the audit profile that triggered the report.
	AuditProfileID *string `json:"auditProfileID,omitempty" msgpack:"auditProfileID,omitempty" bson:"-" mapstructure:"auditProfileID,omitempty"`

	// Namespace of the audit profile that triggered the report.
	AuditProfileNamespace *string `` /* 136-byte string literal not displayed */

	// Command issued.
	Command *string `json:"command,omitempty" msgpack:"command,omitempty" bson:"-" mapstructure:"command,omitempty"`

	// ID of the enforcer reporting.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"-" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer reporting.
	EnforcerNamespace *string `json:"enforcerNamespace,omitempty" msgpack:"enforcerNamespace,omitempty" bson:"-" mapstructure:"enforcerNamespace,omitempty"`

	// Exit code of the executed system call.
	Exit *int `json:"exit,omitempty" msgpack:"exit,omitempty" bson:"-" mapstructure:"exit,omitempty"`

	// ID of the processing unit originating the report.
	ProcessingUnitID *string `json:"processingUnitID,omitempty" msgpack:"processingUnitID,omitempty" bson:"-" mapstructure:"processingUnitID,omitempty"`

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

	// Type of audit record.
	RecordType *string `json:"recordType,omitempty" msgpack:"recordType,omitempty" bson:"-" mapstructure:"recordType,omitempty"`

	// Needs documentation.
	Sequence *int `json:"sequence,omitempty" msgpack:"sequence,omitempty" bson:"-" mapstructure:"sequence,omitempty"`

	// Tells if the operation has been a success or a failure.
	Success *bool `json:"success,omitempty" msgpack:"success,omitempty" bson:"-" mapstructure:"success,omitempty"`

	// System call executed.
	Syscall *string `json:"syscall,omitempty" msgpack:"syscall,omitempty" bson:"-" mapstructure:"syscall,omitempty"`

	// Date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,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) 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) SetIdentifier

func (o *SparseAuditReport) SetIdentifier(id string)

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

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"`

	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) 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) 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:"_id" 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) 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) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAuthority) GetZHash added in v1.1.0

func (o *SparseAuthority) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAuthority) GetZone added in v1.1.0

func (o *SparseAuthority) GetZone() 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) 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 {
	// 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"`

	// description.
	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) 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) 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:"_id" 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 */

	// 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) 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) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseAutomation) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseAutomation) GetCreateIdempotencyKey

func (o *SparseAutomation) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseAutomation) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseAutomation) GetDescription

func (o *SparseAutomation) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseAutomation) GetDisabled

func (o *SparseAutomation) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseAutomation) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseAutomation) GetName

func (o *SparseAutomation) GetName() string

GetName returns the Name of the receiver.

func (*SparseAutomation) GetNamespace

func (o *SparseAutomation) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseAutomation) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseAutomation) GetProtected

func (o *SparseAutomation) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseAutomation) GetUpdateIdempotencyKey

func (o *SparseAutomation) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseAutomation) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseAutomation) GetZHash

func (o *SparseAutomation) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAutomation) GetZone

func (o *SparseAutomation) GetZone() 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) 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) 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) GetDescription

func (o *SparseAutomationTemplate) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseAutomationTemplate) GetName

func (o *SparseAutomationTemplate) GetName() 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) 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 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:"_id" 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) GetDescription

func (o *SparseCategory) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseCategory) GetName

func (o *SparseCategory) GetName() 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) 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:"_id" 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 raw JSON web token (JWT) claims.
	Content *map[string]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"`

	// 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:"-" 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"`

	// 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"`

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

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseClaims) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseClaims) GetCreateIdempotencyKey

func (o *SparseClaims) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseClaims) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseClaims) GetNamespace

func (o *SparseClaims) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseClaims) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseClaims) GetProtected

func (o *SparseClaims) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseClaims) GetUpdateIdempotencyKey

func (o *SparseClaims) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseClaims) GetZHash

func (o *SparseClaims) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseClaims) GetZone

func (o *SparseClaims) GetZone() 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) SetAnnotations

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

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

func (*SparseClaims) SetAssociatedTags

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

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

func (*SparseClaims) SetCreateIdempotencyKey

func (o *SparseClaims) SetCreateIdempotencyKey(createIdempotencyKey string)

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

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) SetNormalizedTags

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

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

func (*SparseClaims) SetProtected

func (o *SparseClaims) SetProtected(protected bool)

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

func (*SparseClaims) SetUpdateIdempotencyKey

func (o *SparseClaims) SetUpdateIdempotencyKey(updateIdempotencyKey string)

SetUpdateIdempotencyKey sets the property UpdateIdempotencyKey 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 SparseCounterReport added in v1.29.0

type SparseCounterReport struct {
	// Counter for sending finack ack received in unknown connection state.
	AckInUnknownState *int `json:"AckInUnknownState,omitempty" msgpack:"AckInUnknownState,omitempty" bson:"-" mapstructure:"AckInUnknownState,omitempty"`

	// Counter for ack packet dropped because of invalid format.
	AckInvalidFormat *int `json:"AckInvalidFormat,omitempty" msgpack:"AckInvalidFormat,omitempty" bson:"-" mapstructure:"AckInvalidFormat,omitempty"`

	// Counter for reject ack packet as per policy.
	AckRejected *int `json:"AckRejected,omitempty" msgpack:"AckRejected,omitempty" bson:"-" mapstructure:"AckRejected,omitempty"`

	// Counter for ack packet dropped because signature validation failed.
	AckSigValidationFailed *int `` /* 139-byte string literal not displayed */

	// Counter for tcp authentication option not found.
	AckTCPNoTCPAuthOption *int `` /* 136-byte string literal not displayed */

	// Counter for connections processed.
	ConnectionsProcessed *int `` /* 133-byte string literal not displayed */

	// Counter for unable to find ContextID.
	ContextIDNotFound *int `json:"ContextIDNotFound,omitempty" msgpack:"ContextIDNotFound,omitempty" bson:"-" mapstructure:"ContextIDNotFound,omitempty"`

	// Counter for no acls found for external services. dropping application syn
	// packet.
	DroppedExternalService *int `` /* 139-byte string literal not displayed */

	// Counter for invalid connection state.
	InvalidConnState *int `json:"InvalidConnState,omitempty" msgpack:"InvalidConnState,omitempty" bson:"-" mapstructure:"InvalidConnState,omitempty"`

	// Counter for invalid net state.
	InvalidNetState *int `json:"InvalidNetState,omitempty" msgpack:"InvalidNetState,omitempty" bson:"-" mapstructure:"InvalidNetState,omitempty"`

	// Counter for invalid protocol.
	InvalidProtocol *int `json:"InvalidProtocol,omitempty" msgpack:"InvalidProtocol,omitempty" bson:"-" mapstructure:"InvalidProtocol,omitempty"`

	// Counter for pu is already dead - drop synack packet.
	InvalidSynAck *int `json:"InvalidSynAck,omitempty" msgpack:"InvalidSynAck,omitempty" bson:"-" mapstructure:"InvalidSynAck,omitempty"`

	// Counter for pu mark not found.
	MarkNotFound *int `json:"MarkNotFound,omitempty" msgpack:"MarkNotFound,omitempty" bson:"-" mapstructure:"MarkNotFound,omitempty"`

	// Counter for network syn packet was not seen.
	NetSynNotSeen *int `json:"NetSynNotSeen,omitempty" msgpack:"NetSynNotSeen,omitempty" bson:"-" mapstructure:"NetSynNotSeen,omitempty"`

	// Counter for no context or connection found.
	NoConnFound *int `json:"NoConnFound,omitempty" msgpack:"NoConnFound,omitempty" bson:"-" mapstructure:"NoConnFound,omitempty"`

	// Counter for traffic that belongs to a non PU process.
	NonPUTraffic *int `json:"NonPUTraffic,omitempty" msgpack:"NonPUTraffic,omitempty" bson:"-" mapstructure:"NonPUTraffic,omitempty"`

	// Counter for synack for flow with processed finack.
	OutOfOrderSynAck *int `json:"OutOfOrderSynAck,omitempty" msgpack:"OutOfOrderSynAck,omitempty" bson:"-" mapstructure:"OutOfOrderSynAck,omitempty"`

	// Counter for port not found.
	PortNotFound *int `json:"PortNotFound,omitempty" msgpack:"PortNotFound,omitempty" bson:"-" mapstructure:"PortNotFound,omitempty"`

	// Counter for reject the packet as per policy.
	RejectPacket *int `json:"RejectPacket,omitempty" msgpack:"RejectPacket,omitempty" bson:"-" mapstructure:"RejectPacket,omitempty"`

	// Counter for post service processing failed for network packet.
	ServicePostprocessorFailed *int `` /* 151-byte string literal not displayed */

	// Counter for network packets that failed preprocessing.
	ServicePreprocessorFailed *int `` /* 148-byte string literal not displayed */

	// Counter for synack packet dropped because of bad claims.
	SynAckBadClaims *int `json:"SynAckBadClaims,omitempty" msgpack:"SynAckBadClaims,omitempty" bson:"-" mapstructure:"SynAckBadClaims,omitempty"`

	// Counter for synack packet dropped because of encryption mismatch.
	SynAckClaimsMisMatch *int `` /* 133-byte string literal not displayed */

	// Counter for synack from external service dropped.
	SynAckDroppedExternalService *int `` /* 157-byte string literal not displayed */

	// Counter for synack packet dropped because of invalid format.
	SynAckInvalidFormat *int `` /* 130-byte string literal not displayed */

	// Counter for synack packet dropped because of no claims.
	SynAckMissingClaims *int `` /* 130-byte string literal not displayed */

	// Counter for synack packet dropped because of missing token.
	SynAckMissingToken *int `` /* 127-byte string literal not displayed */

	// Counter for tcp authentication option not found.
	SynAckNoTCPAuthOption *int `` /* 136-byte string literal not displayed */

	// Counter for dropping because of reject rule on transmitter.
	SynAckRejected *int `json:"SynAckRejected,omitempty" msgpack:"SynAckRejected,omitempty" bson:"-" mapstructure:"SynAckRejected,omitempty"`

	// Counter for syn packet dropped because of invalid format.
	SynDroppedInvalidFormat *int `` /* 142-byte string literal not displayed */

	// Counter for syn packet dropped because of invalid token.
	SynDroppedInvalidToken *int `` /* 139-byte string literal not displayed */

	// Counter for syn packet dropped because of no claims.
	SynDroppedNoClaims *int `` /* 127-byte string literal not displayed */

	// Counter for tcp authentication option not found.
	SynDroppedTCPOption *int `` /* 130-byte string literal not displayed */

	// Counter for syn dropped due to policy.
	SynRejectPacket *int `json:"SynRejectPacket,omitempty" msgpack:"SynRejectPacket,omitempty" bson:"-" mapstructure:"SynRejectPacket,omitempty"`

	// Counter for received syn packet from unknown pu.
	SynUnexpectedPacket *int `` /* 130-byte string literal not displayed */

	// Counter for tcp authentication option not found.
	TCPAuthNotFound *int `json:"TCPAuthNotFound,omitempty" msgpack:"TCPAuthNotFound,omitempty" bson:"-" mapstructure:"TCPAuthNotFound,omitempty"`

	// Counter for dropped udp ack invalid signature.
	UDPAckInvalidSignature *int `` /* 139-byte string literal not displayed */

	// Counter for number of processed UDP connections.
	UDPConnectionsProcessed *int `` /* 142-byte string literal not displayed */

	// Counter for dropped UDP data packets with no context.
	UDPDropContextNotFound *int `` /* 139-byte string literal not displayed */

	// Counter for dropped udp FIN handshake packets.
	UDPDropFin *int `json:"UDPDropFin,omitempty" msgpack:"UDPDropFin,omitempty" bson:"-" mapstructure:"UDPDropFin,omitempty"`

	// Counter for dropped UDP in NfQueue.
	UDPDropInNfQueue *int `json:"UDPDropInNfQueue,omitempty" msgpack:"UDPDropInNfQueue,omitempty" bson:"-" mapstructure:"UDPDropInNfQueue,omitempty"`

	// Counter for dropped UDP data packets with no connection.
	UDPDropNoConnection *int `` /* 130-byte string literal not displayed */

	// Counter for dropped UDP data packets.
	UDPDropPacket *int `json:"UDPDropPacket,omitempty" msgpack:"UDPDropPacket,omitempty" bson:"-" mapstructure:"UDPDropPacket,omitempty"`

	// Counter for dropped UDP Queue Full.
	UDPDropQueueFull *int `json:"UDPDropQueueFull,omitempty" msgpack:"UDPDropQueueFull,omitempty" bson:"-" mapstructure:"UDPDropQueueFull,omitempty"`

	// Counter for dropped udp synack handshake packets.
	UDPDropSynAck *int `json:"UDPDropSynAck,omitempty" msgpack:"UDPDropSynAck,omitempty" bson:"-" mapstructure:"UDPDropSynAck,omitempty"`

	// Counter for udp packets received in invalid network state.
	UDPInvalidNetState *int `` /* 127-byte string literal not displayed */

	// Counter for UDP packets failing postprocessing.
	UDPPostProcessingFailed *int `` /* 142-byte string literal not displayed */

	// Counter for UDP packets failing preprocessing.
	UDPPreProcessingFailed *int `` /* 139-byte string literal not displayed */

	// Counter for UDP packets dropped due to policy.
	UDPRejected *int `json:"UDPRejected,omitempty" msgpack:"UDPRejected,omitempty" bson:"-" mapstructure:"UDPRejected,omitempty"`

	// Counter for dropped udp synack bad claims.
	UDPSynAckDropBadClaims *int `` /* 139-byte string literal not displayed */

	// Counter for dropped udp synack missing claims.
	UDPSynAckMissingClaims *int `` /* 139-byte string literal not displayed */

	// Counter for dropped udp synack bad claims.
	UDPSynAckPolicy *int `json:"UDPSynAckPolicy,omitempty" msgpack:"UDPSynAckPolicy,omitempty" bson:"-" mapstructure:"UDPSynAckPolicy,omitempty"`

	// Counter for dropped udp syn transmits.
	UDPSynDrop *int `json:"UDPSynDrop,omitempty" msgpack:"UDPSynDrop,omitempty" bson:"-" mapstructure:"UDPSynDrop,omitempty"`

	// Counter for dropped udp syn policy.
	UDPSynDropPolicy *int `json:"UDPSynDropPolicy,omitempty" msgpack:"UDPSynDropPolicy,omitempty" bson:"-" mapstructure:"UDPSynDropPolicy,omitempty"`

	// Counter for dropped udp FIN handshake packets.
	UDPSynInvalidToken *int `` /* 127-byte string literal not displayed */

	// Counter for dropped UDP SYN missing claims.
	UDPSynMissingClaims *int `` /* 130-byte string literal not displayed */

	// Counter for unknown error.
	UnknownError *int `json:"UnknownError,omitempty" msgpack:"UnknownError,omitempty" bson:"-" mapstructure:"UnknownError,omitempty"`

	// Identifier of the enforcer sending the report.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"enforcerid,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer sending the report.
	EnforcerNamespace *string `` /* 150-byte string literal not displayed */

	// PUID is the ID of the PU reporting the counter.
	ProcessingUnitID *string `json:"processingUnitID,omitempty" msgpack:"processingUnitID,omitempty" bson:"-" mapstructure:"processingUnitID,omitempty"`

	// Namespace of the PU reporting the counter.
	ProcessingUnitNamespace *string `` /* 142-byte string literal not displayed */

	// Timestamp is the date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,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) 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) 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) 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 SparseCustomer

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

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

	// Provider holds the name of the provider to be billed for this service.
	Provider *CustomerProviderValue `json:"provider,omitempty" msgpack:"provider,omitempty" bson:"provider,omitempty" mapstructure:"provider,omitempty"`

	// providerCustomerID holds the customer id as used by the provider for this
	// customer to enable provider billing.
	ProviderCustomerID *string `` /* 154-byte string literal not displayed */

	// providerProductID holds the product id as used by the provider for this
	// customer to enable provider billing.
	ProviderProductID *string `` /* 150-byte string literal not displayed */

	// State holds the status of the customer with the provider.
	State *CustomerStateValue `json:"state,omitempty" msgpack:"state,omitempty" bson:"state,omitempty" mapstructure:"state,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"`
}

SparseCustomer represents the sparse version of a customer.

func NewSparseCustomer

func NewSparseCustomer() *SparseCustomer

NewSparseCustomer returns a new SparseCustomer.

func (*SparseCustomer) DeepCopy

func (o *SparseCustomer) DeepCopy() *SparseCustomer

DeepCopy returns a deep copy if the SparseCustomer.

func (*SparseCustomer) DeepCopyInto

func (o *SparseCustomer) DeepCopyInto(out *SparseCustomer)

DeepCopyInto copies the receiver into the given *SparseCustomer.

func (*SparseCustomer) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseCustomer) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseCustomer) Identifier

func (o *SparseCustomer) Identifier() string

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

func (*SparseCustomer) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseCustomer) SetCreateTime

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

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

func (*SparseCustomer) SetIdentifier

func (o *SparseCustomer) SetIdentifier(id string)

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

func (*SparseCustomer) SetUpdateTime

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

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

func (*SparseCustomer) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseCustomer) Version

func (o *SparseCustomer) Version() int

Version returns the hardcoded version of the model.

type SparseCustomersList

type SparseCustomersList []*SparseCustomer

SparseCustomersList represents a list of SparseCustomers

func (SparseCustomersList) Append

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

func (SparseCustomersList) Copy

Copy returns a pointer to a copy the SparseCustomersList.

func (SparseCustomersList) DefaultOrder

func (o SparseCustomersList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseCustomersList) Identity

func (o SparseCustomersList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseCustomersList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseCustomersList) ToPlain

ToPlain returns the SparseCustomersList converted to CustomersList.

func (SparseCustomersList) Version

func (o SparseCustomersList) Version() int

Version returns the version of the content.

type SparseDataPathCertificate

type SparseDataPathCertificate struct {
	// Contains the certificate signing request (CSR) the enforcer wants control plane to sign.
	// Depending on the certificate there will be various requirements for the CSR to be accepted.
	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) 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) 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 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) 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) 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 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) 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) 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:"_id" 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 control plane,
	// 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 */

	// 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 */

	// Status of the enforcement for host services.
	EnforcementStatus *EnforcerEnforcementStatusValue `` /* 150-byte string literal not displayed */

	// Identifies when the information was collected.
	LastCollectionTime *time.Time `` /* 154-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"`

	// 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 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 Aporeto control plane 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 */

	// If `true`, the enforcer version is outdated and should be updated.
	UpdateAvailable *bool `` /* 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseEnforcer) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseEnforcer) GetCreateIdempotencyKey

func (o *SparseEnforcer) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseEnforcer) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseEnforcer) GetDescription

func (o *SparseEnforcer) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseEnforcer) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseEnforcer) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseEnforcer) GetName

func (o *SparseEnforcer) GetName() string

GetName returns the Name of the receiver.

func (*SparseEnforcer) GetNamespace

func (o *SparseEnforcer) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseEnforcer) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseEnforcer) GetProtected

func (o *SparseEnforcer) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseEnforcer) GetUpdateIdempotencyKey

func (o *SparseEnforcer) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseEnforcer) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseEnforcer) GetZHash

func (o *SparseEnforcer) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseEnforcer) GetZone

func (o *SparseEnforcer) GetZone() 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) 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 SparseEnforcerProfile

type SparseEnforcerProfile struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" 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 Aporeto 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, Aporeto 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseEnforcerProfile) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseEnforcerProfile) GetCreateIdempotencyKey

func (o *SparseEnforcerProfile) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseEnforcerProfile) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseEnforcerProfile) GetDescription

func (o *SparseEnforcerProfile) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseEnforcerProfile) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseEnforcerProfile) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseEnforcerProfile) GetName

func (o *SparseEnforcerProfile) GetName() string

GetName returns the Name of the receiver.

func (*SparseEnforcerProfile) GetNamespace

func (o *SparseEnforcerProfile) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseEnforcerProfile) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseEnforcerProfile) GetPropagate

func (o *SparseEnforcerProfile) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseEnforcerProfile) GetProtected

func (o *SparseEnforcerProfile) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseEnforcerProfile) GetUpdateIdempotencyKey

func (o *SparseEnforcerProfile) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseEnforcerProfile) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseEnforcerProfile) GetZHash

func (o *SparseEnforcerProfile) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseEnforcerProfile) GetZone

func (o *SparseEnforcerProfile) GetZone() 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) 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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetCreateIdempotencyKey

func (o *SparseEnforcerProfileMappingPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetDescription

func (o *SparseEnforcerProfileMappingPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetDisabled

func (o *SparseEnforcerProfileMappingPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetFallback

func (o *SparseEnforcerProfileMappingPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetName

GetName returns the Name of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetNamespace

func (o *SparseEnforcerProfileMappingPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetPropagate

func (o *SparseEnforcerProfileMappingPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetProtected

func (o *SparseEnforcerProfileMappingPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetUpdateIdempotencyKey

func (o *SparseEnforcerProfileMappingPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetUpdateTime

func (o *SparseEnforcerProfileMappingPolicy) GetUpdateTime() 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) 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 SparseEnforcerReport

type SparseEnforcerReport struct {
	// Total CPU utilization of the enforcer as a percentage of vCPUs.
	CPULoad *float64 `json:"CPULoad,omitempty" msgpack:"CPULoad,omitempty" bson:"-" mapstructure:"CPULoad,omitempty"`

	// ID of the enforcer.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Total resident memory used by the enforcer in bytes.
	Memory *int `json:"memory,omitempty" msgpack:"memory,omitempty" bson:"-" mapstructure:"memory,omitempty"`

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

	// Namespace of the enforcer.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// Number of active processes of the enforcer.
	Processes *int `json:"processes,omitempty" msgpack:"processes,omitempty" bson:"-" mapstructure:"processes,omitempty"`

	// Date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,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) 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) SetIdentifier

func (o *SparseEnforcerReport) SetIdentifier(id string)

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

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) 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) 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 {
	// Category of the event log.
	Category *string `json:"category,omitempty" msgpack:"category,omitempty" bson:"category,omitempty" mapstructure:"category,omitempty"`

	// Content of the event log.
	Content *string `json:"content,omitempty" msgpack:"content,omitempty" bson:"content,omitempty" mapstructure:"content,omitempty"`

	// Creation date of the event log.
	Date *time.Time `json:"date,omitempty" msgpack:"date,omitempty" bson:"date,omitempty" mapstructure:"date,omitempty"`

	// Sets the log level.
	Level *EventLogLevelValue `json:"level,omitempty" msgpack:"level,omitempty" bson:"level,omitempty" mapstructure:"level,omitempty"`

	// Namespace tag attached to the event log.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,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:"opaque,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:"targetid,omitempty" mapstructure:"targetID,omitempty"`

	// Identity of the object this event log is attached to.
	TargetIdentity *string `` /* 138-byte string literal not displayed */

	// Title of the event log.
	Title *string `json:"title,omitempty" msgpack:"title,omitempty" bson:"title,omitempty" mapstructure:"title,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) GetNamespace

func (o *SparseEventLog) GetNamespace() string

GetNamespace returns the Namespace 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) SetIdentifier

func (o *SparseEventLog) SetIdentifier(id string)

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

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) 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 Aporeto 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) 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) 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:"_id" 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 */

	// List of single ports or range (xx:yy).
	Ports *[]string `json:"ports,omitempty" msgpack:"ports,omitempty" bson:"ports,omitempty" 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"`

	// List of protocols (`tcp`, `udp`, or protocol number).
	Protocols *[]string `json:"protocols,omitempty" msgpack:"protocols,omitempty" bson:"protocols,omitempty" mapstructure:"protocols,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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseExternalNetwork) GetArchived

func (o *SparseExternalNetwork) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*SparseExternalNetwork) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseExternalNetwork) GetCreateIdempotencyKey

func (o *SparseExternalNetwork) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseExternalNetwork) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseExternalNetwork) GetDescription

func (o *SparseExternalNetwork) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseExternalNetwork) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseExternalNetwork) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseExternalNetwork) GetName

func (o *SparseExternalNetwork) GetName() string

GetName returns the Name of the receiver.

func (*SparseExternalNetwork) GetNamespace

func (o *SparseExternalNetwork) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseExternalNetwork) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseExternalNetwork) GetPropagate

func (o *SparseExternalNetwork) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseExternalNetwork) GetProtected

func (o *SparseExternalNetwork) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseExternalNetwork) GetUpdateIdempotencyKey

func (o *SparseExternalNetwork) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseExternalNetwork) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseExternalNetwork) GetZHash

func (o *SparseExternalNetwork) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseExternalNetwork) GetZone

func (o *SparseExternalNetwork) GetZone() 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) 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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseFileAccessPolicy) GetActiveSchedule

func (o *SparseFileAccessPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseFileAccessPolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseFileAccessPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseFileAccessPolicy) GetCreateIdempotencyKey

func (o *SparseFileAccessPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseFileAccessPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseFileAccessPolicy) GetDescription

func (o *SparseFileAccessPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseFileAccessPolicy) GetDisabled

func (o *SparseFileAccessPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseFileAccessPolicy) GetExpirationTime

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseFileAccessPolicy) GetFallback

func (o *SparseFileAccessPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseFileAccessPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseFileAccessPolicy) GetName

func (o *SparseFileAccessPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseFileAccessPolicy) GetNamespace

func (o *SparseFileAccessPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseFileAccessPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseFileAccessPolicy) GetPropagate

func (o *SparseFileAccessPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseFileAccessPolicy) GetProtected

func (o *SparseFileAccessPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseFileAccessPolicy) GetUpdateIdempotencyKey

func (o *SparseFileAccessPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseFileAccessPolicy) GetUpdateTime

func (o *SparseFileAccessPolicy) GetUpdateTime() 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) 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 {
	// Action taken.
	Action *FileAccessReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"-" mapstructure:"action,omitempty"`

	// Host storing the file.
	Host *string `json:"host,omitempty" msgpack:"host,omitempty" bson:"-" mapstructure:"host,omitempty"`

	// Mode of file access.
	Mode *string `json:"mode,omitempty" msgpack:"mode,omitempty" bson:"-" mapstructure:"mode,omitempty"`

	// Path of the file.
	Path *string `json:"path,omitempty" msgpack:"path,omitempty" bson:"-" mapstructure:"path,omitempty"`

	// ID of the processing unit.
	ProcessingUnitID *string `json:"processingUnitID,omitempty" msgpack:"processingUnitID,omitempty" bson:"-" mapstructure:"processingUnitID,omitempty"`

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

	// Date of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,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) 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) SetIdentifier

func (o *SparseFileAccessReport) SetIdentifier(id string)

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

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:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseFilePath) GetArchived

func (o *SparseFilePath) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*SparseFilePath) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseFilePath) GetCreateIdempotencyKey

func (o *SparseFilePath) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseFilePath) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseFilePath) GetDescription

func (o *SparseFilePath) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseFilePath) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseFilePath) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseFilePath) GetName

func (o *SparseFilePath) GetName() string

GetName returns the Name of the receiver.

func (*SparseFilePath) GetNamespace

func (o *SparseFilePath) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseFilePath) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseFilePath) GetPropagate

func (o *SparseFilePath) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseFilePath) GetProtected

func (o *SparseFilePath) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseFilePath) GetUpdateIdempotencyKey

func (o *SparseFilePath) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseFilePath) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseFilePath) GetZHash

func (o *SparseFilePath) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseFilePath) GetZone

func (o *SparseFilePath) GetZone() 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) 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 {
	// Action applied to the flow.
	Action *FlowReportActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"-" mapstructure:"action,omitempty"`

	// ID of the destination.
	DestinationID *string `json:"destinationID,omitempty" msgpack:"destinationID,omitempty" bson:"-" mapstructure:"destinationID,omitempty"`

	// Destination IP address.
	DestinationIP *string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"-" mapstructure:"destinationIP,omitempty"`

	// Namespace of the destination.
	DestinationNamespace *string `` /* 133-byte string literal not displayed */

	// Port of the destination.
	DestinationPort *int `json:"destinationPort,omitempty" msgpack:"destinationPort,omitempty" bson:"-" mapstructure:"destinationPort,omitempty"`

	// Destination type.
	DestinationType *FlowReportDestinationTypeValue `json:"destinationType,omitempty" msgpack:"destinationType,omitempty" bson:"-" mapstructure:"destinationType,omitempty"`

	// 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:"-" mapstructure:"dropReason,omitempty"`

	// If `true`, the flow was encrypted.
	Encrypted *bool `json:"encrypted,omitempty" msgpack:"encrypted,omitempty" bson:"-" mapstructure:"encrypted,omitempty"`

	// This is here for backward compatibility.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// If `true`, design mode is on.
	Observed *bool `json:"observed,omitempty" msgpack:"observed,omitempty" bson:"-" mapstructure:"observed,omitempty"`

	// Action observed on the flow.
	ObservedAction *FlowReportObservedActionValue `json:"observedAction,omitempty" msgpack:"observedAction,omitempty" bson:"-" mapstructure:"observedAction,omitempty"`

	// Specifies the reason for a rejection. Only set if `observedAction` is set
	// to `Reject`.
	ObservedDropReason *string `` /* 127-byte string literal not displayed */

	// Value of the encryption of the network policy that observed the flow.
	ObservedEncrypted *bool `json:"observedEncrypted,omitempty" msgpack:"observedEncrypted,omitempty" bson:"-" mapstructure:"observedEncrypted,omitempty"`

	// ID of the network policy that observed the flow.
	ObservedPolicyID *string `json:"observedPolicyID,omitempty" msgpack:"observedPolicyID,omitempty" bson:"-" mapstructure:"observedPolicyID,omitempty"`

	// Namespace of the network policy that observed the flow.
	ObservedPolicyNamespace *string `` /* 142-byte string literal not displayed */

	// ID of the network policy that accepted the flow.
	PolicyID *string `json:"policyID,omitempty" msgpack:"policyID,omitempty" bson:"-" mapstructure:"policyID,omitempty"`

	// Namespace of the network policy that accepted the flow.
	PolicyNamespace *string `json:"policyNamespace,omitempty" msgpack:"policyNamespace,omitempty" bson:"-" mapstructure:"policyNamespace,omitempty"`

	// Protocol number.
	Protocol *int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"-" mapstructure:"protocol,omitempty"`

	// Hash of the claims used to communicate.
	ServiceClaimHash *string `json:"serviceClaimHash,omitempty" msgpack:"serviceClaimHash,omitempty" bson:"-" mapstructure:"serviceClaimHash,omitempty"`

	// ID of the service.
	ServiceID *string `json:"serviceID,omitempty" msgpack:"serviceID,omitempty" bson:"-" mapstructure:"serviceID,omitempty"`

	// Service URL accessed.
	ServiceNamespace *string `json:"serviceNamespace,omitempty" msgpack:"serviceNamespace,omitempty" bson:"-" mapstructure:"serviceNamespace,omitempty"`

	// ID of the service.
	ServiceType *FlowReportServiceTypeValue `json:"serviceType,omitempty" msgpack:"serviceType,omitempty" bson:"-" mapstructure:"serviceType,omitempty"`

	// Service URL accessed.
	ServiceURL *string `json:"serviceURL,omitempty" msgpack:"serviceURL,omitempty" bson:"-" mapstructure:"serviceURL,omitempty"`

	// ID of the source.
	SourceID *string `json:"sourceID,omitempty" msgpack:"sourceID,omitempty" bson:"-" mapstructure:"sourceID,omitempty"`

	// Type of the source.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"-" mapstructure:"sourceIP,omitempty"`

	// Namespace of the source.
	SourceNamespace *string `json:"sourceNamespace,omitempty" msgpack:"sourceNamespace,omitempty" bson:"-" mapstructure:"sourceNamespace,omitempty"`

	// Type of the source.
	SourceType *FlowReportSourceTypeValue `json:"sourceType,omitempty" msgpack:"sourceType,omitempty" bson:"-" mapstructure:"sourceType,omitempty"`

	// Time and date of the log.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,omitempty"`

	// Number of flows in the log.
	Value *int `json:"value,omitempty" msgpack:"value,omitempty" bson:"-" mapstructure:"value,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) 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) SetIdentifier

func (o *SparseFlowReport) SetIdentifier(id string)

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

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:"_id" mapstructure:"-,omitempty"`

	// Number of accepted flows in the edge.
	AcceptedFlows *int `` /* 134-byte string literal not displayed */

	// Date on which the edge has been inserted.
	CreateTime *time.Time `json:"-" msgpack:"-" bson:"createtime,omitempty" mapstructure:"-,omitempty"`

	// 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 *int `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 object represented by the node.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Number of accepted observed flows.
	ObservedAcceptedFlows *int `` /* 166-byte string literal not displayed */

	// Number of encrypted observed flows.
	ObservedEncrypted *int `` /* 150-byte string literal not displayed */

	// Number of rejected observed flows.
	ObservedRejectedFlows *int `` /* 166-byte string literal not displayed */

	// Number of rejected flows in the edge.
	RejectedFlows *int `` /* 134-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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) GetZHash added in v1.44.0

func (o *SparseGraphEdge) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseGraphEdge) GetZone added in v1.44.0

func (o *SparseGraphEdge) GetZone() 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) 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) 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) 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:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseHTTPResourceSpec) GetArchived

func (o *SparseHTTPResourceSpec) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*SparseHTTPResourceSpec) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseHTTPResourceSpec) GetCreateIdempotencyKey

func (o *SparseHTTPResourceSpec) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseHTTPResourceSpec) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseHTTPResourceSpec) GetDescription

func (o *SparseHTTPResourceSpec) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseHTTPResourceSpec) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseHTTPResourceSpec) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseHTTPResourceSpec) GetName

func (o *SparseHTTPResourceSpec) GetName() string

GetName returns the Name of the receiver.

func (*SparseHTTPResourceSpec) GetNamespace

func (o *SparseHTTPResourceSpec) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseHTTPResourceSpec) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseHTTPResourceSpec) GetPropagate

func (o *SparseHTTPResourceSpec) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseHTTPResourceSpec) GetProtected

func (o *SparseHTTPResourceSpec) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseHTTPResourceSpec) GetUpdateIdempotencyKey

func (o *SparseHTTPResourceSpec) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseHTTPResourceSpec) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseHTTPResourceSpec) GetZHash

func (o *SparseHTTPResourceSpec) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseHTTPResourceSpec) GetZone

func (o *SparseHTTPResourceSpec) GetZone() 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) 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 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"`

	// 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"`

	// 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"`

	// 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) 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) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseHookPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseHookPolicy) GetCreateIdempotencyKey

func (o *SparseHookPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseHookPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseHookPolicy) GetDescription

func (o *SparseHookPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseHookPolicy) GetDisabled

func (o *SparseHookPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseHookPolicy) GetExpirationTime

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseHookPolicy) GetFallback

func (o *SparseHookPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseHookPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseHookPolicy) GetName

func (o *SparseHookPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseHookPolicy) GetNamespace

func (o *SparseHookPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseHookPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseHookPolicy) GetPropagate

func (o *SparseHookPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseHookPolicy) GetPropagationHidden

func (o *SparseHookPolicy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*SparseHookPolicy) GetProtected

func (o *SparseHookPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseHookPolicy) GetUpdateIdempotencyKey

func (o *SparseHookPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseHookPolicy) GetUpdateTime

func (o *SparseHookPolicy) GetUpdateTime() 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) 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:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseHostService) GetArchived

func (o *SparseHostService) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*SparseHostService) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseHostService) GetCreateIdempotencyKey

func (o *SparseHostService) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseHostService) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseHostService) GetDescription

func (o *SparseHostService) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseHostService) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseHostService) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseHostService) GetName

func (o *SparseHostService) GetName() string

GetName returns the Name of the receiver.

func (*SparseHostService) GetNamespace

func (o *SparseHostService) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseHostService) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseHostService) GetPropagate

func (o *SparseHostService) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseHostService) GetProtected

func (o *SparseHostService) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseHostService) GetUpdateIdempotencyKey

func (o *SparseHostService) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseHostService) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseHostService) GetZHash

func (o *SparseHostService) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseHostService) GetZone

func (o *SparseHostService) GetZone() 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) 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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseHostServiceMappingPolicy) GetActiveSchedule

func (o *SparseHostServiceMappingPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseHostServiceMappingPolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseHostServiceMappingPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseHostServiceMappingPolicy) GetCreateIdempotencyKey

func (o *SparseHostServiceMappingPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseHostServiceMappingPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseHostServiceMappingPolicy) GetDescription

func (o *SparseHostServiceMappingPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseHostServiceMappingPolicy) GetDisabled

func (o *SparseHostServiceMappingPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseHostServiceMappingPolicy) GetFallback

func (o *SparseHostServiceMappingPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseHostServiceMappingPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseHostServiceMappingPolicy) GetName

GetName returns the Name of the receiver.

func (*SparseHostServiceMappingPolicy) GetNamespace

func (o *SparseHostServiceMappingPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseHostServiceMappingPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseHostServiceMappingPolicy) GetPropagate

func (o *SparseHostServiceMappingPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseHostServiceMappingPolicy) GetProtected

func (o *SparseHostServiceMappingPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseHostServiceMappingPolicy) GetUpdateIdempotencyKey

func (o *SparseHostServiceMappingPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseHostServiceMappingPolicy) GetUpdateTime

func (o *SparseHostServiceMappingPolicy) GetUpdateTime() 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) 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) 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) 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) 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) 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:"_id" 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"`

	// 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 */

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseImportReference) GetAssociatedTags added in v1.1.0

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseImportReference) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseImportReference) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseImportReference) GetCreateTime added in v1.1.0

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseImportReference) GetDescription added in v1.1.0

func (o *SparseImportReference) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseImportReference) GetMetadata added in v1.1.0

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

GetMetadata returns the Metadata of the receiver.

func (*SparseImportReference) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseImportReference) GetName added in v1.1.0

func (o *SparseImportReference) GetName() string

GetName returns the Name of the receiver.

func (*SparseImportReference) GetNamespace added in v1.1.0

func (o *SparseImportReference) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseImportReference) GetNormalizedTags added in v1.1.0

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseImportReference) GetProtected added in v1.1.0

func (o *SparseImportReference) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseImportReference) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseImportReference) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseImportReference) GetUpdateTime added in v1.1.0

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseImportReference) GetZHash added in v1.1.0

func (o *SparseImportReference) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseImportReference) GetZone added in v1.1.0

func (o *SparseImportReference) GetZone() 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) 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:"_id" 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 control plane.
	RequesterClaims *[]string `` /* 142-byte string literal not displayed */

	// The namespace from which the request originated; populated by the
	// control plane.
	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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseImportRequest) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseImportRequest) GetCreateIdempotencyKey

func (o *SparseImportRequest) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseImportRequest) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseImportRequest) GetDescription

func (o *SparseImportRequest) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseImportRequest) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseImportRequest) GetNamespace

func (o *SparseImportRequest) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseImportRequest) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseImportRequest) GetProtected

func (o *SparseImportRequest) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseImportRequest) GetUpdateIdempotencyKey

func (o *SparseImportRequest) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseImportRequest) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseImportRequest) GetZHash

func (o *SparseImportRequest) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseImportRequest) GetZone

func (o *SparseImportRequest) GetZone() 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) 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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseInfrastructurePolicy) GetActiveSchedule added in v1.1.0

func (o *SparseInfrastructurePolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseInfrastructurePolicy) GetAnnotations added in v1.1.0

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseInfrastructurePolicy) GetAssociatedTags added in v1.1.0

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseInfrastructurePolicy) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseInfrastructurePolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseInfrastructurePolicy) GetCreateTime added in v1.1.0

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseInfrastructurePolicy) GetDescription added in v1.1.0

func (o *SparseInfrastructurePolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseInfrastructurePolicy) GetDisabled added in v1.1.0

func (o *SparseInfrastructurePolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseInfrastructurePolicy) GetExpirationTime added in v1.1.0

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseInfrastructurePolicy) GetMetadata added in v1.1.0

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

GetMetadata returns the Metadata of the receiver.

func (*SparseInfrastructurePolicy) GetName added in v1.1.0

func (o *SparseInfrastructurePolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseInfrastructurePolicy) GetNamespace added in v1.1.0

func (o *SparseInfrastructurePolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseInfrastructurePolicy) GetNormalizedTags added in v1.1.0

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseInfrastructurePolicy) GetProtected added in v1.1.0

func (o *SparseInfrastructurePolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseInfrastructurePolicy) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseInfrastructurePolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseInfrastructurePolicy) GetUpdateTime added in v1.1.0

func (o *SparseInfrastructurePolicy) GetUpdateTime() 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) 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:"_id" mapstructure:"ID,omitempty"`

	// 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"`

	// 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseInstalledApp) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseInstalledApp) GetCreateIdempotencyKey

func (o *SparseInstalledApp) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseInstalledApp) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseInstalledApp) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseInstalledApp) GetName

func (o *SparseInstalledApp) GetName() string

GetName returns the Name of the receiver.

func (*SparseInstalledApp) GetNamespace

func (o *SparseInstalledApp) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseInstalledApp) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseInstalledApp) GetProtected

func (o *SparseInstalledApp) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseInstalledApp) GetUpdateIdempotencyKey

func (o *SparseInstalledApp) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseInstalledApp) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseInstalledApp) GetZHash added in v1.1.0

func (o *SparseInstalledApp) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseInstalledApp) GetZone added in v1.1.0

func (o *SparseInstalledApp) GetZone() 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) 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 SparseInvoice

type SparseInvoice struct {
	// The ID of the invoice.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"id,omitempty" mapstructure:"ID,omitempty"`

	// The ID of the customer that this invoice belongs to.
	AccountID *string `json:"accountID,omitempty" msgpack:"accountID,omitempty" bson:"accountid,omitempty" mapstructure:"accountID,omitempty"`

	// The name of the provider that this invoice was billed to.
	BilledToProvider *InvoiceBilledToProviderValue `` /* 146-byte string literal not displayed */

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

	// The end date of the invoice.
	EndDate *time.Time `json:"endDate,omitempty" msgpack:"endDate,omitempty" bson:"enddate,omitempty" mapstructure:"endDate,omitempty"`

	// The start date of this invoice.
	StartDate *time.Time `json:"startDate,omitempty" msgpack:"startDate,omitempty" bson:"startdate,omitempty" mapstructure:"startDate,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"`
}

SparseInvoice represents the sparse version of a invoice.

func NewSparseInvoice

func NewSparseInvoice() *SparseInvoice

NewSparseInvoice returns a new SparseInvoice.

func (*SparseInvoice) DeepCopy

func (o *SparseInvoice) DeepCopy() *SparseInvoice

DeepCopy returns a deep copy if the SparseInvoice.

func (*SparseInvoice) DeepCopyInto

func (o *SparseInvoice) DeepCopyInto(out *SparseInvoice)

DeepCopyInto copies the receiver into the given *SparseInvoice.

func (*SparseInvoice) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseInvoice) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseInvoice) Identifier

func (o *SparseInvoice) Identifier() string

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

func (*SparseInvoice) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseInvoice) SetCreateTime

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

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

func (*SparseInvoice) SetIdentifier

func (o *SparseInvoice) SetIdentifier(id string)

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

func (*SparseInvoice) SetUpdateTime

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

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

func (*SparseInvoice) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseInvoice) Version

func (o *SparseInvoice) Version() int

Version returns the hardcoded version of the model.

type SparseInvoiceRecord

type SparseInvoiceRecord struct {
	// The ID of the invoice record.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"id,omitempty" mapstructure:"ID,omitempty"`

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

	// The ID of the invoice associated with the invoice record.
	InvoiceID *string `json:"invoiceID,omitempty" msgpack:"invoiceID,omitempty" bson:"invoiceid,omitempty" mapstructure:"invoiceID,omitempty"`

	// Details about billing units.
	InvoiceRecords *[]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"`

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

SparseInvoiceRecord represents the sparse version of a invoicerecord.

func NewSparseInvoiceRecord

func NewSparseInvoiceRecord() *SparseInvoiceRecord

NewSparseInvoiceRecord returns a new SparseInvoiceRecord.

func (*SparseInvoiceRecord) DeepCopy

DeepCopy returns a deep copy if the SparseInvoiceRecord.

func (*SparseInvoiceRecord) DeepCopyInto

func (o *SparseInvoiceRecord) DeepCopyInto(out *SparseInvoiceRecord)

DeepCopyInto copies the receiver into the given *SparseInvoiceRecord.

func (*SparseInvoiceRecord) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseInvoiceRecord) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseInvoiceRecord) Identifier

func (o *SparseInvoiceRecord) Identifier() string

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

func (*SparseInvoiceRecord) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseInvoiceRecord) SetCreateTime

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

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

func (*SparseInvoiceRecord) SetIdentifier

func (o *SparseInvoiceRecord) SetIdentifier(id string)

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

func (*SparseInvoiceRecord) SetUpdateTime

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

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

func (*SparseInvoiceRecord) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseInvoiceRecord) Version

func (o *SparseInvoiceRecord) Version() int

Version returns the hardcoded version of the model.

type SparseInvoiceRecordsList

type SparseInvoiceRecordsList []*SparseInvoiceRecord

SparseInvoiceRecordsList represents a list of SparseInvoiceRecords

func (SparseInvoiceRecordsList) Append

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

func (SparseInvoiceRecordsList) Copy

Copy returns a pointer to a copy the SparseInvoiceRecordsList.

func (SparseInvoiceRecordsList) DefaultOrder

func (o SparseInvoiceRecordsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseInvoiceRecordsList) Identity

Identity returns the identity of the objects in the list.

func (SparseInvoiceRecordsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseInvoiceRecordsList) ToPlain

ToPlain returns the SparseInvoiceRecordsList converted to InvoiceRecordsList.

func (SparseInvoiceRecordsList) Version

func (o SparseInvoiceRecordsList) Version() int

Version returns the version of the content.

type SparseInvoicesList

type SparseInvoicesList []*SparseInvoice

SparseInvoicesList represents a list of SparseInvoices

func (SparseInvoicesList) Append

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

func (SparseInvoicesList) Copy

Copy returns a pointer to a copy the SparseInvoicesList.

func (SparseInvoicesList) DefaultOrder

func (o SparseInvoicesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseInvoicesList) Identity

func (o SparseInvoicesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseInvoicesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseInvoicesList) ToPlain

ToPlain returns the SparseInvoicesList converted to InvoicesList.

func (SparseInvoicesList) Version

func (o SparseInvoicesList) 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:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseIsolationProfile) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseIsolationProfile) GetCreateIdempotencyKey

func (o *SparseIsolationProfile) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseIsolationProfile) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseIsolationProfile) GetDescription

func (o *SparseIsolationProfile) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseIsolationProfile) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseIsolationProfile) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseIsolationProfile) GetName

func (o *SparseIsolationProfile) GetName() string

GetName returns the Name of the receiver.

func (*SparseIsolationProfile) GetNamespace

func (o *SparseIsolationProfile) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseIsolationProfile) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseIsolationProfile) GetPropagate

func (o *SparseIsolationProfile) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseIsolationProfile) GetProtected

func (o *SparseIsolationProfile) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseIsolationProfile) GetUpdateIdempotencyKey

func (o *SparseIsolationProfile) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseIsolationProfile) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseIsolationProfile) GetZHash

func (o *SparseIsolationProfile) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseIsolationProfile) GetZone

func (o *SparseIsolationProfile) GetZone() 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) 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"`

	// 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. `AWSIdentityDocument`, `AWSSecurityToken`,
	// `Certificate`,
	// `Google`, `LDAP`, `Vince`, `GCPIdentityToken`, `AzureIdentityToken`, or `OIDC`.
	Realm *IssueRealmValue `json:"realm,omitempty" msgpack:"realm,omitempty" bson:"-" mapstructure:"realm,omitempty"`

	// 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) 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) 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) 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) 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 SparseLDAPProvider added in v1.1.0

type SparseLDAPProvider struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" 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 Aporeto authorization system.
	IgnoredKeys *[]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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseLDAPProvider) GetAssociatedTags added in v1.1.0

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseLDAPProvider) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseLDAPProvider) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseLDAPProvider) GetCreateTime added in v1.1.0

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseLDAPProvider) GetDescription added in v1.1.0

func (o *SparseLDAPProvider) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseLDAPProvider) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseLDAPProvider) GetName added in v1.1.0

func (o *SparseLDAPProvider) GetName() string

GetName returns the Name of the receiver.

func (*SparseLDAPProvider) GetNamespace added in v1.1.0

func (o *SparseLDAPProvider) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseLDAPProvider) GetNormalizedTags added in v1.1.0

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseLDAPProvider) GetProtected added in v1.1.0

func (o *SparseLDAPProvider) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseLDAPProvider) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseLDAPProvider) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseLDAPProvider) GetUpdateTime added in v1.1.0

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseLDAPProvider) GetZHash added in v1.1.0

func (o *SparseLDAPProvider) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseLDAPProvider) GetZone added in v1.1.0

func (o *SparseLDAPProvider) GetZone() 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) 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 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) 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) 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 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:"_id" 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:"validity,omitempty" mapstructure:"validity,omitempty"`

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

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseMessage) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseMessage) GetCreateIdempotencyKey

func (o *SparseMessage) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseMessage) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseMessage) GetDescription

func (o *SparseMessage) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseMessage) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseMessage) GetName

func (o *SparseMessage) GetName() string

GetName returns the Name of the receiver.

func (*SparseMessage) GetNamespace

func (o *SparseMessage) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseMessage) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseMessage) GetPropagate

func (o *SparseMessage) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseMessage) GetProtected

func (o *SparseMessage) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseMessage) GetUpdateIdempotencyKey

func (o *SparseMessage) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseMessage) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseMessage) GetZHash

func (o *SparseMessage) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseMessage) GetZone

func (o *SparseMessage) GetZone() 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) 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 SparseNamespace

type SparseNamespace struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" 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:"SSHCA,omitempty" msgpack:"SSHCA,omitempty" bson:"sshca,omitempty" mapstructure:"SSHCA,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
	// platform.
	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 */

	// Description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// The certificate authority used by this namespace.
	LocalCA *string `json:"localCA,omitempty" msgpack:"localCA,omitempty" bson:"localca,omitempty" mapstructure:"localCA,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 */

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

	// Determines the length of validity of certificates issued in this namespace using
	// [Golang duration syntax](https://golang.org/pkg/time/#example_Duration). Default
	// value is `1h`.
	ServiceCertificateValidity *string `` /* 186-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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseNamespace) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseNamespace) GetCreateIdempotencyKey

func (o *SparseNamespace) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseNamespace) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseNamespace) GetDescription

func (o *SparseNamespace) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseNamespace) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseNamespace) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseNamespace) GetName

func (o *SparseNamespace) GetName() string

GetName returns the Name of the receiver.

func (*SparseNamespace) GetNamespace

func (o *SparseNamespace) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseNamespace) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseNamespace) GetProtected

func (o *SparseNamespace) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseNamespace) GetUpdateIdempotencyKey

func (o *SparseNamespace) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseNamespace) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseNamespace) GetZHash added in v1.1.0

func (o *SparseNamespace) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseNamespace) GetZone added in v1.1.0

func (o *SparseNamespace) GetZone() int

GetZone returns the Zone of the receiver.

func (*SparseNamespace) GetZoning added in v1.1.0

func (o *SparseNamespace) GetZoning() 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) 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 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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseNamespaceMappingPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseNamespaceMappingPolicy) GetCreateIdempotencyKey

func (o *SparseNamespaceMappingPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseNamespaceMappingPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseNamespaceMappingPolicy) GetDescription

func (o *SparseNamespaceMappingPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseNamespaceMappingPolicy) GetDisabled

func (o *SparseNamespaceMappingPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseNamespaceMappingPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseNamespaceMappingPolicy) GetName

func (o *SparseNamespaceMappingPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseNamespaceMappingPolicy) GetNamespace

func (o *SparseNamespaceMappingPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseNamespaceMappingPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseNamespaceMappingPolicy) GetProtected

func (o *SparseNamespaceMappingPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseNamespaceMappingPolicy) GetUpdateIdempotencyKey

func (o *SparseNamespaceMappingPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseNamespaceMappingPolicy) GetUpdateTime

func (o *SparseNamespaceMappingPolicy) GetUpdateTime() 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) 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 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, such as encryption.
	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.
	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 the Aporeto control
	// plane.
	// 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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseNetworkAccessPolicy) GetActiveSchedule

func (o *SparseNetworkAccessPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseNetworkAccessPolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseNetworkAccessPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseNetworkAccessPolicy) GetCreateIdempotencyKey

func (o *SparseNetworkAccessPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseNetworkAccessPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseNetworkAccessPolicy) GetDescription

func (o *SparseNetworkAccessPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseNetworkAccessPolicy) GetDisabled

func (o *SparseNetworkAccessPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseNetworkAccessPolicy) GetExpirationTime

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseNetworkAccessPolicy) GetFallback

func (o *SparseNetworkAccessPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseNetworkAccessPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseNetworkAccessPolicy) GetName

func (o *SparseNetworkAccessPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseNetworkAccessPolicy) GetNamespace

func (o *SparseNetworkAccessPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseNetworkAccessPolicy) GetNegateObject

func (o *SparseNetworkAccessPolicy) GetNegateObject() bool

GetNegateObject returns the NegateObject of the receiver.

func (*SparseNetworkAccessPolicy) GetNegateSubject

func (o *SparseNetworkAccessPolicy) GetNegateSubject() bool

GetNegateSubject returns the NegateSubject of the receiver.

func (*SparseNetworkAccessPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseNetworkAccessPolicy) GetPropagate

func (o *SparseNetworkAccessPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseNetworkAccessPolicy) GetProtected

func (o *SparseNetworkAccessPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseNetworkAccessPolicy) GetUpdateIdempotencyKey

func (o *SparseNetworkAccessPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseNetworkAccessPolicy) GetUpdateTime

func (o *SparseNetworkAccessPolicy) GetUpdateTime() 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) 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 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) 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) 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) 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) 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:"_id" 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 */

	// 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"`

	// 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 Aporeto account ID.
	ParentID *string `json:"parentID,omitempty" msgpack:"parentID,omitempty" bson:"parentid,omitempty" mapstructure:"parentID,omitempty"`

	// Contains the name of the parent Aporeto 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) 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) GetAnnotations added in v1.1.0

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseOIDCProvider) GetAssociatedTags added in v1.1.0

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseOIDCProvider) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseOIDCProvider) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseOIDCProvider) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseOIDCProvider) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseOIDCProvider) GetName added in v1.1.0

func (o *SparseOIDCProvider) GetName() string

GetName returns the Name of the receiver.

func (*SparseOIDCProvider) GetNamespace added in v1.1.0

func (o *SparseOIDCProvider) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseOIDCProvider) GetNormalizedTags added in v1.1.0

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseOIDCProvider) GetProtected added in v1.1.0

func (o *SparseOIDCProvider) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseOIDCProvider) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseOIDCProvider) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseOIDCProvider) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseOIDCProvider) GetZHash added in v1.1.0

func (o *SparseOIDCProvider) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseOIDCProvider) GetZone added in v1.1.0

func (o *SparseOIDCProvider) GetZone() 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) 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) 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 SparsePacketReport

type SparsePacketReport struct {
	// Flags are the TCP flags of the packet.
	TCPFlags *int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Claims is the list of claims detected for the packet.
	Claims *[]string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// The destination IP address of the packet.
	DestinationIP *string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"-" mapstructure:"destinationIP,omitempty"`

	// The destination port of a TCP or UDP packet.
	DestinationPort *int `json:"destinationPort,omitempty" msgpack:"destinationPort,omitempty" bson:"-" mapstructure:"destinationPort,omitempty"`

	// 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:"-" mapstructure:"dropReason,omitempty"`

	// Set to `true` if the packet was encrypted.
	Encrypt *bool `json:"encrypt,omitempty" msgpack:"encrypt,omitempty" bson:"-" mapstructure:"encrypt,omitempty"`

	// Identifier of the enforcer sending the report.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"enforcerid,omitempty" mapstructure:"enforcerID,omitempty"`

	// Namespace of the enforcer sending the report.
	EnforcerNamespace *string `` /* 150-byte string literal not displayed */

	// The event that triggered the report.
	Event *PacketReportEventValue `json:"event,omitempty" msgpack:"event,omitempty" bson:"-" mapstructure:"event,omitempty"`

	// Length is the length of the packet.
	Length *int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Mark is the mark value of the packet.
	Mark *int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Namespace of the processing unit reporting the packet.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

	// PacketID is the ID from the IP header of the packet.
	PacketID *int `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Protocol number.
	Protocol *int `json:"protocol,omitempty" msgpack:"protocol,omitempty" bson:"-" mapstructure:"protocol,omitempty"`

	// The ID of the processing unit reporting the packet.
	PuID *string `json:"puID,omitempty" msgpack:"puID,omitempty" bson:"-" mapstructure:"puID,omitempty"`

	// The first 64 bytes of the packet.
	RawPacket *string `json:"rawPacket,omitempty" msgpack:"rawPacket,omitempty" bson:"rawpacket,omitempty" mapstructure:"rawPacket,omitempty"`

	// The source IP address of the packet.
	SourceIP *string `json:"sourceIP,omitempty" msgpack:"sourceIP,omitempty" bson:"-" mapstructure:"sourceIP,omitempty"`

	// The source port of the packet.
	SourcePort *int `json:"sourcePort,omitempty" msgpack:"sourcePort,omitempty" bson:"-" mapstructure:"sourcePort,omitempty"`

	// The time-date stamp of the report.
	Timestamp *time.Time `json:"timestamp,omitempty" msgpack:"timestamp,omitempty" bson:"-" mapstructure:"timestamp,omitempty"`

	// Set to `true` if the packet arrived with the Trireme options (default).
	TriremePacket *bool `` /* 134-byte string literal not displayed */

	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) 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) SetIdentifier

func (o *SparsePacketReport) SetIdentifier(id string)

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

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) 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) 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 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) 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) 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) 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) 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:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparsePolicy) GetActiveSchedule

func (o *SparsePolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparsePolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparsePolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparsePolicy) GetCreateIdempotencyKey

func (o *SparsePolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparsePolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparsePolicy) GetDescription

func (o *SparsePolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparsePolicy) GetDisabled

func (o *SparsePolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparsePolicy) GetExpirationTime

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparsePolicy) GetFallback

func (o *SparsePolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparsePolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparsePolicy) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparsePolicy) GetName

func (o *SparsePolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparsePolicy) GetNamespace

func (o *SparsePolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparsePolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparsePolicy) GetObject

func (o *SparsePolicy) GetObject() [][]string

GetObject returns the Object of the receiver.

func (*SparsePolicy) GetPropagate

func (o *SparsePolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparsePolicy) GetPropagationHidden

func (o *SparsePolicy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*SparsePolicy) GetProtected

func (o *SparsePolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparsePolicy) GetSubject

func (o *SparsePolicy) GetSubject() [][]string

GetSubject returns the Subject of the receiver.

func (*SparsePolicy) GetUpdateIdempotencyKey

func (o *SparsePolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparsePolicy) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparsePolicy) GetZHash

func (o *SparsePolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparsePolicy) GetZone

func (o *SparsePolicy) GetZone() 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) 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) 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) 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) 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) 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) 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) 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) GetName

func (o *SparsePolicyRule) GetName() 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) 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:"_id" 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) 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) 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 SparsePrivateKey

type SparsePrivateKey struct {
	// ID is the internal ID of the key.
	ID *string `json:"-" msgpack:"-" bson:"_id" mapstructure:"-,omitempty"`

	// CertificateSerialNumber represents the certificate serial number associated to
	// this key.
	CertificateSerialNumber *string `json:"-" msgpack:"-" bson:"certificateserialnumber,omitempty" mapstructure:"-,omitempty"`

	// Data contains the privateKey data.
	Data *string `json:"-" msgpack:"-" bson:"data,omitempty" mapstructure:"-,omitempty"`

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

SparsePrivateKey represents the sparse version of a privatekey.

func NewSparsePrivateKey

func NewSparsePrivateKey() *SparsePrivateKey

NewSparsePrivateKey returns a new SparsePrivateKey.

func (*SparsePrivateKey) DeepCopy

func (o *SparsePrivateKey) DeepCopy() *SparsePrivateKey

DeepCopy returns a deep copy if the SparsePrivateKey.

func (*SparsePrivateKey) DeepCopyInto

func (o *SparsePrivateKey) DeepCopyInto(out *SparsePrivateKey)

DeepCopyInto copies the receiver into the given *SparsePrivateKey.

func (*SparsePrivateKey) Identifier

func (o *SparsePrivateKey) Identifier() string

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

func (*SparsePrivateKey) Identity

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

Identity returns the Identity of the sparse object.

func (*SparsePrivateKey) SetIdentifier

func (o *SparsePrivateKey) SetIdentifier(id string)

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

func (*SparsePrivateKey) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePrivateKey) Version

func (o *SparsePrivateKey) Version() int

Version returns the hardcoded version of the model.

type SparsePrivateKeysList

type SparsePrivateKeysList []*SparsePrivateKey

SparsePrivateKeysList represents a list of SparsePrivateKeys

func (SparsePrivateKeysList) Append

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

func (SparsePrivateKeysList) Copy

Copy returns a pointer to a copy the SparsePrivateKeysList.

func (SparsePrivateKeysList) DefaultOrder

func (o SparsePrivateKeysList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePrivateKeysList) Identity

Identity returns the identity of the objects in the list.

func (SparsePrivateKeysList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePrivateKeysList) ToPlain

ToPlain returns the SparsePrivateKeysList converted to PrivateKeysList.

func (SparsePrivateKeysList) Version

func (o SparsePrivateKeysList) 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:"_id" 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 */

	// 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 */

	// 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 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`.
	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 */

	// Last poke is the time when the pu got last poked.
	LastPokeTime *time.Time `json:"-" msgpack:"-" bson:"lastpoketime,omitempty" mapstructure:"-,omitempty"`

	// 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:"tracing,omitempty" mapstructure:"tracing,omitempty"`

	// Type of processing unit: `APIGateway`, `Docker`, `Host`, `HostService`,
	// `LinuxService`,
	// `RKT`, `User`, or `SSHSession`.
	Type *ProcessingUnitTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// The Aporeto control plane sets this value to `true` if it hasn't heard from the
	// processing
	// unit for more than 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseProcessingUnit) GetArchived

func (o *SparseProcessingUnit) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*SparseProcessingUnit) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseProcessingUnit) GetCreateIdempotencyKey

func (o *SparseProcessingUnit) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseProcessingUnit) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseProcessingUnit) GetDescription

func (o *SparseProcessingUnit) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseProcessingUnit) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseProcessingUnit) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseProcessingUnit) GetName

func (o *SparseProcessingUnit) GetName() string

GetName returns the Name of the receiver.

func (*SparseProcessingUnit) GetNamespace

func (o *SparseProcessingUnit) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseProcessingUnit) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseProcessingUnit) GetProtected

func (o *SparseProcessingUnit) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseProcessingUnit) GetUpdateIdempotencyKey

func (o *SparseProcessingUnit) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseProcessingUnit) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseProcessingUnit) GetZHash

func (o *SparseProcessingUnit) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseProcessingUnit) GetZone

func (o *SparseProcessingUnit) GetZone() 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) 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.
	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"`

	// 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"`

	// A tag or tag expression identifying the processing unit(s) to which the
	// isolation profile should be mapped.
	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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseProcessingUnitPolicy) GetActiveSchedule

func (o *SparseProcessingUnitPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseProcessingUnitPolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseProcessingUnitPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseProcessingUnitPolicy) GetCreateIdempotencyKey

func (o *SparseProcessingUnitPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseProcessingUnitPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseProcessingUnitPolicy) GetDescription

func (o *SparseProcessingUnitPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseProcessingUnitPolicy) GetDisabled

func (o *SparseProcessingUnitPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseProcessingUnitPolicy) GetFallback

func (o *SparseProcessingUnitPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseProcessingUnitPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseProcessingUnitPolicy) GetName

func (o *SparseProcessingUnitPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseProcessingUnitPolicy) GetNamespace

func (o *SparseProcessingUnitPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseProcessingUnitPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseProcessingUnitPolicy) GetPropagate

func (o *SparseProcessingUnitPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseProcessingUnitPolicy) GetProtected

func (o *SparseProcessingUnitPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseProcessingUnitPolicy) GetUpdateIdempotencyKey

func (o *SparseProcessingUnitPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseProcessingUnitPolicy) GetUpdateTime

func (o *SparseProcessingUnitPolicy) GetUpdateTime() 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) 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 original ID of the processing unit.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"id,omitempty" mapstructure:"ID,omitempty"`

	// Contains the original namespace of the processing unit.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	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) 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) 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) 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) 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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseQuotaPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseQuotaPolicy) GetCreateIdempotencyKey

func (o *SparseQuotaPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseQuotaPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseQuotaPolicy) GetDescription

func (o *SparseQuotaPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseQuotaPolicy) GetDisabled

func (o *SparseQuotaPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseQuotaPolicy) GetExpirationTime

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseQuotaPolicy) GetFallback

func (o *SparseQuotaPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseQuotaPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseQuotaPolicy) GetName

func (o *SparseQuotaPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseQuotaPolicy) GetNamespace

func (o *SparseQuotaPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseQuotaPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseQuotaPolicy) GetPropagate

func (o *SparseQuotaPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseQuotaPolicy) GetPropagationHidden

func (o *SparseQuotaPolicy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*SparseQuotaPolicy) GetProtected

func (o *SparseQuotaPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseQuotaPolicy) GetUpdateIdempotencyKey

func (o *SparseQuotaPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseQuotaPolicy) GetUpdateTime

func (o *SparseQuotaPolicy) GetUpdateTime() 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) 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:"_id" 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 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseRecipe) GetAssociatedTags added in v1.1.0

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseRecipe) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseRecipe) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseRecipe) GetCreateTime added in v1.1.0

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseRecipe) GetDescription added in v1.1.0

func (o *SparseRecipe) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseRecipe) GetMetadata added in v1.1.0

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

GetMetadata returns the Metadata of the receiver.

func (*SparseRecipe) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseRecipe) GetName added in v1.1.0

func (o *SparseRecipe) GetName() string

GetName returns the Name of the receiver.

func (*SparseRecipe) GetNamespace added in v1.1.0

func (o *SparseRecipe) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseRecipe) GetNormalizedTags added in v1.1.0

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseRecipe) GetPropagate added in v1.1.0

func (o *SparseRecipe) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseRecipe) GetProtected added in v1.1.0

func (o *SparseRecipe) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseRecipe) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseRecipe) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseRecipe) GetUpdateTime added in v1.1.0

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseRecipe) GetZHash added in v1.1.0

func (o *SparseRecipe) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseRecipe) GetZone added in v1.1.0

func (o *SparseRecipe) GetZone() 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) 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) 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) 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) 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) 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 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 tags that matched the policies and their hashes.
	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"`

	// 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"`

	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) 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) 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) 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) 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 SparseRevocation

type SparseRevocation struct {
	// ID contains the ID of the revocation.
	ID *string `json:"-" msgpack:"-" bson:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseRevocation) GetZHash added in v1.1.0

func (o *SparseRevocation) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseRevocation) GetZone added in v1.1.0

func (o *SparseRevocation) GetZone() 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) 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"`

	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) 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) 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:"_id" 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseSAMLProvider) GetAssociatedTags added in v1.49.0

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseSAMLProvider) GetCreateIdempotencyKey added in v1.49.0

func (o *SparseSAMLProvider) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseSAMLProvider) GetCreateTime added in v1.49.0

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseSAMLProvider) GetMigrationsLog added in v1.49.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseSAMLProvider) GetName added in v1.49.0

func (o *SparseSAMLProvider) GetName() string

GetName returns the Name of the receiver.

func (*SparseSAMLProvider) GetNamespace added in v1.49.0

func (o *SparseSAMLProvider) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseSAMLProvider) GetNormalizedTags added in v1.49.0

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseSAMLProvider) GetProtected added in v1.49.0

func (o *SparseSAMLProvider) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseSAMLProvider) GetUpdateIdempotencyKey added in v1.49.0

func (o *SparseSAMLProvider) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseSAMLProvider) GetUpdateTime added in v1.49.0

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseSAMLProvider) GetZHash added in v1.49.0

func (o *SparseSAMLProvider) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseSAMLProvider) GetZone added in v1.49.0

func (o *SparseSAMLProvider) GetZone() 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) 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) 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:"_id" 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) 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) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseSSHAuthority) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseSSHAuthority) GetName

func (o *SparseSSHAuthority) GetName() string

GetName returns the Name of the receiver.

func (*SparseSSHAuthority) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseSSHAuthority) GetZHash added in v1.1.0

func (o *SparseSSHAuthority) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseSSHAuthority) GetZone added in v1.1.0

func (o *SparseSSHAuthority) GetZone() 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) 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 the Aporeto enforcer, you must provide the name of the Linux user.
	// Otherwise, Aporeto 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"`

	// 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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseSSHAuthorizationPolicy) GetActiveSchedule

func (o *SparseSSHAuthorizationPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseSSHAuthorizationPolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseSSHAuthorizationPolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseSSHAuthorizationPolicy) GetCreateIdempotencyKey

func (o *SparseSSHAuthorizationPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseSSHAuthorizationPolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseSSHAuthorizationPolicy) GetDescription

func (o *SparseSSHAuthorizationPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseSSHAuthorizationPolicy) GetDisabled

func (o *SparseSSHAuthorizationPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseSSHAuthorizationPolicy) GetExpirationTime

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseSSHAuthorizationPolicy) GetFallback

func (o *SparseSSHAuthorizationPolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseSSHAuthorizationPolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseSSHAuthorizationPolicy) GetName

func (o *SparseSSHAuthorizationPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseSSHAuthorizationPolicy) GetNamespace

func (o *SparseSSHAuthorizationPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseSSHAuthorizationPolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseSSHAuthorizationPolicy) GetPropagate

func (o *SparseSSHAuthorizationPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseSSHAuthorizationPolicy) GetProtected

func (o *SparseSSHAuthorizationPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseSSHAuthorizationPolicy) GetUpdateIdempotencyKey

func (o *SparseSSHAuthorizationPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseSSHAuthorizationPolicy) GetUpdateTime

func (o *SparseSSHAuthorizationPolicy) GetUpdateTime() 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) 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) 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) 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"`

	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) 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) 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 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) 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) 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:"_id" 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, Aporeto'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,
	// Aporeto 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 issued from Aporeto 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 DB.
	AllAPITags *[]string `json:"-" msgpack:"-" bson:"allapitags,omitempty" mapstructure:"-,omitempty"`

	// This is a set of all selector tags for matching in the DB.
	AllServiceTags *[]string `json:"-" msgpack:"-" bson:"allservicetags,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 Aporeto'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 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"`

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

	// 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
	// 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
	// reasons
	// of 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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) 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) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseService) GetArchived

func (o *SparseService) GetArchived() bool

GetArchived returns the Archived of the receiver.

func (*SparseService) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseService) GetCreateIdempotencyKey

func (o *SparseService) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseService) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseService) GetDescription

func (o *SparseService) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseService) GetDisabled

func (o *SparseService) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseService) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseService) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseService) GetName

func (o *SparseService) GetName() string

GetName returns the Name of the receiver.

func (*SparseService) GetNamespace

func (o *SparseService) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseService) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseService) GetProtected

func (o *SparseService) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseService) GetUpdateIdempotencyKey

func (o *SparseService) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseService) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseService) GetZHash

func (o *SparseService) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseService) GetZone

func (o *SparseService) GetZone() 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) 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) 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 SparseServiceDependenciesList

type SparseServiceDependenciesList []*SparseServiceDependency

SparseServiceDependenciesList represents a list of SparseServiceDependencies

func (SparseServiceDependenciesList) Append

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

func (SparseServiceDependenciesList) Copy

Copy returns a pointer to a copy the SparseServiceDependenciesList.

func (SparseServiceDependenciesList) DefaultOrder

func (o SparseServiceDependenciesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseServiceDependenciesList) Identity

Identity returns the identity of the objects in the list.

func (SparseServiceDependenciesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseServiceDependenciesList) ToPlain

ToPlain returns the SparseServiceDependenciesList converted to ServiceDependenciesList.

func (SparseServiceDependenciesList) Version

func (o SparseServiceDependenciesList) Version() int

Version returns the version of the content.

type SparseServiceDependency

type SparseServiceDependency 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"`
}

SparseServiceDependency represents the sparse version of a servicedependency.

func NewSparseServiceDependency

func NewSparseServiceDependency() *SparseServiceDependency

NewSparseServiceDependency returns a new SparseServiceDependency.

func (*SparseServiceDependency) DeepCopy

DeepCopy returns a deep copy if the SparseServiceDependency.

func (*SparseServiceDependency) DeepCopyInto

func (o *SparseServiceDependency) DeepCopyInto(out *SparseServiceDependency)

DeepCopyInto copies the receiver into the given *SparseServiceDependency.

func (*SparseServiceDependency) GetActiveDuration

func (o *SparseServiceDependency) GetActiveDuration() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseServiceDependency) GetActiveSchedule

func (o *SparseServiceDependency) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseServiceDependency) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseServiceDependency) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseServiceDependency) GetCreateIdempotencyKey

func (o *SparseServiceDependency) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseServiceDependency) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseServiceDependency) GetDescription

func (o *SparseServiceDependency) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseServiceDependency) GetDisabled

func (o *SparseServiceDependency) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseServiceDependency) GetFallback

func (o *SparseServiceDependency) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseServiceDependency) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseServiceDependency) GetName

func (o *SparseServiceDependency) GetName() string

GetName returns the Name of the receiver.

func (*SparseServiceDependency) GetNamespace

func (o *SparseServiceDependency) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseServiceDependency) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseServiceDependency) GetPropagate

func (o *SparseServiceDependency) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseServiceDependency) GetProtected

func (o *SparseServiceDependency) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseServiceDependency) GetUpdateIdempotencyKey

func (o *SparseServiceDependency) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseServiceDependency) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseServiceDependency) Identifier

func (o *SparseServiceDependency) Identifier() string

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

func (*SparseServiceDependency) Identity

Identity returns the Identity of the sparse object.

func (*SparseServiceDependency) SetActiveDuration

func (o *SparseServiceDependency) SetActiveDuration(activeDuration string)

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

func (*SparseServiceDependency) SetActiveSchedule

func (o *SparseServiceDependency) SetActiveSchedule(activeSchedule string)

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

func (*SparseServiceDependency) SetAnnotations

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

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

func (*SparseServiceDependency) SetAssociatedTags

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

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

func (*SparseServiceDependency) SetCreateIdempotencyKey

func (o *SparseServiceDependency) SetCreateIdempotencyKey(createIdempotencyKey string)

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

func (*SparseServiceDependency) SetCreateTime

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

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

func (*SparseServiceDependency) SetDescription

func (o *SparseServiceDependency) SetDescription(description string)

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

func (*SparseServiceDependency) SetDisabled

func (o *SparseServiceDependency) SetDisabled(disabled bool)

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

func (*SparseServiceDependency) SetFallback

func (o *SparseServiceDependency) SetFallback(fallback bool)

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

func (*SparseServiceDependency) SetIdentifier

func (o *SparseServiceDependency) SetIdentifier(id string)

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

func (*SparseServiceDependency) SetMetadata

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

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

func (*SparseServiceDependency) SetName

func (o *SparseServiceDependency) SetName(name string)

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

func (*SparseServiceDependency) SetNamespace

func (o *SparseServiceDependency) SetNamespace(namespace string)

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

func (*SparseServiceDependency) SetNormalizedTags

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

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

func (*SparseServiceDependency) SetPropagate

func (o *SparseServiceDependency) SetPropagate(propagate bool)

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

func (*SparseServiceDependency) SetProtected

func (o *SparseServiceDependency) SetProtected(protected bool)

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

func (*SparseServiceDependency) SetUpdateIdempotencyKey

func (o *SparseServiceDependency) SetUpdateIdempotencyKey(updateIdempotencyKey string)

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

func (*SparseServiceDependency) SetUpdateTime

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

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

func (*SparseServiceDependency) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseServiceDependency) Version

func (o *SparseServiceDependency) Version() int

Version returns the hardcoded version of the model.

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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 SparseTabulation

type SparseTabulation struct {
	// Contains the requests headers that matched.
	Headers *[]string `json:"headers,omitempty" msgpack:"headers,omitempty" bson:"-" mapstructure:"headers,omitempty"`

	// Contains the tabulated data.
	Rows *[][]interface{} `json:"rows,omitempty" msgpack:"rows,omitempty" bson:"-" mapstructure:"rows,omitempty"`

	// Contains the requested target identity.
	TargetIdentity *string `json:"targetIdentity,omitempty" msgpack:"targetIdentity,omitempty" bson:"-" mapstructure:"targetIdentity,omitempty"`

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

SparseTabulation represents the sparse version of a tabulation.

func NewSparseTabulation

func NewSparseTabulation() *SparseTabulation

NewSparseTabulation returns a new SparseTabulation.

func (*SparseTabulation) DeepCopy

func (o *SparseTabulation) DeepCopy() *SparseTabulation

DeepCopy returns a deep copy if the SparseTabulation.

func (*SparseTabulation) DeepCopyInto

func (o *SparseTabulation) DeepCopyInto(out *SparseTabulation)

DeepCopyInto copies the receiver into the given *SparseTabulation.

func (*SparseTabulation) Identifier

func (o *SparseTabulation) Identifier() string

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

func (*SparseTabulation) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseTabulation) SetIdentifier

func (o *SparseTabulation) SetIdentifier(id string)

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

func (*SparseTabulation) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseTabulation) Version

func (o *SparseTabulation) Version() int

Version returns the hardcoded version of the model.

type SparseTabulationsList

type SparseTabulationsList []*SparseTabulation

SparseTabulationsList represents a list of SparseTabulations

func (SparseTabulationsList) Append

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

func (SparseTabulationsList) Copy

Copy returns a pointer to a copy the SparseTabulationsList.

func (SparseTabulationsList) DefaultOrder

func (o SparseTabulationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseTabulationsList) Identity

Identity returns the identity of the objects in the list.

func (SparseTabulationsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseTabulationsList) ToPlain

ToPlain returns the SparseTabulationsList converted to TabulationsList.

func (SparseTabulationsList) Version

func (o SparseTabulationsList) Version() int

Version returns the version of the content.

type SparseTag

type SparseTag struct {
	// Identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" 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) GetNamespace added in v1.1.0

func (o *SparseTag) GetNamespace() 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) 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) 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) 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 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) 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) 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 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) 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) 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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseTokenScopePolicy) GetActiveSchedule

func (o *SparseTokenScopePolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseTokenScopePolicy) GetAnnotations

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseTokenScopePolicy) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseTokenScopePolicy) GetCreateIdempotencyKey

func (o *SparseTokenScopePolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseTokenScopePolicy) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseTokenScopePolicy) GetDescription

func (o *SparseTokenScopePolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseTokenScopePolicy) GetDisabled

func (o *SparseTokenScopePolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseTokenScopePolicy) GetExpirationTime

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseTokenScopePolicy) GetFallback

func (o *SparseTokenScopePolicy) GetFallback() bool

GetFallback returns the Fallback of the receiver.

func (*SparseTokenScopePolicy) GetMetadata

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

GetMetadata returns the Metadata of the receiver.

func (*SparseTokenScopePolicy) GetName

func (o *SparseTokenScopePolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseTokenScopePolicy) GetNamespace

func (o *SparseTokenScopePolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseTokenScopePolicy) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseTokenScopePolicy) GetPropagate

func (o *SparseTokenScopePolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseTokenScopePolicy) GetProtected

func (o *SparseTokenScopePolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseTokenScopePolicy) GetUpdateIdempotencyKey

func (o *SparseTokenScopePolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseTokenScopePolicy) GetUpdateTime

func (o *SparseTokenScopePolicy) GetUpdateTime() 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) 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) 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) 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"`

	// 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) 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) 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 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() string

GetActiveDuration returns the ActiveDuration of the receiver.

func (*SparseUserAccessPolicy) GetActiveSchedule added in v1.1.0

func (o *SparseUserAccessPolicy) GetActiveSchedule() string

GetActiveSchedule returns the ActiveSchedule of the receiver.

func (*SparseUserAccessPolicy) GetAnnotations added in v1.1.0

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

GetAnnotations returns the Annotations of the receiver.

func (*SparseUserAccessPolicy) GetAssociatedTags added in v1.1.0

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseUserAccessPolicy) GetCreateIdempotencyKey added in v1.1.0

func (o *SparseUserAccessPolicy) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseUserAccessPolicy) GetCreateTime added in v1.1.0

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseUserAccessPolicy) GetDescription added in v1.1.0

func (o *SparseUserAccessPolicy) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseUserAccessPolicy) GetDisabled added in v1.1.0

func (o *SparseUserAccessPolicy) GetDisabled() bool

GetDisabled returns the Disabled of the receiver.

func (*SparseUserAccessPolicy) GetExpirationTime added in v1.1.0

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

GetExpirationTime returns the ExpirationTime of the receiver.

func (*SparseUserAccessPolicy) GetMetadata added in v1.1.0

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

GetMetadata returns the Metadata of the receiver.

func (*SparseUserAccessPolicy) GetName added in v1.1.0

func (o *SparseUserAccessPolicy) GetName() string

GetName returns the Name of the receiver.

func (*SparseUserAccessPolicy) GetNamespace added in v1.1.0

func (o *SparseUserAccessPolicy) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseUserAccessPolicy) GetNormalizedTags added in v1.1.0

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseUserAccessPolicy) GetPropagate added in v1.1.0

func (o *SparseUserAccessPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*SparseUserAccessPolicy) GetProtected added in v1.1.0

func (o *SparseUserAccessPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseUserAccessPolicy) GetUpdateIdempotencyKey added in v1.1.0

func (o *SparseUserAccessPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseUserAccessPolicy) GetUpdateTime added in v1.1.0

func (o *SparseUserAccessPolicy) GetUpdateTime() 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) 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 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) 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) 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:"_id" 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 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 */

	// 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone *int `json:"zone,omitempty" msgpack:"zone,omitempty" bson:"zone,omitempty" mapstructure:"zone,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() map[string][]string

GetAnnotations returns the Annotations of the receiver.

func (*SparseVulnerability) GetAssociatedTags

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

GetAssociatedTags returns the AssociatedTags of the receiver.

func (*SparseVulnerability) GetCreateIdempotencyKey

func (o *SparseVulnerability) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*SparseVulnerability) GetCreateTime

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseVulnerability) GetDescription

func (o *SparseVulnerability) GetDescription() string

GetDescription returns the Description of the receiver.

func (*SparseVulnerability) GetMigrationsLog added in v1.30.0

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

GetMigrationsLog returns the MigrationsLog of the receiver.

func (*SparseVulnerability) GetName

func (o *SparseVulnerability) GetName() string

GetName returns the Name of the receiver.

func (*SparseVulnerability) GetNamespace

func (o *SparseVulnerability) GetNamespace() string

GetNamespace returns the Namespace of the receiver.

func (*SparseVulnerability) GetNormalizedTags

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

GetNormalizedTags returns the NormalizedTags of the receiver.

func (*SparseVulnerability) GetProtected

func (o *SparseVulnerability) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*SparseVulnerability) GetUpdateIdempotencyKey

func (o *SparseVulnerability) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*SparseVulnerability) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*SparseVulnerability) GetZHash

func (o *SparseVulnerability) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseVulnerability) GetZone

func (o *SparseVulnerability) GetZone() 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) SetCreateIdempotencyKey

func (o *SparseVulnerability) SetCreateIdempotencyKey(createIdempotencyKey string)

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

func (*SparseVulnerability) SetCreateTime

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

SetCreateTime sets the property CreateTime 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) 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) SetUpdateTime

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

SetUpdateTime sets the property UpdateTime 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 {
	// CSR contains the Certificate Signing Request 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 is a list of extensions that can be added as SAN extensions to the
	// certificate.
	Extensions *[]string `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"`

	// 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) 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) 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) 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) 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) 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) 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) 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) 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"

	// StatsInfoMeasurementCounters represents the value Counters.
	StatsInfoMeasurementCounters StatsInfoMeasurementValue = "Counters"

	// 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"
)

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) 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) 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"

	// StatsQueryMeasurementCounters represents the value Counters.
	StatsQueryMeasurementCounters StatsQueryMeasurementValue = "Counters"

	// 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"
)

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) 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) 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 Tabulation

type Tabulation struct {
	// Contains the requests headers that matched.
	Headers []string `json:"headers" msgpack:"headers" bson:"-" mapstructure:"headers,omitempty"`

	// Contains the tabulated data.
	Rows [][]interface{} `json:"rows" msgpack:"rows" bson:"-" mapstructure:"rows,omitempty"`

	// Contains the requested target identity.
	TargetIdentity string `json:"targetIdentity" msgpack:"targetIdentity" bson:"-" mapstructure:"targetIdentity,omitempty"`

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

Tabulation represents the model of a tabulation

func NewTabulation

func NewTabulation() *Tabulation

NewTabulation returns a new *Tabulation

func (*Tabulation) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Tabulation) BleveType added in v1.1.0

func (o *Tabulation) BleveType() string

BleveType implements the bleve.Classifier Interface.

func (*Tabulation) DeepCopy

func (o *Tabulation) DeepCopy() *Tabulation

DeepCopy returns a deep copy if the Tabulation.

func (*Tabulation) DeepCopyInto

func (o *Tabulation) DeepCopyInto(out *Tabulation)

DeepCopyInto copies the receiver into the given *Tabulation.

func (*Tabulation) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*Tabulation) Doc

func (o *Tabulation) Doc() string

Doc returns the documentation for the object

func (*Tabulation) Identifier

func (o *Tabulation) Identifier() string

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

func (*Tabulation) Identity

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

Identity returns the Identity of the object.

func (*Tabulation) Patch

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

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

func (*Tabulation) SetIdentifier

func (o *Tabulation) SetIdentifier(id string)

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

func (*Tabulation) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Tabulation) String

func (o *Tabulation) String() string

func (*Tabulation) ToSparse

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

func (o *Tabulation) Validate() error

Validate valides the current information stored into the structure.

func (*Tabulation) ValueForAttribute

func (o *Tabulation) 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 (*Tabulation) Version

func (o *Tabulation) Version() int

Version returns the hardcoded version of the model.

type TabulationsList

type TabulationsList []*Tabulation

TabulationsList represents a list of Tabulations

func (TabulationsList) Append

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

func (TabulationsList) Copy

Copy returns a pointer to a copy the TabulationsList.

func (TabulationsList) DefaultOrder

func (o TabulationsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (TabulationsList) Identity

func (o TabulationsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (TabulationsList) List

List converts the object to an elemental.IdentifiablesList.

func (TabulationsList) ToSparse

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

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

func (TabulationsList) Version

func (o TabulationsList) Version() int

Version returns the version of the content.

type Tag

type Tag struct {
	// Identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" 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) 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) 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) 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) 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 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) 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) 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 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) 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) 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) 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) 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) 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) 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) 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) 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) 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) 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"`

	// SerialNumber is the serial number of the certificate.
	Serialnumber string `json:"serialnumber" msgpack:"serialnumber" 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) 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) 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 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 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 */

	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) 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"

	// UIParameterTypeDuration represents the value Duration.
	UIParameterTypeDuration UIParameterTypeValue = "Duration"

	// UIParameterTypeEnum represents the value Enum.
	UIParameterTypeEnum UIParameterTypeValue = "Enum"

	// UIParameterTypeFloat represents the value Float.
	UIParameterTypeFloat UIParameterTypeValue = "Float"

	// UIParameterTypeFloatSlice represents the value FloatSlice.
	UIParameterTypeFloatSlice UIParameterTypeValue = "FloatSlice"

	// UIParameterTypeInteger represents the value Integer.
	UIParameterTypeInteger UIParameterTypeValue = "Integer"

	// UIParameterTypeIntegerSlice represents the value IntegerSlice.
	UIParameterTypeIntegerSlice UIParameterTypeValue = "IntegerSlice"

	// UIParameterTypeJSON represents the value JSON.
	UIParameterTypeJSON UIParameterTypeValue = "JSON"

	// UIParameterTypePassword represents the value Password.
	UIParameterTypePassword UIParameterTypeValue = "Password"

	// UIParameterTypeString represents the value String.
	UIParameterTypeString UIParameterTypeValue = "String"

	// UIParameterTypeStringSlice represents the value StringSlice.
	UIParameterTypeStringSlice UIParameterTypeValue = "StringSlice"

	// UIParameterTypeTagsExpression represents the value TagsExpression.
	UIParameterTypeTagsExpression UIParameterTypeValue = "TagsExpression"
)

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) 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"

	// UIParameterVisibilityOperatorNotEqual represents the value NotEqual.
	UIParameterVisibilityOperatorNotEqual UIParameterVisibilityOperatorValue = "NotEqual"

	// 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) 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) 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) 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 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) 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) 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:"_id" 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 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" 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"`

	// 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"`

	// 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"`

	// Geographical zone. Used for sharding and georedundancy.
	Zone int `json:"zone" msgpack:"zone" bson:"zone" mapstructure:"zone,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) GetCreateIdempotencyKey

func (o *Vulnerability) GetCreateIdempotencyKey() string

GetCreateIdempotencyKey returns the CreateIdempotencyKey of the receiver.

func (*Vulnerability) GetCreateTime

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

GetCreateTime returns the CreateTime 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) 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) GetUpdateTime

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

GetUpdateTime returns the UpdateTime 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) SetCreateIdempotencyKey

func (o *Vulnerability) SetCreateIdempotencyKey(createIdempotencyKey string)

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

func (*Vulnerability) SetCreateTime

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

SetCreateTime sets the property CreateTime 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) 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) SetUpdateTime

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

SetUpdateTime sets the property UpdateTime 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 {
	// CSR contains the Certificate Signing Request 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 is a list of extensions that can be added as SAN extensions to the
	// certificate.
	Extensions []string `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"`

	// 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) 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) 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) 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) 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 (
	// 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