gaia

package module
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: Apache-2.0 Imports: 18 Imported by: 0

README

Gaia

codecov

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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:    `AuthorizedIdentities defines the list of api identities the policy applies to.`,
		Exposed:        true,
		Name:           "authorizedIdentities",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"AuthorizedNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizedNamespace",
		Description:    `AuthorizedNamespace defines on what namespace the policy applies.`,
		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 is the 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:    `Disabled defines if the propert 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 auto 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: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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 is the subject.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

APIAuthorizationPolicyAttributesMap represents the map of attribute for APIAuthorizationPolicy.

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

APIAuthorizationPolicyIdentity represents the Identity of the object.

View Source
var APIAuthorizationPolicyLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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:    `AuthorizedIdentities defines the list of api identities the policy applies to.`,
		Exposed:        true,
		Name:           "authorizedIdentities",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"authorizednamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuthorizedNamespace",
		Description:    `AuthorizedNamespace defines on what namespace the policy applies.`,
		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 is the 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:    `Disabled defines if the propert 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 auto 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: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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 is the subject.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `Authorized contains the results of the check.`,
		Exposed:        true,
		Name:           "authorized",
		ReadOnly:       true,
		SubType:        "map[string]bool",
		Type:           "external",
	},
	"Claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `Claims contains the decoded claims used.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace is the namespace to use to check the api authentication.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"Operation": elemental.AttributeSpecification{
		AllowedChoices: []string{"Create", "Delete", "Info", "Patch", "Retrieve", "RetrieveMany", "Update"},
		ConvertedName:  "Operation",
		Description:    `Operation is 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: `TargetIdentities contains the list of identities you want to check the
authorization.`,
		Exposed:  true,
		Name:     "targetIdentities",
		Required: true,
		SubType:  "string",
		Type:     "list",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `Token is the token to use to check api authentication.`,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Type:           "string",
	},
}

APICheckAttributesMap represents the map of attribute for APICheck.

View Source
var APICheckIdentity = elemental.Identity{
	Name:     "apicheck",
	Category: "apichecks",
	Package:  "squall",
	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:    `Authorized contains the results of the check.`,
		Exposed:        true,
		Name:           "authorized",
		ReadOnly:       true,
		SubType:        "map[string]bool",
		Type:           "external",
	},
	"claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Claims",
		Description:    `Claims contains the decoded claims used.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "string",
		Type:           "list",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace is the namespace to use to check the api authentication.`,
		Exposed:        true,
		Name:           "namespace",
		Required:       true,
		Type:           "string",
	},
	"operation": elemental.AttributeSpecification{
		AllowedChoices: []string{"Create", "Delete", "Info", "Patch", "Retrieve", "RetrieveMany", "Update"},
		ConvertedName:  "Operation",
		Description:    `Operation is 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: `TargetIdentities contains the list of identities you want to check the
authorization.`,
		Exposed:  true,
		Name:     "targetIdentities",
		Required: true,
		SubType:  "string",
		Type:     "list",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `Token is the token to use to check api authentication.`,
		Exposed:        true,
		Name:           "token",
		Required:       true,
		Type:           "string",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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: `Metadata contains tags that can only be set during creation. They 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",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       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:    `NormalizedTags 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:    `Protected 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",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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: `Metadata contains tags that can only be set during creation. They 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",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       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:    `NormalizedTags 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:    `Protected 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",
	},
}

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:    `ID is the 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: `AccessKeyID contains the aws access key ID. This is used to retrieve your
account id, and it is not stored.`,
		Exposed:  true,
		Name:     "accessKeyID",
		Required: true,
		Type:     "string",
	},
	"AccessToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccessToken",
		CreationOnly:   true,
		Description: `AccessToken contains your aws access token. It is used to retrieve your account
id, and it not stored.`,
		Exposed: true,
		Name:    "accessToken",
		Type:    "string",
	},
	"AccountID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AccountID",
		Description:    `accountID contains your verified accound 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",
	},
	"ParentID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `ParentID 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:    `ParentName 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:    `Region 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: `secretAccessKey contains the secret key. It is used to retrieve your account id,
and it is not stored.`,
		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",
	},
}

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:    `ID is the 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: `AccessKeyID contains the aws access key ID. This is used to retrieve your
account id, and it is not stored.`,
		Exposed:  true,
		Name:     "accessKeyID",
		Required: true,
		Type:     "string",
	},
	"accesstoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccessToken",
		CreationOnly:   true,
		Description: `AccessToken contains your aws access token. It is used to retrieve your account
id, and it not stored.`,
		Exposed: true,
		Name:    "accessToken",
		Type:    "string",
	},
	"accountid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AccountID",
		Description:    `accountID contains your verified accound 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",
	},
	"parentid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `ParentID 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:    `ParentName 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:    `Region 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: `secretAccessKey contains the secret key. It is used to retrieve your account id,
and it is not stored.`,
		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",
	},
}

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:    `ID is the 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:    `ID is the 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 AccountAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"LDAPAddress": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPAddress",
		Description:    `LDAPAddress holds the account authentication account's private ldap server.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPAddress",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"LDAPBaseDN": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPBaseDN",
		Description:    `LDAPBaseDN holds the base DN to use to ldap queries.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPBaseDN",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"LDAPBindDN": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPBindDN",
		Description:    `LDAPBindDN holds the account's internal LDAP bind dn for querying auth.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPBindDN",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"LDAPBindPassword": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPBindPassword",
		Description:    `LDAPBindPassword holds the password to the LDAPBindDN.`,
		Exposed:        true,
		Name:           "LDAPBindPassword",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"LDAPBindSearchFilter": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPBindSearchFilter",
		DefaultValue:   "uid={USERNAME}",
		Description: `LDAPBindSearchFilter holds filter to be used to uniquely search a user. For
Windows based systems, value may be ` + "`" + `sAMAccountName={USERNAME}` + "`" + `. For Linux and
other systems, value may be ` + "`" + `uid={USERNAME}` + "`" + `.`,
		Exposed:   true,
		Name:      "LDAPBindSearchFilter",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"LDAPCertificateAuthority": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPCertificateAuthority",
		Description: `LDAPCertificateAuthority contains the optional certificate author ity that will
be used to connect to the LDAP server. It is not needed if the TLS certificate
of the LDAP is issued from a public truster CA.`,
		Exposed:   true,
		Name:      "LDAPCertificateAuthority",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"LDAPConnSecurityProtocol": elemental.AttributeSpecification{
		AllowedChoices: []string{"TLS", "InbandTLS"},
		ConvertedName:  "LDAPConnSecurityProtocol",
		DefaultValue:   AccountLDAPConnSecurityProtocolInbandTLS,
		Description:    `LDAPConnProtocol holds the connection type for the LDAP provider.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPConnSecurityProtocol",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"LDAPEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPEnabled",
		Description:    `LDAPEnabled triggers if the account uses it's own LDAP for authentication.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPEnabled",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"LDAPIgnoredKeys": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPIgnoredKeys",
		Description: `LDAPIgnoredKeys holds a list of keys that must not be imported into Aporeto
authorization system.`,
		Exposed:   true,
		Name:      "LDAPIgnoredKeys",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"LDAPSubjectKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPSubjectKey",
		DefaultValue:   "uid",
		Description: `LDAPSubjectKey holds key to be used to populate the subject. If you want to
use the user as a subject, for Windows based systems you may use
'sAMAccountName' and for Linux and other systems, value may be 'uid'. You can
also use any alternate key.`,
		Exposed:   true,
		Name:      "LDAPSubjectKey",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"OTPEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTPEnabled",
		Description:    `Set to 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 QRCode for setting up 2 factor auth.`,
		Exposed:        true,
		Name:           "OTPQRCode",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"OTPSecret": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTPSecret",
		Description:    `Stores the 2 factor secret.`,
		Name:           "OTPSecret",
		Stored:         true,
		Type:           "string",
	},
	"AccessEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccessEnabled",
		Description:    `AccessEnabled defines if the account holder should have access to the systems.`,
		Exposed:        true,
		Name:           "accessEnabled",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"ActivationExpiration": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ActivationExpiration",
		Description:    `ActivationExpiration contains the expiration date of the activation token.`,
		Name:           "activationExpiration",
		Stored:         true,
		Type:           "time",
	},
	"ActivationToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ActivationToken",
		Description:    `ActivationToken contains the activation token.`,
		Exposed:        true,
		Name:           "activationToken",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedAPIAuthPolicyID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedAPIAuthPolicyID",
		Description:    `AssociatedAPIAuthPolicyID holds the ID of the associated API auth policy.`,
		Name:           "associatedAPIAuthPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedAWSPolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedAWSPolicies",
		Description:    `AssociatedAWSPolicies contains a map of associated AWS Enforcerd Policies.`,
		Name:           "associatedAWSPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"AssociatedBillingID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedBillingID",
		Description:    `associatedBillingID holds the ID of the associated billing customer.`,
		Exposed:        true,
		Name:           "associatedBillingID",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedNamespaceID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedNamespaceID",
		Description:    `AssociatedNamespaceID contains the ID of the associated namespace.`,
		Name:           "associatedNamespaceID",
		Stored:         true,
		Type:           "string",
	},
	"AssociatedPlanKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AssociatedPlanKey",
		DefaultValue:   "aporeto.plan.free",
		Description:    `AssociatedPlanKey contains the plan key that is associated to this account.`,
		Exposed:        true,
		Name:           "associatedPlanKey",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AssociatedQuotaPolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedQuotaPolicies",
		Description:    `AssociatedQuotaPolicies contains a mapping to the associated quota pollicies.`,
		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",
	},
	"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",
	},
	"Password": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `Password for the account.`,
		Exposed:        true,
		Name:           "password",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"ReCAPTCHAKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ReCAPTCHAKey",
		CreationOnly:   true,
		Description:    `ReCAPTCHAKey contains the capcha validation if reCAPTCH is enabled.`,
		Exposed:        true,
		Name:           "reCAPTCHAKey",
		Type:           "string",
	},
	"ResetPasswordExpiration": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResetPasswordExpiration",
		Description:    `ResetPasswordExpiration contains the expiration time for reseting the password.`,
		Name:           "resetPasswordExpiration",
		Stored:         true,
		Type:           "time",
	},
	"ResetPasswordToken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResetPasswordToken",
		Description:    `ResetPasswordToken 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",
	},
}

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:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"ldapaddress": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPAddress",
		Description:    `LDAPAddress holds the account authentication account's private ldap server.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPAddress",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"ldapbasedn": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPBaseDN",
		Description:    `LDAPBaseDN holds the base DN to use to ldap queries.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPBaseDN",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"ldapbinddn": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPBindDN",
		Description:    `LDAPBindDN holds the account's internal LDAP bind dn for querying auth.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPBindDN",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"ldapbindpassword": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPBindPassword",
		Description:    `LDAPBindPassword holds the password to the LDAPBindDN.`,
		Exposed:        true,
		Name:           "LDAPBindPassword",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"ldapbindsearchfilter": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPBindSearchFilter",
		DefaultValue:   "uid={USERNAME}",
		Description: `LDAPBindSearchFilter holds filter to be used to uniquely search a user. For
Windows based systems, value may be ` + "`" + `sAMAccountName={USERNAME}` + "`" + `. For Linux and
other systems, value may be ` + "`" + `uid={USERNAME}` + "`" + `.`,
		Exposed:   true,
		Name:      "LDAPBindSearchFilter",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"ldapcertificateauthority": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPCertificateAuthority",
		Description: `LDAPCertificateAuthority contains the optional certificate author ity that will
be used to connect to the LDAP server. It is not needed if the TLS certificate
of the LDAP is issued from a public truster CA.`,
		Exposed:   true,
		Name:      "LDAPCertificateAuthority",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"ldapconnsecurityprotocol": elemental.AttributeSpecification{
		AllowedChoices: []string{"TLS", "InbandTLS"},
		ConvertedName:  "LDAPConnSecurityProtocol",
		DefaultValue:   AccountLDAPConnSecurityProtocolInbandTLS,
		Description:    `LDAPConnProtocol holds the connection type for the LDAP provider.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPConnSecurityProtocol",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"ldapenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPEnabled",
		Description:    `LDAPEnabled triggers if the account uses it's own LDAP for authentication.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "LDAPEnabled",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"ldapignoredkeys": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPIgnoredKeys",
		Description: `LDAPIgnoredKeys holds a list of keys that must not be imported into Aporeto
authorization system.`,
		Exposed:   true,
		Name:      "LDAPIgnoredKeys",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"ldapsubjectkey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LDAPSubjectKey",
		DefaultValue:   "uid",
		Description: `LDAPSubjectKey holds key to be used to populate the subject. If you want to
use the user as a subject, for Windows based systems you may use
'sAMAccountName' and for Linux and other systems, value may be 'uid'. You can
also use any alternate key.`,
		Exposed:   true,
		Name:      "LDAPSubjectKey",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"otpenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTPEnabled",
		Description:    `Set to 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 QRCode for setting up 2 factor auth.`,
		Exposed:        true,
		Name:           "OTPQRCode",
		ReadOnly:       true,
		Transient:      true,
		Type:           "string",
	},
	"otpsecret": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "OTPSecret",
		Description:    `Stores the 2 factor secret.`,
		Name:           "OTPSecret",
		Stored:         true,
		Type:           "string",
	},
	"accessenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccessEnabled",
		Description:    `AccessEnabled defines if the account holder should have access to the systems.`,
		Exposed:        true,
		Name:           "accessEnabled",
		Orderable:      true,
		Stored:         true,
		Type:           "boolean",
	},
	"activationexpiration": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ActivationExpiration",
		Description:    `ActivationExpiration contains the expiration date of the activation token.`,
		Name:           "activationExpiration",
		Stored:         true,
		Type:           "time",
	},
	"activationtoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ActivationToken",
		Description:    `ActivationToken contains the activation token.`,
		Exposed:        true,
		Name:           "activationToken",
		Stored:         true,
		Type:           "string",
	},
	"associatedapiauthpolicyid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedAPIAuthPolicyID",
		Description:    `AssociatedAPIAuthPolicyID holds the ID of the associated API auth policy.`,
		Name:           "associatedAPIAuthPolicyID",
		Stored:         true,
		Type:           "string",
	},
	"associatedawspolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedAWSPolicies",
		Description:    `AssociatedAWSPolicies contains a map of associated AWS Enforcerd Policies.`,
		Name:           "associatedAWSPolicies",
		Stored:         true,
		SubType:        "map[string]string",
		Type:           "external",
	},
	"associatedbillingid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedBillingID",
		Description:    `associatedBillingID holds the ID of the associated billing customer.`,
		Exposed:        true,
		Name:           "associatedBillingID",
		Stored:         true,
		Type:           "string",
	},
	"associatednamespaceid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedNamespaceID",
		Description:    `AssociatedNamespaceID contains the ID of the associated namespace.`,
		Name:           "associatedNamespaceID",
		Stored:         true,
		Type:           "string",
	},
	"associatedplankey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "AssociatedPlanKey",
		DefaultValue:   "aporeto.plan.free",
		Description:    `AssociatedPlanKey contains the plan key that is associated to this account.`,
		Exposed:        true,
		Name:           "associatedPlanKey",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"associatedquotapolicies": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedQuotaPolicies",
		Description:    `AssociatedQuotaPolicies contains a mapping to the associated quota pollicies.`,
		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",
	},
	"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",
	},
	"password": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Password",
		Description:    `Password for the account.`,
		Exposed:        true,
		Name:           "password",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"recaptchakey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ReCAPTCHAKey",
		CreationOnly:   true,
		Description:    `ReCAPTCHAKey contains the capcha validation if reCAPTCH is enabled.`,
		Exposed:        true,
		Name:           "reCAPTCHAKey",
		Type:           "string",
	},
	"resetpasswordexpiration": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResetPasswordExpiration",
		Description:    `ResetPasswordExpiration contains the expiration time for reseting the password.`,
		Name:           "resetPasswordExpiration",
		Stored:         true,
		Type:           "time",
	},
	"resetpasswordtoken": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ResetPasswordToken",
		Description:    `ResetPasswordToken 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",
	},
}

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:    `Token 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:    `Token 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:    `ID is the 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",
		Description:    `Data of the notification.`,
		Exposed:        true,
		Name:           "data",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"Date": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Date",
		Description:    `Date of the notification.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"Error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Error contains the eventual 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",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Namespace of the notification.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Operation": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Operation",
		Description:    `Operation describe 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",
		Description: `OriginalData contains the eventual original data of the object that has been
modified.`,
		Exposed:   true,
		Name:      "originalData",
		Orderable: true,
		ReadOnly:  true,
		Stored:    true,
		Type:      "object",
	},
	"Source": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Source",
		Description:    `Source 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:    `TargetIdentity is 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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",
		Description:    `Data of the notification.`,
		Exposed:        true,
		Name:           "data",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "object",
	},
	"date": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Date",
		Description:    `Date of the notification.`,
		Exposed:        true,
		Name:           "date",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Error contains the eventual 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",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Namespace of the notification.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "namespace",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"operation": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Operation",
		Description:    `Operation describe 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",
		Description: `OriginalData contains the eventual original data of the object that has been
modified.`,
		Exposed:   true,
		Name:      "originalData",
		Orderable: true,
		ReadOnly:  true,
		Stored:    true,
		Type:      "object",
	},
	"source": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Source",
		Description:    `Source 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:    `TargetIdentity is 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 alams.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description is the 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: `Emails is 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: `Kind identifies the kind of alarms. 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",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 time this alarm have been seen.`,
		Exposed:        true,
		Name:           "occurrences",
		Stored:         true,
		SubType:        "[]time.Time",
		Type:           "external",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 alams.`,
		Exposed:        true,
		Name:           "data",
		Stored:         true,
		SubType:        "[]map[string]string",
		Type:           "external",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description is the 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: `Emails is 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: `Kind identifies the kind of alarms. 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",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 time this alarm have been seen.`,
		Exposed:        true,
		Name:           "occurrences",
		Stored:         true,
		SubType:        "[]time.Time",
		Type:           "external",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `Beta indicates if the app is in a beta version.`,
		Exposed:        true,
		Name:           "beta",
		ReadOnly:       true,
		Type:           "boolean",
	},
	"CategoryID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CategoryID",
		Description:    `CategoryID of the app.`,
		Exposed:        true,
		Name:           "categoryID",
		ReadOnly:       true,
		Type:           "string",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description is the 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:    `Icon contains a base64 image for the app.`,
		Exposed:        true,
		Name:           "icon",
		ReadOnly:       true,
		Type:           "string",
	},
	"LatestVersion": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LatestVersion",
		Description:    `LatestVersion represents the latest version available of the app.`,
		Exposed:        true,
		Name:           "latestVersion",
		Type:           "string",
	},
	"LongDescription": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LongDescription",
		Description:    `LongDescription 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 is the 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:    `Parameters is a list of parameters available for the app.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "appparameter",
		Type:           "refList",
	},
	"Title": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Title",
		Description:    `Title represents the title of the app.`,
		Exposed:        true,
		Name:           "title",
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

AppAttributesMap represents the map of attribute for App.

View Source
var AppCredentialAttributesMap = map[string]elemental.AttributeSpecification{
	"CSR": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CSR",
		Description: `CSR contains the Certificate Signing Request as a PEM encoded string. 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 appcred

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 it 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 application.`,
		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 application.`,
		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 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 is the 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:    `Disabled defines if the propert 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 application credentials.`,
		Exposed:        true,
		Name:           "email",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 Appcred if this is a derived appcred.`,
		Exposed:        true,
		Name:           "parentIDs",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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 credentials.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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: `CSR contains the Certificate Signing Request as a PEM encoded string. 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 appcred

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 it 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 application.`,
		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 application.`,
		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 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 is the 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:    `Disabled defines if the propert 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 application credentials.`,
		Exposed:        true,
		Name:           "email",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 Appcred if this is a derived appcred.`,
		Exposed:        true,
		Name:           "parentIDs",
		ReadOnly:       true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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 credentials.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `Beta indicates if the app is in a beta version.`,
		Exposed:        true,
		Name:           "beta",
		ReadOnly:       true,
		Type:           "boolean",
	},
	"categoryid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CategoryID",
		Description:    `CategoryID of the app.`,
		Exposed:        true,
		Name:           "categoryID",
		ReadOnly:       true,
		Type:           "string",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description is the 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:    `Icon contains a base64 image for the app.`,
		Exposed:        true,
		Name:           "icon",
		ReadOnly:       true,
		Type:           "string",
	},
	"latestversion": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LatestVersion",
		Description:    `LatestVersion represents the latest version available of the app.`,
		Exposed:        true,
		Name:           "latestVersion",
		Type:           "string",
	},
	"longdescription": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LongDescription",
		Description:    `LongDescription 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 is the 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:    `Parameters is a list of parameters available for the app.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "appparameter",
		Type:           "refList",
	},
	"title": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Title",
		Description:    `Title represents the title of the app.`,
		Exposed:        true,
		Name:           "title",
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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:    `Rules is the list of audit policy rules associated with this policy.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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:    `Rules is the list of audit policy rules associated with this policy.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 is the selector of the audit profiles that must be applied
based on this policy.`,
		Exposed: true,
		Name:    "object",
		SubType: "[][]string",
		Type:    "external",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 is a selector of the enforcers that must implement the
policy.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 is the selector of the audit profiles that must be applied
based on this policy.`,
		Exposed: true,
		Name:    "object",
		SubType: "[][]string",
		Type:    "external",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 is a selector of the enforcers that must implement the
policy.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

AuditProfileMappingPolicyLowerCaseAttributesMap represents the map of attribute for AuditProfileMappingPolicy.

View Source
var AuditReportAttributesMap = map[string]elemental.AttributeSpecification{
	"AUID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AUID",
		Description:    `Needs documentation.`,
		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:    `Needs documentation.`,
		Exposed:        true,
		Name:           "EGID",
		Type:           "integer",
	},
	"EUID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EUID",
		Description:    `Needs documentation.`,
		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:    `Needs documentation.`,
		Exposed:        true,
		Name:           "FSGID",
		Type:           "integer",
	},
	"FSUID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FSUID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "FSUID",
		Type:           "integer",
	},
	"GID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "GID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "GID",
		Type:           "integer",
	},
	"PER": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PER",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "PER",
		Type:           "integer",
	},
	"PID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PID",
		Description:    `PID of the executable.`,
		Exposed:        true,
		Name:           "PID",
		Type:           "integer",
	},
	"PPID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PPID",
		Description:    `PID of the parent executable.`,
		Exposed:        true,
		Name:           "PPID",
		Type:           "integer",
	},
	"SGID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SGID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "SGID",
		Type:           "integer",
	},
	"SUID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SUID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "SUID",
		Type:           "integer",
	},
	"UID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "UID",
		Type:           "integer",
	},
	"A0": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A0",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "a0",
		Type:           "string",
	},
	"A1": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A1",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "a1",
		Type:           "string",
	},
	"A2": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A2",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "a2",
		Type:           "string",
	},
	"A3": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A3",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "a3",
		Type:           "string",
	},
	"Arch": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Arch",
		Description:    `Architecture of the system where the syscall happened.`,
		Exposed:        true,
		Name:           "arch",
		Type:           "string",
	},
	"AuditProfileID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfileID",
		Description:    `ID the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileID",
		Required:       true,
		Type:           "string",
	},
	"AuditProfileNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfileNamespace",
		Description:    `Namespace 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 executable.`,
		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 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 of a failure.`,
		Exposed:        true,
		Name:           "success",
		Type:           "boolean",
	},
	"Syscall": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Syscall",
		Description:    `Syscall name.`,
		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:    `Needs documentation.`,
		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:    `Needs documentation.`,
		Exposed:        true,
		Name:           "EGID",
		Type:           "integer",
	},
	"euid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EUID",
		Description:    `Needs documentation.`,
		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:    `Needs documentation.`,
		Exposed:        true,
		Name:           "FSGID",
		Type:           "integer",
	},
	"fsuid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FSUID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "FSUID",
		Type:           "integer",
	},
	"gid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "GID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "GID",
		Type:           "integer",
	},
	"per": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PER",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "PER",
		Type:           "integer",
	},
	"pid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PID",
		Description:    `PID of the executable.`,
		Exposed:        true,
		Name:           "PID",
		Type:           "integer",
	},
	"ppid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PPID",
		Description:    `PID of the parent executable.`,
		Exposed:        true,
		Name:           "PPID",
		Type:           "integer",
	},
	"sgid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SGID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "SGID",
		Type:           "integer",
	},
	"suid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SUID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "SUID",
		Type:           "integer",
	},
	"uid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UID",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "UID",
		Type:           "integer",
	},
	"a0": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A0",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "a0",
		Type:           "string",
	},
	"a1": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A1",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "a1",
		Type:           "string",
	},
	"a2": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A2",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "a2",
		Type:           "string",
	},
	"a3": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "A3",
		Description:    `Needs documentation.`,
		Exposed:        true,
		Name:           "a3",
		Type:           "string",
	},
	"arch": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Arch",
		Description:    `Architecture of the system where the syscall happened.`,
		Exposed:        true,
		Name:           "arch",
		Type:           "string",
	},
	"auditprofileid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfileID",
		Description:    `ID the audit profile that triggered the report.`,
		Exposed:        true,
		Name:           "auditProfileID",
		Required:       true,
		Type:           "string",
	},
	"auditprofilenamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AuditProfileNamespace",
		Description:    `Namespace 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 executable.`,
		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 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 of a failure.`,
		Exposed:        true,
		Name:           "success",
		Type:           "boolean",
	},
	"syscall": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Syscall",
		Description:    `Syscall name.`,
		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 AuthAttributesMap = map[string]elemental.AttributeSpecification{
	"Claims": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Claims",
		Description:    `Claims are the claims.`,
		Exposed:        true,
		Name:           "claims",
		ReadOnly:       true,
		SubType:        "_claims",
		Type:           "external",
	},
}

AuthAttributesMap represents the map of attribute for Auth.

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

AuthIdentity represents the Identity of the object.

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

AuthLowerCaseAttributesMap represents the map of attribute for Auth.

View Source
var AuthorityAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the identitfier of the Authority.`,
		Exposed:        true,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"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 CA.`,
		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 authority.`,
		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",
	},
	"SerialNumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SerialNumber",
		Description:    `serialNumber of the certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
}

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:    `ID is the identitfier of the Authority.`,
		Exposed:        true,
		Identifier:     true,
		Name:           "ID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"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 CA.`,
		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 authority.`,
		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",
	},
	"serialnumber": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SerialNumber",
		Description:    `serialNumber of the certificate.`,
		Exposed:        true,
		Name:           "serialNumber",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
}

AuthorityLowerCaseAttributesMap represents the map of attribute for Authority.

View Source
var AutomationAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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:    `Action 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:    `Annotation 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:    `AssociatedTags are the 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 should
be taken.`,
		Exposed:  true,
		Name:     "condition",
		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",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Entitlements": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Entitlements",
		Description:    `Entitlements 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:    `Error contains the eventual 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: `Events contains the identity and operation an event must have to trigger the
automation.`,
		Exposed: true,
		Name:    "events",
		Stored:  true,
		SubType: "_automation_events",
		Type:    "external",
	},
	"LastExecTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastExecTime",
		Description:    `LastExecTime holds the last successful execution tine.`,
		Exposed:        true,
		Name:           "lastExecTime",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Parameters are passed to the functions.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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: `Schedule tells when to run the automation. Must be a 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:    `Stdout contains the last run standard output.`,
		Exposed:        true,
		Name:           "stdout",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description: `Token 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", "Time"},
		ConvertedName:  "Trigger",
		DefaultValue:   AutomationTriggerTime,
		Description:    `Trigger 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Action 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:    `Annotation 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:    `AssociatedTags are the 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 should
be taken.`,
		Exposed:  true,
		Name:     "condition",
		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",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"entitlements": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Entitlements",
		Description:    `Entitlements 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:    `Error contains the eventual 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: `Events contains the identity and operation an event must have to trigger the
automation.`,
		Exposed: true,
		Name:    "events",
		Stored:  true,
		SubType: "_automation_events",
		Type:    "external",
	},
	"lastexectime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastExecTime",
		Description:    `LastExecTime holds the last successful execution tine.`,
		Exposed:        true,
		Name:           "lastExecTime",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Parameters are passed to the functions.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "map[string]interface{}",
		Type:           "external",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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: `Schedule tells when to run the automation. Must be a 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:    `Stdout contains the last run standard output.`,
		Exposed:        true,
		Name:           "stdout",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description: `Token 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", "Time"},
		ConvertedName:  "Trigger",
		DefaultValue:   AutomationTriggerTime,
		Description:    `Trigger 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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 is the 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:    `Entitlements 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:    `Key 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:    `Kind represents the kind of template.`,
		Exposed:        true,
		Name:           "kind",
		Type:           "enum",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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:    `Parameters contains the parameter description of the function.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "automationtemplateparameter",
		Type:           "refMap",
	},
}

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 is the 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:    `Entitlements 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:    `Key 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:    `Kind represents the kind of template.`,
		Exposed:        true,
		Name:           "kind",
		Type:           "enum",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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:    `Parameters contains the parameter description of the function.`,
		Exposed:        true,
		Name:           "parameters",
		SubType:        "automationtemplateparameter",
		Type:           "refMap",
	},
}

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:    `ID is the 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 is the 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 is the 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:    `ID is the 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 is the 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 is the 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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 contains the raw 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:    `firstSeen 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 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 xxhash function.`,
		Exposed:  true,
		Name:     "hash",
		Required: true,
		Type:     "string",
	},
	"LastSeen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastSeen",
		Description:    `lastSeen contains the date of the last appearance of the claims.`,
		Name:           "lastSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 contains the raw 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:    `firstSeen 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 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 xxhash function.`,
		Exposed:  true,
		Name:     "hash",
		Required: true,
		Type:     "string",
	},
	"lastseen": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "LastSeen",
		Description:    `lastSeen contains the date of the last appearance of the claims.`,
		Name:           "lastSeen",
		ReadOnly:       true,
		Stored:         true,
		Type:           "time",
	},
	"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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

ClaimsLowerCaseAttributesMap represents the map of attribute for Claims.

View Source
var CustomerAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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",
	},
	"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:    `ID is the 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",
	},
	"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 CSR the enforcer wants control plane to sign. Depending on the
Certificate there will be various requirement 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 a the CA that signed the delivered certificates.`,
		Exposed:        true,
		Name:           "signer",
		ReadOnly:       true,
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Contains a crypto 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 CSR the enforcer wants control plane to sign. Depending on the
Certificate there will be various requirement 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 a the CA that signed the delivered certificates.`,
		Exposed:        true,
		Name:           "signer",
		ReadOnly:       true,
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Contains a crypto 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:    `edges are the edges of the map.`,
		Exposed:        true,
		Name:           "edges",
		ReadOnly:       true,
		SubType:        "graphedge",
		Type:           "refMap",
	},
	"Groups": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Groups",
		Description:    `Groups provide information about the group values.`,
		Exposed:        true,
		Name:           "groups",
		ReadOnly:       true,
		SubType:        "graphgroup",
		Type:           "refMap",
	},
	"Nodes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Nodes",
		Description:    `nodes 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:    `viewSuggestions provides suggestion of 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:    `edges are the edges of the map.`,
		Exposed:        true,
		Name:           "edges",
		ReadOnly:       true,
		SubType:        "graphedge",
		Type:           "refMap",
	},
	"groups": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Groups",
		Description:    `Groups provide information about the group values.`,
		Exposed:        true,
		Name:           "groups",
		ReadOnly:       true,
		SubType:        "graphgroup",
		Type:           "refMap",
	},
	"nodes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Nodes",
		Description:    `nodes 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:    `viewSuggestions provides suggestion of 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",
	},
	"From": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "From",
		Description: `From represents the sender of the email. If not set, the default sender will be
used.`,
		Exposed: true,
		Name:    "from",
		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",
	},
	"from": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "From",
		Description: `From represents the sender of the email. If not set, the default sender will be
used.`,
		Exposed: true,
		Name:    "from",
		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:    `FQDN contains the 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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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:    `Certificate is 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: `CertificateExpirationDate is 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: `CertificateKey is 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 generation, the provided CSR will be
validated and signed by the backend providing a renewed certificate.`,
		Exposed:   true,
		Name:      "certificateRequest",
		Transient: true,
		Type:      "string",
	},
	"CollectInfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectInfo",
		Description:    `CollectInfo indicates to the enforcer it needs to collect information.`,
		Exposed:        true,
		Name:           "collectInfo",
		Stored:         true,
		Type:           "boolean",
	},
	"CollectedInfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectedInfo",
		Description:    `CollectedInfo represents the latest info 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: `CurrentVersion holds the enforcerd binary version that is currently associated
to this object.`,
		Exposed:    true,
		Filterable: true,
		Name:       "currentVersion",
		Orderable:  true,
		Stored:     true,
		Type:       "string",
	},
	"Description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description is the 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 enforcement for PU managed directly by enforcerd, like Host PUs.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "enum",
	},
	"LastCollectionTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastCollectionTime",
		Description: `LastCollectionTime represents the date and time when the info have been
collected.`,
		Exposed: true,
		Name:    "lastCollectionTime",
		Stored:  true,
		Type:    "time",
	},
	"LastPokeTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastPokeTime",
		Description:    `Last poke is the time when the enforcer got last poked.`,
		Name:           "lastPokeTime",
		Stored:         true,
		Type:           "time",
	},
	"LastSyncTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastSyncTime",
		Description:    `LastSyncTime holds the last heart beat time.`,
		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: `LocalCA contains the initial chain of trust for the enforcer. This valud is only
given when you retrieve a single enforcer.`,
		Exposed:   true,
		Name:      "localCA",
		Transient: true,
		Type:      "string",
	},
	"MachineID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MachineID",
		Description: `MachineID holds 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `OperationalStatus tells the status of the enforcer.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operationalStatus",
		Stored:         true,
		Type:           "enum",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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: `PublicToken is the public token of the server that will be included in the
datapath and its signed by the private CA.`,
		Exposed:   true,
		Name:      "publicToken",
		ReadOnly:  true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"StartTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "StartTime",
		Description: `startTime holds the time this enforcerd was started. This time-stamp is reported
by the enforcer and is 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: `Control plane will set this value to true if it hasn't heard from the enforcer
for more than 5m.`,
		Exposed:  true,
		Name:     "unreachable",
		ReadOnly: true,
		Stored:   true,
		Type:     "boolean",
	},
	"UpdateAvailable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UpdateAvailable",
		Description:    `Tells if the the version of enforcerd 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `FQDN contains the 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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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:    `Certificate is 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: `CertificateExpirationDate is 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: `CertificateKey is 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 generation, the provided CSR will be
validated and signed by the backend providing a renewed certificate.`,
		Exposed:   true,
		Name:      "certificateRequest",
		Transient: true,
		Type:      "string",
	},
	"collectinfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectInfo",
		Description:    `CollectInfo indicates to the enforcer it needs to collect information.`,
		Exposed:        true,
		Name:           "collectInfo",
		Stored:         true,
		Type:           "boolean",
	},
	"collectedinfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectedInfo",
		Description:    `CollectedInfo represents the latest info 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: `CurrentVersion holds the enforcerd binary version that is currently associated
to this object.`,
		Exposed:    true,
		Filterable: true,
		Name:       "currentVersion",
		Orderable:  true,
		Stored:     true,
		Type:       "string",
	},
	"description": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Description",
		Description:    `Description is the 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 enforcement for PU managed directly by enforcerd, like Host PUs.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "enum",
	},
	"lastcollectiontime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastCollectionTime",
		Description: `LastCollectionTime represents the date and time when the info have been
collected.`,
		Exposed: true,
		Name:    "lastCollectionTime",
		Stored:  true,
		Type:    "time",
	},
	"lastpoketime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastPokeTime",
		Description:    `Last poke is the time when the enforcer got last poked.`,
		Name:           "lastPokeTime",
		Stored:         true,
		Type:           "time",
	},
	"lastsynctime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastSyncTime",
		Description:    `LastSyncTime holds the last heart beat time.`,
		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: `LocalCA contains the initial chain of trust for the enforcer. This valud is only
given when you retrieve a single enforcer.`,
		Exposed:   true,
		Name:      "localCA",
		Transient: true,
		Type:      "string",
	},
	"machineid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "MachineID",
		Description: `MachineID holds 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `OperationalStatus tells the status of the enforcer.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operationalStatus",
		Stored:         true,
		Type:           "enum",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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: `PublicToken is the public token of the server that will be included in the
datapath and its signed by the private CA.`,
		Exposed:   true,
		Name:      "publicToken",
		ReadOnly:  true,
		Stored:    true,
		Transient: true,
		Type:      "string",
	},
	"starttime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "StartTime",
		Description: `startTime holds the time this enforcerd was started. This time-stamp is reported
by the enforcer and is 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: `Control plane will set this value to true if it hasn't heard from the enforcer
for more than 5m.`,
		Exposed:  true,
		Name:     "unreachable",
		ReadOnly: true,
		Stored:   true,
		Type:     "boolean",
	},
	"updateavailable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "UpdateAvailable",
		Description:    `Tells if the the version of enforcerd 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `ExcludedInterfaces is a list of interfaces that must be excluded.`,
		Exposed:        true,
		Name:           "excludedInterfaces",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"ExcludedNetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExcludedNetworks",
		Description: `ExcludedNetworks is the list of networks that must be excluded for this
enforcer.`,
		Exposed:   true,
		Name:      "excludedNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"IgnoreExpression": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IgnoreExpression",
		Description: `IgnoreExpression allows to set a tag expression that will make Aporeto to ignore
docker container started with labels matching the rule.`,
		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: `Metadata contains tags that can only be set during creation. They 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",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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:    `TargetNetworks is the list of networks that authorization should be applied.`,
		Exposed:        true,
		Name:           "targetNetworks",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"TargetUDPNetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetUDPNetworks",
		Description: `TargetUDPNetworks is the list of UDP networks that authorization should be
applied.`,
		Exposed:   true,
		Name:      "targetUDPNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"TrustedCAs": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TrustedCAs",
		Description:    `List of trusted CA. 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `ExcludedInterfaces is a list of interfaces that must be excluded.`,
		Exposed:        true,
		Name:           "excludedInterfaces",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"excludednetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExcludedNetworks",
		Description: `ExcludedNetworks is the list of networks that must be excluded for this
enforcer.`,
		Exposed:   true,
		Name:      "excludedNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"ignoreexpression": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "IgnoreExpression",
		Description: `IgnoreExpression allows to set a tag expression that will make Aporeto to ignore
docker container started with labels matching the rule.`,
		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: `Metadata contains tags that can only be set during creation. They 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",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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:    `TargetNetworks is the list of networks that authorization should be applied.`,
		Exposed:        true,
		Name:           "targetNetworks",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"targetudpnetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetUDPNetworks",
		Description: `TargetUDPNetworks is the list of UDP networks that authorization should be
applied.`,
		Exposed:   true,
		Name:      "targetUDPNetworks",
		Orderable: true,
		Stored:    true,
		SubType:   "string",
		Type:      "list",
	},
	"trustedcas": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TrustedCAs",
		Description:    `List of trusted CA. 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 is the list of tags to use to find a enforcer profile.`,
		Exposed:        true,
		Name:           "object",
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 is the subject of the policy.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 is the list of tags to use to find a enforcer profile.`,
		Exposed:        true,
		Name:           "object",
		Stored:         true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 is the subject of the policy.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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 to report.`,
		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 to report.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the enforcer to report.`,
		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 to report.`,
		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 to report.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Type:           "string",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the enforcer to report.`,
		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:    `EnforcerID 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 PU 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 pu 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:    `EnforcerID 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 PU 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 pu 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 log.`,
		Exposed:        true,
		Name:           "category",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Content": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the 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 eventlog.`,
		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:    `Represent the level of the log .`,
		Exposed:        true,
		Name:           "level",
		Stored:         true,
		Type:           "enum",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		CreationOnly:   true,
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"Opaque": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Opaque",
		CreationOnly:   true,
		Description:    `Opaque data that can attached to the 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 eventlog is attached to. The object must be in the same
namespace than the eventlog.`,
		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 eventlog 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 eventlog.`,
		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 log.`,
		Exposed:        true,
		Name:           "category",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"content": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Content",
		CreationOnly:   true,
		Description:    `Content of the 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 eventlog.`,
		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:    `Represent the level of the log .`,
		Exposed:        true,
		Name:           "level",
		Stored:         true,
		Type:           "enum",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		CreationOnly:   true,
		Description:    `Namespace tag attached to an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "namespace",
		Orderable:      true,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"opaque": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Opaque",
		CreationOnly:   true,
		Description:    `Opaque data that can attached to the 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 eventlog is attached to. The object must be in the same
namespace than the eventlog.`,
		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 eventlog 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 eventlog.`,
		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:    `APIVersion of the api used for the exported data.`,
		Exposed:        true,
		Name:           "APIVersion",
		ReadOnly:       true,
		Type:           "integer",
	},
	"Data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Data",
		Description:    `List of all exported data.`,
		Exposed:        true,
		Name:           "data",
		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",
		SubType:        "string",
		Type:           "list",
	},
	"Label": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description: `Label allows 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",
		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:    `APIVersion of the api used for the exported data.`,
		Exposed:        true,
		Name:           "APIVersion",
		ReadOnly:       true,
		Type:           "integer",
	},
	"data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Data",
		Description:    `List of all exported data.`,
		Exposed:        true,
		Name:           "data",
		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",
		SubType:        "string",
		Type:           "list",
	},
	"label": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Label",
		Description: `Label allows 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",
		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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `AllowsExecute allows to execute the files.`,
		Exposed:        true,
		Name:           "allowsExecute",
		Orderable:      true,
		Type:           "boolean",
	},
	"AllowsRead": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsRead",
		Description:    `AllowsRead allows to read the files.`,
		Exposed:        true,
		Name:           "allowsRead",
		Orderable:      true,
		Type:           "boolean",
	},
	"AllowsWrite": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsWrite",
		Description:    `AllowsWrite allows to write the files.`,
		Exposed:        true,
		Name:           "allowsWrite",
		Orderable:      true,
		Type:           "boolean",
	},
	"Annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Annotations",
		Description:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"EncryptionEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `EncryptionEnabled will enable the automatic encryption.`,
		Exposed:        true,
		Name:           "encryptionEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be auto 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: `Fallback 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:    `LogsEnabled will enable logging when this policy is used.`,
		Exposed:        true,
		Name:           "logsEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 is the object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 is 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `AllowsExecute allows to execute the files.`,
		Exposed:        true,
		Name:           "allowsExecute",
		Orderable:      true,
		Type:           "boolean",
	},
	"allowsread": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsRead",
		Description:    `AllowsRead allows to read the files.`,
		Exposed:        true,
		Name:           "allowsRead",
		Orderable:      true,
		Type:           "boolean",
	},
	"allowswrite": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AllowsWrite",
		Description:    `AllowsWrite allows to write the files.`,
		Exposed:        true,
		Name:           "allowsWrite",
		Orderable:      true,
		Type:           "boolean",
	},
	"annotations": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Annotations",
		Description:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"encryptionenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `EncryptionEnabled will enable the automatic encryption.`,
		Exposed:        true,
		Name:           "encryptionEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be auto 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: `Fallback 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:    `LogsEnabled will enable logging when this policy is used.`,
		Exposed:        true,
		Name:           "logsEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 is the object of the policy.`,
		Exposed:        true,
		Name:           "object",
		Orderable:      true,
		SubType:        "[][]string",
		Type:           "external",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 is 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

FileAccessPolicyLowerCaseAttributesMap represents the map of attribute for FileAccessPolicy.

View Source
var FileAccessReportAttributesMap = map[string]elemental.AttributeSpecification{
	"Action": elemental.AttributeSpecification{
		AllowedChoices: []string{"Accept", "Reject"},
		ConvertedName:  "Action",
		Description:    `Action taken.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Type:           "enum",
	},
	"Host": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Host",
		DefaultValue:   "localhost",
		Description:    `Host of the file.`,
		Exposed:        true,
		Name:           "host",
		Required:       true,
		Type:           "string",
	},
	"Mode": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Mode",
		DefaultValue:   "rxw",
		Description:    `Mode of the 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"},
		ConvertedName:  "Action",
		Description:    `Action taken.`,
		Exposed:        true,
		Name:           "action",
		Required:       true,
		Type:           "enum",
	},
	"host": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Host",
		DefaultValue:   "localhost",
		Description:    `Host of the file.`,
		Exposed:        true,
		Name:           "host",
		Required:       true,
		Type:           "string",
	},
	"mode": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Mode",
		DefaultValue:   "rxw",
		Description:    `Mode of the 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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `Type of the destination.`,
		Exposed:        true,
		Name:           "destinationIP",
		Type:           "string",
	},
	"DestinationNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationNamespace",
		Description:    `Namespace of the receiver.`,
		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:    `Type of the source.`,
		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' and specifies the reason
for the rejection.`,
		Exposed: true,
		Name:    "dropReason",
		Type:    "string",
	},
	"Encrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypted",
		Description:    `Tells is the flow has been 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:    `Tells if the flow is from design mode.`,
		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: `This field is only set if 'observedAction' is set to 'Reject' and specifies the
reason for the rejection.`,
		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 receiver.`,
		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:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"Value": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `Number of flows in the report.`,
		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:    `Type of the destination.`,
		Exposed:        true,
		Name:           "destinationIP",
		Type:           "string",
	},
	"destinationnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationNamespace",
		Description:    `Namespace of the receiver.`,
		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:    `Type of the source.`,
		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' and specifies the reason
for the rejection.`,
		Exposed: true,
		Name:    "dropReason",
		Type:    "string",
	},
	"encrypted": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypted",
		Description:    `Tells is the flow has been 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:    `Tells if the flow is from design mode.`,
		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: `This field is only set if 'observedAction' is set to 'Reject' and specifies the
reason for the rejection.`,
		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 receiver.`,
		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:    `Date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Type:           "time",
	},
	"value": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		Description:    `Number of flows in the report.`,
		Exposed:        true,
		Name:           "value",
		Required:       true,
		Type:           "integer",
	},
}

FlowReportLowerCaseAttributesMap represents the map of attribute for FlowReport.

View Source
var HTTPResourceSpecAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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:    `EndPoints is 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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:    `EndPoints is 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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: `CertificateAuthority contains the pem block of the certificate authority used by
the remote endpoint.`,
		Exposed:   true,
		Name:      "certificateAuthority",
		Orderable: true,
		Required:  true,
		Stored:    true,
		Type:      "string",
	},
	"ClientCertificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientCertificate",
		Description: `ClientCertificate contains the client certificate that will be used to connect
to the remote endoint.`,
		Exposed:   true,
		Name:      "clientCertificate",
		Orderable: true,
		Required:  true,
		Stored:    true,
		Type:      "string",
	},
	"ClientCertificateKey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientCertificateKey",
		Description:    `ClientCertificateKey contains the key associated to the clientCertificate.`,
		Exposed:        true,
		Name:           "clientCertificateKey",
		Orderable:      true,
		Required:       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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Endpoint": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Endpoint",
		Description:    `Endpoint contains the full address of the remote processor endoint.`,
		Exposed:        true,
		Name:           "endpoint",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ExpirationTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be auto 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: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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:    `Mode define the type of the hook.`,
		Exposed:        true,
		Name:           "mode",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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: `CertificateAuthority contains the pem block of the certificate authority used by
the remote endpoint.`,
		Exposed:   true,
		Name:      "certificateAuthority",
		Orderable: true,
		Required:  true,
		Stored:    true,
		Type:      "string",
	},
	"clientcertificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientCertificate",
		Description: `ClientCertificate contains the client certificate that will be used to connect
to the remote endoint.`,
		Exposed:   true,
		Name:      "clientCertificate",
		Orderable: true,
		Required:  true,
		Stored:    true,
		Type:      "string",
	},
	"clientcertificatekey": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ClientCertificateKey",
		Description:    `ClientCertificateKey contains the key associated to the clientCertificate.`,
		Exposed:        true,
		Name:           "clientCertificateKey",
		Orderable:      true,
		Required:       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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"endpoint": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Endpoint",
		Description:    `Endpoint contains the full address of the remote processor endoint.`,
		Exposed:        true,
		Name:           "endpoint",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"expirationtime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExpirationTime",
		Description:    `If set the policy will be auto 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: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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:    `Mode define the type of the hook.`,
		Exposed:        true,
		Name:           "mode",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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: `HostModeEnabled forces the corresponding enforcers to enable complete host
protection. When this option is turned on, 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 that match the
subject constraints.`,
		Exposed:   true,
		Name:      "hostModeEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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: `Services 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. Allowed
protocols are only tcp and udp.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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: `HostModeEnabled forces the corresponding enforcers to enable complete host
protection. When this option is turned on, 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 that match the
subject constraints.`,
		Exposed:   true,
		Name:      "hostModeEnabled",
		Orderable: true,
		Stored:    true,
		Type:      "boolean",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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: `Services 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. Allowed
protocols are only tcp and udp.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 is the selector for the host services that must be applied
to this enforcer.`,
		Exposed:   true,
		Name:      "object",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 is the selector of the enforcers that the list of host
services must apply to.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 is the selector for the host services that must be applied
to this enforcer.`,
		Exposed:   true,
		Name:      "object",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 is the selector of the enforcers that the list of host
services must apply to.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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 resolved.`,
		Exposed:        true,
		Name:           "IP",
		ReadOnly:       true,
		Type:           "string",
	},
	"Error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Eventual error that happened 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 to that IP.`,
		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 resolved.`,
		Exposed:        true,
		Name:           "IP",
		ReadOnly:       true,
		Type:           "string",
	},
	"error": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Error",
		Description:    `Eventual error that happened 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 to that IP.`,
		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:    `The 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 is deprecated and should be Import. Right
now the API considers both equivalent.`,
		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:    `The 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 is deprecated and should be Import. Right
now the API considers both equivalent.`,
		Exposed: true,
		Name:    "mode",
		Type:    "enum",
	},
}

ImportLowerCaseAttributesMap represents the map of attribute for Import.

View Source
var ImportRequestAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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:    `Post a new comment that will be added to the 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:    `The 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 is the description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Protected 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. This will be 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 the request was created. This will be 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: `The status of the request. The content of data can only be changed when the
status is set to ` + "`" + `Draft` + "`" + ` or ` + "`" + `ChangeRequested` + "`" + `. When the status is changed to
` + "`" + `Submitted` + "`" + `, the request will move to the target namespace for validation.
If the Status is set to ` + "`" + `Approved` + "`" + ` the data will be created immediately.
If the status is set to ` + "`" + `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 submit 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 he needs to have an autorization 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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:    `Post a new comment that will be added to the 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:    `The 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 is the description of the object.`,
		Exposed:        true,
		Getter:         true,
		MaxLength:      1024,
		Name:           "description",
		Orderable:      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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Protected 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. This will be 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 the request was created. This will be 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: `The status of the request. The content of data can only be changed when the
status is set to ` + "`" + `Draft` + "`" + ` or ` + "`" + `ChangeRequested` + "`" + `. When the status is changed to
` + "`" + `Submitted` + "`" + `, the request will move to the target namespace for validation.
If the Status is set to ` + "`" + `Approved` + "`" + ` the data will be created immediately.
If the status is set to ` + "`" + `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 submit 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 he needs to have an autorization 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

ImportRequestLowerCaseAttributesMap represents the map of attribute for ImportRequest.

View Source
var InstalledAppAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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:    `CategoryID of the app.`,
		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 app.`,
		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",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Parameters is a list of parameters to start the app.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "appparameter",
		Type:           "refList",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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 app.`,
		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 app.`,
		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",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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:    `CategoryID of the app.`,
		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 app.`,
		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",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Parameters is a list of parameters to start the app.`,
		Exposed:        true,
		Name:           "parameters",
		Stored:         true,
		SubType:        "appparameter",
		Type:           "refList",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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 app.`,
		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 app.`,
		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",
	},
}

InstalledAppLowerCaseAttributesMap represents the map of attribute for InstalledApp.

View Source
var InvoiceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID is the id of the invoice.`,
		Exposed:        true,
		Name:           "ID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"AccountID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccountID",
		Description:    `AccountID references 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:    `BilledToProvider holds 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:    `EndDate holds the end date for this invoice.`,
		Exposed:        true,
		Name:           "endDate",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"StartDate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "StartDate",
		Description:    `StartDate holds the start date for 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:    `ID is the id of the invoice.`,
		Exposed:        true,
		Name:           "ID",
		Orderable:      true,
		Stored:         true,
		Type:           "string",
	},
	"accountid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AccountID",
		Description:    `AccountID references 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:    `BilledToProvider holds 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:    `EndDate holds the end date for this invoice.`,
		Exposed:        true,
		Name:           "endDate",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"startdate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "StartDate",
		Description:    `StartDate holds the start date for 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:    `ID is the id of this 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: `InvoiceID references the id of the invoice that this invoice record provides
details for.`,
		Exposed:   true,
		Name:      "invoiceID",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"InvoiceRecords": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvoiceRecords",
		Description:    `InvoiceRecords provides 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:    `ID is the id of this 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: `InvoiceID references the id of the invoice that this invoice record provides
details for.`,
		Exposed:   true,
		Name:      "invoiceID",
		Orderable: true,
		Stored:    true,
		Type:      "string",
	},
	"invoicerecords": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "InvoiceRecords",
		Description:    `InvoiceRecords provides 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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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: `CapabilitiesActions identifies the capabilities that should be added 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: `DefaultAction is the default action applied to all syscalls 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 is the 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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: `SyscallRules is a list of syscall rules that identify actions for particular
syscalls.`,
		Exposed:   true,
		Name:      "syscallRules",
		Orderable: true,
		Stored:    true,
		SubType:   "_syscall_rules",
		Type:      "external",
	},
	"TargetArchitectures": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetArchitectures",
		Description: `TargetArchitectures is the target processor architectures where this profile can
be applied. 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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: `CapabilitiesActions identifies the capabilities that should be added 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: `DefaultAction is the default action applied to all syscalls 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 is the 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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: `SyscallRules is a list of syscall rules that identify actions for particular
syscalls.`,
		Exposed:   true,
		Name:      "syscallRules",
		Orderable: true,
		Stored:    true,
		SubType:   "_syscall_rules",
		Type:      "external",
	},
	"targetarchitectures": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetArchitectures",
		Description: `TargetArchitectures is the target processor architectures where this profile can
be applied. 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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 from that namespace declared in
that value.`,
		Exposed: true,
		Name:    "audience",
		Type:    "string",
	},
	"Data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Deprecated:     true,
		Description:    `Data 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:    `Metadata 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 time the issued token should be used.`,
		Exposed:        true,
		Name:           "quota",
		Type:           "integer",
	},
	"Realm": elemental.AttributeSpecification{
		AllowedChoices: []string{"AWSIdentityDocument", "AWSSecurityToken", "Certificate", "Google", "LDAP", "Vince", "GCPIdentityToken", "AzureIdentityToken", "OIDC"},
		ConvertedName:  "Realm",
		Description:    `Realm is the authentication realm.`,
		Exposed:        true,
		Name:           "realm",
		Required:       true,
		Type:           "enum",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token is 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: `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",
	},
}

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 from that namespace declared in
that value.`,
		Exposed: true,
		Name:    "audience",
		Type:    "string",
	},
	"data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Data",
		Deprecated:     true,
		Description:    `Data 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:    `Metadata 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 time the issued token should be used.`,
		Exposed:        true,
		Name:           "quota",
		Type:           "integer",
	},
	"realm": elemental.AttributeSpecification{
		AllowedChoices: []string{"AWSIdentityDocument", "AWSSecurityToken", "Certificate", "Google", "LDAP", "Vince", "GCPIdentityToken", "AzureIdentityToken", "OIDC"},
		ConvertedName:  "Realm",
		Description:    `Realm is the authentication realm.`,
		Exposed:        true,
		Name:           "realm",
		Required:       true,
		Type:           "enum",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Token",
		Description:    `Token is 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: `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",
	},
}

IssueLowerCaseAttributesMap represents the map of attribute for Issue.

View Source
var JaegerbatchAttributesMap = map[string]elemental.AttributeSpecification{
	"Batch": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Batch",
		CreationOnly:   true,
		Description:    `Represents a jaeger batch.`,
		Exposed:        true,
		Name:           "batch",
		Stored:         true,
		Type:           "object",
	},
}

JaegerbatchAttributesMap represents the map of attribute for Jaegerbatch.

View Source
var JaegerbatchIdentity = elemental.Identity{
	Name:     "jaegerbatch",
	Category: "jaegerbatchs",
	Package:  "meister",
	Private:  false,
}

JaegerbatchIdentity represents the Identity of the object.

View Source
var JaegerbatchLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"batch": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Batch",
		CreationOnly:   true,
		Description:    `Represents a jaeger batch.`,
		Exposed:        true,
		Name:           "batch",
		Stored:         true,
		Type:           "object",
	},
}

JaegerbatchLowerCaseAttributesMap represents the map of attribute for Jaegerbatch.

View Source
var LogAttributesMap = map[string]elemental.AttributeSpecification{
	"Data": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Data",
		Description:    `Data contains all logs 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:    `Data contains all logs 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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `expirationTime is 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:    `Level defines how the message is important.`,
		Exposed:        true,
		Name:           "level",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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: `Validity set using golang time duration, when the message will be automatically
deleted.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `expirationTime is 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:    `Level defines how the message is important.`,
		Exposed:        true,
		Name:           "level",
		Orderable:      true,
		Stored:         true,
		Type:           "enum",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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: `Validity set using golang time duration, when the message will be automatically
deleted.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"SSHCA": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCA",
		Description:    `SSHCA holds the eventual SSH authority used by this namespace.`,
		Exposed:        true,
		Name:           "SSHCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"SSHCAEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SSHCAEnabled",
		Description: `If enabled, the a SSH 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:    `Annotation 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:    `associatedSSHCAID holds the remote ID of the SSH authority to use.`,
		Exposed:        true,
		Name:           "associatedSSHCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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:    `LocalCA holds the eventual certificate authority used by this namespace.`,
		Exposed:        true,
		Name:           "localCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"LocalCAEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LocalCAEnabled",
		Description: `LocalCAEnabled defines if the namespace should use a local Certificate
Authority. 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: `Metadata contains tags that can only be set during creation. They 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{
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		CreationOnly:   true,
		DefaultOrder:   true,
		Description:    `Name is the name of the namespace.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		PrimaryKey:     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,
		PrimaryKey:     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:    `NormalizedTags 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:    `Protected 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 validity time of certificates issued in this namespace. Default
value is 1 hour.`,
		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",
	},
}

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:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"sshca": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "SSHCA",
		Description:    `SSHCA holds the eventual SSH authority used by this namespace.`,
		Exposed:        true,
		Name:           "SSHCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"sshcaenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SSHCAEnabled",
		Description: `If enabled, the a SSH 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:    `Annotation 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:    `associatedSSHCAID holds the remote ID of the SSH authority to use.`,
		Exposed:        true,
		Name:           "associatedSSHCAID",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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:    `LocalCA holds the eventual certificate authority used by this namespace.`,
		Exposed:        true,
		Name:           "localCA",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"localcaenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LocalCAEnabled",
		Description: `LocalCAEnabled defines if the namespace should use a local Certificate
Authority. 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: `Metadata contains tags that can only be set during creation. They 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{
		AllowedChars:   `^[a-zA-Z0-9-_/]+$`,
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		CreationOnly:   true,
		DefaultOrder:   true,
		Description:    `Name is the name of the namespace.`,
		Exposed:        true,
		Filterable:     true,
		Getter:         true,
		Name:           "name",
		Orderable:      true,
		PrimaryKey:     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,
		PrimaryKey:     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:    `NormalizedTags 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:    `Protected 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 validity time of certificates issued in this namespace. Default
value is 1 hour.`,
		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",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert 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:    `mappedNamespace is the mapped namespace.`,
		Exposed:        true,
		Name:           "mappedNamespace",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Protected 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 is the subject.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert 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:    `mappedNamespace is the mapped namespace.`,
		Exposed:        true,
		Name:           "mappedNamespace",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Protected 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 is the subject.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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:    `Action 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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: `applyPolicyMode determines if the policy has to be applied to the
outgoing traffic of a PU or the incoming traffic of a PU or in both directions.
Default is both directions.`,
		Exposed:   true,
		Name:      "applyPolicyMode",
		Orderable: true,
		Type:      "enum",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"EncryptionEnabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `EncryptionEnabled 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 auto 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: `Fallback 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:    `LogsEnabled defines if the flow has to be logged.`,
		Exposed:        true,
		Name:           "logsEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     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:    `NormalizedTags 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",
	},
	"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 will be the final action taken on the
packets.`,
		Exposed:   true,
		Name:      "observedTrafficAction",
		Orderable: true,
		Type:      "enum",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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:    `Action 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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: `applyPolicyMode determines if the policy has to be applied to the
outgoing traffic of a PU or the incoming traffic of a PU or in both directions.
Default is both directions.`,
		Exposed:   true,
		Name:      "applyPolicyMode",
		Orderable: true,
		Type:      "enum",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"encryptionenabled": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EncryptionEnabled",
		Description:    `EncryptionEnabled 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 auto 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: `Fallback 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:    `LogsEnabled defines if the flow has to be logged.`,
		Exposed:        true,
		Name:           "logsEnabled",
		Orderable:      true,
		Type:           "boolean",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     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:    `NormalizedTags 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",
	},
	"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 will be the final action taken on the
packets.`,
		Exposed:   true,
		Name:      "observedTrafficAction",
		Orderable: true,
		Type:      "enum",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

NetworkAccessPolicyLowerCaseAttributesMap represents the map of attribute for NetworkAccessPolicy.

View Source
var OIDCProviderAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"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",
	},
	"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 OIDCProvider. There can be only one default
provider in your account. When logging in with OIDC, if not 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 information endpoint.`,
		Exposed:        true,
		Name:           "endpoint",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the provider.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"ParentID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `ParentID 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:    `ParentName contains the name of the Vince parent Account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentName",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"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:    `Subjects is the list of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		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",
	},
}

OIDCProviderAttributesMap represents the map of attribute for OIDCProvider.

View Source
var OIDCProviderIdentity = elemental.Identity{
	Name:     "oidcprovider",
	Category: "oidcproviders",
	Package:  "vince",
	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:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"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",
	},
	"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 OIDCProvider. There can be only one default
provider in your account. When logging in with OIDC, if not 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 information endpoint.`,
		Exposed:        true,
		Name:           "endpoint",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		CreationOnly:   true,
		Description:    `Name of the provider.`,
		Exposed:        true,
		Name:           "name",
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"parentid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ParentID",
		Description:    `ParentID 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:    `ParentName contains the name of the Vince parent Account.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "parentName",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"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:    `Subjects is the list of claims that will provide the subject.`,
		Exposed:        true,
		Name:           "subjects",
		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",
	},
}

OIDCProviderLowerCaseAttributesMap represents the map of attribute for OIDCProvider.

View Source
var PUNodeAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"EnforcementStatus": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcementStatus",
		Description:    `Enforcement status of the pu.`,
		Exposed:        true,
		Name:           "enforcementStatus",
		Type:           "string",
	},
	"Images": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Images",
		Description:    `Images of the pu.`,
		Exposed:        true,
		Name:           "images",
		SubType:        "string",
		Type:           "list",
	},
	"LastPokeTime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastPokeTime",
		Description:    `Last poke time of the pu.`,
		Exposed:        true,
		Name:           "lastPokeTime",
		Type:           "time",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the pu.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the pu.`,
		Exposed:        true,
		Name:           "namespace",
		Type:           "string",
	},
	"Status": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Status",
		Description:    `Status of the pu.`,
		Exposed:        true,
		Name:           "status",
		Type:           "string",
	},
	"Tags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `Tags of the pu.`,
		Exposed:        true,
		Name:           "tags",
		SubType:        "string",
		Type:           "list",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Type",
		Description:    `Type of the pu.`,
		Exposed:        true,
		Name:           "type",
		Type:           "string",
	},
	"Unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Unreachable",
		Description:    `If true, the pu is unreachable.`,
		Exposed:        true,
		Name:           "unreachable",
		Type:           "boolean",
	},
}

PUNodeAttributesMap represents the map of attribute for PUNode.

View Source
var PUNodeIdentity = elemental.Identity{
	Name:     "punode",
	Category: "punodes",
	Package:  "squall",
	Private:  true,
}

PUNodeIdentity represents the Identity of the object.

View Source
var PUNodeLowerCaseAttributesMap = map[string]elemental.AttributeSpecification{
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the identifier of the object.`,
		Exposed:        true,
		Filterable:     true,
		Identifier:     true,
		Name:           "ID",
		Orderable:      true,
		ReadOnly:       true,
		Type:           "string",
	},
	"enforcementstatus": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcementStatus",
		Description:    `Enforcement status of the pu.`,
		Exposed:        true,
		Name:           "enforcementStatus",
		Type:           "string",
	},
	"images": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Images",
		Description:    `Images of the pu.`,
		Exposed:        true,
		Name:           "images",
		SubType:        "string",
		Type:           "list",
	},
	"lastpoketime": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "LastPokeTime",
		Description:    `Last poke time of the pu.`,
		Exposed:        true,
		Name:           "lastPokeTime",
		Type:           "time",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		Description:    `Name of the pu.`,
		Exposed:        true,
		Name:           "name",
		Type:           "string",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Namespace",
		Description:    `Namespace of the pu.`,
		Exposed:        true,
		Name:           "namespace",
		Type:           "string",
	},
	"status": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Status",
		Description:    `Status of the pu.`,
		Exposed:        true,
		Name:           "status",
		Type:           "string",
	},
	"tags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Tags",
		Description:    `Tags of the pu.`,
		Exposed:        true,
		Name:           "tags",
		SubType:        "string",
		Type:           "list",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Type",
		Description:    `Type of the pu.`,
		Exposed:        true,
		Name:           "type",
		Type:           "string",
	},
	"unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Unreachable",
		Description:    `If true, the pu is unreachable.`,
		Exposed:        true,
		Name:           "unreachable",
		Type:           "boolean",
	},
}

PUNodeLowerCaseAttributesMap represents the map of attribute for PUNode.

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:    `DestinationIP is the IP address of the destination.`,
		Exposed:        true,
		Name:           "destinationIP",
		Type:           "string",
	},
	"DestinationPort": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationPort",
		Description:    `DestinationPort is 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: `This field is only set if 'event' is set to 'Dropped' and specifies the reason
for the drop.`,
		Exposed: true,
		Name:    "dropReason",
		Type:    "string",
	},
	"Encrypt": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypt",
		Description:    `Encrypt indicates that the packet was encrypted.`,
		Exposed:        true,
		Name:           "encrypt",
		Type:           "boolean",
	},
	"Event": elemental.AttributeSpecification{
		AllowedChoices: []string{"Received", "Transmitted", "Dropped"},
		ConvertedName:  "Event",
		Description:    `Event is 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 PU 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",
		Required:       true,
		Type:           "integer",
	},
	"PuID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PuID",
		Description:    `PUID is the ID of the PU reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "puID",
		Required:       true,
		Type:           "string",
	},
	"SourceIP": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceIP",
		Description:    `SourceIP is the source IP address of the packet.`,
		Exposed:        true,
		Name:           "sourceIP",
		Type:           "string",
	},
	"SourcePort": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourcePort",
		Description:    `SourcePort is the source port of the packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "sourcePort",
		Type:           "integer",
	},
	"Timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Timestamp is the date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
	"TriremePacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TriremePacket",
		DefaultValue:   true,
		Description:    `TriremePacket is set if the packet arrived with the Trireme options.`,
		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:    `DestinationIP is the IP address of the destination.`,
		Exposed:        true,
		Name:           "destinationIP",
		Type:           "string",
	},
	"destinationport": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DestinationPort",
		Description:    `DestinationPort is 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: `This field is only set if 'event' is set to 'Dropped' and specifies the reason
for the drop.`,
		Exposed: true,
		Name:    "dropReason",
		Type:    "string",
	},
	"encrypt": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Encrypt",
		Description:    `Encrypt indicates that the packet was encrypted.`,
		Exposed:        true,
		Name:           "encrypt",
		Type:           "boolean",
	},
	"event": elemental.AttributeSpecification{
		AllowedChoices: []string{"Received", "Transmitted", "Dropped"},
		ConvertedName:  "Event",
		Description:    `Event is 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 PU 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",
		Required:       true,
		Type:           "integer",
	},
	"puid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PuID",
		Description:    `PUID is the ID of the PU reporting the packet.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "puID",
		Required:       true,
		Type:           "string",
	},
	"sourceip": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourceIP",
		Description:    `SourceIP is the source IP address of the packet.`,
		Exposed:        true,
		Name:           "sourceIP",
		Type:           "string",
	},
	"sourceport": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "SourcePort",
		Description:    `SourcePort is the source port of the packet.`,
		Exposed:        true,
		MaxValue:       65536,
		Name:           "sourcePort",
		Type:           "integer",
	},
	"timestamp": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Timestamp",
		Description:    `Timestamp is the date of the report.`,
		Exposed:        true,
		Name:           "timestamp",
		Required:       true,
		Type:           "time",
	},
	"triremepacket": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TriremePacket",
		DefaultValue:   true,
		Description:    `TriremePacket is set if the packet arrived with the Trireme options.`,
		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:    `Password contains the new password.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
	"Token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `Token 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:    `Password contains the new password.`,
		Exposed:        true,
		Name:           "password",
		Required:       true,
		Type:           "string",
	},
	"token": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Token",
		Description:    `Token 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:    `Description contains the description of the Plan.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"EnforcersQuota": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "EnforcersQuota",
		Description:    `EnforcerQuota contains the maximum number of enforcers available in the Plan.`,
		Exposed:        true,
		Name:           "enforcersQuota",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"Key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Key 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:    `Name contains the name of the Plan.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"PoliciesQuota": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PoliciesQuota",
		Description:    `PoliciesQuota contains the maximum number of policies available in the Plan.`,
		Exposed:        true,
		Name:           "policiesQuota",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"ProcessingUnitsQuota": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ProcessingUnitsQuota",
		Description:    `ProcessingUnitsQuota contains the maximum PUs available in the Plan.`,
		Exposed:        true,
		Name:           "processingUnitsQuota",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
}

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:    `Description contains the description of the Plan.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"enforcersquota": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "EnforcersQuota",
		Description:    `EnforcerQuota contains the maximum number of enforcers available in the Plan.`,
		Exposed:        true,
		Name:           "enforcersQuota",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Key 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:    `Name contains the name of the Plan.`,
		Exposed:        true,
		Name:           "name",
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"policiesquota": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "PoliciesQuota",
		Description:    `PoliciesQuota contains the maximum number of policies available in the Plan.`,
		Exposed:        true,
		Name:           "policiesQuota",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"processingunitsquota": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ProcessingUnitsQuota",
		Description:    `ProcessingUnitsQuota contains the maximum PUs available in the Plan.`,
		Exposed:        true,
		Name:           "processingUnitsQuota",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
}

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:    `ID is the 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:    `Action defines 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert 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 auto 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: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 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:    `Propagate will propagate 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:    `Protected 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: `Relation 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: `Subject represent sets of entities that will have a dependency other entities.
Subjects are defined as logical operations on tags. Logical operations can
includes 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", "NamespaceMapping", "Network", "ProcessingUnit", "Quota", "Service", "ServiceDependency", "Syscall", "TokenScope", "SSHAuthorization"},
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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: `puIdentity is the set of tags that a future activated PU 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: `The dependencyMap contains the output of the policy evalation, and it is the
same
type of dependency map as created by other APIs.`,
		Exposed: true,
		Name:    "dependencyMap",
		SubType: "dependencymap",
		Type:    "ref",
	},
	"Recursive": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Recursive",
		Description: `Recursive will implement a recursive search through the namespaces for matching
PUs.`,
		Exposed: true,
		Name:    "recursive",
		Type:    "boolean",
	},
	"Selectors": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Selectors",
		Description: `Selectors contains the tag expression that an 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: `puIdentity is the set of tags that a future activated PU 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: `The dependencyMap contains the output of the policy evalation, and it is the
same
type of dependency map as created by other APIs.`,
		Exposed: true,
		Name:    "dependencyMap",
		SubType: "dependencymap",
		Type:    "ref",
	},
	"recursive": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Recursive",
		Description: `Recursive will implement a recursive search through the namespaces for matching
PUs.`,
		Exposed: true,
		Name:    "recursive",
		Type:    "boolean",
	},
	"selectors": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Selectors",
		Description: `Selectors contains the tag expression that an 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:    `ID is the 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:    `Action defines 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert 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 auto 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: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 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:    `Propagate will propagate 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:    `Protected 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: `Relation 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: `Subject represent sets of entities that will have a dependency other entities.
Subjects are defined as logical operations on tags. Logical operations can
includes 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", "NamespaceMapping", "Network", "ProcessingUnit", "Quota", "Service", "ServiceDependency", "Syscall", "TokenScope", "SSHAuthorization"},
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `SourceNamespace 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:    `SourceNamespace 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:    `Type 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:    `SourceNamespace 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:    `SourceNamespace 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:    `Type 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: `Define if the processMode should be using the object or subject. This only has
effect when rendering a SSHAuthorizationPolicy 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 policy for.`,
		Exposed:        true,
		Name:           "tags",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"Type": elemental.AttributeSpecification{
		AllowedChoices: []string{"APIAuthorization", "EnforcerProfile", "File", "Hook", "NamespaceMapping", "Network", "ProcessingUnit", "Quota", "Syscall", "TokenScope", "SSHAuthorization"},
		ConvertedName:  "Type",
		Description:    `Type of the 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: `Define if the processMode should be using the object or subject. This only has
effect when rendering a SSHAuthorizationPolicy 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 policy for.`,
		Exposed:        true,
		Name:           "tags",
		Required:       true,
		SubType:        "string",
		Type:           "list",
	},
	"type": elemental.AttributeSpecification{
		AllowedChoices: []string{"APIAuthorization", "EnforcerProfile", "File", "Hook", "NamespaceMapping", "Network", "ProcessingUnit", "Quota", "Syscall", "TokenScope", "SSHAuthorization"},
		ConvertedName:  "Type",
		Description:    `Type of the 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:    `ID is the 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:    `Action 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:    `AuditProfiles provides the audit profiles that must be applied.`,
		Exposed:        true,
		Name:           "auditProfiles",
		SubType:        "auditprofile",
		Type:           "refList",
	},
	"EnforcerProfiles": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerProfiles",
		Description:    `EnforcerProfiles provides the information about the server profile.`,
		Exposed:        true,
		Name:           "enforcerProfiles",
		SubType:        "enforcerprofile",
		Type:           "refList",
	},
	"ExternalNetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExternalNetworks",
		Description:    `Policy target networks.`,
		Exposed:        true,
		Name:           "externalNetworks",
		SubType:        "externalnetwork",
		Type:           "refList",
	},
	"FilePaths": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FilePaths",
		Description:    `Policy target file paths.`,
		Exposed:        true,
		Name:           "filePaths",
		SubType:        "filepath",
		Type:           "refList",
	},
	"HostServices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "HostServices",
		Description:    `HostServices 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:    `IsolationProfiles are 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 is the 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:    `Policy target namespaces.`,
		Exposed:        true,
		Name:           "namespaces",
		SubType:        "namespace",
		Type:           "refList",
	},
	"PolicyNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyNamespace",
		Description:    `PolicyNamespace is 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:    `Propagated indicates if the policy is propagated.`,
		Exposed:        true,
		Name:           "propagated",
		Type:           "boolean",
	},
	"Relation": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Relation",
		Description: `Relation 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:    `Services 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:    `ID is the 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:    `Action 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:    `AuditProfiles provides the audit profiles that must be applied.`,
		Exposed:        true,
		Name:           "auditProfiles",
		SubType:        "auditprofile",
		Type:           "refList",
	},
	"enforcerprofiles": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerProfiles",
		Description:    `EnforcerProfiles provides the information about the server profile.`,
		Exposed:        true,
		Name:           "enforcerProfiles",
		SubType:        "enforcerprofile",
		Type:           "refList",
	},
	"externalnetworks": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExternalNetworks",
		Description:    `Policy target networks.`,
		Exposed:        true,
		Name:           "externalNetworks",
		SubType:        "externalnetwork",
		Type:           "refList",
	},
	"filepaths": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "FilePaths",
		Description:    `Policy target file paths.`,
		Exposed:        true,
		Name:           "filePaths",
		SubType:        "filepath",
		Type:           "refList",
	},
	"hostservices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "HostServices",
		Description:    `HostServices 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:    `IsolationProfiles are 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 is the 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:    `Policy target namespaces.`,
		Exposed:        true,
		Name:           "namespaces",
		SubType:        "namespace",
		Type:           "refList",
	},
	"policynamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "PolicyNamespace",
		Description:    `PolicyNamespace is 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:    `Propagated indicates if the policy is propagated.`,
		Exposed:        true,
		Name:           "propagated",
		Type:           "boolean",
	},
	"relation": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Relation",
		Description: `Relation 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:    `Services 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:    `ID is the 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:    `ID is the 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",
		PrimaryKey:     true,
		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",
		PrimaryKey:     true,
		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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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: `CollectInfo indicates to the enforcer it needs to collect information for this
PU.`,
		Exposed: true,
		Name:    "collectInfo",
		Stored:  true,
		Type:    "boolean",
	},
	"CollectedInfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectedInfo",
		Description:    `CollectedInfo represents the latest info collected by the enforcer for this PU.`,
		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 is the 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:    `EnforcementStatus communicates the state of the enforcer for that PU.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "enum",
	},
	"EnforcerID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `EnforcerID is 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: `enforcerNamespace is 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",
		Deprecated:     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: `LastCollectionTime represents the date and time when the info have been
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:    `LastSyncTime is the time when the policy was last resolved.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NativeContextID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NativeContextID",
		Description:    `NativeContextID is the Docker UUID or service PID.`,
		Exposed:        true,
		Name:           "nativeContextID",
		Stored:         true,
		Type:           "string",
	},
	"NetworkServices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NetworkServices",
		Description: `NetworkServices is the list of services that this processing unit has declared
that it will be listening to. This can happen either with an 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:    `NormalizedTags 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:    `OperationalStatus of the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operationalStatus",
		Stored:         true,
		Type:           "enum",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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:    `Tracing indicates if this PU 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 the container ecosystem.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"Unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Unreachable",
		Description: `Control plane will set this value to true if it hasn't heard from the pu for
more than 5m.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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: `CollectInfo indicates to the enforcer it needs to collect information for this
PU.`,
		Exposed: true,
		Name:    "collectInfo",
		Stored:  true,
		Type:    "boolean",
	},
	"collectedinfo": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CollectedInfo",
		Description:    `CollectedInfo represents the latest info collected by the enforcer for this PU.`,
		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 is the 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:    `EnforcementStatus communicates the state of the enforcer for that PU.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "enforcementStatus",
		Stored:         true,
		Type:           "enum",
	},
	"enforcerid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "EnforcerID",
		Description:    `EnforcerID is 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: `enforcerNamespace is 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",
		Deprecated:     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: `LastCollectionTime represents the date and time when the info have been
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:    `LastSyncTime is the time when the policy was last resolved.`,
		Exposed:        true,
		Name:           "lastSyncTime",
		Orderable:      true,
		Stored:         true,
		Type:           "time",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"nativecontextid": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NativeContextID",
		Description:    `NativeContextID is the Docker UUID or service PID.`,
		Exposed:        true,
		Name:           "nativeContextID",
		Stored:         true,
		Type:           "string",
	},
	"networkservices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "NetworkServices",
		Description: `NetworkServices is the list of services that this processing unit has declared
that it will be listening to. This can happen either with an 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:    `NormalizedTags 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:    `OperationalStatus of the processing unit.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "operationalStatus",
		Stored:         true,
		Type:           "enum",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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:    `Tracing indicates if this PU 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 the container ecosystem.`,
		Exposed:        true,
		Filterable:     true,
		Name:           "type",
		Stored:         true,
		Type:           "enum",
	},
	"unreachable": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Unreachable",
		Description: `Control plane will set this value to true if it hasn't heard from the pu for
more than 5m.`,
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `IsolationProfileSelector are the profiles that must be applied when this policy
matches. 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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 defines the tag selectors that identitfy the processing units to which
this policy applies.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `IsolationProfileSelector are the profiles that must be applied when this policy
matches. 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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 defines the tag selectors that identitfy the processing units to which
this policy applies.`,
		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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

ProcessingUnitPolicyLowerCaseAttributesMap represents the map of attribute for ProcessingUnitPolicy.

View Source
var ProcessingUnitRefreshAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ID",
		Description:    `ID 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:    `Namespace 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:    `ID 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:    `Namespace 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",
	},
	"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",
		Required:       true,
		Type:           "string",
	},
}

QuotaCheckAttributesMap represents the map of attribute for QuotaCheck.

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

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",
	},
	"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",
		Required:       true,
		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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert 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 auto 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: `Fallback 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:    `Identities 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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: `Quota contains the maximum number of object matching the policy subject that can
be created.`,
		Exposed: true,
		Name:    "quota",
		Type:    "integer",
	},
	"TargetNamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `TargetNamespace 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert 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 auto 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: `Fallback 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:    `Identities 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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: `Quota contains the maximum number of object matching the policy subject that can
be created.`,
		Exposed: true,
		Name:    "quota",
		Type:    "integer",
	},
	"targetnamespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "TargetNamespace",
		Description:    `TargetNamespace 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

QuotaPolicyLowerCaseAttributesMap represents the map of attribute for QuotaPolicy.

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:    `Node defines the type of the hook.`,
		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:    `Define 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 the 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:    `RequestID 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:    `Node defines the type of the hook.`,
		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:    `Define 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 the 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:    `RequestID 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 RenderedPolicyAttributesMap = map[string]elemental.AttributeSpecification{
	"Certificate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Certificate",
		Description: `Certificate is the certificate associated with this PU. It will identify the PU
to any internal or external services.`,
		Exposed:  true,
		Name:     "certificate",
		ReadOnly: true,
		Type:     "string",
	},
	"DependendServices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DependendServices",
		Description:    `DependendServices is 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:    `EgressPolicies 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: `ExposedServices is 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:    `hashedTags 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:    `IngressPolicies lists all the ingress policies attached to processing unit.`,
		Exposed:        true,
		Name:           "ingressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"MatchingTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "MatchingTags",
		Description:    `MatchingTags 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: `Scopes is the set of scopes granted to this processing unit that it has to
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: `Certificate is the certificate associated with this PU. It will identify the PU
to any internal or external services.`,
		Exposed:  true,
		Name:     "certificate",
		ReadOnly: true,
		Type:     "string",
	},
	"dependendservices": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "DependendServices",
		Description:    `DependendServices is 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:    `EgressPolicies 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: `ExposedServices is 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:    `hashedTags 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:    `IngressPolicies lists all the ingress policies attached to processing unit.`,
		Exposed:        true,
		Name:           "ingressPolicies",
		ReadOnly:       true,
		SubType:        "_rendered_policy",
		Type:           "external",
	},
	"matchingtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "MatchingTags",
		Description:    `MatchingTags 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: `Scopes is the set of scopes granted to this processing unit that it has to
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",
		PrimaryKey:     true,
		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",
	},
	"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",
	},
}

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",
		PrimaryKey:     true,
		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",
	},
	"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",
	},
}

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 is the description of the role.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Type:           "string",
	},
	"Key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Key is the 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:  "squall",
	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 is the description of the role.`,
		Exposed:        true,
		Name:           "description",
		ReadOnly:       true,
		Type:           "string",
	},
	"key": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Key",
		Description:    `Key is the 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:    `ID is the 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:    `ID is the 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 SSHAuthorityAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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",
	},
}

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:    `ID is the 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",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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",
	},
}

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 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 is the 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:    `Disabled defines if the propert 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 auto 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 SSH permissions to apply to SSH 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: `Fallback 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: `If set, this will configure the ` + "`" + `force-command` + "`" + ` option in the SSH Certificate.
More info can be found at
<https://github.com/openssh/openssh-portable/blob/38e83e4f219c752ebb1560633b73f06f0392018b/PROTOCOL.certkeys#L249>.`,
		Exposed: true,
		Name:    "forceCommand",
		Type:    "string",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 contains the tag expression matching the enforcers the subject is allowed
to connect to.`,
		Exposed:   true,
		Name:      "object",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"Principals": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description: `You can set some principals that will be applied to delivered certificate. If
not
set, the user's claim Subject will be used.`,
		Exposed: true,
		Name:    "principals",
		SubType: "string",
		Type:    "list",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 contains the tag expression the authentication claims 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",
	},
	"Validity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "1h",
		Description:    `Set the validity of the delivered SSH certificate.`,
		Exposed:        true,
		Name:           "validity",
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 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 is the 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:    `Disabled defines if the propert 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 auto 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 SSH permissions to apply to SSH 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: `Fallback 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: `If set, this will configure the ` + "`" + `force-command` + "`" + ` option in the SSH Certificate.
More info can be found at
<https://github.com/openssh/openssh-portable/blob/38e83e4f219c752ebb1560633b73f06f0392018b/PROTOCOL.certkeys#L249>.`,
		Exposed: true,
		Name:    "forceCommand",
		Type:    "string",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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 contains the tag expression matching the enforcers the subject is allowed
to connect to.`,
		Exposed:   true,
		Name:      "object",
		Orderable: true,
		SubType:   "[][]string",
		Type:      "external",
	},
	"principals": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Principals",
		Description: `You can set some principals that will be applied to delivered certificate. If
not
set, the user's claim Subject will be used.`,
		Exposed: true,
		Name:    "principals",
		SubType: "string",
		Type:    "list",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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 contains the tag expression the authentication claims 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",
	},
	"validity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Validity",
		DefaultValue:   "1h",
		Description:    `Set the validity of the delivered SSH certificate.`,
		Exposed:        true,
		Name:           "validity",
		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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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 a 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 a 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 ServiceAttributesMap = map[string]elemental.AttributeSpecification{
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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: `IPs is 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 user 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 Provider URL. 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 add to 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 to ` + "`" + `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 letsencrypt.
- ` + "`" + `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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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: `AuthorizationType defines the user authorization type that should be used.

- ` + "`" + `None` + "`" + `: No auhtorization.
- ` + "`" + `JWT` + "`" + `:  Configures a simple JWT verification from the HTTP ` + "`" + `Auhorization` + "`" + `
Header
- ` + "`" + `OIDC` + "`" + `: Configures OIDC authorization. You must then set ` + "`" + `OIDCClientID` + "`" + `,
` + "`" + `OIDCClientSecret` + "`" + `, OIDCProviderURL` + "`" + `.
- ` + "`" + `MTLS` + "`" + `: Configures Client Certificate authorization. Then you can optionaly
` + "`" + `MTLSCertificateAuthority` + "`" + ` otherwise Aporeto 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Endpoints": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Endpoints",
		Description: `Endpoints is a read only attribute that actually 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: `ExposedAPIs 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 L7 protocols.`,
		Exposed: true,
		Name:    "exposedAPIs",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"ExposedPort": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExposedPort",
		Description: `ExposedPort is the port that the service can be accessed. Note that
this is different from the Port attribute that describes the port that the
service is actually listening. 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: `ExposedServiceIsTLS indicates that the exposed service is TLS. This means that
the enforcer has to initiate a TLS session in order to forrward traffic to the
service.`,
		Exposed:    true,
		Filterable: true,
		Name:       "exposedServiceIsTLS",
		Orderable:  true,
		Stored:     true,
		Type:       "boolean",
	},
	"External": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "External",
		Description:    `External is a boolean that 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:    `Hosts are the names that the service can be accessed with.`,
		Exposed:        true,
		Name:           "hosts",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"Metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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: `Port is the port that the implementation of the service is listening to and
it can be different than the exposedPorts describing the service. This is needed
for port mapping use cases where there is private and public ports.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "port",
		Required: true,
		Stored:   true,
		Type:     "integer",
	},
	"Protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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: `PublicApplicationPort is a new virtual port that the service can
be accessed, 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 to let you chance 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: `Selectors contains the tag expression that an a processing unit
must match in order to implement 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 L7 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 is the type of the 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"Fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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",
	},
	"Propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"fallback": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Fallback",
		Description: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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",
	},
	"propagate": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Propagate",
		Description:    `Propagate will propagate 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:    `Protected 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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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: `IPs is 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 user 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 Provider URL. 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 add to 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 to ` + "`" + `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 letsencrypt.
- ` + "`" + `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:    `Annotation 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:    `Archived defines if the object is archived.`,
		Getter:         true,
		Name:           "archived",
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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: `AuthorizationType defines the user authorization type that should be used.

- ` + "`" + `None` + "`" + `: No auhtorization.
- ` + "`" + `JWT` + "`" + `:  Configures a simple JWT verification from the HTTP ` + "`" + `Auhorization` + "`" + `
Header
- ` + "`" + `OIDC` + "`" + `: Configures OIDC authorization. You must then set ` + "`" + `OIDCClientID` + "`" + `,
` + "`" + `OIDCClientSecret` + "`" + `, OIDCProviderURL` + "`" + `.
- ` + "`" + `MTLS` + "`" + `: Configures Client Certificate authorization. Then you can optionaly
` + "`" + `MTLSCertificateAuthority` + "`" + ` otherwise Aporeto 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 is the 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:    `Disabled defines if the propert is disabled.`,
		Exposed:        true,
		Getter:         true,
		Name:           "disabled",
		Orderable:      true,
		Setter:         true,
		Stored:         true,
		Type:           "boolean",
	},
	"endpoints": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Endpoints",
		Description: `Endpoints is a read only attribute that actually 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: `ExposedAPIs 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 L7 protocols.`,
		Exposed: true,
		Name:    "exposedAPIs",
		Stored:  true,
		SubType: "[][]string",
		Type:    "external",
	},
	"exposedport": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "ExposedPort",
		Description: `ExposedPort is the port that the service can be accessed. Note that
this is different from the Port attribute that describes the port that the
service is actually listening. 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: `ExposedServiceIsTLS indicates that the exposed service is TLS. This means that
the enforcer has to initiate a TLS session in order to forrward traffic to the
service.`,
		Exposed:    true,
		Filterable: true,
		Name:       "exposedServiceIsTLS",
		Orderable:  true,
		Stored:     true,
		Type:       "boolean",
	},
	"external": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "External",
		Description:    `External is a boolean that 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:    `Hosts are the names that the service can be accessed with.`,
		Exposed:        true,
		Name:           "hosts",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"metadata": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Metadata",
		CreationOnly:   true,
		Description: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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: `Port is the port that the implementation of the service is listening to and
it can be different than the exposedPorts describing the service. This is needed
for port mapping use cases where there is private and public ports.`,
		Exposed:  true,
		MaxValue: 65535,
		Name:     "port",
		Required: true,
		Stored:   true,
		Type:     "integer",
	},
	"protected": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Protected",
		Description:    `Protected 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: `PublicApplicationPort is a new virtual port that the service can
be accessed, 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 to let you chance 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: `Selectors contains the tag expression that an a processing unit
must match in order to implement 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 L7 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 is the type of the 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

ServiceLowerCaseAttributesMap represents the map of attribute for Service.

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"},
		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"},
		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 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"},
		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 of results. -1 means no offset.`,
		Exposed:        true,
		Name:           "offset",
		Type:           "integer",
	},
	"Results": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Results",
		Description:    `Results 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 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"},
		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 of results. -1 means no offset.`,
		Exposed:        true,
		Name:           "offset",
		Type:           "integer",
	},
	"results": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Results",
		Description:    `Results 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 access 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 access 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:    `Headers 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:    `Rows contains the tabulated data.`,
		Exposed:        true,
		Name:           "rows",
		ReadOnly:       true,
		SubType:        "[][]interface{}",
		Type:           "external",
	},
	"TargetIdentity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "TargetIdentity",
		Description:    `TargetIdentity 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:    `Headers 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:    `Rows contains the tabulated data.`,
		Exposed:        true,
		Name:           "rows",
		ReadOnly:       true,
		SubType:        "[][]interface{}",
		Type:           "external",
	},
	"targetidentity": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "TargetIdentity",
		Description:    `TargetIdentity 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:    `ID is the 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:    `Count represents the number of time the tag is used.`,
		Exposed:        true,
		Name:           "count",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"Namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Namespace represents the namespace of the counted tag.`,
		Exposed:        true,
		Name:           "namespace",
		PrimaryKey:     true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"Value": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		CreationOnly:   true,
		Description:    `Value represents the value of the tag.`,
		Exposed:        true,
		Name:           "value",
		PrimaryKey:     true,
		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:    `ID is the 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:    `Count represents the number of time the tag is used.`,
		Exposed:        true,
		Name:           "count",
		ReadOnly:       true,
		Stored:         true,
		Type:           "integer",
	},
	"namespace": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "Namespace",
		Description:    `Namespace represents the namespace of the counted tag.`,
		Exposed:        true,
		Name:           "namespace",
		PrimaryKey:     true,
		ReadOnly:       true,
		Stored:         true,
		Type:           "string",
	},
	"value": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Value",
		CreationOnly:   true,
		Description:    `Value represents the value of the tag.`,
		Exposed:        true,
		Name:           "value",
		PrimaryKey:     true,
		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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"AssignedScopes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssignedScopes",
		Description:    `AssignedScopes is the the list of scopes that the policiy will assigns.`,
		Exposed:        true,
		Name:           "assignedScopes",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"AssociatedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert 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 auto 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: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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 defines the selection criteria that this policy must match on identiy
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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `ID is the 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: `ActiveDuration 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: `ActiveSchedule 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:    `Annotation stores additional information about an entity.`,
		Exposed:        true,
		Getter:         true,
		Name:           "annotations",
		Setter:         true,
		Stored:         true,
		SubType:        "map[string][]string",
		Type:           "external",
	},
	"assignedscopes": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssignedScopes",
		Description:    `AssignedScopes is the the list of scopes that the policiy will assigns.`,
		Exposed:        true,
		Name:           "assignedScopes",
		Orderable:      true,
		Stored:         true,
		SubType:        "string",
		Type:           "list",
	},
	"associatedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "AssociatedTags",
		Description:    `AssociatedTags are the 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 is the 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:    `Disabled defines if the propert 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 auto 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: `Fallback 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: `Metadata contains tags that can only be set during creation. They 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 is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Propagate will propagate 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:    `Protected 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 defines the selection criteria that this policy must match on identiy
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",
	},
	"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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   true,
		Type:     "integer",
	},
}

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:    `Payload contains the eventual 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:    `Payload contains the eventual remote POST payload.`,
		Name:           "payload",
		Type:           "string",
	},
}

TriggerLowerCaseAttributesMap represents the map of attribute for Trigger.

View Source
var VulnerabilityAttributesMap = map[string]elemental.AttributeSpecification{
	"CVSS2Score": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "CVSS2Score",
		CreationOnly:   true,
		Description:    `CVSS v2 score.`,
		Exposed:        true,
		Name:           "CVSS2Score",
		Stored:         true,
		Type:           "float",
	},
	"ID": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Link is the URL that refers to the vulnerability.`,
		Exposed:        true,
		Name:           "link",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"Name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"NormalizedTags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Protected 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:    `Severity 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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:    `CVSS v2 score.`,
		Exposed:        true,
		Name:           "CVSS2Score",
		Stored:         true,
		Type:           "float",
	},
	"id": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "ID",
		Description:    `ID is the 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:    `Annotation 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:    `AssociatedTags are the 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 is the 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:    `Link is the URL that refers to the vulnerability.`,
		Exposed:        true,
		Name:           "link",
		Orderable:      true,
		Required:       true,
		Stored:         true,
		Type:           "string",
	},
	"name": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		ConvertedName:  "Name",
		DefaultOrder:   true,
		Description:    `Name is the 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,
		PrimaryKey:     true,
		ReadOnly:       true,
		Setter:         true,
		Stored:         true,
		Type:           "string",
	},
	"normalizedtags": elemental.AttributeSpecification{
		AllowedChoices: []string{},
		Autogenerated:  true,
		ConvertedName:  "NormalizedTags",
		Description:    `NormalizedTags 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:    `Protected 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:    `Severity 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. This is used for sharding and
georedundancy.`,
		Getter:   true,
		Name:     "zone",
		ReadOnly: true,
		Setter:   true,
		Stored:   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 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 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 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.

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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

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

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

	// AuthorizedIdentities defines the list of api identities the policy applies to.
	AuthorizedIdentities []string `json:"authorizedIdentities" msgpack:"authorizedIdentities" bson:"-" mapstructure:"authorizedIdentities,omitempty"`

	// AuthorizedNamespace defines on what namespace the policy applies.
	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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate 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"`

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

	// Subject is the subject.
	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"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

APIAuthorizationPolicy represents the model of a apiauthorizationpolicy

func NewAPIAuthorizationPolicy

func NewAPIAuthorizationPolicy() *APIAuthorizationPolicy

NewAPIAuthorizationPolicy returns a new *APIAuthorizationPolicy

func (*APIAuthorizationPolicy) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

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

func (o *APIAuthorizationPolicy) GetPropagate() bool

GetPropagate returns the Propagate of the receiver.

func (*APIAuthorizationPolicy) GetPropagationHidden

func (o *APIAuthorizationPolicy) GetPropagationHidden() bool

GetPropagationHidden returns the PropagationHidden of the receiver.

func (*APIAuthorizationPolicy) GetProtected

func (o *APIAuthorizationPolicy) GetProtected() bool

GetProtected returns the Protected of the receiver.

func (*APIAuthorizationPolicy) GetUpdateIdempotencyKey

func (o *APIAuthorizationPolicy) GetUpdateIdempotencyKey() string

GetUpdateIdempotencyKey returns the UpdateIdempotencyKey of the receiver.

func (*APIAuthorizationPolicy) GetUpdateTime

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

GetUpdateTime returns the UpdateTime of the receiver.

func (*APIAuthorizationPolicy) GetZHash

func (o *APIAuthorizationPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*APIAuthorizationPolicy) GetZone

func (o *APIAuthorizationPolicy) GetZone() int

GetZone returns the Zone of the receiver.

func (*APIAuthorizationPolicy) Identifier

func (o *APIAuthorizationPolicy) Identifier() string

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

func (*APIAuthorizationPolicy) Identity

Identity returns the Identity of the object.

func (*APIAuthorizationPolicy) Patch

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

func (*APIAuthorizationPolicy) SetActiveDuration

func (o *APIAuthorizationPolicy) SetActiveDuration(activeDuration string)

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

func (*APIAuthorizationPolicy) SetActiveSchedule

func (o *APIAuthorizationPolicy) SetActiveSchedule(activeSchedule string)

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

func (*APIAuthorizationPolicy) SetAnnotations

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

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

func (*APIAuthorizationPolicy) SetAssociatedTags

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

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

func (*APIAuthorizationPolicy) SetCreateIdempotencyKey

func (o *APIAuthorizationPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

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

func (*APIAuthorizationPolicy) SetCreateTime

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

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

func (*APIAuthorizationPolicy) SetDescription

func (o *APIAuthorizationPolicy) SetDescription(description string)

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

func (*APIAuthorizationPolicy) SetDisabled

func (o *APIAuthorizationPolicy) SetDisabled(disabled bool)

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

func (*APIAuthorizationPolicy) SetExpirationTime

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

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

func (*APIAuthorizationPolicy) SetFallback

func (o *APIAuthorizationPolicy) SetFallback(fallback bool)

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

func (*APIAuthorizationPolicy) SetIdentifier

func (o *APIAuthorizationPolicy) SetIdentifier(id string)

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

func (*APIAuthorizationPolicy) SetMetadata

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

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

func (*APIAuthorizationPolicy) SetName

func (o *APIAuthorizationPolicy) SetName(name string)

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

func (*APIAuthorizationPolicy) SetNamespace

func (o *APIAuthorizationPolicy) SetNamespace(namespace string)

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

func (*APIAuthorizationPolicy) SetNormalizedTags

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

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

func (*APIAuthorizationPolicy) SetPropagate

func (o *APIAuthorizationPolicy) SetPropagate(propagate bool)

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

func (*APIAuthorizationPolicy) SetPropagationHidden

func (o *APIAuthorizationPolicy) SetPropagationHidden(propagationHidden bool)

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

func (*APIAuthorizationPolicy) SetProtected

func (o *APIAuthorizationPolicy) SetProtected(protected bool)

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

func (*APIAuthorizationPolicy) SetUpdateIdempotencyKey

func (o *APIAuthorizationPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

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

func (*APIAuthorizationPolicy) SetUpdateTime

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

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

func (*APIAuthorizationPolicy) SetZHash

func (o *APIAuthorizationPolicy) SetZHash(zHash int)

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

func (*APIAuthorizationPolicy) SetZone

func (o *APIAuthorizationPolicy) SetZone(zone int)

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

func (*APIAuthorizationPolicy) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*APIAuthorizationPolicy) String

func (o *APIAuthorizationPolicy) String() string

func (*APIAuthorizationPolicy) ToSparse

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

func (*APIAuthorizationPolicy) Validate

func (o *APIAuthorizationPolicy) Validate() error

Validate valides the current information stored into the structure.

func (*APIAuthorizationPolicy) ValueForAttribute

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

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*APIAuthorizationPolicy) Version

func (o *APIAuthorizationPolicy) Version() int

Version returns the hardcoded version of the model.

type APICheck

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

	// Claims contains the decoded claims used.
	Claims []string `json:"claims" msgpack:"claims" bson:"-" mapstructure:"claims,omitempty"`

	// Namespace is the namespace to use to check the api authentication.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"-" mapstructure:"namespace,omitempty"`

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

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

	// Token is the token to use to check api authentication.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,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) 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"`

	// ID is the 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"`

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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"`

	// Name is the 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"`

	// Link to the cluster namespace where the AWS API gateway is defined.
	NamespaceID string `json:"namespaceID" msgpack:"namespaceID" bson:"-" mapstructure:"namespaceID,omitempty"`

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

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

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

func (o *AWSAPIGateway) GetName() string

GetName returns the Name of the receiver.

func (*AWSAPIGateway) GetNamespace

func (o *AWSAPIGateway) GetNamespace() string

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

func (o *AWSAPIGateway) SetName(name string)

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

func (*AWSAPIGateway) SetNamespace

func (o *AWSAPIGateway) SetNamespace(namespace string)

SetNamespace sets the property Namespace 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

	// AccessKeyID contains the aws access key ID. This is used to retrieve your
	// account id, and it is not stored.
	AccessKeyID string `json:"accessKeyID" msgpack:"accessKeyID" bson:"-" mapstructure:"accessKeyID,omitempty"`

	// AccessToken contains your aws access token. It is used to retrieve your account
	// id, and it not stored.
	AccessToken string `json:"accessToken" msgpack:"accessToken" bson:"-" mapstructure:"accessToken,omitempty"`

	// accountID contains your verified accound 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"`

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

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

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

	// secretAccessKey contains the secret key. It is used to retrieve your account id,
	// and it is not stored.
	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"`

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

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

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

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

SetUpdateTime sets the property UpdateTime 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 {
	// ID is the 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) 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 Account

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

	// LDAPAddress holds the account authentication account's private ldap server.
	LDAPAddress string `json:"LDAPAddress" msgpack:"LDAPAddress" bson:"ldapaddress" mapstructure:"LDAPAddress,omitempty"`

	// LDAPBaseDN holds the base DN to use to ldap queries.
	LDAPBaseDN string `json:"LDAPBaseDN" msgpack:"LDAPBaseDN" bson:"ldapbasedn" mapstructure:"LDAPBaseDN,omitempty"`

	// LDAPBindDN holds the account's internal LDAP bind dn for querying auth.
	LDAPBindDN string `json:"LDAPBindDN" msgpack:"LDAPBindDN" bson:"ldapbinddn" mapstructure:"LDAPBindDN,omitempty"`

	// LDAPBindPassword holds the password to the LDAPBindDN.
	LDAPBindPassword string `json:"LDAPBindPassword" msgpack:"LDAPBindPassword" bson:"ldapbindpassword" mapstructure:"LDAPBindPassword,omitempty"`

	// LDAPBindSearchFilter holds filter to be used to uniquely search a user. For
	// Windows based systems, value may be `+"`"+`sAMAccountName={USERNAME}`+"`"+`. For Linux and
	// other systems, value may be `+"`"+`uid={USERNAME}`+"`"+`.
	LDAPBindSearchFilter string `` /* 132-byte string literal not displayed */

	// LDAPCertificateAuthority contains the optional certificate author ity that will
	// be used to connect to the LDAP server. It is not needed if the TLS certificate
	// of the LDAP is issued from a public truster CA.
	LDAPCertificateAuthority string `` /* 148-byte string literal not displayed */

	// LDAPConnProtocol holds the connection type for the LDAP provider.
	LDAPConnSecurityProtocol AccountLDAPConnSecurityProtocolValue `` /* 148-byte string literal not displayed */

	// LDAPEnabled triggers if the account uses it's own LDAP for authentication.
	LDAPEnabled bool `json:"LDAPEnabled" msgpack:"LDAPEnabled" bson:"ldapenabled" mapstructure:"LDAPEnabled,omitempty"`

	// LDAPIgnoredKeys holds a list of keys that must not be imported into Aporeto
	// authorization system.
	LDAPIgnoredKeys []string `json:"LDAPIgnoredKeys" msgpack:"LDAPIgnoredKeys" bson:"ldapignoredkeys" mapstructure:"LDAPIgnoredKeys,omitempty"`

	// LDAPSubjectKey holds key to be used to populate the subject. If you want to
	// use the user as a subject, for Windows based systems you may use
	// 'sAMAccountName' and for Linux and other systems, value may be 'uid'. You can
	// also use any alternate key.
	LDAPSubjectKey string `json:"LDAPSubjectKey" msgpack:"LDAPSubjectKey" bson:"ldapsubjectkey" mapstructure:"LDAPSubjectKey,omitempty"`

	// Set to enable or disable two factor authentication.
	OTPEnabled bool `json:"OTPEnabled" msgpack:"OTPEnabled" bson:"otpenabled" mapstructure:"OTPEnabled,omitempty"`

	// Returns the base64 encoded QRCode for setting up 2 factor auth.
	OTPQRCode string `json:"OTPQRCode" msgpack:"OTPQRCode" bson:"-" mapstructure:"OTPQRCode,omitempty"`

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

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

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

	// ActivationToken contains the activation token.
	ActivationToken string `` /* 132-byte string literal not displayed */

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

	// AssociatedAWSPolicies contains a map of associated AWS Enforcerd Policies.
	AssociatedAWSPolicies map[string]string `json:"-" msgpack:"-" bson:"associatedawspolicies" mapstructure:"-,omitempty"`

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

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

	// AssociatedPlanKey contains the plan key that is associated to this account.
	AssociatedPlanKey string `json:"associatedPlanKey" msgpack:"associatedPlanKey" bson:"associatedplankey" mapstructure:"associatedPlanKey,omitempty"`

	// AssociatedQuotaPolicies contains a mapping to the associated quota pollicies.
	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"`

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

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

	// ReCAPTCHAKey contains the capcha validation if reCAPTCH is enabled.
	ReCAPTCHAKey string `json:"reCAPTCHAKey" msgpack:"reCAPTCHAKey" bson:"-" mapstructure:"reCAPTCHAKey,omitempty"`

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

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

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

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

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

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

SetUpdateTime sets the property UpdateTime 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) 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 AccountLDAPConnSecurityProtocolValue

type AccountLDAPConnSecurityProtocolValue string

AccountLDAPConnSecurityProtocolValue represents the possible values for attribute "LDAPConnSecurityProtocol".

const (
	// AccountLDAPConnSecurityProtocolInbandTLS represents the value InbandTLS.
	AccountLDAPConnSecurityProtocolInbandTLS AccountLDAPConnSecurityProtocolValue = "InbandTLS"

	// AccountLDAPConnSecurityProtocolTLS represents the value TLS.
	AccountLDAPConnSecurityProtocolTLS AccountLDAPConnSecurityProtocolValue = "TLS"
)

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 {
	// Token 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) 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 {
	// ID is the 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"`

	// Data of the notification.
	Data interface{} `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

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

	// Error contains the eventual 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"`

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

	// Operation describe what kind of operation the notification represents.
	Operation string `json:"operation" msgpack:"operation" bson:"operation" mapstructure:"operation,omitempty"`

	// OriginalData contains the eventual original data of the object that has been
	// modified.
	OriginalData interface{} `json:"originalData" msgpack:"originalData" bson:"originaldata" mapstructure:"originalData,omitempty"`

	// Source contains meta information about the source.
	Source string `json:"source" msgpack:"source" bson:"source" mapstructure:"source,omitempty"`

	// TargetIdentity is 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Activity represents the model of a activity

func NewActivity

func NewActivity() *Activity

NewActivity returns a new *Activity

func (*Activity) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Activity) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// AssociatedTags are the 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 alams.
	Data []map[string]string `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

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

	// Emails is a list of recipients that should be emailed when this alarm is
	// created.
	Emails []string `json:"emails" msgpack:"emails" bson:"emails" mapstructure:"emails,omitempty"`

	// Kind identifies the kind of alarms. 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"`

	// Name is the 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"`

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

	// Number of time this alarm have been seen.
	Occurrences []time.Time `json:"occurrences" msgpack:"occurrences" bson:"occurrences" mapstructure:"occurrences,omitempty"`

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Alarm represents the model of a alarm

func NewAlarm

func NewAlarm() *Alarm

NewAlarm returns a new *Alarm

func (*Alarm) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Alarm) 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) 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) 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 {
	// Beta indicates if the app is in a beta version.
	Beta bool `json:"beta" msgpack:"beta" bson:"-" mapstructure:"beta,omitempty"`

	// CategoryID of the app.
	CategoryID string `json:"categoryID" msgpack:"categoryID" bson:"-" mapstructure:"categoryID,omitempty"`

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

	// Icon contains a base64 image for the app.
	Icon string `json:"icon" msgpack:"icon" bson:"-" mapstructure:"icon,omitempty"`

	// LatestVersion represents the latest version available of the app.
	LatestVersion string `json:"latestVersion" msgpack:"latestVersion" bson:"-" mapstructure:"latestVersion,omitempty"`

	// LongDescription contains a more detailed description of the app.
	LongDescription string `json:"longDescription" msgpack:"longDescription" bson:"-" mapstructure:"longDescription,omitempty"`

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

	// Parameters is a list of parameters available for the app.
	Parameters []*AppParameter `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

	// Title represents the title of the app.
	Title string `json:"title" msgpack:"title" bson:"-" mapstructure:"title,omitempty"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *App) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*App) GetZone

func (o *App) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *App) SetZHash(zHash int)

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

func (*App) SetZone

func (o *App) SetZone(zone int)

SetZone sets the property Zone 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 {
	// CSR contains the Certificate Signing Request as a PEM encoded string. 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 appcred
	//
	// If you send anything else, the signing request will be rejected.
	CSR string `json:"CSR" msgpack:"CSR" bson:"-" mapstructure:"CSR,omitempty"`

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

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

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

	// If set, the it 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 application.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"certificate" mapstructure:"certificate,omitempty"`

	// Link to the certificate created for this application.
	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 credential data.
	Credentials *Credential `json:"credentials" msgpack:"credentials" bson:"-" mapstructure:"credentials,omitempty"`

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

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

	// The email address that will receive a copy of the application credentials.
	Email string `json:"email" msgpack:"email" bson:"email" mapstructure:"email,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags 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 Appcred if this is a derived appcred.
	ParentIDs []string `json:"parentIDs" msgpack:"parentIDs" bson:"parentids" mapstructure:"parentIDs,omitempty"`

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

	// List of roles to give the credentials.
	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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

AppCredential represents the model of a appcredential

func NewAppCredential

func NewAppCredential() *AppCredential

NewAppCredential returns a new *AppCredential

func (*AppCredential) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*AppCredential) 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) 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) 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 AppParameter

type AppParameter struct {
	// Defines if the parameter is an advanced one.
	Advanced bool `json:"advanced" msgpack:"advanced" bson:"advanced" mapstructure:"advanced,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 paramerter.
	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 paramerter.
	Name string `json:"name" msgpack:"name" bson:"name" mapstructure:"name,omitempty"`

	// Defines if the parameter is optional.
	Optional bool `json:"optional" msgpack:"optional" bson:"optional" mapstructure:"optional,omitempty"`

	// The type of the parameter.
	Type AppParameterTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// Value of the parameter.
	Value interface{} `json:"value" msgpack:"value" bson:"value" mapstructure:"value,omitempty"`

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

AppParameter represents the model of a appparameter

func NewAppParameter

func NewAppParameter() *AppParameter

NewAppParameter returns a new *AppParameter

func (*AppParameter) DeepCopy

func (o *AppParameter) DeepCopy() *AppParameter

DeepCopy returns a deep copy if the AppParameter.

func (*AppParameter) DeepCopyInto

func (o *AppParameter) DeepCopyInto(out *AppParameter)

DeepCopyInto copies the receiver into the given *AppParameter.

func (*AppParameter) Validate

func (o *AppParameter) Validate() error

Validate valides the current information stored into the structure.

type AppParameterTypeValue

type AppParameterTypeValue string

AppParameterTypeValue represents the possible values for attribute "type".

const (
	// AppParameterTypeBoolean represents the value Boolean.
	AppParameterTypeBoolean AppParameterTypeValue = "Boolean"

	// AppParameterTypeCVSSThreshold represents the value CVSSThreshold.
	AppParameterTypeCVSSThreshold AppParameterTypeValue = "CVSSThreshold"

	// AppParameterTypeDuration represents the value Duration.
	AppParameterTypeDuration AppParameterTypeValue = "Duration"

	// AppParameterTypeEnum represents the value Enum.
	AppParameterTypeEnum AppParameterTypeValue = "Enum"

	// AppParameterTypeFloat represents the value Float.
	AppParameterTypeFloat AppParameterTypeValue = "Float"

	// AppParameterTypeFloatSlice represents the value FloatSlice.
	AppParameterTypeFloatSlice AppParameterTypeValue = "FloatSlice"

	// AppParameterTypeInteger represents the value Integer.
	AppParameterTypeInteger AppParameterTypeValue = "Integer"

	// AppParameterTypeIntegerSlice represents the value IntegerSlice.
	AppParameterTypeIntegerSlice AppParameterTypeValue = "IntegerSlice"

	// AppParameterTypePassword represents the value Password.
	AppParameterTypePassword AppParameterTypeValue = "Password"

	// AppParameterTypeString represents the value String.
	AppParameterTypeString AppParameterTypeValue = "String"

	// AppParameterTypeStringSlice represents the value StringSlice.
	AppParameterTypeStringSlice AppParameterTypeValue = "StringSlice"
)

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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Rules is the list of audit policy rules associated with this policy.
	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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

AuditProfile represents the model of a auditprofile

func NewAuditProfile

func NewAuditProfile() *AuditProfile

NewAuditProfile returns a new *AuditProfile

func (*AuditProfile) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*AuditProfile) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Object of the policy is the selector of the audit profiles that must be applied
	// based on this policy.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Subject of the policy is a selector of the enforcers that must implement 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"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *AuditProfileMappingPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*AuditProfileMappingPolicy) GetZone

func (o *AuditProfileMappingPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *AuditProfileMappingPolicy) SetZHash(zHash int)

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

func (*AuditProfileMappingPolicy) SetZone

func (o *AuditProfileMappingPolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// Needs documentation.
	AUID string `json:"AUID" msgpack:"AUID" bson:"-" mapstructure:"AUID,omitempty"`

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

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

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

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

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

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

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

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

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

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

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

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

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

	// Needs documentation.
	A0 string `json:"a0" msgpack:"a0" bson:"-" mapstructure:"a0,omitempty"`

	// Needs documentation.
	A1 string `json:"a1" msgpack:"a1" bson:"-" mapstructure:"a1,omitempty"`

	// Needs documentation.
	A2 string `json:"a2" msgpack:"a2" bson:"-" mapstructure:"a2,omitempty"`

	// Needs documentation.
	A3 string `json:"a3" msgpack:"a3" bson:"-" mapstructure:"a3,omitempty"`

	// Architecture of the system where the syscall happened.
	Arch string `json:"arch" msgpack:"arch" bson:"-" mapstructure:"arch,omitempty"`

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

	// Namespace 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 executable.
	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 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 of a failure.
	Success bool `json:"success" msgpack:"success" bson:"-" mapstructure:"success,omitempty"`

	// Syscall name.
	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) 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 Auth

type Auth struct {
	// Claims are the claims.
	Claims *claims.MidgardClaims `json:"claims" msgpack:"claims" bson:"-" mapstructure:"claims,omitempty"`

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

Auth represents the model of a auth

func NewAuth

func NewAuth() *Auth

NewAuth returns a new *Auth

func (*Auth) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Auth) DeepCopy

func (o *Auth) DeepCopy() *Auth

DeepCopy returns a deep copy if the Auth.

func (*Auth) DeepCopyInto

func (o *Auth) DeepCopyInto(out *Auth)

DeepCopyInto copies the receiver into the given *Auth.

func (*Auth) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*Auth) Doc

func (o *Auth) Doc() string

Doc returns the documentation for the object

func (*Auth) Identifier

func (o *Auth) Identifier() string

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

func (*Auth) Identity

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

Identity returns the Identity of the object.

func (*Auth) Patch

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

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

func (*Auth) SetIdentifier

func (o *Auth) SetIdentifier(id string)

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

func (*Auth) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Auth) String

func (o *Auth) String() string

func (*Auth) ToSparse

func (o *Auth) ToSparse(fields ...string) elemental.SparseIdentifiable

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

func (*Auth) Validate

func (o *Auth) Validate() error

Validate valides the current information stored into the structure.

func (*Auth) ValueForAttribute

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

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Auth) Version

func (o *Auth) Version() int

Version returns the hardcoded version of the model.

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 {
	// ID is the identitfier of the Authority.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

	// PEM encoded certificate data.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"certificate" mapstructure:"certificate,omitempty"`

	// CommonName contains the common name of the CA.
	CommonName string `json:"commonName" msgpack:"commonName" bson:"commonname" mapstructure:"commonName,omitempty"`

	// Date of expiration of the authority.
	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"`

	// serialNumber of the certificate.
	SerialNumber string `json:"serialNumber" msgpack:"serialNumber" bson:"serialnumber" mapstructure:"serialNumber,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) 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) 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) 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 AuthsList

type AuthsList []*Auth

AuthsList represents a list of Auths

func (AuthsList) Append

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

func (AuthsList) Copy

Copy returns a pointer to a copy the AuthsList.

func (AuthsList) DefaultOrder

func (o AuthsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (AuthsList) Identity

func (o AuthsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (AuthsList) List

List converts the object to an elemental.IdentifiablesList.

func (AuthsList) ToSparse

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

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

func (AuthsList) Version

func (o AuthsList) Version() int

Version returns the version of the content.

type Automation

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

	// Action contains the code that will be executed if the condition is met.
	Actions []string `json:"actions" msgpack:"actions" bson:"actions" mapstructure:"actions,omitempty"`

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

	// AssociatedTags are the 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 should
	// be taken.
	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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

	// Entitlements declares which operations are allowed on which identities.
	Entitlements map[string][]elemental.Operation `json:"entitlements" msgpack:"entitlements" bson:"entitlements" mapstructure:"entitlements,omitempty"`

	// Error contains the eventual error of the last run.
	Errors []string `json:"errors" msgpack:"errors" bson:"errors" mapstructure:"errors,omitempty"`

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

	// LastExecTime holds the last successful execution tine.
	LastExecTime time.Time `json:"lastExecTime" msgpack:"lastExecTime" bson:"lastexectime" mapstructure:"lastExecTime,omitempty"`

	// Name is the 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"`

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

	// Parameters are passed to the functions.
	Parameters map[string]interface{} `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

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

	// Schedule tells when to run the automation. Must be a valid CRON format. This
	// only applies if the trigger is set to Time.
	Schedule string `json:"schedule" msgpack:"schedule" bson:"schedule" mapstructure:"schedule,omitempty"`

	// Stdout contains the last run standard output.
	Stdout string `json:"stdout" msgpack:"stdout" bson:"stdout" mapstructure:"stdout,omitempty"`

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

	// Trigger 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Automation represents the model of a automation

func NewAutomation

func NewAutomation() *Automation

NewAutomation returns a new *Automation

func (*Automation) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Automation) 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) 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) 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

	// Key contains the unique identifier key for the template.
	Key string `json:"key" msgpack:"key" bson:"-" mapstructure:"key,omitempty"`

	// Kind represents the kind of template.
	Kind AutomationTemplateKindValue `json:"kind" msgpack:"kind" bson:"-" mapstructure:"kind,omitempty"`

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

	// Parameters contains the parameter description of the function.
	Parameters map[string]*AutomationTemplateParameter `json:"parameters" msgpack:"parameters" bson:"-" mapstructure:"parameters,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) 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 AutomationTemplateParameter

type AutomationTemplateParameter struct {
	// Set the possible values for the parameter.
	AllowedChoices map[string]interface{} `json:"allowedChoices" msgpack:"allowedChoices" bson:"-" mapstructure:"allowedChoices,omitempty"`

	// Default value of the parameter.
	DefaultValue interface{} `json:"defaultValue" msgpack:"defaultValue" bson:"-" mapstructure:"defaultValue,omitempty"`

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

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

	// Preferred position for the parameter.
	Position int `json:"position" msgpack:"position" bson:"-" mapstructure:"position,omitempty"`

	// Set if the parameter must be set.
	Required bool `json:"required" msgpack:"required" bson:"-" mapstructure:"required,omitempty"`

	// Type of the parameter.
	Type AutomationTemplateParameterTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

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

AutomationTemplateParameter represents the model of a automationtemplateparameter

func NewAutomationTemplateParameter

func NewAutomationTemplateParameter() *AutomationTemplateParameter

NewAutomationTemplateParameter returns a new *AutomationTemplateParameter

func (*AutomationTemplateParameter) DeepCopy

DeepCopy returns a deep copy if the AutomationTemplateParameter.

func (*AutomationTemplateParameter) DeepCopyInto

DeepCopyInto copies the receiver into the given *AutomationTemplateParameter.

func (*AutomationTemplateParameter) GetName

func (o *AutomationTemplateParameter) GetName() string

GetName returns the Name of the receiver.

func (*AutomationTemplateParameter) SetName

func (o *AutomationTemplateParameter) SetName(name string)

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

func (*AutomationTemplateParameter) Validate

func (o *AutomationTemplateParameter) Validate() error

Validate valides the current information stored into the structure.

type AutomationTemplateParameterTypeValue

type AutomationTemplateParameterTypeValue string

AutomationTemplateParameterTypeValue represents the possible values for attribute "type".

const (
	// AutomationTemplateParameterTypeArray represents the value Array.
	AutomationTemplateParameterTypeArray AutomationTemplateParameterTypeValue = "Array"

	// AutomationTemplateParameterTypeBoolean represents the value Boolean.
	AutomationTemplateParameterTypeBoolean AutomationTemplateParameterTypeValue = "Boolean"

	// AutomationTemplateParameterTypeEnum represents the value Enum.
	AutomationTemplateParameterTypeEnum AutomationTemplateParameterTypeValue = "Enum"

	// AutomationTemplateParameterTypeFilter represents the value Filter.
	AutomationTemplateParameterTypeFilter AutomationTemplateParameterTypeValue = "Filter"

	// AutomationTemplateParameterTypeFloat represents the value Float.
	AutomationTemplateParameterTypeFloat AutomationTemplateParameterTypeValue = "Float"

	// AutomationTemplateParameterTypeInteger represents the value Integer.
	AutomationTemplateParameterTypeInteger AutomationTemplateParameterTypeValue = "Integer"

	// AutomationTemplateParameterTypeObject represents the value Object.
	AutomationTemplateParameterTypeObject AutomationTemplateParameterTypeValue = "Object"

	// AutomationTemplateParameterTypeString represents the value String.
	AutomationTemplateParameterTypeString AutomationTemplateParameterTypeValue = "String"
)

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

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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// Name is the 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) 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 {
	// Claim name is the name of the claim that must be mapped to an HTTP header.
	ClaimName string `json:"claimName" msgpack:"claimName" bson:"claimname" mapstructure:"claimName,omitempty"`

	// The target HTTP header where this claim name must be mapped.
	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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

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

	// Content contains the raw 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"`

	// firstSeen contains the date of the first appearance of the claims.
	FirstSeen time.Time `json:"-" msgpack:"-" bson:"firstseen" mapstructure:"-,omitempty"`

	// XXH64 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 xxhash function.
	Hash string `json:"hash" msgpack:"hash" bson:"-" mapstructure:"hash,omitempty"`

	// lastSeen contains the date of the last appearance of the claims.
	LastSeen time.Time `json:"-" msgpack:"-" bson:"lastseen" mapstructure:"-,omitempty"`

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

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

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Claims represents the model of a claims

func NewClaims

func NewClaims() *Claims

NewClaims returns a new *Claims

func (*Claims) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Claims) 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) 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) 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) 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 Credential

type Credential struct {
	// The Aporeto API URL.
	APIURL string `json:"APIURL" msgpack:"APIURL" bson:"-" mapstructure:"APIURL,omitempty"`

	// The ID of app credential.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// The certificate data encoded in base64.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// The certificate authority data encoded in base64.
	CertificateAuthority string `json:"certificateAuthority" msgpack:"certificateAuthority" bson:"-" mapstructure:"certificateAuthority,omitempty"`

	// The certificate key data encoded in base64.
	CertificateKey string `json:"certificateKey" msgpack:"certificateKey" bson:"-" mapstructure:"certificateKey,omitempty"`

	// The name of app credential.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// The namespace of 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) 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 {
	// ID is the 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"`

	// 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) 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 CSR the enforcer wants control plane to sign. Depending on the
	// Certificate there will be various requirement 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 a the CA that signed the delivered certificates.
	Signer string `json:"signer" msgpack:"signer" bson:"-" mapstructure:"signer,omitempty"`

	// Contains a crypto 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) 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 {
	// edges are the edges of the map.
	Edges map[string]*GraphEdge `json:"edges" msgpack:"edges" bson:"-" mapstructure:"edges,omitempty"`

	// Groups provide information about the group values.
	Groups map[string]*GraphGroup `json:"groups" msgpack:"groups" bson:"-" mapstructure:"groups,omitempty"`

	// nodes refers to the nodes of the map.
	Nodes map[string]*GraphNode `json:"nodes" msgpack:"nodes" bson:"-" mapstructure:"nodes,omitempty"`

	// viewSuggestions provides suggestion of 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) 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"`

	// From represents the sender of the email. If not set, the default sender will be
	// used.
	From string `json:"from" msgpack:"from" bson:"-" mapstructure:"from,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) 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"`

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

	// public defines if the api is public or not.
	Public bool `json:"public" msgpack:"public" bson:"public" mapstructure:"public,omitempty"`

	// Scopes is deprecated.
	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) 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 {
	// FQDN contains the fqdn of the server where the enforcer is running.
	FQDN string `json:"FQDN" msgpack:"FQDN" bson:"fqdn" mapstructure:"FQDN,omitempty"`

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

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

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

	// Certificate is the certificate of the enforcer.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"certificate" mapstructure:"certificate,omitempty"`

	// CertificateExpirationDate is the expiration date of the certificate. This is an
	// internal attribute, not exposed in the API.
	CertificateExpirationDate time.Time `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// CertificateKey is 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 generation, the provided CSR will be
	// validated and signed by the backend providing a renewed certificate.
	CertificateRequest string `json:"certificateRequest" msgpack:"certificateRequest" bson:"-" mapstructure:"certificateRequest,omitempty"`

	// CollectInfo indicates to the enforcer it needs to collect information.
	CollectInfo bool `json:"collectInfo" msgpack:"collectInfo" bson:"collectinfo" mapstructure:"collectInfo,omitempty"`

	// CollectedInfo represents the latest info 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"`

	// CurrentVersion holds the enforcerd binary version that is currently associated
	// to this object.
	CurrentVersion string `json:"currentVersion" msgpack:"currentVersion" bson:"currentversion" mapstructure:"currentVersion,omitempty"`

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

	// Status of enforcement for PU managed directly by enforcerd, like Host PUs.
	EnforcementStatus EnforcerEnforcementStatusValue `json:"enforcementStatus" msgpack:"enforcementStatus" bson:"enforcementstatus" mapstructure:"enforcementStatus,omitempty"`

	// LastCollectionTime represents the date and time when the info have been
	// collected.
	LastCollectionTime time.Time `json:"lastCollectionTime" msgpack:"lastCollectionTime" bson:"lastcollectiontime" mapstructure:"lastCollectionTime,omitempty"`

	// Last poke is the time when the enforcer got last poked.
	LastPokeTime time.Time `json:"-" msgpack:"-" bson:"lastpoketime" mapstructure:"-,omitempty"`

	// LastSyncTime holds the last heart beat time.
	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"`

	// LocalCA contains the initial chain of trust for the enforcer. This valud is only
	// given when you retrieve a single enforcer.
	LocalCA string `json:"localCA" msgpack:"localCA" bson:"-" mapstructure:"localCA,omitempty"`

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// OperationalStatus tells the status of the enforcer.
	OperationalStatus EnforcerOperationalStatusValue `json:"operationalStatus" msgpack:"operationalStatus" bson:"operationalstatus" mapstructure:"operationalStatus,omitempty"`

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

	// PublicToken is the public token of the server that will be included in the
	// datapath and its signed by the private CA.
	PublicToken string `json:"publicToken" msgpack:"publicToken" bson:"publictoken" mapstructure:"publicToken,omitempty"`

	// startTime holds the time this enforcerd was started. This time-stamp is reported
	// by the enforcer and is 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"`

	// Control plane will set this value to true if it hasn't heard from the enforcer
	// for more than 5m.
	Unreachable bool `json:"unreachable" msgpack:"unreachable" bson:"unreachable" mapstructure:"unreachable,omitempty"`

	// Tells if the the version of enforcerd 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Enforcer represents the model of a enforcer

func NewEnforcer

func NewEnforcer() *Enforcer

NewEnforcer returns a new *Enforcer

func (*Enforcer) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Enforcer) 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) 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) 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 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// ExcludedInterfaces is a list of interfaces that must be excluded.
	ExcludedInterfaces []string `json:"excludedInterfaces" msgpack:"excludedInterfaces" bson:"excludedinterfaces" mapstructure:"excludedInterfaces,omitempty"`

	// ExcludedNetworks is the list of networks that must be excluded for this
	// enforcer.
	ExcludedNetworks []string `json:"excludedNetworks" msgpack:"excludedNetworks" bson:"excludednetworks" mapstructure:"excludedNetworks,omitempty"`

	// IgnoreExpression allows to set a tag expression that will make Aporeto to ignore
	// docker container started with labels matching the rule.
	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 */

	// Metadata contains tags that can only be set during creation. They 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"`

	// Name is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// TargetNetworks is the list of networks that authorization should be applied.
	TargetNetworks []string `json:"targetNetworks" msgpack:"targetNetworks" bson:"targetnetworks" mapstructure:"targetNetworks,omitempty"`

	// TargetUDPNetworks is the list of UDP networks that authorization should be
	// applied.
	TargetUDPNetworks []string `json:"targetUDPNetworks" msgpack:"targetUDPNetworks" bson:"targetudpnetworks" mapstructure:"targetUDPNetworks,omitempty"`

	// List of trusted CA. 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

EnforcerProfile represents the model of a enforcerprofile

func NewEnforcerProfile

func NewEnforcerProfile() *EnforcerProfile

NewEnforcerProfile returns a new *EnforcerProfile

func (*EnforcerProfile) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*EnforcerProfile) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Object is the list of tags to use to find a enforcer profile.
	Object [][]string `json:"object" msgpack:"object" bson:"object" mapstructure:"object,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Subject is the subject of the policy.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *EnforcerProfileMappingPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*EnforcerProfileMappingPolicy) GetZone

func (o *EnforcerProfileMappingPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *EnforcerProfileMappingPolicy) SetZHash(zHash int)

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

func (*EnforcerProfileMappingPolicy) SetZone

func (o *EnforcerProfileMappingPolicy) SetZone(zone int)

SetZone sets the property Zone 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 to report.
	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 to report.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

	// Namespace of the enforcer to report.
	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) 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 {
	// EnforcerID 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 PU where the trace was collected.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

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

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

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

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

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

	// Opaque data that can attached to the log, for further machine processing.
	Opaque string `json:"opaque" msgpack:"opaque" bson:"opaque" mapstructure:"opaque,omitempty"`

	// ID of the object this eventlog is attached to. The object must be in the same
	// namespace than the eventlog.
	TargetID string `json:"targetID" msgpack:"targetID" bson:"targetid" mapstructure:"targetID,omitempty"`

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

	// Title of the eventlog.
	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) 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 {
	// APIVersion of the api used for the exported data.
	APIVersion int `json:"APIVersion" msgpack:"APIVersion" bson:"-" mapstructure:"APIVersion,omitempty"`

	// List of all exported data.
	Data map[string][]map[string]interface{} `json:"data" msgpack:"data" bson:"-" mapstructure:"data,omitempty"`

	// The list of identities to export.
	Identities []string `json:"identities" msgpack:"identities" bson:"-" mapstructure:"identities,omitempty"`

	// Label allows 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:"-" 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// Archived defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// AssociatedTags are the 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 is the 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"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

ExternalNetwork represents the model of a externalnetwork

func NewExternalNetwork

func NewExternalNetwork() *ExternalNetwork

NewExternalNetwork returns a new *ExternalNetwork

func (*ExternalNetwork) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*ExternalNetwork) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

	// AllowsExecute allows to execute the files.
	AllowsExecute bool `json:"allowsExecute" msgpack:"allowsExecute" bson:"-" mapstructure:"allowsExecute,omitempty"`

	// AllowsRead allows to read the files.
	AllowsRead bool `json:"allowsRead" msgpack:"allowsRead" bson:"-" mapstructure:"allowsRead,omitempty"`

	// AllowsWrite allows to write the files.
	AllowsWrite bool `json:"allowsWrite" msgpack:"allowsWrite" bson:"-" mapstructure:"allowsWrite,omitempty"`

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

	// EncryptionEnabled will enable the automatic encryption.
	EncryptionEnabled bool `json:"encryptionEnabled" msgpack:"encryptionEnabled" bson:"-" mapstructure:"encryptionEnabled,omitempty"`

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

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

	// LogsEnabled will enable logging when this policy is used.
	LogsEnabled bool `json:"logsEnabled" msgpack:"logsEnabled" bson:"-" mapstructure:"logsEnabled,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Object is the object of the policy.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *FileAccessPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*FileAccessPolicy) GetZone

func (o *FileAccessPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *FileAccessPolicy) SetZHash(zHash int)

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

func (*FileAccessPolicy) SetZone

func (o *FileAccessPolicy) SetZone(zone int)

SetZone sets the property Zone 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 of the file.
	Host string `json:"host" msgpack:"host" bson:"-" mapstructure:"host,omitempty"`

	// Mode of the 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) 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"

	// 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// Archived defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// AssociatedTags are the 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 is the 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"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

FilePath represents the model of a filepath

func NewFilePath

func NewFilePath() *FilePath

NewFilePath returns a new *FilePath

func (*FilePath) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*FilePath) 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) 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) 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"`

	// Type of the destination.
	DestinationIP string `json:"destinationIP" msgpack:"destinationIP" bson:"-" mapstructure:"destinationIP,omitempty"`

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

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

	// Type of the source.
	DestinationType FlowReportDestinationTypeValue `json:"destinationType" msgpack:"destinationType" bson:"-" mapstructure:"destinationType,omitempty"`

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

	// Tells is the flow has been 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"`

	// Tells if the flow is from design mode.
	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"`

	// This field is only set if 'observedAction' is set to 'Reject' and specifies the
	// reason for the rejection.
	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 receiver.
	SourceNamespace string `json:"sourceNamespace" msgpack:"sourceNamespace" bson:"-" mapstructure:"sourceNamespace,omitempty"`

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

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

	// Number of flows in the report.
	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) 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 {
	// Identifier of the edge.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

	// Type of the destination GraphNode of the edge.
	DestinationType GraphEdgeDestinationTypeValue `json:"destinationType" msgpack:"destinationType" bson:"-" mapstructure:"destinationType,omitempty"`

	// Tells the number of encrypted flows in the edge.
	Encrypted int `json:"encrypted" msgpack:"encrypted" bson:"-" mapstructure:"encrypted,omitempty"`

	// Number of accepted observed flows.
	ObservedAcceptedFlows int `json:"observedAcceptedFlows" msgpack:"observedAcceptedFlows" bson:"-" mapstructure:"observedAcceptedFlows,omitempty"`

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

	// Information about the observation policies that was hit in the flows
	// represented by that edge.
	ObservedPolicyIDs map[string]*GraphPolicyInfo `json:"observedPolicyIDs" msgpack:"observedPolicyIDs" bson:"-" mapstructure:"observedPolicyIDs,omitempty"`

	// Number of rejected observed flows.
	ObservedRejectedFlows int `json:"observedRejectedFlows" msgpack:"observedRejectedFlows" bson:"-" mapstructure:"observedRejectedFlows,omitempty"`

	// Map of ints...
	ObservedServiceIDs map[string]int `json:"observedServiceIDs" msgpack:"observedServiceIDs" bson:"-" mapstructure:"observedServiceIDs,omitempty"`

	// Information about the policies that was hit in the flows represented by that
	// edge.
	PolicyIDs map[string]*GraphPolicyInfo `json:"policyIDs" msgpack:"policyIDs" bson:"-" mapstructure:"policyIDs,omitempty"`

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

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

	// Type of the source GraphNode of the edge.
	SourceType GraphEdgeSourceTypeValue `json:"sourceType" msgpack:"sourceType" bson:"-" mapstructure:"sourceType,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) 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) Validate

func (o *GraphEdge) Validate() error

Validate valides the current information stored into the structure.

type GraphEdgeDestinationTypeValue

type GraphEdgeDestinationTypeValue string

GraphEdgeDestinationTypeValue represents the possible values for attribute "destinationType".

const (
	// GraphEdgeDestinationTypeExternalNetwork represents the value ExternalNetwork.
	GraphEdgeDestinationTypeExternalNetwork GraphEdgeDestinationTypeValue = "ExternalNetwork"

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

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

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 tag that was 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) 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:"-" mapstructure:"ID,omitempty"`

	// Enforcement status of processing unit represented by the node.
	EnforcementStatus string `json:"enforcementStatus" msgpack:"enforcementStatus" bson:"-" mapstructure:"enforcementStatus,omitempty"`

	// ID of the group the node is eventually part of.
	GroupID string `json:"groupID" msgpack:"groupID" bson:"-" mapstructure:"groupID,omitempty"`

	// List of images.
	Images []string `json:"images" msgpack:"images" bson:"-" mapstructure:"images,omitempty"`

	// Last update of the node.
	LastUpdate time.Time `json:"lastUpdate" msgpack:"lastUpdate" bson:"-" mapstructure:"lastUpdate,omitempty"`

	// Name of object represented by the node.
	Name string `json:"name" msgpack:"name" bson:"-" mapstructure:"name,omitempty"`

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

	// Status of object represented by the node.
	Status string `json:"status" msgpack:"status" bson:"-" mapstructure:"status,omitempty"`

	// Tags of object represented by the node.
	Tags []string `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// Type of object represented by the node.
	Type GraphNodeTypeValue `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	// If true the node is marked as unreachable.
	Unreachable bool `json:"unreachable" msgpack:"unreachable" bson:"-" mapstructure:"unreachable,omitempty"`

	// Tags of object represented by the node.
	VulnerabilityLevel string `json:"vulnerabilityLevel" msgpack:"vulnerabilityLevel" bson:"-" 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) 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) Validate

func (o *GraphNode) Validate() error

Validate valides the current information stored into the structure.

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"

	// GraphNodeTypeVolume represents the value Volume.
	GraphNodeTypeVolume GraphNodeTypeValue = "Volume"
)

type GraphPolicyInfo

type GraphPolicyInfo struct {
	// Number of time the policy has been hit.
	Count int `json:"count" msgpack:"count" bson:"-" mapstructure:"count,omitempty"`

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

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

GraphPolicyInfo represents the model of a graphpolicyinfo

func NewGraphPolicyInfo

func NewGraphPolicyInfo() *GraphPolicyInfo

NewGraphPolicyInfo returns a new *GraphPolicyInfo

func (*GraphPolicyInfo) DeepCopy

func (o *GraphPolicyInfo) DeepCopy() *GraphPolicyInfo

DeepCopy returns a deep copy if the GraphPolicyInfo.

func (*GraphPolicyInfo) DeepCopyInto

func (o *GraphPolicyInfo) DeepCopyInto(out *GraphPolicyInfo)

DeepCopyInto copies the receiver into the given *GraphPolicyInfo.

func (*GraphPolicyInfo) Validate

func (o *GraphPolicyInfo) Validate() error

Validate valides the current information stored into the structure.

type HTTPResourceSpec

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

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

	// Archived defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// EndPoints is a list of API endpoints that are exposed for the service.
	Endpoints []*Endpoint `json:"endpoints" msgpack:"endpoints" bson:"endpoints" mapstructure:"endpoints,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

HTTPResourceSpec represents the model of a httpresourcespec

func NewHTTPResourceSpec

func NewHTTPResourceSpec() *HTTPResourceSpec

NewHTTPResourceSpec returns a new *HTTPResourceSpec

func (*HTTPResourceSpec) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*HTTPResourceSpec) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

	// CertificateAuthority contains the pem block of the certificate authority used by
	// the remote endpoint.
	CertificateAuthority string `` /* 132-byte string literal not displayed */

	// ClientCertificate contains the client certificate that will be used to connect
	// to the remote endoint.
	ClientCertificate string `json:"clientCertificate" msgpack:"clientCertificate" bson:"clientcertificate" mapstructure:"clientCertificate,omitempty"`

	// ClientCertificateKey contains the key associated to the clientCertificate.
	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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

	// Endpoint contains the full address of the remote processor endoint.
	Endpoint string `json:"endpoint" msgpack:"endpoint" bson:"endpoint" mapstructure:"endpoint,omitempty"`

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

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

	// Metadata contains tags that can only be set during creation. They 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"`

	// Mode define the type of the hook.
	Mode HookPolicyModeValue `json:"mode" msgpack:"mode" bson:"mode" mapstructure:"mode,omitempty"`

	// Name is the 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"`

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

	// Propagate will propagate 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"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *HookPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*HookPolicy) GetZone

func (o *HookPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *HookPolicy) SetZHash(zHash int)

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

func (*HookPolicy) SetZone

func (o *HookPolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// Archived defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// HostModeEnabled forces the corresponding enforcers to enable complete host
	// protection. When this option is turned on, 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 that match the
	// subject constraints.
	HostModeEnabled bool `json:"hostModeEnabled" msgpack:"hostModeEnabled" bson:"hostmodeenabled" mapstructure:"hostModeEnabled,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Services 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. Allowed
	// protocols are only tcp and udp.
	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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

HostService represents the model of a hostservice

func NewHostService

func NewHostService() *HostService

NewHostService returns a new *HostService

func (*HostService) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*HostService) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Object of the policy is the selector for the host services that must be applied
	// to this enforcer.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Subject of the policy is the selector of the enforcers that the list of host
	// services must apply to.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"-" mapstructure:"subject,omitempty"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *HostServiceMappingPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*HostServiceMappingPolicy) GetZone

func (o *HostServiceMappingPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *HostServiceMappingPolicy) SetZHash(zHash int)

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

func (*HostServiceMappingPolicy) SetZone

func (o *HostServiceMappingPolicy) SetZone(zone int)

SetZone sets the property Zone 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 resolved.
	IP string `json:"IP" msgpack:"IP" bson:"-" mapstructure:"IP,omitempty"`

	// Eventual error that happened during resolution.
	Error string `json:"error" msgpack:"error" bson:"-" mapstructure:"error,omitempty"`

	// List of DNS records associated to that IP.
	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) 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 {
	// The data to import.
	Data *Export `json:"data" msgpack:"data" bson:"-" mapstructure:"data,omitempty"`

	// How to import the data. ReplacePartial is deprecated and should be Import. Right
	// now the API considers both equivalent.
	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) 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 ImportRequest

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

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

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

	// Post a new comment that will be added to the 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"`

	// The data to import.
	Data map[string][]map[string]interface{} `json:"data" msgpack:"data" bson:"data" mapstructure:"data,omitempty"`

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

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

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

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

	// The identity claims of the requester. This will be populated by the control
	// plane.
	RequesterClaims []string `json:"requesterClaims" msgpack:"requesterClaims" bson:"requesterclaims" mapstructure:"requesterClaims,omitempty"`

	// The namespace from the request was created. This will be populated by the
	// control plane.
	RequesterNamespace string `json:"requesterNamespace" msgpack:"requesterNamespace" bson:"requesternamespace" mapstructure:"requesterNamespace,omitempty"`

	// The status of the request. The content of data can only be changed when the
	// status is set to `+"`"+`Draft`+"`"+` or `+"`"+`ChangeRequested`+"`"+`. When the status is changed to
	// `+"`"+`Submitted`+"`"+`, the request will move to the target namespace for validation.
	// If the Status is set to `+"`"+`Approved`+"`"+` the data will be created immediately.
	// If the status is set to `+"`"+`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 submit once.
	SubmittedOnce bool `json:"-" msgpack:"-" bson:"submittedonce" mapstructure:"-,omitempty"`

	// The namespace where the request will be sent. The requester can set any
	// namespace but he needs to have an autorization 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

ImportRequest represents the model of a importrequest

func NewImportRequest

func NewImportRequest() *ImportRequest

NewImportRequest returns a new *ImportRequest

func (*ImportRequest) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*ImportRequest) 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) 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) 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 InstalledApp

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

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

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

	// CategoryID of the app.
	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 app.
	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"`

	// Name is the 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"`

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

	// Parameters is a list of parameters to start the app.
	Parameters []*AppParameter `json:"parameters" msgpack:"parameters" bson:"parameters" mapstructure:"parameters,omitempty"`

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

	// Status of the app.
	Status InstalledAppStatusValue `json:"status" msgpack:"status" bson:"status" mapstructure:"status,omitempty"`

	// Reason for the status of the app.
	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"`

	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) 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) 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) 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) 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) 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 {
	// ID is the id of the invoice.
	ID string `json:"ID" msgpack:"ID" bson:"id" mapstructure:"ID,omitempty"`

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

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

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

	// StartDate holds the start date for 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) 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 {
	// ID is the id of this 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"`

	// InvoiceID references the id of the invoice that this invoice record provides
	// details for.
	InvoiceID string `json:"invoiceID" msgpack:"invoiceID" bson:"invoiceid" mapstructure:"invoiceID,omitempty"`

	// InvoiceRecords provides 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

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

	// CapabilitiesActions identifies the capabilities that should be added 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"`

	// DefaultAction is the default action applied to all syscalls of this profile.
	// Default is "Allow".
	DefaultSyscallAction types.SyscallEnforcementAction `` /* 132-byte string literal not displayed */

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// SyscallRules is a list of syscall rules that identify actions for particular
	// syscalls.
	SyscallRules types.SyscallEnforcementRulesMap `json:"syscallRules" msgpack:"syscallRules" bson:"syscallrules" mapstructure:"syscallRules,omitempty"`

	// TargetArchitectures is the target processor architectures where this profile can
	// be applied. 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

IsolationProfile represents the model of a isolationprofile

func NewIsolationProfile

func NewIsolationProfile() *IsolationProfile

NewIsolationProfile returns a new *IsolationProfile

func (*IsolationProfile) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*IsolationProfile) 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) 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) 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 from that namespace declared in
	// that value.
	Audience string `json:"audience" msgpack:"audience" bson:"-" mapstructure:"audience,omitempty"`

	// Data contains additional data. The value depends on the issuer type.
	Data string `json:"data" msgpack:"data" bson:"-" mapstructure:"data,omitempty"`

	// Metadata 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 time the issued token should be used.
	Quota int `json:"quota" msgpack:"quota" bson:"-" mapstructure:"quota,omitempty"`

	// Realm is the authentication realm.
	Realm IssueRealmValue `json:"realm" msgpack:"realm" bson:"-" mapstructure:"realm,omitempty"`

	// Token is the token to use for the registration.
	Token string `json:"token" msgpack:"token" bson:"-" mapstructure:"token,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"`
}

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

	// IssueRealmVince represents the value Vince.
	IssueRealmVince IssueRealmValue = "Vince"
)

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 Jaegerbatch

type Jaegerbatch struct {
	// Represents a jaeger batch.
	Batch interface{} `json:"batch" msgpack:"batch" bson:"batch" mapstructure:"batch,omitempty"`

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

Jaegerbatch represents the model of a jaegerbatch

func NewJaegerbatch

func NewJaegerbatch() *Jaegerbatch

NewJaegerbatch returns a new *Jaegerbatch

func (*Jaegerbatch) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Jaegerbatch) DeepCopy

func (o *Jaegerbatch) DeepCopy() *Jaegerbatch

DeepCopy returns a deep copy if the Jaegerbatch.

func (*Jaegerbatch) DeepCopyInto

func (o *Jaegerbatch) DeepCopyInto(out *Jaegerbatch)

DeepCopyInto copies the receiver into the given *Jaegerbatch.

func (*Jaegerbatch) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*Jaegerbatch) Doc

func (o *Jaegerbatch) Doc() string

Doc returns the documentation for the object

func (*Jaegerbatch) Identifier

func (o *Jaegerbatch) Identifier() string

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

func (*Jaegerbatch) Identity

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

Identity returns the Identity of the object.

func (*Jaegerbatch) Patch

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

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

func (*Jaegerbatch) SetIdentifier

func (o *Jaegerbatch) SetIdentifier(id string)

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

func (*Jaegerbatch) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*Jaegerbatch) String

func (o *Jaegerbatch) String() string

func (*Jaegerbatch) ToSparse

func (o *Jaegerbatch) ToSparse(fields ...string) elemental.SparseIdentifiable

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

func (*Jaegerbatch) Validate

func (o *Jaegerbatch) Validate() error

Validate valides the current information stored into the structure.

func (*Jaegerbatch) ValueForAttribute

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

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*Jaegerbatch) Version

func (o *Jaegerbatch) Version() int

Version returns the hardcoded version of the model.

type JaegerbatchsList

type JaegerbatchsList []*Jaegerbatch

JaegerbatchsList represents a list of Jaegerbatchs

func (JaegerbatchsList) Append

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

func (JaegerbatchsList) Copy

Copy returns a pointer to a copy the JaegerbatchsList.

func (JaegerbatchsList) DefaultOrder

func (o JaegerbatchsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (JaegerbatchsList) Identity

func (o JaegerbatchsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (JaegerbatchsList) List

List converts the object to an elemental.IdentifiablesList.

func (JaegerbatchsList) ToSparse

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

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

func (JaegerbatchsList) Version

func (o JaegerbatchsList) Version() int

Version returns the version of the content.

type Log

type Log struct {
	// Data contains all logs 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// expirationTime is the time after which the message will be deleted.
	ExpirationTime time.Time `json:"expirationTime" msgpack:"expirationTime" bson:"expirationtime" mapstructure:"expirationTime,omitempty"`

	// Level defines how the message is important.
	Level MessageLevelValue `json:"level" msgpack:"level" bson:"level" mapstructure:"level,omitempty"`

	// Name is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Validity set using golang time duration, when the message will be automatically
	// deleted.
	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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Message represents the model of a message

func NewMessage

func NewMessage() *Message

NewMessage returns a new *Message

func (*Message) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Message) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

	// SSHCA holds the eventual SSH authority used by this namespace.
	SSHCA string `json:"SSHCA" msgpack:"SSHCA" bson:"sshca" mapstructure:"SSHCA,omitempty"`

	// If enabled, the a SSH 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"`

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

	// associatedSSHCAID holds the remote ID of the SSH authority to use.
	AssociatedSSHCAID string `json:"associatedSSHCAID" msgpack:"associatedSSHCAID" bson:"associatedsshcaid" mapstructure:"associatedSSHCAID,omitempty"`

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// LocalCA holds the eventual certificate authority used by this namespace.
	LocalCA string `json:"localCA" msgpack:"localCA" bson:"localca" mapstructure:"localCA,omitempty"`

	// LocalCAEnabled defines if the namespace should use a local Certificate
	// Authority. Switching it off and on again will regenerate a new CA.
	LocalCAEnabled bool `json:"localCAEnabled" msgpack:"localCAEnabled" bson:"localcaenabled" mapstructure:"localCAEnabled,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is 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 */

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

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

	// Determines the validity time of certificates issued in this namespace. Default
	// value is 1 hour.
	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"`

	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) 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) 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) 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) 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) 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 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

	// mappedNamespace is the mapped namespace.
	MappedNamespace string `json:"mappedNamespace" msgpack:"mappedNamespace" bson:"mappednamespace" mapstructure:"mappedNamespace,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

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

	// Subject is the subject.
	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"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *NamespaceMappingPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*NamespaceMappingPolicy) GetZone

func (o *NamespaceMappingPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *NamespaceMappingPolicy) SetZHash(zHash int)

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

func (*NamespaceMappingPolicy) SetZone

func (o *NamespaceMappingPolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

	// Action defines the action to apply to a flow.
	Action NetworkAccessPolicyActionValue `json:"action" msgpack:"action" bson:"-" mapstructure:"action,omitempty"`

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

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

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

	// applyPolicyMode determines if the policy has to be applied to the
	// outgoing traffic of a PU or the incoming traffic of a PU or in both directions.
	// Default is both directions.
	ApplyPolicyMode NetworkAccessPolicyApplyPolicyModeValue `json:"applyPolicyMode" msgpack:"applyPolicyMode" bson:"-" mapstructure:"applyPolicyMode,omitempty"`

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

	// EncryptionEnabled defines if the flow has to be encrypted.
	EncryptionEnabled bool `json:"encryptionEnabled" msgpack:"encryptionEnabled" bson:"-" mapstructure:"encryptionEnabled,omitempty"`

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

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

	// LogsEnabled defines if the flow has to be logged.
	LogsEnabled bool `json:"logsEnabled" msgpack:"logsEnabled" bson:"-" mapstructure:"logsEnabled,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// 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 will be the final action taken on the
	// packets.
	ObservedTrafficAction NetworkAccessPolicyObservedTrafficActionValue `json:"observedTrafficAction" msgpack:"observedTrafficAction" bson:"-" mapstructure:"observedTrafficAction,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *NetworkAccessPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*NetworkAccessPolicy) GetZone

func (o *NetworkAccessPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *NetworkAccessPolicy) SetZHash(zHash int)

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

func (*NetworkAccessPolicy) SetZone

func (o *NetworkAccessPolicy) SetZone(zone int)

SetZone sets the property Zone 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 OIDCProvider

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

	// Unique client ID.
	ClientID string `json:"clientID" msgpack:"clientID" bson:"clientid" mapstructure:"clientID,omitempty"`

	// Client secret associated with the client ID.
	ClientSecret string `json:"clientSecret" msgpack:"clientSecret" bson:"clientsecret" mapstructure:"clientSecret,omitempty"`

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

	// If set, this will be the default OIDCProvider. There can be only one default
	// provider in your account. When logging in with OIDC, if not provider name is
	// given, the default will be used.
	Default bool `json:"default" msgpack:"default" bson:"default" mapstructure:"default,omitempty"`

	// OIDC information endpoint.
	Endpoint string `json:"endpoint" msgpack:"endpoint" bson:"endpoint" mapstructure:"endpoint,omitempty"`

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

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

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

	// List of scopes to allow.
	Scopes []string `json:"scopes" msgpack:"scopes" bson:"scopes" mapstructure:"scopes,omitempty"`

	// Subjects is the list of claims that will provide the subject.
	Subjects []string `json:"subjects" msgpack:"subjects" bson:"subjects" mapstructure:"subjects,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"`
}

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

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

GetCreateTime returns the CreateTime of the receiver.

func (*OIDCProvider) GetUpdateTime

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

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

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

SetUpdateTime sets the property UpdateTime 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 CommonName 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 OrganizationalUnit field.
	OrganizationalUnit []string `json:"organizationalUnit" msgpack:"organizationalUnit" bson:"-" mapstructure:"organizationalUnit,omitempty"`

	// Represents the PostalCode 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 StreetAddress 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) 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 PUNode

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

	// Enforcement status of the pu.
	EnforcementStatus string `json:"enforcementStatus" msgpack:"enforcementStatus" bson:"-" mapstructure:"enforcementStatus,omitempty"`

	// Images of the pu.
	Images []string `json:"images" msgpack:"images" bson:"-" mapstructure:"images,omitempty"`

	// Last poke time of the pu.
	LastPokeTime time.Time `json:"lastPokeTime" msgpack:"lastPokeTime" bson:"-" mapstructure:"lastPokeTime,omitempty"`

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

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

	// Status of the pu.
	Status string `json:"status" msgpack:"status" bson:"-" mapstructure:"status,omitempty"`

	// Tags of the pu.
	Tags []string `json:"tags" msgpack:"tags" bson:"-" mapstructure:"tags,omitempty"`

	// Type of the pu.
	Type string `json:"type" msgpack:"type" bson:"-" mapstructure:"type,omitempty"`

	// If true, the pu is unreachable.
	Unreachable bool `json:"unreachable" msgpack:"unreachable" bson:"-" mapstructure:"unreachable,omitempty"`

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

PUNode represents the model of a punode

func NewPUNode

func NewPUNode() *PUNode

NewPUNode returns a new *PUNode

func (*PUNode) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*PUNode) DeepCopy

func (o *PUNode) DeepCopy() *PUNode

DeepCopy returns a deep copy if the PUNode.

func (*PUNode) DeepCopyInto

func (o *PUNode) DeepCopyInto(out *PUNode)

DeepCopyInto copies the receiver into the given *PUNode.

func (*PUNode) DefaultOrder

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

DefaultOrder returns the list of default ordering fields.

func (*PUNode) Doc

func (o *PUNode) Doc() string

Doc returns the documentation for the object

func (*PUNode) Identifier

func (o *PUNode) Identifier() string

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

func (*PUNode) Identity

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

Identity returns the Identity of the object.

func (*PUNode) Patch

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

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

func (*PUNode) SetIdentifier

func (o *PUNode) SetIdentifier(id string)

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

func (*PUNode) SpecificationForAttribute

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

SpecificationForAttribute returns the AttributeSpecification for the given attribute name key.

func (*PUNode) String

func (o *PUNode) String() string

func (*PUNode) ToSparse

func (o *PUNode) ToSparse(fields ...string) elemental.SparseIdentifiable

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

func (*PUNode) Validate

func (o *PUNode) Validate() error

Validate valides the current information stored into the structure.

func (*PUNode) ValueForAttribute

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

ValueForAttribute returns the value for the given attribute. This is a very advanced function that you should not need but in some very specific use cases.

func (*PUNode) Version

func (o *PUNode) Version() int

Version returns the hardcoded version of the model.

type PUNodesList

type PUNodesList []*PUNode

PUNodesList represents a list of PUNodes

func (PUNodesList) Append

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

func (PUNodesList) Copy

Copy returns a pointer to a copy the PUNodesList.

func (PUNodesList) DefaultOrder

func (o PUNodesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (PUNodesList) Identity

func (o PUNodesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (PUNodesList) List

List converts the object to an elemental.IdentifiablesList.

func (PUNodesList) ToSparse

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

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

func (PUNodesList) Version

func (o PUNodesList) Version() int

Version returns the version of the content.

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

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

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

	// This field is only set if 'event' is set to 'Dropped' and specifies the reason
	// for the drop.
	DropReason string `json:"dropReason" msgpack:"dropReason" bson:"-" mapstructure:"dropReason,omitempty"`

	// Encrypt indicates that the packet was encrypted.
	Encrypt bool `json:"encrypt" msgpack:"encrypt" bson:"-" mapstructure:"encrypt,omitempty"`

	// Event is 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 PU 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"`

	// PUID is the ID of the PU reporting the packet.
	PuID string `json:"puID" msgpack:"puID" bson:"-" mapstructure:"puID,omitempty"`

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

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

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

	// TriremePacket is set if the packet arrived with the Trireme options.
	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) 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 {
	// Password contains the new password.
	Password string `json:"password" msgpack:"password" bson:"-" mapstructure:"password,omitempty"`

	// Token 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) 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 {
	// Description contains the description of the Plan.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// EnforcerQuota contains the maximum number of enforcers available in the Plan.
	EnforcersQuota int `json:"enforcersQuota" msgpack:"enforcersQuota" bson:"enforcersquota" mapstructure:"enforcersQuota,omitempty"`

	// Key contains the key identifier of the Plan.
	Key string `json:"key" msgpack:"key" bson:"key" mapstructure:"key,omitempty"`

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

	// PoliciesQuota contains the maximum number of policies available in the Plan.
	PoliciesQuota int `json:"policiesQuota" msgpack:"policiesQuota" bson:"policiesquota" mapstructure:"policiesQuota,omitempty"`

	// ProcessingUnitsQuota contains the maximum PUs available in the Plan.
	ProcessingUnitsQuota int `` /* 132-byte string literal not displayed */

	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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

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

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

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

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

	// Propagate will propagate 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"`

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

	// Relation describes the required operation to be performed between subjects and
	// objects.
	Relation []string `json:"relation" msgpack:"relation" bson:"relation" mapstructure:"relation,omitempty"`

	// Subject represent sets of entities that will have a dependency other entities.
	// Subjects are defined as logical operations on tags. Logical operations can
	// includes 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Policy represents the model of a policy

func NewPolicy

func NewPolicy() *Policy

NewPolicy returns a new *Policy

func (*Policy) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Policy) 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) 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) 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 {
	// puIdentity is the set of tags that a future activated PU 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"`

	// The dependencyMap contains the output of the policy evalation, and it is the
	// same
	// type of dependency map as created by other APIs.
	DependencyMap *DependencyMap `json:"dependencyMap" msgpack:"dependencyMap" bson:"-" mapstructure:"dependencyMap,omitempty"`

	// Recursive will implement a recursive search through the namespaces for matching
	// PUs.
	Recursive bool `json:"recursive" msgpack:"recursive" bson:"-" mapstructure:"recursive,omitempty"`

	// Selectors contains the tag expression that an 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) 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 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 {
	// SourceNamespace contains the original ID of the updated object.
	SourceID string `json:"sourceID" msgpack:"sourceID" bson:"sourceid" mapstructure:"sourceID,omitempty"`

	// SourceNamespace contains the original namespace of the updated object.
	SourceNamespace string `json:"sourceNamespace" msgpack:"sourceNamespace" bson:"sourcenamespace" mapstructure:"sourceNamespace,omitempty"`

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

	// Define if the processMode should be using the object or subject. This only has
	// effect when rendering a SSHAuthorizationPolicy for now.
	ProcessMode PolicyRendererProcessModeValue `json:"processMode" msgpack:"processMode" bson:"-" mapstructure:"processMode,omitempty"`

	// List of tags of the object to render the hook policy for.
	Tags []string `json:"tags" msgpack:"tags" bson:"-" mapstructure:"tags,omitempty"`

	// Type of the 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) 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"

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

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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

	// AuditProfiles provides the audit profiles that must be applied.
	AuditProfiles AuditProfilesList `json:"auditProfiles,omitempty" msgpack:"auditProfiles,omitempty" bson:"-" mapstructure:"auditProfiles,omitempty"`

	// EnforcerProfiles provides the information about the server profile.
	EnforcerProfiles EnforcerProfilesList `json:"enforcerProfiles,omitempty" msgpack:"enforcerProfiles,omitempty" bson:"-" mapstructure:"enforcerProfiles,omitempty"`

	// Policy target networks.
	ExternalNetworks ExternalNetworksList `json:"externalNetworks,omitempty" msgpack:"externalNetworks,omitempty" bson:"-" mapstructure:"externalNetworks,omitempty"`

	// Policy target file paths.
	FilePaths FilePathsList `json:"filePaths,omitempty" msgpack:"filePaths,omitempty" bson:"-" mapstructure:"filePaths,omitempty"`

	// HostServices provides the list of host services that must be instantiated.
	HostServices HostServicesList `json:"hostServices,omitempty" msgpack:"hostServices,omitempty" bson:"-" mapstructure:"hostServices,omitempty"`

	// IsolationProfiles are the isolation profiles of the rule.
	IsolationProfiles IsolationProfilesList `json:"isolationProfiles,omitempty" msgpack:"isolationProfiles,omitempty" bson:"-" mapstructure:"isolationProfiles,omitempty"`

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

	// Policy target namespaces.
	Namespaces NamespacesList `json:"namespaces,omitempty" msgpack:"namespaces,omitempty" bson:"-" mapstructure:"namespaces,omitempty"`

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

	// Propagated indicates if the policy is propagated.
	Propagated bool `json:"propagated" msgpack:"propagated" bson:"-" mapstructure:"propagated,omitempty"`

	// Relation describes the required operation to be performed between subjects and
	// objects.
	Relation []string `json:"relation" msgpack:"relation" bson:"-" mapstructure:"relation,omitempty"`

	// Services 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) 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 {
	// ID is the 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) 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"

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

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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

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

	// Archived defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

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

	// CollectInfo indicates to the enforcer it needs to collect information for this
	// PU.
	CollectInfo bool `json:"collectInfo" msgpack:"collectInfo" bson:"collectinfo" mapstructure:"collectInfo,omitempty"`

	// CollectedInfo represents the latest info collected by the enforcer for this PU.
	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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// EnforcementStatus communicates the state of the enforcer for that PU.
	EnforcementStatus ProcessingUnitEnforcementStatusValue `json:"enforcementStatus" msgpack:"enforcementStatus" bson:"enforcementstatus" mapstructure:"enforcementStatus,omitempty"`

	// EnforcerID is the ID of the enforcer associated with the processing unit.
	EnforcerID string `json:"enforcerID" msgpack:"enforcerID" bson:"enforcerid" mapstructure:"enforcerID,omitempty"`

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

	// LastCollectionTime represents the date and time when the info have been
	// 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"`

	// LastSyncTime is the time when the policy was last resolved.
	LastSyncTime time.Time `json:"lastSyncTime" msgpack:"lastSyncTime" bson:"lastsynctime" mapstructure:"lastSyncTime,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NativeContextID is the Docker UUID or service PID.
	NativeContextID string `json:"nativeContextID" msgpack:"nativeContextID" bson:"nativecontextid" mapstructure:"nativeContextID,omitempty"`

	// NetworkServices is the list of services that this processing unit has declared
	// that it will be listening to. This can happen either with an activation command
	// or by exposing the ports in a container manifest.
	NetworkServices []*ProcessingUnitService `json:"networkServices" msgpack:"networkServices" bson:"networkservices" mapstructure:"networkServices,omitempty"`

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

	// OperationalStatus of the processing unit.
	OperationalStatus ProcessingUnitOperationalStatusValue `json:"operationalStatus" msgpack:"operationalStatus" bson:"operationalstatus" mapstructure:"operationalStatus,omitempty"`

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

	// Tracing indicates if this PU must be placed in tracing mode.
	Tracing *TraceMode `json:"tracing" msgpack:"tracing" bson:"tracing" mapstructure:"tracing,omitempty"`

	// Type of the container ecosystem.
	Type ProcessingUnitTypeValue `json:"type" msgpack:"type" bson:"type" mapstructure:"type,omitempty"`

	// Control plane will set this value to true if it hasn't heard from the pu for
	// more than 5m.
	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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

ProcessingUnit represents the model of a processingunit

func NewProcessingUnit

func NewProcessingUnit() *ProcessingUnit

NewProcessingUnit returns a new *ProcessingUnit

func (*ProcessingUnit) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*ProcessingUnit) 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) 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) 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 {
	// ID is the 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"`

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

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

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

	// IsolationProfileSelector are the profiles that must be applied when this policy
	// matches. Only applies to Enforce and LogCompliance actions.
	IsolationProfileSelector [][]string `` /* 148-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Subject defines the tag selectors that identitfy the processing units to which
	// this policy applies.
	Subject [][]string `json:"subject" msgpack:"subject" bson:"subject" mapstructure:"subject,omitempty"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *ProcessingUnitPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ProcessingUnitPolicy) GetZone

func (o *ProcessingUnitPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *ProcessingUnitPolicy) SetZHash(zHash int)

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

func (*ProcessingUnitPolicy) SetZone

func (o *ProcessingUnitPolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// ID contains the original ID of the Processing Unit.
	ID string `json:"ID" msgpack:"ID" bson:"id" mapstructure:"ID,omitempty"`

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

	// 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

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

	// Identities contains the list of identity names where the quota will be applied.
	Identities []string `json:"identities" msgpack:"identities" bson:"identities" mapstructure:"identities,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate 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"`

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

	// Quota contains the maximum number of object matching the policy subject that can
	// be created.
	Quota int `json:"quota" msgpack:"quota" bson:"-" mapstructure:"quota,omitempty"`

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *QuotaPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*QuotaPolicy) GetZone

func (o *QuotaPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *QuotaPolicy) SetZHash(zHash int)

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

func (*QuotaPolicy) SetZone

func (o *QuotaPolicy) SetZone(zone int)

SetZone sets the property Zone 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 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"`

	// Node defines the type of the hook.
	Mode RemoteProcessorModeValue `json:"mode" msgpack:"mode" bson:"-" mapstructure:"mode,omitempty"`

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

	// Define the operation that is currently handled by the service.
	Operation elemental.Operation `json:"operation" msgpack:"operation" bson:"-" mapstructure:"operation,omitempty"`

	// Returns the OutputData filled with the processor information.
	Output elemental.Identifiable `json:"output" msgpack:"output" bson:"-" mapstructure:"output,omitempty"`

	// RequestID 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) 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 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 {
	// Certificate is the certificate associated with this PU. It will identify the PU
	// to any internal or external services.
	Certificate string `json:"certificate" msgpack:"certificate" bson:"-" mapstructure:"certificate,omitempty"`

	// DependendServices is the list of services that this processing unit depends on.
	DependendServices ServicesList `json:"dependendServices" msgpack:"dependendServices" bson:"-" mapstructure:"dependendServices,omitempty"`

	// EgressPolicies lists all the egress policies attached to processing unit.
	EgressPolicies map[string]PolicyRulesList `json:"egressPolicies" msgpack:"egressPolicies" bson:"-" mapstructure:"egressPolicies,omitempty"`

	// ExposedServices is the list of services that this processing unit is
	// implementing.
	ExposedServices ServicesList `json:"exposedServices" msgpack:"exposedServices" bson:"-" mapstructure:"exposedServices,omitempty"`

	// hashedTags contains the list of tags that matched the policies and their hashes.
	HashedTags map[string]string `json:"hashedTags" msgpack:"hashedTags" bson:"-" mapstructure:"hashedTags,omitempty"`

	// IngressPolicies lists all the ingress policies attached to processing unit.
	IngressPolicies map[string]PolicyRulesList `json:"ingressPolicies" msgpack:"ingressPolicies" bson:"-" mapstructure:"ingressPolicies,omitempty"`

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

	// Scopes is the set of scopes granted to this processing unit that it has to
	// 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) 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) 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"`

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

	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) 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) 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) 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 is the description of the role.
	Description string `json:"description" msgpack:"description" bson:"-" mapstructure:"description,omitempty"`

	// Key is the 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) 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 {
	// ID is the 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) 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 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 {
	// ID is the 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"`

	// Name is the 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"`

	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) 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) 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) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

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

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags []string `json:"associatedTags" msgpack:"associatedTags" bson:"associatedtags" mapstructure:"associatedTags,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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

	// The list of SSH permissions to apply to SSH 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"`

	// Fallback 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 set, this will configure the `+"`"+`force-command`+"`"+` option in the SSH Certificate.
	// More info can be found at
	// <https://github.com/openssh/openssh-portable/blob/38e83e4f219c752ebb1560633b73f06f0392018b/PROTOCOL.certkeys#L249>.
	ForceCommand string `json:"forceCommand" msgpack:"forceCommand" bson:"-" mapstructure:"forceCommand,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Object contains the tag expression matching the enforcers the subject is allowed
	// to connect to.
	Object [][]string `json:"object" msgpack:"object" bson:"-" mapstructure:"object,omitempty"`

	// You can set some principals that will be applied to delivered certificate. If
	// not
	// set, the user's claim Subject will be used.
	Principals []string `json:"principals" msgpack:"principals" bson:"-" mapstructure:"principals,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Subject contains the tag expression the authentication claims 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"`

	// Set the validity of the delivered SSH certificate.
	Validity string `json:"validity" msgpack:"validity" bson:"-" mapstructure:"validity,omitempty"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *SSHAuthorizationPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SSHAuthorizationPolicy) GetZone

func (o *SSHAuthorizationPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SSHAuthorizationPolicy) SetZHash(zHash int)

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

func (*SSHAuthorizationPolicy) SetZone

func (o *SSHAuthorizationPolicy) SetZone(zone int)

SetZone sets the property Zone 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) 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 a 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) 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 Service

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

	// IPs is 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 user 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 Provider URL. 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 add to 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 to `+"`"+`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 letsencrypt.
	// - `+"`"+`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"`

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

	// Archived defines if the object is archived.
	Archived bool `json:"-" msgpack:"-" bson:"archived" mapstructure:"-,omitempty"`

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

	// AuthorizationType defines the user authorization type that should be used.
	//
	// - `+"`"+`None`+"`"+`: No auhtorization.
	// - `+"`"+`JWT`+"`"+`:  Configures a simple JWT verification from the HTTP `+"`"+`Auhorization`+"`"+`
	// Header
	// - `+"`"+`OIDC`+"`"+`: Configures OIDC authorization. You must then set `+"`"+`OIDCClientID`+"`"+`,
	// `+"`"+`OIDCClientSecret`+"`"+`, OIDCProviderURL`+"`"+`.
	// - `+"`"+`MTLS`+"`"+`: Configures Client Certificate authorization. Then you can optionaly
	// `+"`"+`MTLSCertificateAuthority`+"`"+` otherwise Aporeto 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

	// Endpoints is a read only attribute that actually resolves the API
	// endpoints that the service is exposing. Only valid during policy rendering.
	Endpoints []*Endpoint `json:"endpoints" msgpack:"endpoints" bson:"-" mapstructure:"endpoints,omitempty"`

	// ExposedAPIs 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 L7 protocols.
	ExposedAPIs [][]string `json:"exposedAPIs" msgpack:"exposedAPIs" bson:"exposedapis" mapstructure:"exposedAPIs,omitempty"`

	// ExposedPort is the port that the service can be accessed. Note that
	// this is different from the Port attribute that describes the port that the
	// service is actually listening. 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"`

	// ExposedServiceIsTLS indicates that the exposed service is TLS. This means that
	// the enforcer has to initiate a TLS session in order to forrward traffic to the
	// service.
	ExposedServiceIsTLS bool `` /* 128-byte string literal not displayed */

	// External is a boolean that indicates if this is an external service.
	External bool `json:"external" msgpack:"external" bson:"external" mapstructure:"external,omitempty"`

	// Hosts are the names that the service can be accessed with.
	Hosts []string `json:"hosts" msgpack:"hosts" bson:"hosts" mapstructure:"hosts,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Port is the port that the implementation of the service is listening to and
	// it can be different than the exposedPorts describing the service. This is needed
	// for port mapping use cases where there is private and public ports.
	Port int `json:"port" msgpack:"port" bson:"port" mapstructure:"port,omitempty"`

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

	// PublicApplicationPort is a new virtual port that the service can
	// be accessed, 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 to let you chance 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 */

	// Selectors contains the tag expression that an a processing unit
	// must match in order to implement 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 L7 Load Balancer.
	TrustedCertificateAuthorities string `` /* 168-byte string literal not displayed */

	// Type is the type of the 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Service represents the model of a service

func NewService

func NewService() *Service

NewService returns a new *Service

func (*Service) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Service) 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *ServiceDependency) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*ServiceDependency) GetZone

func (o *ServiceDependency) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *ServiceDependency) SetZHash(zHash int)

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

func (*ServiceDependency) SetZone

func (o *ServiceDependency) SetZone(zone int)

SetZone sets the property Zone 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 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// AuthorizedIdentities defines the list of api identities the policy applies to.
	AuthorizedIdentities *[]string `` /* 133-byte string literal not displayed */

	// AuthorizedNamespace defines on what namespace the policy applies.
	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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be auto deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate 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 */

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

	// Subject is the subject.
	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"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseAPIAuthorizationPolicy represents the sparse version of a apiauthorizationpolicy.

func NewSparseAPIAuthorizationPolicy

func NewSparseAPIAuthorizationPolicy() *SparseAPIAuthorizationPolicy

NewSparseAPIAuthorizationPolicy returns a new SparseAPIAuthorizationPolicy.

func (*SparseAPIAuthorizationPolicy) DeepCopy

DeepCopy returns a deep copy if the SparseAPIAuthorizationPolicy.

func (*SparseAPIAuthorizationPolicy) DeepCopyInto

DeepCopyInto copies the receiver into the given *SparseAPIAuthorizationPolicy.

func (*SparseAPIAuthorizationPolicy) GetActiveDuration

func (o *SparseAPIAuthorizationPolicy) GetActiveDuration() 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) GetPropagate

func (o *SparseAPIAuthorizationPolicy) GetPropagate() bool

GetPropagate returns the Propagate 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) GetZHash

func (o *SparseAPIAuthorizationPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAPIAuthorizationPolicy) GetZone

func (o *SparseAPIAuthorizationPolicy) GetZone() int

GetZone returns the Zone of the receiver.

func (*SparseAPIAuthorizationPolicy) Identifier

func (o *SparseAPIAuthorizationPolicy) Identifier() string

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

func (*SparseAPIAuthorizationPolicy) Identity

Identity returns the Identity of the sparse object.

func (*SparseAPIAuthorizationPolicy) SetActiveDuration

func (o *SparseAPIAuthorizationPolicy) SetActiveDuration(activeDuration string)

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

func (*SparseAPIAuthorizationPolicy) SetActiveSchedule

func (o *SparseAPIAuthorizationPolicy) SetActiveSchedule(activeSchedule string)

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

func (*SparseAPIAuthorizationPolicy) SetAnnotations

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

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

func (*SparseAPIAuthorizationPolicy) SetAssociatedTags

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

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

func (*SparseAPIAuthorizationPolicy) SetCreateIdempotencyKey

func (o *SparseAPIAuthorizationPolicy) SetCreateIdempotencyKey(createIdempotencyKey string)

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

func (*SparseAPIAuthorizationPolicy) SetCreateTime

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

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

func (*SparseAPIAuthorizationPolicy) SetDescription

func (o *SparseAPIAuthorizationPolicy) SetDescription(description string)

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

func (*SparseAPIAuthorizationPolicy) SetDisabled

func (o *SparseAPIAuthorizationPolicy) SetDisabled(disabled bool)

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

func (*SparseAPIAuthorizationPolicy) SetExpirationTime

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

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

func (*SparseAPIAuthorizationPolicy) SetFallback

func (o *SparseAPIAuthorizationPolicy) SetFallback(fallback bool)

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

func (*SparseAPIAuthorizationPolicy) SetIdentifier

func (o *SparseAPIAuthorizationPolicy) SetIdentifier(id string)

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

func (*SparseAPIAuthorizationPolicy) SetMetadata

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

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

func (*SparseAPIAuthorizationPolicy) SetName

func (o *SparseAPIAuthorizationPolicy) SetName(name string)

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

func (*SparseAPIAuthorizationPolicy) SetNamespace

func (o *SparseAPIAuthorizationPolicy) SetNamespace(namespace string)

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

func (*SparseAPIAuthorizationPolicy) SetNormalizedTags

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

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

func (*SparseAPIAuthorizationPolicy) SetPropagate

func (o *SparseAPIAuthorizationPolicy) SetPropagate(propagate bool)

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

func (*SparseAPIAuthorizationPolicy) SetPropagationHidden

func (o *SparseAPIAuthorizationPolicy) SetPropagationHidden(propagationHidden bool)

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

func (*SparseAPIAuthorizationPolicy) SetProtected

func (o *SparseAPIAuthorizationPolicy) SetProtected(protected bool)

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

func (*SparseAPIAuthorizationPolicy) SetUpdateIdempotencyKey

func (o *SparseAPIAuthorizationPolicy) SetUpdateIdempotencyKey(updateIdempotencyKey string)

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

func (*SparseAPIAuthorizationPolicy) SetUpdateTime

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

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

func (*SparseAPIAuthorizationPolicy) SetZHash

func (o *SparseAPIAuthorizationPolicy) SetZHash(zHash int)

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

func (*SparseAPIAuthorizationPolicy) SetZone

func (o *SparseAPIAuthorizationPolicy) SetZone(zone int)

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

func (*SparseAPIAuthorizationPolicy) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseAPIAuthorizationPolicy) Version

func (o *SparseAPIAuthorizationPolicy) Version() int

Version returns the hardcoded version of the model.

type SparseAPICheck

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

	// Claims contains the decoded claims used.
	Claims *[]string `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"-" mapstructure:"claims,omitempty"`

	// Namespace is the namespace to use to check the api authentication.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"-" mapstructure:"namespace,omitempty"`

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

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

	// Token is the token to use to check api authentication.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,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"`

	// ID is the 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"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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"`

	// Name is the 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"`

	// Link to the cluster namespace where the AWS API gateway is defined.
	NamespaceID *string `json:"namespaceID,omitempty" msgpack:"namespaceID,omitempty" bson:"-" mapstructure:"namespaceID,omitempty"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

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

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

func (o *SparseAWSAPIGateway) GetName() string

GetName returns the Name of the receiver.

func (*SparseAWSAPIGateway) GetNamespace

func (o *SparseAWSAPIGateway) GetNamespace() string

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

func (o *SparseAWSAPIGateway) SetName(name string)

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

func (*SparseAWSAPIGateway) SetNamespace

func (o *SparseAWSAPIGateway) SetNamespace(namespace string)

SetNamespace sets the property Namespace 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// AccessKeyID contains the aws access key ID. This is used to retrieve your
	// account id, and it is not stored.
	AccessKeyID *string `json:"accessKeyID,omitempty" msgpack:"accessKeyID,omitempty" bson:"-" mapstructure:"accessKeyID,omitempty"`

	// AccessToken contains your aws access token. It is used to retrieve your account
	// id, and it not stored.
	AccessToken *string `json:"accessToken,omitempty" msgpack:"accessToken,omitempty" bson:"-" mapstructure:"accessToken,omitempty"`

	// accountID contains your verified accound 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"`

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

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

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

	// secretAccessKey contains the secret key. It is used to retrieve your account id,
	// and it is not stored.
	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"`

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

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

GetUpdateTime returns the UpdateTime 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) 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) 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 {
	// ID is the 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 SparseAccount

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

	// LDAPAddress holds the account authentication account's private ldap server.
	LDAPAddress *string `` /* 126-byte string literal not displayed */

	// LDAPBaseDN holds the base DN to use to ldap queries.
	LDAPBaseDN *string `json:"LDAPBaseDN,omitempty" msgpack:"LDAPBaseDN,omitempty" bson:"ldapbasedn,omitempty" mapstructure:"LDAPBaseDN,omitempty"`

	// LDAPBindDN holds the account's internal LDAP bind dn for querying auth.
	LDAPBindDN *string `json:"LDAPBindDN,omitempty" msgpack:"LDAPBindDN,omitempty" bson:"ldapbinddn,omitempty" mapstructure:"LDAPBindDN,omitempty"`

	// LDAPBindPassword holds the password to the LDAPBindDN.
	LDAPBindPassword *string `` /* 146-byte string literal not displayed */

	// LDAPBindSearchFilter holds filter to be used to uniquely search a user. For
	// Windows based systems, value may be `+"`"+`sAMAccountName={USERNAME}`+"`"+`. For Linux and
	// other systems, value may be `+"`"+`uid={USERNAME}`+"`"+`.
	LDAPBindSearchFilter *string `` /* 162-byte string literal not displayed */

	// LDAPCertificateAuthority contains the optional certificate author ity that will
	// be used to connect to the LDAP server. It is not needed if the TLS certificate
	// of the LDAP is issued from a public truster CA.
	LDAPCertificateAuthority *string `` /* 178-byte string literal not displayed */

	// LDAPConnProtocol holds the connection type for the LDAP provider.
	LDAPConnSecurityProtocol *AccountLDAPConnSecurityProtocolValue `` /* 178-byte string literal not displayed */

	// LDAPEnabled triggers if the account uses it's own LDAP for authentication.
	LDAPEnabled *bool `` /* 126-byte string literal not displayed */

	// LDAPIgnoredKeys holds a list of keys that must not be imported into Aporeto
	// authorization system.
	LDAPIgnoredKeys *[]string `` /* 142-byte string literal not displayed */

	// LDAPSubjectKey holds key to be used to populate the subject. If you want to
	// use the user as a subject, for Windows based systems you may use
	// 'sAMAccountName' and for Linux and other systems, value may be 'uid'. You can
	// also use any alternate key.
	LDAPSubjectKey *string `` /* 138-byte string literal not displayed */

	// Set to enable or disable two factor authentication.
	OTPEnabled *bool `json:"OTPEnabled,omitempty" msgpack:"OTPEnabled,omitempty" bson:"otpenabled,omitempty" mapstructure:"OTPEnabled,omitempty"`

	// Returns the base64 encoded QRCode for setting up 2 factor auth.
	OTPQRCode *string `json:"OTPQRCode,omitempty" msgpack:"OTPQRCode,omitempty" bson:"-" mapstructure:"OTPQRCode,omitempty"`

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

	// AccessEnabled defines if the account holder should have access to the systems.
	AccessEnabled *bool `` /* 134-byte string literal not displayed */

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

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

	// AssociatedAPIAuthPolicyID holds the ID of the associated API auth policy.
	AssociatedAPIAuthPolicyID *string `json:"-" msgpack:"-" bson:"associatedapiauthpolicyid,omitempty" mapstructure:"-,omitempty"`

	// AssociatedAWSPolicies contains a map of associated AWS Enforcerd Policies.
	AssociatedAWSPolicies *map[string]string `json:"-" msgpack:"-" bson:"associatedawspolicies,omitempty" mapstructure:"-,omitempty"`

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

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

	// AssociatedPlanKey contains the plan key that is associated to this account.
	AssociatedPlanKey *string `` /* 150-byte string literal not displayed */

	// AssociatedQuotaPolicies contains a mapping to the associated quota pollicies.
	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"`

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

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

	// ReCAPTCHAKey contains the capcha validation if reCAPTCH is enabled.
	ReCAPTCHAKey *string `json:"reCAPTCHAKey,omitempty" msgpack:"reCAPTCHAKey,omitempty" bson:"-" mapstructure:"reCAPTCHAKey,omitempty"`

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

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

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

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

GetUpdateTime returns the UpdateTime 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) 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) 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 {
	// Token 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 {
	// ID is the 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"`

	// Data of the notification.
	Data *interface{} `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// Date of the notification.
	Date *time.Time `json:"date,omitempty" msgpack:"date,omitempty" bson:"date,omitempty" mapstructure:"date,omitempty"`

	// Error contains the eventual 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"`

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

	// Operation describe what kind of operation the notification represents.
	Operation *string `json:"operation,omitempty" msgpack:"operation,omitempty" bson:"operation,omitempty" mapstructure:"operation,omitempty"`

	// OriginalData contains the eventual original data of the object that has been
	// modified.
	OriginalData *interface{} `` /* 130-byte string literal not displayed */

	// Source contains meta information about the source.
	Source *string `json:"source,omitempty" msgpack:"source,omitempty" bson:"source,omitempty" mapstructure:"source,omitempty"`

	// TargetIdentity is 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseActivity represents the sparse version of a activity.

func NewSparseActivity

func NewSparseActivity() *SparseActivity

NewSparseActivity returns a new SparseActivity.

func (*SparseActivity) DeepCopy

func (o *SparseActivity) DeepCopy() *SparseActivity

DeepCopy returns a deep copy if the SparseActivity.

func (*SparseActivity) DeepCopyInto

func (o *SparseActivity) DeepCopyInto(out *SparseActivity)

DeepCopyInto copies the receiver into the given *SparseActivity.

func (*SparseActivity) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 alams.
	Data *[]map[string]string `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// Description is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

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

	// Kind identifies the kind of alarms. 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"`

	// Name is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Number of time this alarm have been seen.
	Occurrences *[]time.Time `` /* 126-byte string literal not displayed */

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseAlarm represents the sparse version of a alarm.

func NewSparseAlarm

func NewSparseAlarm() *SparseAlarm

NewSparseAlarm returns a new SparseAlarm.

func (*SparseAlarm) DeepCopy

func (o *SparseAlarm) DeepCopy() *SparseAlarm

DeepCopy returns a deep copy if the SparseAlarm.

func (*SparseAlarm) DeepCopyInto

func (o *SparseAlarm) DeepCopyInto(out *SparseAlarm)

DeepCopyInto copies the receiver into the given *SparseAlarm.

func (*SparseAlarm) GetAnnotations

func (o *SparseAlarm) GetAnnotations() 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) 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) 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 {
	// Beta indicates if the app is in a beta version.
	Beta *bool `json:"beta,omitempty" msgpack:"beta,omitempty" bson:"-" mapstructure:"beta,omitempty"`

	// CategoryID of the app.
	CategoryID *string `json:"categoryID,omitempty" msgpack:"categoryID,omitempty" bson:"-" mapstructure:"categoryID,omitempty"`

	// Description is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Icon contains a base64 image for the app.
	Icon *string `json:"icon,omitempty" msgpack:"icon,omitempty" bson:"-" mapstructure:"icon,omitempty"`

	// LatestVersion represents the latest version available of the app.
	LatestVersion *string `json:"latestVersion,omitempty" msgpack:"latestVersion,omitempty" bson:"-" mapstructure:"latestVersion,omitempty"`

	// LongDescription contains a more detailed description of the app.
	LongDescription *string `json:"longDescription,omitempty" msgpack:"longDescription,omitempty" bson:"-" mapstructure:"longDescription,omitempty"`

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

	// Parameters is a list of parameters available for the app.
	Parameters *[]*AppParameter `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

	// Title represents the title of the app.
	Title *string `json:"title,omitempty" msgpack:"title,omitempty" bson:"-" mapstructure:"title,omitempty"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseApp) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseApp) GetZone

func (o *SparseApp) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseApp) SetZHash(zHash int)

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

func (*SparseApp) SetZone

func (o *SparseApp) SetZone(zone int)

SetZone sets the property Zone 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 {
	// CSR contains the Certificate Signing Request as a PEM encoded string. 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 appcred
	//
	// If you send anything else, the signing request will be rejected.
	CSR *string `json:"CSR,omitempty" msgpack:"CSR,omitempty" bson:"-" mapstructure:"CSR,omitempty"`

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// If set, the it 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 application.
	Certificate *string `` /* 126-byte string literal not displayed */

	// Link to the certificate created for this application.
	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 credential data.
	Credentials **Credential `json:"credentials,omitempty" msgpack:"credentials,omitempty" bson:"-" mapstructure:"credentials,omitempty"`

	// Description is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert 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 application credentials.
	Email *string `json:"email,omitempty" msgpack:"email,omitempty" bson:"email,omitempty" mapstructure:"email,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Contains the ID of the parent Appcred if this is a derived appcred.
	ParentIDs *[]string `json:"parentIDs,omitempty" msgpack:"parentIDs,omitempty" bson:"parentids,omitempty" mapstructure:"parentIDs,omitempty"`

	// Protected 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 credentials.
	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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseAppCredential represents the sparse version of a appcredential.

func NewSparseAppCredential

func NewSparseAppCredential() *SparseAppCredential

NewSparseAppCredential returns a new SparseAppCredential.

func (*SparseAppCredential) DeepCopy

DeepCopy returns a deep copy if the SparseAppCredential.

func (*SparseAppCredential) DeepCopyInto

func (o *SparseAppCredential) DeepCopyInto(out *SparseAppCredential)

DeepCopyInto copies the receiver into the given *SparseAppCredential.

func (*SparseAppCredential) GetAnnotations

func (o *SparseAppCredential) GetAnnotations() 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Rules is the list of audit policy rules associated with this policy.
	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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseAuditProfile represents the sparse version of a auditprofile.

func NewSparseAuditProfile

func NewSparseAuditProfile() *SparseAuditProfile

NewSparseAuditProfile returns a new SparseAuditProfile.

func (*SparseAuditProfile) DeepCopy

func (o *SparseAuditProfile) DeepCopy() *SparseAuditProfile

DeepCopy returns a deep copy if the SparseAuditProfile.

func (*SparseAuditProfile) DeepCopyInto

func (o *SparseAuditProfile) DeepCopyInto(out *SparseAuditProfile)

DeepCopyInto copies the receiver into the given *SparseAuditProfile.

func (*SparseAuditProfile) GetAnnotations

func (o *SparseAuditProfile) GetAnnotations() 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Object of the policy is the selector of the audit profiles that must be applied
	// based on this policy.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Subject of the policy is a selector of the enforcers that must implement 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"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseAuditProfileMappingPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseAuditProfileMappingPolicy) GetZone

func (o *SparseAuditProfileMappingPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseAuditProfileMappingPolicy) SetZHash(zHash int)

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

func (*SparseAuditProfileMappingPolicy) SetZone

func (o *SparseAuditProfileMappingPolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// Needs documentation.
	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"`

	// Needs documentation.
	EGID *int `json:"EGID,omitempty" msgpack:"EGID,omitempty" bson:"-" mapstructure:"EGID,omitempty"`

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

	// Needs documentation.
	FSGID *int `json:"FSGID,omitempty" msgpack:"FSGID,omitempty" bson:"-" mapstructure:"FSGID,omitempty"`

	// Needs documentation.
	FSUID *int `json:"FSUID,omitempty" msgpack:"FSUID,omitempty" bson:"-" mapstructure:"FSUID,omitempty"`

	// Needs documentation.
	GID *int `json:"GID,omitempty" msgpack:"GID,omitempty" bson:"-" mapstructure:"GID,omitempty"`

	// Needs documentation.
	PER *int `json:"PER,omitempty" msgpack:"PER,omitempty" bson:"-" mapstructure:"PER,omitempty"`

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

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

	// Needs documentation.
	SGID *int `json:"SGID,omitempty" msgpack:"SGID,omitempty" bson:"-" mapstructure:"SGID,omitempty"`

	// Needs documentation.
	SUID *int `json:"SUID,omitempty" msgpack:"SUID,omitempty" bson:"-" mapstructure:"SUID,omitempty"`

	// Needs documentation.
	UID *int `json:"UID,omitempty" msgpack:"UID,omitempty" bson:"-" mapstructure:"UID,omitempty"`

	// Needs documentation.
	A0 *string `json:"a0,omitempty" msgpack:"a0,omitempty" bson:"-" mapstructure:"a0,omitempty"`

	// Needs documentation.
	A1 *string `json:"a1,omitempty" msgpack:"a1,omitempty" bson:"-" mapstructure:"a1,omitempty"`

	// Needs documentation.
	A2 *string `json:"a2,omitempty" msgpack:"a2,omitempty" bson:"-" mapstructure:"a2,omitempty"`

	// Needs documentation.
	A3 *string `json:"a3,omitempty" msgpack:"a3,omitempty" bson:"-" mapstructure:"a3,omitempty"`

	// Architecture of the system where the syscall happened.
	Arch *string `json:"arch,omitempty" msgpack:"arch,omitempty" bson:"-" mapstructure:"arch,omitempty"`

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

	// Namespace 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 executable.
	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 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 of a failure.
	Success *bool `json:"success,omitempty" msgpack:"success,omitempty" bson:"-" mapstructure:"success,omitempty"`

	// Syscall name.
	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 SparseAuth

type SparseAuth struct {
	// Claims are the claims.
	Claims **claims.MidgardClaims `json:"claims,omitempty" msgpack:"claims,omitempty" bson:"-" mapstructure:"claims,omitempty"`

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

SparseAuth represents the sparse version of a auth.

func NewSparseAuth

func NewSparseAuth() *SparseAuth

NewSparseAuth returns a new SparseAuth.

func (*SparseAuth) DeepCopy

func (o *SparseAuth) DeepCopy() *SparseAuth

DeepCopy returns a deep copy if the SparseAuth.

func (*SparseAuth) DeepCopyInto

func (o *SparseAuth) DeepCopyInto(out *SparseAuth)

DeepCopyInto copies the receiver into the given *SparseAuth.

func (*SparseAuth) Identifier

func (o *SparseAuth) Identifier() string

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

func (*SparseAuth) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseAuth) SetIdentifier

func (o *SparseAuth) SetIdentifier(id string)

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

func (*SparseAuth) ToPlain

func (o *SparseAuth) ToPlain() elemental.PlainIdentifiable

ToPlain returns the plain version of the sparse model.

func (*SparseAuth) Version

func (o *SparseAuth) Version() int

Version returns the hardcoded version of the model.

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 {
	// ID is the identitfier of the Authority.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// PEM encoded certificate data.
	Certificate *string `` /* 126-byte string literal not displayed */

	// CommonName contains the common name of the CA.
	CommonName *string `json:"commonName,omitempty" msgpack:"commonName,omitempty" bson:"commonname,omitempty" mapstructure:"commonName,omitempty"`

	// Date of expiration of the authority.
	ExpirationDate *time.Time `` /* 138-byte string literal not displayed */

	// Encrypted private key of the Authority.
	Key *string `json:"-" msgpack:"-" bson:"key,omitempty" mapstructure:"-,omitempty"`

	// serialNumber of the certificate.
	SerialNumber *string `` /* 130-byte string literal not displayed */

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

type SparseAuthsList []*SparseAuth

SparseAuthsList represents a list of SparseAuths

func (SparseAuthsList) Append

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

func (SparseAuthsList) Copy

Copy returns a pointer to a copy the SparseAuthsList.

func (SparseAuthsList) DefaultOrder

func (o SparseAuthsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseAuthsList) Identity

func (o SparseAuthsList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparseAuthsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseAuthsList) ToPlain

ToPlain returns the SparseAuthsList converted to AuthsList.

func (SparseAuthsList) Version

func (o SparseAuthsList) Version() int

Version returns the version of the content.

type SparseAutomation

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

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 should
	// be taken.
	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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Entitlements declares which operations are allowed on which identities.
	Entitlements *map[string][]elemental.Operation `` /* 130-byte string literal not displayed */

	// Error contains the eventual error of the last run.
	Errors *[]string `json:"errors,omitempty" msgpack:"errors,omitempty" bson:"errors,omitempty" mapstructure:"errors,omitempty"`

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

	// LastExecTime holds the last successful execution tine.
	LastExecTime *time.Time `` /* 130-byte string literal not displayed */

	// Name is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Parameters are passed to the functions.
	Parameters *map[string]interface{} `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

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

	// Schedule tells when to run the automation. Must be a 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"`

	// Stdout contains the last run standard output.
	Stdout *string `json:"stdout,omitempty" msgpack:"stdout,omitempty" bson:"stdout,omitempty" mapstructure:"stdout,omitempty"`

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

	// Trigger 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseAutomation represents the sparse version of a automation.

func NewSparseAutomation

func NewSparseAutomation() *SparseAutomation

NewSparseAutomation returns a new SparseAutomation.

func (*SparseAutomation) 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) 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) 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

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

	// Key contains the unique identifier key for the template.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"-" mapstructure:"key,omitempty"`

	// Kind represents the kind of template.
	Kind *AutomationTemplateKindValue `json:"kind,omitempty" msgpack:"kind,omitempty" bson:"-" mapstructure:"kind,omitempty"`

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

	// Parameters contains the parameter description of the function.
	Parameters *map[string]*AutomationTemplateParameter `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"-" mapstructure:"parameters,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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Description is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Name is the 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Content contains the raw 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"`

	// firstSeen contains the date of the first appearance of the claims.
	FirstSeen *time.Time `json:"-" msgpack:"-" bson:"firstseen,omitempty" mapstructure:"-,omitempty"`

	// XXH64 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 xxhash function.
	Hash *string `json:"hash,omitempty" msgpack:"hash,omitempty" bson:"-" mapstructure:"hash,omitempty"`

	// lastSeen contains the date of the last appearance of the claims.
	LastSeen *time.Time `json:"-" msgpack:"-" bson:"lastseen,omitempty" mapstructure:"-,omitempty"`

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

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseClaims represents the sparse version of a claims.

func NewSparseClaims

func NewSparseClaims() *SparseClaims

NewSparseClaims returns a new SparseClaims.

func (*SparseClaims) DeepCopy

func (o *SparseClaims) DeepCopy() *SparseClaims

DeepCopy returns a deep copy if the SparseClaims.

func (*SparseClaims) DeepCopyInto

func (o *SparseClaims) DeepCopyInto(out *SparseClaims)

DeepCopyInto copies the receiver into the given *SparseClaims.

func (*SparseClaims) 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) 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) 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 SparseCustomer

type SparseCustomer struct {
	// ID is the 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 */

	// 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 CSR the enforcer wants control plane to sign. Depending on the
	// Certificate there will be various requirement 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 a the CA that signed the delivered certificates.
	Signer *string `json:"signer,omitempty" msgpack:"signer,omitempty" bson:"-" mapstructure:"signer,omitempty"`

	// Contains a crypto 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 {
	// edges are the edges of the map.
	Edges *map[string]*GraphEdge `json:"edges,omitempty" msgpack:"edges,omitempty" bson:"-" mapstructure:"edges,omitempty"`

	// Groups provide information about the group values.
	Groups *map[string]*GraphGroup `json:"groups,omitempty" msgpack:"groups,omitempty" bson:"-" mapstructure:"groups,omitempty"`

	// nodes refers to the nodes of the map.
	Nodes *map[string]*GraphNode `json:"nodes,omitempty" msgpack:"nodes,omitempty" bson:"-" mapstructure:"nodes,omitempty"`

	// viewSuggestions provides suggestion of 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"`

	// From represents the sender of the email. If not set, the default sender will be
	// used.
	From *string `json:"from,omitempty" msgpack:"from,omitempty" bson:"-" mapstructure:"from,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 {
	// FQDN contains the fqdn of the server where the enforcer is running.
	FQDN *string `json:"FQDN,omitempty" msgpack:"FQDN,omitempty" bson:"fqdn,omitempty" mapstructure:"FQDN,omitempty"`

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Certificate is the certificate of the enforcer.
	Certificate *string `` /* 126-byte string literal not displayed */

	// CertificateExpirationDate is the expiration date of the certificate. This is an
	// internal attribute, not exposed in the API.
	CertificateExpirationDate *time.Time `json:"-" msgpack:"-" bson:"-" mapstructure:"-,omitempty"`

	// CertificateKey is 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 generation, the provided CSR will be
	// validated and signed by the backend providing a renewed certificate.
	CertificateRequest *string `` /* 127-byte string literal not displayed */

	// CollectInfo indicates to the enforcer it needs to collect information.
	CollectInfo *bool `` /* 126-byte string literal not displayed */

	// CollectedInfo represents the latest info 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"`

	// CurrentVersion holds the enforcerd binary version that is currently associated
	// to this object.
	CurrentVersion *string `` /* 138-byte string literal not displayed */

	// Description is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Status of enforcement for PU managed directly by enforcerd, like Host PUs.
	EnforcementStatus *EnforcerEnforcementStatusValue `` /* 150-byte string literal not displayed */

	// LastCollectionTime represents the date and time when the info have been
	// collected.
	LastCollectionTime *time.Time `` /* 154-byte string literal not displayed */

	// Last poke is the time when the enforcer got last poked.
	LastPokeTime *time.Time `json:"-" msgpack:"-" bson:"lastpoketime,omitempty" mapstructure:"-,omitempty"`

	// LastSyncTime holds the last heart beat time.
	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"`

	// LocalCA contains the initial chain of trust for the enforcer. This valud is only
	// given when you retrieve a single enforcer.
	LocalCA *string `json:"localCA,omitempty" msgpack:"localCA,omitempty" bson:"-" mapstructure:"localCA,omitempty"`

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// OperationalStatus tells the status of the enforcer.
	OperationalStatus *EnforcerOperationalStatusValue `` /* 150-byte string literal not displayed */

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

	// PublicToken is the public token of the server that will be included in the
	// datapath and its signed by the private CA.
	PublicToken *string `` /* 126-byte string literal not displayed */

	// startTime holds the time this enforcerd was started. This time-stamp is reported
	// by the enforcer and is 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"`

	// Control plane will set this value to true if it hasn't heard from the enforcer
	// for more than 5m.
	Unreachable *bool `` /* 126-byte string literal not displayed */

	// Tells if the the version of enforcerd 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseEnforcer represents the sparse version of a enforcer.

func NewSparseEnforcer

func NewSparseEnforcer() *SparseEnforcer

NewSparseEnforcer returns a new SparseEnforcer.

func (*SparseEnforcer) DeepCopy

func (o *SparseEnforcer) DeepCopy() *SparseEnforcer

DeepCopy returns a deep copy if the SparseEnforcer.

func (*SparseEnforcer) DeepCopyInto

func (o *SparseEnforcer) DeepCopyInto(out *SparseEnforcer)

DeepCopyInto copies the receiver into the given *SparseEnforcer.

func (*SparseEnforcer) GetAnnotations

func (o *SparseEnforcer) GetAnnotations() 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// ExcludedInterfaces is a list of interfaces that must be excluded.
	ExcludedInterfaces *[]string `` /* 154-byte string literal not displayed */

	// ExcludedNetworks is the list of networks that must be excluded for this
	// enforcer.
	ExcludedNetworks *[]string `` /* 146-byte string literal not displayed */

	// IgnoreExpression allows to set a tag expression that will make Aporeto to ignore
	// docker container started with labels matching the rule.
	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 */

	// Metadata contains tags that can only be set during creation. They 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 */

	// Name is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// TargetNetworks is the list of networks that authorization should be applied.
	TargetNetworks *[]string `` /* 138-byte string literal not displayed */

	// TargetUDPNetworks is the list of UDP networks that authorization should be
	// applied.
	TargetUDPNetworks *[]string `` /* 150-byte string literal not displayed */

	// List of trusted CA. 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseEnforcerProfile represents the sparse version of a enforcerprofile.

func NewSparseEnforcerProfile

func NewSparseEnforcerProfile() *SparseEnforcerProfile

NewSparseEnforcerProfile returns a new SparseEnforcerProfile.

func (*SparseEnforcerProfile) DeepCopy

DeepCopy returns a deep copy if the SparseEnforcerProfile.

func (*SparseEnforcerProfile) DeepCopyInto

func (o *SparseEnforcerProfile) DeepCopyInto(out *SparseEnforcerProfile)

DeepCopyInto copies the receiver into the given *SparseEnforcerProfile.

func (*SparseEnforcerProfile) GetAnnotations

func (o *SparseEnforcerProfile) GetAnnotations() 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Object is the list of tags to use to find a enforcer profile.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"object,omitempty" mapstructure:"object,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Subject is the subject of the policy.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

GetZHash returns the ZHash of the receiver.

func (*SparseEnforcerProfileMappingPolicy) GetZone

GetZone returns the Zone 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) SetZHash

func (o *SparseEnforcerProfileMappingPolicy) SetZHash(zHash int)

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

func (*SparseEnforcerProfileMappingPolicy) SetZone

func (o *SparseEnforcerProfileMappingPolicy) SetZone(zone int)

SetZone sets the property Zone 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 to report.
	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 to report.
	Name *string `json:"name,omitempty" msgpack:"name,omitempty" bson:"-" mapstructure:"name,omitempty"`

	// Namespace of the enforcer to report.
	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 {
	// EnforcerID 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 PU where the trace was collected.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

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

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

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

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

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

	// Opaque data that can attached to the log, for further machine processing.
	Opaque *string `json:"opaque,omitempty" msgpack:"opaque,omitempty" bson:"opaque,omitempty" mapstructure:"opaque,omitempty"`

	// ID of the object this eventlog is attached to. The object must be in the same
	// namespace than the eventlog.
	TargetID *string `json:"targetID,omitempty" msgpack:"targetID,omitempty" bson:"targetid,omitempty" mapstructure:"targetID,omitempty"`

	// Identity of the object this eventlog is attached to.
	TargetIdentity *string `` /* 138-byte string literal not displayed */

	// Title of the eventlog.
	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 {
	// APIVersion of the api used for the exported data.
	APIVersion *int `json:"APIVersion,omitempty" msgpack:"APIVersion,omitempty" bson:"-" mapstructure:"APIVersion,omitempty"`

	// List of all exported data.
	Data *map[string][]map[string]interface{} `json:"data,omitempty" msgpack:"data,omitempty" bson:"-" mapstructure:"data,omitempty"`

	// The list of identities to export.
	Identities *[]string `json:"identities,omitempty" msgpack:"identities,omitempty" bson:"-" mapstructure:"identities,omitempty"`

	// Label allows 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:"-" 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Archived defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// AssociatedTags are the 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 is the 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"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseExternalNetwork represents the sparse version of a externalnetwork.

func NewSparseExternalNetwork

func NewSparseExternalNetwork() *SparseExternalNetwork

NewSparseExternalNetwork returns a new SparseExternalNetwork.

func (*SparseExternalNetwork) DeepCopy

DeepCopy returns a deep copy if the SparseExternalNetwork.

func (*SparseExternalNetwork) DeepCopyInto

func (o *SparseExternalNetwork) DeepCopyInto(out *SparseExternalNetwork)

DeepCopyInto copies the receiver into the given *SparseExternalNetwork.

func (*SparseExternalNetwork) GetAnnotations

func (o *SparseExternalNetwork) GetAnnotations() 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// AllowsExecute allows to execute the files.
	AllowsExecute *bool `json:"allowsExecute,omitempty" msgpack:"allowsExecute,omitempty" bson:"-" mapstructure:"allowsExecute,omitempty"`

	// AllowsRead allows to read the files.
	AllowsRead *bool `json:"allowsRead,omitempty" msgpack:"allowsRead,omitempty" bson:"-" mapstructure:"allowsRead,omitempty"`

	// AllowsWrite allows to write the files.
	AllowsWrite *bool `json:"allowsWrite,omitempty" msgpack:"allowsWrite,omitempty" bson:"-" mapstructure:"allowsWrite,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// EncryptionEnabled will enable the automatic encryption.
	EncryptionEnabled *bool `json:"encryptionEnabled,omitempty" msgpack:"encryptionEnabled,omitempty" bson:"-" mapstructure:"encryptionEnabled,omitempty"`

	// If set the policy will be auto deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

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

	// LogsEnabled will enable logging when this policy is used.
	LogsEnabled *bool `json:"logsEnabled,omitempty" msgpack:"logsEnabled,omitempty" bson:"-" mapstructure:"logsEnabled,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Object is the object of the policy.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseFileAccessPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseFileAccessPolicy) GetZone

func (o *SparseFileAccessPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseFileAccessPolicy) SetZHash(zHash int)

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

func (*SparseFileAccessPolicy) SetZone

func (o *SparseFileAccessPolicy) SetZone(zone int)

SetZone sets the property Zone 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 of the file.
	Host *string `json:"host,omitempty" msgpack:"host,omitempty" bson:"-" mapstructure:"host,omitempty"`

	// Mode of the 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Archived defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// AssociatedTags are the 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 is the 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"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseFilePath represents the sparse version of a filepath.

func NewSparseFilePath

func NewSparseFilePath() *SparseFilePath

NewSparseFilePath returns a new SparseFilePath.

func (*SparseFilePath) DeepCopy

func (o *SparseFilePath) DeepCopy() *SparseFilePath

DeepCopy returns a deep copy if the SparseFilePath.

func (*SparseFilePath) DeepCopyInto

func (o *SparseFilePath) DeepCopyInto(out *SparseFilePath)

DeepCopyInto copies the receiver into the given *SparseFilePath.

func (*SparseFilePath) GetAnnotations

func (o *SparseFilePath) GetAnnotations() 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) 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) 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"`

	// Type of the destination.
	DestinationIP *string `json:"destinationIP,omitempty" msgpack:"destinationIP,omitempty" bson:"-" mapstructure:"destinationIP,omitempty"`

	// Namespace of the receiver.
	DestinationNamespace *string `` /* 133-byte string literal not displayed */

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

	// Type of the source.
	DestinationType *FlowReportDestinationTypeValue `json:"destinationType,omitempty" msgpack:"destinationType,omitempty" bson:"-" mapstructure:"destinationType,omitempty"`

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

	// Tells is the flow has been 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"`

	// Tells if the flow is from design mode.
	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"`

	// This field is only set if 'observedAction' is set to 'Reject' and specifies the
	// reason for the rejection.
	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 receiver.
	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"`

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

	// Number of flows in the report.
	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 SparseHTTPResourceSpec

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Archived defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

	// Protected 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseHTTPResourceSpec represents the sparse version of a httpresourcespec.

func NewSparseHTTPResourceSpec

func NewSparseHTTPResourceSpec() *SparseHTTPResourceSpec

NewSparseHTTPResourceSpec returns a new SparseHTTPResourceSpec.

func (*SparseHTTPResourceSpec) DeepCopy

DeepCopy returns a deep copy if the SparseHTTPResourceSpec.

func (*SparseHTTPResourceSpec) DeepCopyInto

func (o *SparseHTTPResourceSpec) DeepCopyInto(out *SparseHTTPResourceSpec)

DeepCopyInto copies the receiver into the given *SparseHTTPResourceSpec.

func (*SparseHTTPResourceSpec) GetAnnotations

func (o *SparseHTTPResourceSpec) GetAnnotations() 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// CertificateAuthority contains the pem block of the certificate authority used by
	// the remote endpoint.
	CertificateAuthority *string `` /* 162-byte string literal not displayed */

	// ClientCertificate contains the client certificate that will be used to connect
	// to the remote endoint.
	ClientCertificate *string `` /* 150-byte string literal not displayed */

	// ClientCertificateKey contains the key associated to the clientCertificate.
	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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Endpoint contains the full address of the remote processor endoint.
	Endpoint *string `json:"endpoint,omitempty" msgpack:"endpoint,omitempty" bson:"endpoint,omitempty" mapstructure:"endpoint,omitempty"`

	// If set the policy will be auto deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

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

	// Metadata contains tags that can only be set during creation. They 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"`

	// Mode define the type of the hook.
	Mode *HookPolicyModeValue `json:"mode,omitempty" msgpack:"mode,omitempty" bson:"mode,omitempty" mapstructure:"mode,omitempty"`

	// Name is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate 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 */

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseHookPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseHookPolicy) GetZone

func (o *SparseHookPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseHookPolicy) SetZHash(zHash int)

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

func (*SparseHookPolicy) SetZone

func (o *SparseHookPolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Archived defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// HostModeEnabled forces the corresponding enforcers to enable complete host
	// protection. When this option is turned on, 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 that match the
	// subject constraints.
	HostModeEnabled *bool `` /* 142-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Services 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. Allowed
	// protocols are only tcp and udp.
	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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseHostService represents the sparse version of a hostservice.

func NewSparseHostService

func NewSparseHostService() *SparseHostService

NewSparseHostService returns a new SparseHostService.

func (*SparseHostService) DeepCopy

func (o *SparseHostService) DeepCopy() *SparseHostService

DeepCopy returns a deep copy if the SparseHostService.

func (*SparseHostService) DeepCopyInto

func (o *SparseHostService) DeepCopyInto(out *SparseHostService)

DeepCopyInto copies the receiver into the given *SparseHostService.

func (*SparseHostService) GetAnnotations

func (o *SparseHostService) GetAnnotations() 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Object of the policy is the selector for the host services that must be applied
	// to this enforcer.
	Object *[][]string `json:"object,omitempty" msgpack:"object,omitempty" bson:"-" mapstructure:"object,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Subject of the policy is the selector of the enforcers that the list of host
	// services must apply to.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"-" mapstructure:"subject,omitempty"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseHostServiceMappingPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseHostServiceMappingPolicy) GetZone

func (o *SparseHostServiceMappingPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseHostServiceMappingPolicy) SetZHash(zHash int)

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

func (*SparseHostServiceMappingPolicy) SetZone

func (o *SparseHostServiceMappingPolicy) SetZone(zone int)

SetZone sets the property Zone 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 resolved.
	IP *string `json:"IP,omitempty" msgpack:"IP,omitempty" bson:"-" mapstructure:"IP,omitempty"`

	// Eventual error that happened during resolution.
	Error *string `json:"error,omitempty" msgpack:"error,omitempty" bson:"-" mapstructure:"error,omitempty"`

	// List of DNS records associated to that IP.
	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 {
	// The data to import.
	Data **Export `json:"data,omitempty" msgpack:"data,omitempty" bson:"-" mapstructure:"data,omitempty"`

	// How to import the data. ReplacePartial is deprecated and should be Import. Right
	// now the API considers both equivalent.
	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 SparseImportRequest

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// Post a new comment that will be added to the 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"`

	// The data to import.
	Data *map[string][]map[string]interface{} `json:"data,omitempty" msgpack:"data,omitempty" bson:"data,omitempty" mapstructure:"data,omitempty"`

	// Description is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

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

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Protected 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. This will be populated by the control
	// plane.
	RequesterClaims *[]string `` /* 142-byte string literal not displayed */

	// The namespace from the request was created. This will be populated by the
	// control plane.
	RequesterNamespace *string `` /* 154-byte string literal not displayed */

	// The status of the request. The content of data can only be changed when the
	// status is set to `+"`"+`Draft`+"`"+` or `+"`"+`ChangeRequested`+"`"+`. When the status is changed to
	// `+"`"+`Submitted`+"`"+`, the request will move to the target namespace for validation.
	// If the Status is set to `+"`"+`Approved`+"`"+` the data will be created immediately.
	// If the status is set to `+"`"+`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 submit 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 he needs to have an autorization 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseImportRequest represents the sparse version of a importrequest.

func NewSparseImportRequest

func NewSparseImportRequest() *SparseImportRequest

NewSparseImportRequest returns a new SparseImportRequest.

func (*SparseImportRequest) DeepCopy

DeepCopy returns a deep copy if the SparseImportRequest.

func (*SparseImportRequest) DeepCopyInto

func (o *SparseImportRequest) DeepCopyInto(out *SparseImportRequest)

DeepCopyInto copies the receiver into the given *SparseImportRequest.

func (*SparseImportRequest) GetAnnotations

func (o *SparseImportRequest) GetAnnotations() 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) 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) 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 SparseInstalledApp

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

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

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// CategoryID of the app.
	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 app.
	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"`

	// Name is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Parameters is a list of parameters to start the app.
	Parameters *[]*AppParameter `json:"parameters,omitempty" msgpack:"parameters,omitempty" bson:"parameters,omitempty" mapstructure:"parameters,omitempty"`

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

	// Status of the app.
	Status *InstalledAppStatusValue `json:"status,omitempty" msgpack:"status,omitempty" bson:"status,omitempty" mapstructure:"status,omitempty"`

	// Reason for the status of the app.
	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"`

	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) 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) 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) 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) 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 {
	// ID is the id of the invoice.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"id,omitempty" mapstructure:"ID,omitempty"`

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

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

	// EndDate holds the end date for this invoice.
	EndDate *time.Time `json:"endDate,omitempty" msgpack:"endDate,omitempty" bson:"enddate,omitempty" mapstructure:"endDate,omitempty"`

	// StartDate holds the start date for 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 {
	// ID is the id of this 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"`

	// InvoiceID references the id of the invoice that this invoice record provides
	// details for.
	InvoiceID *string `json:"invoiceID,omitempty" msgpack:"invoiceID,omitempty" bson:"invoiceid,omitempty" mapstructure:"invoiceID,omitempty"`

	// InvoiceRecords provides 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// CapabilitiesActions identifies the capabilities that should be added 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"`

	// DefaultAction is the default action applied to all syscalls of this profile.
	// Default is "Allow".
	DefaultSyscallAction *types.SyscallEnforcementAction `` /* 162-byte string literal not displayed */

	// Description is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// SyscallRules is a list of syscall rules that identify actions for particular
	// syscalls.
	SyscallRules *types.SyscallEnforcementRulesMap `` /* 130-byte string literal not displayed */

	// TargetArchitectures is the target processor architectures where this profile can
	// be applied. 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseIsolationProfile represents the sparse version of a isolationprofile.

func NewSparseIsolationProfile

func NewSparseIsolationProfile() *SparseIsolationProfile

NewSparseIsolationProfile returns a new SparseIsolationProfile.

func (*SparseIsolationProfile) DeepCopy

DeepCopy returns a deep copy if the SparseIsolationProfile.

func (*SparseIsolationProfile) DeepCopyInto

func (o *SparseIsolationProfile) DeepCopyInto(out *SparseIsolationProfile)

DeepCopyInto copies the receiver into the given *SparseIsolationProfile.

func (*SparseIsolationProfile) GetAnnotations

func (o *SparseIsolationProfile) GetAnnotations() 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) 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) 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 from that namespace declared in
	// that value.
	Audience *string `json:"audience,omitempty" msgpack:"audience,omitempty" bson:"-" mapstructure:"audience,omitempty"`

	// Data contains additional data. The value depends on the issuer type.
	Data *string `json:"data,omitempty" msgpack:"data,omitempty" bson:"-" mapstructure:"data,omitempty"`

	// Metadata 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 time the issued token should be used.
	Quota *int `json:"quota,omitempty" msgpack:"quota,omitempty" bson:"-" mapstructure:"quota,omitempty"`

	// Realm is the authentication realm.
	Realm *IssueRealmValue `json:"realm,omitempty" msgpack:"realm,omitempty" bson:"-" mapstructure:"realm,omitempty"`

	// Token is the token to use for the registration.
	Token *string `json:"token,omitempty" msgpack:"token,omitempty" bson:"-" mapstructure:"token,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"`
}

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 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 SparseJaegerbatch

type SparseJaegerbatch struct {
	// Represents a jaeger batch.
	Batch *interface{} `json:"batch,omitempty" msgpack:"batch,omitempty" bson:"batch,omitempty" mapstructure:"batch,omitempty"`

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

SparseJaegerbatch represents the sparse version of a jaegerbatch.

func NewSparseJaegerbatch

func NewSparseJaegerbatch() *SparseJaegerbatch

NewSparseJaegerbatch returns a new SparseJaegerbatch.

func (*SparseJaegerbatch) DeepCopy

func (o *SparseJaegerbatch) DeepCopy() *SparseJaegerbatch

DeepCopy returns a deep copy if the SparseJaegerbatch.

func (*SparseJaegerbatch) DeepCopyInto

func (o *SparseJaegerbatch) DeepCopyInto(out *SparseJaegerbatch)

DeepCopyInto copies the receiver into the given *SparseJaegerbatch.

func (*SparseJaegerbatch) Identifier

func (o *SparseJaegerbatch) Identifier() string

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

func (*SparseJaegerbatch) Identity

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

Identity returns the Identity of the sparse object.

func (*SparseJaegerbatch) SetIdentifier

func (o *SparseJaegerbatch) SetIdentifier(id string)

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

func (*SparseJaegerbatch) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparseJaegerbatch) Version

func (o *SparseJaegerbatch) Version() int

Version returns the hardcoded version of the model.

type SparseJaegerbatchsList

type SparseJaegerbatchsList []*SparseJaegerbatch

SparseJaegerbatchsList represents a list of SparseJaegerbatchs

func (SparseJaegerbatchsList) Append

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

func (SparseJaegerbatchsList) Copy

Copy returns a pointer to a copy the SparseJaegerbatchsList.

func (SparseJaegerbatchsList) DefaultOrder

func (o SparseJaegerbatchsList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparseJaegerbatchsList) Identity

Identity returns the identity of the objects in the list.

func (SparseJaegerbatchsList) List

List converts the object to an elemental.IdentifiablesList.

func (SparseJaegerbatchsList) ToPlain

ToPlain returns the SparseJaegerbatchsList converted to JaegerbatchsList.

func (SparseJaegerbatchsList) Version

func (o SparseJaegerbatchsList) Version() int

Version returns the version of the content.

type SparseLog

type SparseLog struct {
	// Data contains all logs 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// expirationTime is the time after which the message will be deleted.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// Level defines how the message is important.
	Level *MessageLevelValue `json:"level,omitempty" msgpack:"level,omitempty" bson:"level,omitempty" mapstructure:"level,omitempty"`

	// Name is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Validity set using golang time duration, when the message will be automatically
	// deleted.
	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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseMessage represents the sparse version of a message.

func NewSparseMessage

func NewSparseMessage() *SparseMessage

NewSparseMessage returns a new SparseMessage.

func (*SparseMessage) DeepCopy

func (o *SparseMessage) DeepCopy() *SparseMessage

DeepCopy returns a deep copy if the SparseMessage.

func (*SparseMessage) DeepCopyInto

func (o *SparseMessage) DeepCopyInto(out *SparseMessage)

DeepCopyInto copies the receiver into the given *SparseMessage.

func (*SparseMessage) GetAnnotations

func (o *SparseMessage) GetAnnotations() 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// SSHCA holds the eventual SSH authority used by this namespace.
	SSHCA *string `json:"SSHCA,omitempty" msgpack:"SSHCA,omitempty" bson:"sshca,omitempty" mapstructure:"SSHCA,omitempty"`

	// If enabled, the a SSH 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 */

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

	// associatedSSHCAID holds the remote ID of the SSH authority to use.
	AssociatedSSHCAID *string `` /* 150-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// LocalCA holds the eventual certificate authority used by this namespace.
	LocalCA *string `json:"localCA,omitempty" msgpack:"localCA,omitempty" bson:"localca,omitempty" mapstructure:"localCA,omitempty"`

	// LocalCAEnabled defines if the namespace should use a local Certificate
	// Authority. Switching it off and on again will regenerate a new CA.
	LocalCAEnabled *bool `` /* 138-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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 is 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 */

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

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

	// Determines the validity time of certificates issued in this namespace. Default
	// value is 1 hour.
	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"`

	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) 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) 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// mappedNamespace is the mapped namespace.
	MappedNamespace *string `` /* 142-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

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

	// Subject is the subject.
	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"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseNamespaceMappingPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseNamespaceMappingPolicy) GetZone

func (o *SparseNamespaceMappingPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseNamespaceMappingPolicy) SetZHash(zHash int)

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

func (*SparseNamespaceMappingPolicy) SetZone

func (o *SparseNamespaceMappingPolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Action defines the action to apply to a flow.
	Action *NetworkAccessPolicyActionValue `json:"action,omitempty" msgpack:"action,omitempty" bson:"-" mapstructure:"action,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// applyPolicyMode determines if the policy has to be applied to the
	// outgoing traffic of a PU or the incoming traffic of a PU or in both directions.
	// Default is both directions.
	ApplyPolicyMode *NetworkAccessPolicyApplyPolicyModeValue `json:"applyPolicyMode,omitempty" msgpack:"applyPolicyMode,omitempty" bson:"-" mapstructure:"applyPolicyMode,omitempty"`

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// EncryptionEnabled 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 auto deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

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

	// LogsEnabled defines if the flow has to be logged.
	LogsEnabled *bool `json:"logsEnabled,omitempty" msgpack:"logsEnabled,omitempty" bson:"-" mapstructure:"logsEnabled,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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 */

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

	// 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 will be the final action taken on the
	// packets.
	ObservedTrafficAction *NetworkAccessPolicyObservedTrafficActionValue `` /* 136-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseNetworkAccessPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseNetworkAccessPolicy) GetZone

func (o *SparseNetworkAccessPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseNetworkAccessPolicy) SetZHash(zHash int)

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

func (*SparseNetworkAccessPolicy) SetZone

func (o *SparseNetworkAccessPolicy) SetZone(zone int)

SetZone sets the property Zone 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 SparseOIDCProvider

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

	// Unique client ID.
	ClientID *string `json:"clientID,omitempty" msgpack:"clientID,omitempty" bson:"clientid,omitempty" mapstructure:"clientID,omitempty"`

	// Client secret associated with the client ID.
	ClientSecret *string `` /* 130-byte string literal not displayed */

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

	// If set, this will be the default OIDCProvider. There can be only one default
	// provider in your account. When logging in with OIDC, if not provider name is
	// given, the default will be used.
	Default *bool `json:"default,omitempty" msgpack:"default,omitempty" bson:"default,omitempty" mapstructure:"default,omitempty"`

	// OIDC information endpoint.
	Endpoint *string `json:"endpoint,omitempty" msgpack:"endpoint,omitempty" bson:"endpoint,omitempty" mapstructure:"endpoint,omitempty"`

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

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

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

	// List of scopes to allow.
	Scopes *[]string `json:"scopes,omitempty" msgpack:"scopes,omitempty" bson:"scopes,omitempty" mapstructure:"scopes,omitempty"`

	// Subjects is the list of claims that will provide the subject.
	Subjects *[]string `json:"subjects,omitempty" msgpack:"subjects,omitempty" bson:"subjects,omitempty" mapstructure:"subjects,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"`
}

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

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

GetCreateTime returns the CreateTime of the receiver.

func (*SparseOIDCProvider) GetUpdateTime

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

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

type SparsePUNode struct {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Enforcement status of the pu.
	EnforcementStatus *string `json:"enforcementStatus,omitempty" msgpack:"enforcementStatus,omitempty" bson:"-" mapstructure:"enforcementStatus,omitempty"`

	// Images of the pu.
	Images *[]string `json:"images,omitempty" msgpack:"images,omitempty" bson:"-" mapstructure:"images,omitempty"`

	// Last poke time of the pu.
	LastPokeTime *time.Time `json:"lastPokeTime,omitempty" msgpack:"lastPokeTime,omitempty" bson:"-" mapstructure:"lastPokeTime,omitempty"`

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

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

	// Status of the pu.
	Status *string `json:"status,omitempty" msgpack:"status,omitempty" bson:"-" mapstructure:"status,omitempty"`

	// Tags of the pu.
	Tags *[]string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"-" mapstructure:"tags,omitempty"`

	// Type of the pu.
	Type *string `json:"type,omitempty" msgpack:"type,omitempty" bson:"-" mapstructure:"type,omitempty"`

	// If true, the pu is unreachable.
	Unreachable *bool `json:"unreachable,omitempty" msgpack:"unreachable,omitempty" bson:"-" mapstructure:"unreachable,omitempty"`

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

SparsePUNode represents the sparse version of a punode.

func NewSparsePUNode

func NewSparsePUNode() *SparsePUNode

NewSparsePUNode returns a new SparsePUNode.

func (*SparsePUNode) DeepCopy

func (o *SparsePUNode) DeepCopy() *SparsePUNode

DeepCopy returns a deep copy if the SparsePUNode.

func (*SparsePUNode) DeepCopyInto

func (o *SparsePUNode) DeepCopyInto(out *SparsePUNode)

DeepCopyInto copies the receiver into the given *SparsePUNode.

func (*SparsePUNode) Identifier

func (o *SparsePUNode) Identifier() string

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

func (*SparsePUNode) Identity

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

Identity returns the Identity of the sparse object.

func (*SparsePUNode) SetIdentifier

func (o *SparsePUNode) SetIdentifier(id string)

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

func (*SparsePUNode) ToPlain

ToPlain returns the plain version of the sparse model.

func (*SparsePUNode) Version

func (o *SparsePUNode) Version() int

Version returns the hardcoded version of the model.

type SparsePUNodesList

type SparsePUNodesList []*SparsePUNode

SparsePUNodesList represents a list of SparsePUNodes

func (SparsePUNodesList) Append

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

func (SparsePUNodesList) Copy

Copy returns a pointer to a copy the SparsePUNodesList.

func (SparsePUNodesList) DefaultOrder

func (o SparsePUNodesList) DefaultOrder() []string

DefaultOrder returns the default ordering fields of the content.

func (SparsePUNodesList) Identity

func (o SparsePUNodesList) Identity() elemental.Identity

Identity returns the identity of the objects in the list.

func (SparsePUNodesList) List

List converts the object to an elemental.IdentifiablesList.

func (SparsePUNodesList) ToPlain

ToPlain returns the SparsePUNodesList converted to PUNodesList.

func (SparsePUNodesList) Version

func (o SparsePUNodesList) 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"`

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

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

	// This field is only set if 'event' is set to 'Dropped' and specifies the reason
	// for the drop.
	DropReason *string `json:"dropReason,omitempty" msgpack:"dropReason,omitempty" bson:"-" mapstructure:"dropReason,omitempty"`

	// Encrypt indicates that the packet was encrypted.
	Encrypt *bool `json:"encrypt,omitempty" msgpack:"encrypt,omitempty" bson:"-" mapstructure:"encrypt,omitempty"`

	// Event is 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 PU 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"`

	// PUID is the ID of the PU reporting the packet.
	PuID *string `json:"puID,omitempty" msgpack:"puID,omitempty" bson:"-" mapstructure:"puID,omitempty"`

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

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

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

	// TriremePacket is set if the packet arrived with the Trireme options.
	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 {
	// Password contains the new password.
	Password *string `json:"password,omitempty" msgpack:"password,omitempty" bson:"-" mapstructure:"password,omitempty"`

	// Token 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 {
	// Description contains the description of the Plan.
	Description *string `` /* 126-byte string literal not displayed */

	// EnforcerQuota contains the maximum number of enforcers available in the Plan.
	EnforcersQuota *int `` /* 138-byte string literal not displayed */

	// Key contains the key identifier of the Plan.
	Key *string `json:"key,omitempty" msgpack:"key,omitempty" bson:"key,omitempty" mapstructure:"key,omitempty"`

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

	// PoliciesQuota contains the maximum number of policies available in the Plan.
	PoliciesQuota *int `` /* 134-byte string literal not displayed */

	// ProcessingUnitsQuota contains the maximum PUs available in the Plan.
	ProcessingUnitsQuota *int `` /* 162-byte string literal not displayed */

	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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Action 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:"action,omitempty" mapstructure:"action,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be auto deleted at the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

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

	// Propagate will propagate 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 */

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

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

	// Subject represent sets of entities that will have a dependency other entities.
	// Subjects are defined as logical operations on tags. Logical operations can
	// includes 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparsePolicy represents the sparse version of a policy.

func NewSparsePolicy

func NewSparsePolicy() *SparsePolicy

NewSparsePolicy returns a new SparsePolicy.

func (*SparsePolicy) DeepCopy

func (o *SparsePolicy) DeepCopy() *SparsePolicy

DeepCopy returns a deep copy if the SparsePolicy.

func (*SparsePolicy) DeepCopyInto

func (o *SparsePolicy) DeepCopyInto(out *SparsePolicy)

DeepCopyInto copies the receiver into the given *SparsePolicy.

func (*SparsePolicy) GetActiveDuration

func (o *SparsePolicy) GetActiveDuration() 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) 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) 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 {
	// puIdentity is the set of tags that a future activated PU 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"`

	// The dependencyMap contains the output of the policy evalation, and 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"`

	// Recursive will implement a recursive search through the namespaces for matching
	// PUs.
	Recursive *bool `json:"recursive,omitempty" msgpack:"recursive,omitempty" bson:"-" mapstructure:"recursive,omitempty"`

	// Selectors contains the tag expression that an 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 {
	// SourceNamespace contains the original ID of the updated object.
	SourceID *string `json:"sourceID,omitempty" msgpack:"sourceID,omitempty" bson:"sourceid,omitempty" mapstructure:"sourceID,omitempty"`

	// SourceNamespace contains the original namespace of the updated object.
	SourceNamespace *string `` /* 142-byte string literal not displayed */

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

	// Define if the processMode should be using the object or subject. This only has
	// effect when rendering a SSHAuthorizationPolicy for now.
	ProcessMode *PolicyRendererProcessModeValue `json:"processMode,omitempty" msgpack:"processMode,omitempty" bson:"-" mapstructure:"processMode,omitempty"`

	// List of tags of the object to render the hook policy for.
	Tags *[]string `json:"tags,omitempty" msgpack:"tags,omitempty" bson:"-" mapstructure:"tags,omitempty"`

	// Type of the 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

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

	// AuditProfiles provides the audit profiles that must be applied.
	AuditProfiles *AuditProfilesList `json:"auditProfiles,omitempty" msgpack:"auditProfiles,omitempty" bson:"-" mapstructure:"auditProfiles,omitempty"`

	// EnforcerProfiles provides the information about the server profile.
	EnforcerProfiles *EnforcerProfilesList `json:"enforcerProfiles,omitempty" msgpack:"enforcerProfiles,omitempty" bson:"-" mapstructure:"enforcerProfiles,omitempty"`

	// Policy target networks.
	ExternalNetworks *ExternalNetworksList `json:"externalNetworks,omitempty" msgpack:"externalNetworks,omitempty" bson:"-" mapstructure:"externalNetworks,omitempty"`

	// Policy target file paths.
	FilePaths *FilePathsList `json:"filePaths,omitempty" msgpack:"filePaths,omitempty" bson:"-" mapstructure:"filePaths,omitempty"`

	// HostServices provides the list of host services that must be instantiated.
	HostServices *HostServicesList `json:"hostServices,omitempty" msgpack:"hostServices,omitempty" bson:"-" mapstructure:"hostServices,omitempty"`

	// IsolationProfiles are the isolation profiles of the rule.
	IsolationProfiles *IsolationProfilesList `json:"isolationProfiles,omitempty" msgpack:"isolationProfiles,omitempty" bson:"-" mapstructure:"isolationProfiles,omitempty"`

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

	// Policy target namespaces.
	Namespaces *NamespacesList `json:"namespaces,omitempty" msgpack:"namespaces,omitempty" bson:"-" mapstructure:"namespaces,omitempty"`

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

	// Propagated indicates if the policy is propagated.
	Propagated *bool `json:"propagated,omitempty" msgpack:"propagated,omitempty" bson:"-" mapstructure:"propagated,omitempty"`

	// Relation describes the required operation to be performed between subjects and
	// objects.
	Relation *[]string `json:"relation,omitempty" msgpack:"relation,omitempty" bson:"-" mapstructure:"relation,omitempty"`

	// Services 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 {
	// ID is the 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Archived defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// CollectInfo indicates to the enforcer it needs to collect information for this
	// PU.
	CollectInfo *bool `` /* 126-byte string literal not displayed */

	// CollectedInfo represents the latest info collected by the enforcer for this PU.
	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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// EnforcementStatus communicates the state of the enforcer for that PU.
	EnforcementStatus *ProcessingUnitEnforcementStatusValue `` /* 150-byte string literal not displayed */

	// EnforcerID is the ID of the enforcer associated with the processing unit.
	EnforcerID *string `json:"enforcerID,omitempty" msgpack:"enforcerID,omitempty" bson:"enforcerid,omitempty" mapstructure:"enforcerID,omitempty"`

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

	// LastCollectionTime represents the date and time when the info have been
	// 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"`

	// LastSyncTime is the time when the policy was last resolved.
	LastSyncTime *time.Time `` /* 130-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NativeContextID is the Docker UUID or service PID.
	NativeContextID *string `` /* 142-byte string literal not displayed */

	// NetworkServices is the list of services that this processing unit has declared
	// that it will be listening to. This can happen either with an activation command
	// or by exposing the ports in a container manifest.
	NetworkServices *[]*ProcessingUnitService `` /* 142-byte string literal not displayed */

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// OperationalStatus of the processing unit.
	OperationalStatus *ProcessingUnitOperationalStatusValue `` /* 150-byte string literal not displayed */

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

	// Tracing indicates if this PU must be placed in tracing mode.
	Tracing **TraceMode `json:"tracing,omitempty" msgpack:"tracing,omitempty" bson:"tracing,omitempty" mapstructure:"tracing,omitempty"`

	// Type of the container ecosystem.
	Type *ProcessingUnitTypeValue `json:"type,omitempty" msgpack:"type,omitempty" bson:"type,omitempty" mapstructure:"type,omitempty"`

	// Control plane will set this value to true if it hasn't heard from the pu for
	// more than 5m.
	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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseProcessingUnit represents the sparse version of a processingunit.

func NewSparseProcessingUnit

func NewSparseProcessingUnit() *SparseProcessingUnit

NewSparseProcessingUnit returns a new SparseProcessingUnit.

func (*SparseProcessingUnit) DeepCopy

DeepCopy returns a deep copy if the SparseProcessingUnit.

func (*SparseProcessingUnit) DeepCopyInto

func (o *SparseProcessingUnit) DeepCopyInto(out *SparseProcessingUnit)

DeepCopyInto copies the receiver into the given *SparseProcessingUnit.

func (*SparseProcessingUnit) GetAnnotations

func (o *SparseProcessingUnit) GetAnnotations() 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) 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) 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 {
	// ID is the 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"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

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

	// IsolationProfileSelector are the profiles that must be applied when this policy
	// matches. Only applies to Enforce and LogCompliance actions.
	IsolationProfileSelector *[][]string `` /* 178-byte string literal not displayed */

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Subject defines the tag selectors that identitfy the processing units to which
	// this policy applies.
	Subject *[][]string `json:"subject,omitempty" msgpack:"subject,omitempty" bson:"subject,omitempty" mapstructure:"subject,omitempty"`

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

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseProcessingUnitPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseProcessingUnitPolicy) GetZone

func (o *SparseProcessingUnitPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseProcessingUnitPolicy) SetZHash(zHash int)

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

func (*SparseProcessingUnitPolicy) SetZone

func (o *SparseProcessingUnitPolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// ID contains the original ID of the Processing Unit.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"id,omitempty" mapstructure:"ID,omitempty"`

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

	// 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be auto deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

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

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate 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 */

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

	// Quota contains the maximum number of object matching the policy subject that can
	// be created.
	Quota *int `json:"quota,omitempty" msgpack:"quota,omitempty" bson:"-" mapstructure:"quota,omitempty"`

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseQuotaPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseQuotaPolicy) GetZone

func (o *SparseQuotaPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseQuotaPolicy) SetZHash(zHash int)

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

func (*SparseQuotaPolicy) SetZone

func (o *SparseQuotaPolicy) SetZone(zone int)

SetZone sets the property Zone 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 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"`

	// Node defines the type of the hook.
	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"`

	// Define the operation that is currently handled by the service.
	Operation *elemental.Operation `json:"operation,omitempty" msgpack:"operation,omitempty" bson:"-" mapstructure:"operation,omitempty"`

	// Returns the OutputData filled with the processor information.
	Output *elemental.Identifiable `json:"output,omitempty" msgpack:"output,omitempty" bson:"-" mapstructure:"output,omitempty"`

	// RequestID 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 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 {
	// Certificate is the certificate associated with this PU. It will identify the PU
	// to any internal or external services.
	Certificate *string `json:"certificate,omitempty" msgpack:"certificate,omitempty" bson:"-" mapstructure:"certificate,omitempty"`

	// DependendServices is the list of services that this processing unit depends on.
	DependendServices *ServicesList `json:"dependendServices,omitempty" msgpack:"dependendServices,omitempty" bson:"-" mapstructure:"dependendServices,omitempty"`

	// EgressPolicies lists all the egress policies attached to processing unit.
	EgressPolicies *map[string]PolicyRulesList `json:"egressPolicies,omitempty" msgpack:"egressPolicies,omitempty" bson:"-" mapstructure:"egressPolicies,omitempty"`

	// ExposedServices is the list of services that this processing unit is
	// implementing.
	ExposedServices *ServicesList `json:"exposedServices,omitempty" msgpack:"exposedServices,omitempty" bson:"-" mapstructure:"exposedServices,omitempty"`

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

	// IngressPolicies lists all the ingress policies attached to processing unit.
	IngressPolicies *map[string]PolicyRulesList `json:"ingressPolicies,omitempty" msgpack:"ingressPolicies,omitempty" bson:"-" mapstructure:"ingressPolicies,omitempty"`

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

	// Scopes is the set of scopes granted to this processing unit that it has to
	// 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 */

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

	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) 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) 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 is the description of the role.
	Description *string `json:"description,omitempty" msgpack:"description,omitempty" bson:"-" mapstructure:"description,omitempty"`

	// Key is the 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 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 {
	// ID is the 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"`

	// Name is the 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"`

	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) 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) 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be auto deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

	// The list of SSH permissions to apply to SSH 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"`

	// Fallback 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 set, this will configure the `+"`"+`force-command`+"`"+` option in the SSH Certificate.
	// More info can be found at
	// <https://github.com/openssh/openssh-portable/blob/38e83e4f219c752ebb1560633b73f06f0392018b/PROTOCOL.certkeys#L249>.
	ForceCommand *string `json:"forceCommand,omitempty" msgpack:"forceCommand,omitempty" bson:"-" mapstructure:"forceCommand,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

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

	// You can set some principals that will be applied to delivered certificate. If
	// not
	// set, the user's claim Subject will be used.
	Principals *[]string `json:"principals,omitempty" msgpack:"principals,omitempty" bson:"-" mapstructure:"principals,omitempty"`

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Subject contains the tag expression the authentication claims 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"`

	// Set the validity of the delivered SSH certificate.
	Validity *string `json:"validity,omitempty" msgpack:"validity,omitempty" bson:"-" mapstructure:"validity,omitempty"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseSSHAuthorizationPolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseSSHAuthorizationPolicy) GetZone

func (o *SparseSSHAuthorizationPolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseSSHAuthorizationPolicy) SetZHash(zHash int)

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

func (*SparseSSHAuthorizationPolicy) SetZone

func (o *SparseSSHAuthorizationPolicy) SetZone(zone int)

SetZone sets the property Zone 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 a 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 SparseService

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

	// IPs is 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 user 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 Provider URL. Only has effect if the `+"`"+`authorizationType`+"`"+` is set to `+"`"+`OIDC`+"`"+`.
	OIDCProviderURL *string `` /* 142-byte string literal not displayed */

	// Configures the scopes you want to add to 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 to `+"`"+`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 letsencrypt.
	// - `+"`"+`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"`

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// Archived defines if the object is archived.
	Archived *bool `json:"-" msgpack:"-" bson:"archived,omitempty" mapstructure:"-,omitempty"`

	// AssociatedTags are the list of tags attached to an entity.
	AssociatedTags *[]string `` /* 138-byte string literal not displayed */

	// AuthorizationType defines the user authorization type that should be used.
	//
	// - `+"`"+`None`+"`"+`: No auhtorization.
	// - `+"`"+`JWT`+"`"+`:  Configures a simple JWT verification from the HTTP `+"`"+`Auhorization`+"`"+`
	// Header
	// - `+"`"+`OIDC`+"`"+`: Configures OIDC authorization. You must then set `+"`"+`OIDCClientID`+"`"+`,
	// `+"`"+`OIDCClientSecret`+"`"+`, OIDCProviderURL`+"`"+`.
	// - `+"`"+`MTLS`+"`"+`: Configures Client Certificate authorization. Then you can optionaly
	// `+"`"+`MTLSCertificateAuthority`+"`"+` otherwise Aporeto 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// Endpoints is a read only attribute that actually 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"`

	// ExposedAPIs 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 L7 protocols.
	ExposedAPIs *[][]string `` /* 126-byte string literal not displayed */

	// ExposedPort is the port that the service can be accessed. Note that
	// this is different from the Port attribute that describes the port that the
	// service is actually listening. 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 */

	// ExposedServiceIsTLS indicates that the exposed service is TLS. This means that
	// the enforcer has to initiate a TLS session in order to forrward traffic to the
	// service.
	ExposedServiceIsTLS *bool `` /* 158-byte string literal not displayed */

	// External is a boolean that indicates if this is an external service.
	External *bool `json:"external,omitempty" msgpack:"external,omitempty" bson:"external,omitempty" mapstructure:"external,omitempty"`

	// Hosts are the names that the service can be accessed with.
	Hosts *[]string `json:"hosts,omitempty" msgpack:"hosts,omitempty" bson:"hosts,omitempty" mapstructure:"hosts,omitempty"`

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Port is the port that the implementation of the service is listening to and
	// it can be different than the exposedPorts describing the service. This is needed
	// for port mapping use cases where there is private and public ports.
	Port *int `json:"port,omitempty" msgpack:"port,omitempty" bson:"port,omitempty" mapstructure:"port,omitempty"`

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

	// PublicApplicationPort is a new virtual port that the service can
	// be accessed, 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 to let you chance 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 */

	// Selectors contains the tag expression that an a processing unit
	// must match in order to implement 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 L7 Load Balancer.
	TrustedCertificateAuthorities *string `` /* 198-byte string literal not displayed */

	// Type is the type of the 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseService represents the sparse version of a service.

func NewSparseService

func NewSparseService() *SparseService

NewSparseService returns a new SparseService.

func (*SparseService) 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseServiceDependency) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseServiceDependency) GetZone

func (o *SparseServiceDependency) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseServiceDependency) SetZHash(zHash int)

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

func (*SparseServiceDependency) SetZone

func (o *SparseServiceDependency) SetZone(zone int)

SetZone sets the property Zone 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 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 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 of results. -1 means no offset.
	Offset *int `json:"offset,omitempty" msgpack:"offset,omitempty" bson:"-" mapstructure:"offset,omitempty"`

	// Results 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 access 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 {
	// Headers contains the requests headers that matched.
	Headers *[]string `json:"headers,omitempty" msgpack:"headers,omitempty" bson:"-" mapstructure:"headers,omitempty"`

	// Rows contains the tabulated data.
	Rows *[][]interface{} `json:"rows,omitempty" msgpack:"rows,omitempty" bson:"-" mapstructure:"rows,omitempty"`

	// TargetIdentity 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"_id" mapstructure:"ID,omitempty"`

	// Count represents the number of time the tag is used.
	Count *int `json:"count,omitempty" msgpack:"count,omitempty" bson:"count,omitempty" mapstructure:"count,omitempty"`

	// Namespace represents the namespace of the counted tag.
	Namespace *string `json:"namespace,omitempty" msgpack:"namespace,omitempty" bson:"namespace,omitempty" mapstructure:"namespace,omitempty"`

	// Value 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) 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) 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 {
	// ID is the identifier of the object.
	ID *string `json:"ID,omitempty" msgpack:"ID,omitempty" bson:"-" mapstructure:"ID,omitempty"`

	// ActiveDuration defines for how long the policy will be active according to the
	// activeSchedule.
	ActiveDuration *string `` /* 138-byte string literal not displayed */

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssignedScopes is the the list of scopes that the policiy will assigns.
	AssignedScopes *[]string `` /* 138-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Disabled defines if the propert is disabled.
	Disabled *bool `json:"disabled,omitempty" msgpack:"disabled,omitempty" bson:"disabled,omitempty" mapstructure:"disabled,omitempty"`

	// If set the policy will be auto deleted after the given time.
	ExpirationTime *time.Time `` /* 138-byte string literal not displayed */

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

	// Propagate will propagate the policy to all of its children.
	Propagate *bool `json:"propagate,omitempty" msgpack:"propagate,omitempty" bson:"propagate,omitempty" mapstructure:"propagate,omitempty"`

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

	// Subject defines the selection criteria that this policy must match on identiy
	// 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"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,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) GetZHash

func (o *SparseTokenScopePolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*SparseTokenScopePolicy) GetZone

func (o *SparseTokenScopePolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *SparseTokenScopePolicy) SetZHash(zHash int)

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

func (*SparseTokenScopePolicy) SetZone

func (o *SparseTokenScopePolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// Payload contains the eventual 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 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 {
	// CVSS v2 score.
	CVSS2Score *float64 `json:"CVSS2Score,omitempty" msgpack:"CVSS2Score,omitempty" bson:"cvss2score,omitempty" mapstructure:"CVSS2Score,omitempty"`

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

	// Annotation stores additional information about an entity.
	Annotations *map[string][]string `` /* 126-byte string literal not displayed */

	// AssociatedTags are the 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 is the description of the object.
	Description *string `` /* 126-byte string literal not displayed */

	// Link is the URL that refers to the vulnerability.
	Link *string `json:"link,omitempty" msgpack:"link,omitempty" bson:"link,omitempty" mapstructure:"link,omitempty"`

	// Name is the 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"`

	// NormalizedTags contains the list of normalized tags of the entities.
	NormalizedTags *[]string `` /* 138-byte string literal not displayed */

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

	// Severity 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. This is used for sharding and
	// georedundancy.
	Zone *int `json:"-" msgpack:"-" bson:"zone,omitempty" mapstructure:"-,omitempty"`

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

SparseVulnerability represents the sparse version of a vulnerability.

func NewSparseVulnerability

func NewSparseVulnerability() *SparseVulnerability

NewSparseVulnerability returns a new SparseVulnerability.

func (*SparseVulnerability) DeepCopy

DeepCopy returns a deep copy if the SparseVulnerability.

func (*SparseVulnerability) DeepCopyInto

func (o *SparseVulnerability) DeepCopyInto(out *SparseVulnerability)

DeepCopyInto copies the receiver into the given *SparseVulnerability.

func (*SparseVulnerability) GetAnnotations

func (o *SparseVulnerability) GetAnnotations() 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) 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) 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) 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) 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 (
	// StatsInfoMeasurementAudit represents the value Audit.
	StatsInfoMeasurementAudit StatsInfoMeasurementValue = "Audit"

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

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 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 of results. -1 means no offset.
	Offset int `json:"offset" msgpack:"offset" bson:"-" mapstructure:"offset,omitempty"`

	// Results 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) 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 (
	// StatsQueryMeasurementAudit represents the value Audit.
	StatsQueryMeasurementAudit StatsQueryMeasurementValue = "Audit"

	// 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 access 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) 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 {
	// Headers contains the requests headers that matched.
	Headers []string `json:"headers" msgpack:"headers" bson:"-" mapstructure:"headers,omitempty"`

	// Rows contains the tabulated data.
	Rows [][]interface{} `json:"rows" msgpack:"rows" bson:"-" mapstructure:"rows,omitempty"`

	// TargetIdentity 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"_id" mapstructure:"ID,omitempty"`

	// Count represents the number of time the tag is used.
	Count int `json:"count" msgpack:"count" bson:"count" mapstructure:"count,omitempty"`

	// Namespace represents the namespace of the counted tag.
	Namespace string `json:"namespace" msgpack:"namespace" bson:"namespace" mapstructure:"namespace,omitempty"`

	// Value 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) 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) 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) 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) 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) 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) 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 {
	// colums of the row.
	Columns []string `json:"columns" msgpack:"columns" bson:"-" mapstructure:"columns,omitempty"`

	// the name of 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) 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) 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 {
	// ID is the identifier of the object.
	ID string `json:"ID" msgpack:"ID" bson:"-" mapstructure:"ID,omitempty"`

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

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

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

	// AssignedScopes is the the list of scopes that the policiy will assigns.
	AssignedScopes []string `json:"assignedScopes" msgpack:"assignedScopes" bson:"assignedscopes" mapstructure:"assignedScopes,omitempty"`

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

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

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

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

	// Metadata contains tags that can only be set during creation. They 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 is the 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"`

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

	// Propagate will propagate the policy to all of its children.
	Propagate bool `json:"propagate" msgpack:"propagate" bson:"propagate" mapstructure:"propagate,omitempty"`

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

	// Subject defines the selection criteria that this policy must match on identiy
	// 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"`

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

	// geographical zone. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,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) 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) GetZHash

func (o *TokenScopePolicy) GetZHash() int

GetZHash returns the ZHash of the receiver.

func (*TokenScopePolicy) GetZone

func (o *TokenScopePolicy) GetZone() int

GetZone returns the Zone 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) SetZHash

func (o *TokenScopePolicy) SetZHash(zHash int)

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

func (*TokenScopePolicy) SetZone

func (o *TokenScopePolicy) SetZone(zone int)

SetZone sets the property Zone 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 {
	// IPTables instructs the enforcers to provide an iptables trace for a PU.
	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.
	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) 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 {
	// TTL is the TTL value of the packet.
	TTL int `json:"TTL" msgpack:"TTL" bson:"ttl" mapstructure:"TTL,omitempty"`

	// Chain is the chain that the trace was collected from.
	Chain string `json:"chain" msgpack:"chain" bson:"chain" mapstructure:"chain,omitempty"`

	// DestinationIP is the destination IP.
	DestinationIP string `json:"destinationIP" msgpack:"destinationIP" bson:"destinationip" mapstructure:"destinationIP,omitempty"`

	// DestinationInterface is the destination interface of the packet.
	DestinationInterface string `` /* 132-byte string literal not displayed */

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

	// PacketID is the IP packet header ID.
	PacketID int `json:"packetID" msgpack:"packetID" bson:"packetid" mapstructure:"packetID,omitempty"`

	// Protocol is the protocol of the packets.
	Protocol int `json:"protocol" msgpack:"protocol" bson:"protocol" mapstructure:"protocol,omitempty"`

	// ruleID is the priority index of the iptables entry that was hit.
	RuleID int `json:"ruleID" msgpack:"ruleID" bson:"ruleid" mapstructure:"ruleID,omitempty"`

	// SourceIP is the source IP of the packet.
	SourceIP string `json:"sourceIP" msgpack:"sourceIP" bson:"sourceip" mapstructure:"sourceIP,omitempty"`

	// SourceInterface is the source interface of the packet.
	SourceInterface string `json:"sourceInterface" msgpack:"sourceInterface" bson:"sourceinterface" mapstructure:"sourceInterface,omitempty"`

	// SourcePort is the source TCP or UDP Port of the packet.
	SourcePort int `json:"sourcePort" msgpack:"sourcePort" bson:"sourceport" mapstructure:"sourcePort,omitempty"`

	// TableName is the iptable name that the trace was collected.
	TableName string `json:"tableName" msgpack:"tableName" bson:"tablename" mapstructure:"tableName,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"`
}

TraceRecord represents the model of a tracerecord

func NewTraceRecord

func NewTraceRecord() *TraceRecord

NewTraceRecord returns a new *TraceRecord

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 {
	// Payload contains the eventual 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) 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 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 {
	// CVSS v2 score.
	CVSS2Score float64 `json:"CVSS2Score" msgpack:"CVSS2Score" bson:"cvss2score" mapstructure:"CVSS2Score,omitempty"`

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

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

	// AssociatedTags are the 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 is the description of the object.
	Description string `json:"description" msgpack:"description" bson:"description" mapstructure:"description,omitempty"`

	// Link is the URL that refers to the vulnerability.
	Link string `json:"link" msgpack:"link" bson:"link" mapstructure:"link,omitempty"`

	// Name is the 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"`

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

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

	// Severity 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. This is used for sharding and
	// georedundancy.
	Zone int `json:"-" msgpack:"-" bson:"zone" mapstructure:"-,omitempty"`

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

Vulnerability represents the model of a vulnerability

func NewVulnerability

func NewVulnerability() *Vulnerability

NewVulnerability returns a new *Vulnerability

func (*Vulnerability) AttributeSpecifications

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

AttributeSpecifications returns the full attribute specifications map.

func (*Vulnerability) 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) 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) 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) 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) 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