Common

Proto: common.proto

Package: common.portal.gloo.solo.io

Types:

DataSource

Source of binary data.

Field Type Label Description
inlineString string Data is stored as an inline string.
inlineBytes bytes Data is stored as an array of bytes.
fetchUrl string Data is stored as a URL.
configMap common.portal.gloo.solo.io.DataSource.ConfigMapData Data is stored in a ConfigMap.

DataSource.ConfigMapData

Data stored in a ConfigMap Data map entry

Field Type Label Description
name string The name of the config map.
namespace string The namespace of the config map.
key string The name of the key in the ConfigMap's data map.

LabelExpression

Represents a logical expression that is evaluated against a set of labels.

Field Type Label Description
key string The label key is the first operand in the expression. This value must conform to Kubernetes syntax requirements (see here).
operator common.portal.gloo.solo.io.LabelExpression.Operator The operator for the expression.
values []string repeated The values are the second operand in the expression. This field is required for all operations except Exists and DoesNotExist.

ObjectRef

A reference to an object.

Field Type Label Description
name string The name of the object.
namespace string The namespace of the object.

SecretRef

A reference to a specific key in a secret object.

Field Type Label Description
name string The name of the secret object.
namespace string The namespace of the secret object.
key string Data key containing the referenced data in the secret object. If not specified, a default key may be used.

Selector

Used to select other resources. An empty selector will match all resources in the namespace of the resource that defines it.

Field Type Label Description
matchLabels []common.portal.gloo.solo.io.Selector.MatchLabelsEntry repeated Select only resources that match the given label set.
namespaces []string repeated Select resources in these namespaces. If omitted, the selector will only select resources in the same namespace as the resource that defines it. The reserved value “*” can be used to select resources in all namespaces watched by Gloo Portal.

Selector.MatchLabelsEntry

Field Type Label Description
key string
value string

LabelExpression.Operator

The operator type for the expression. While the set-based syntax differs from Kubernetes (kubernetes: key: !mylabel, gloo portal: key: mylabel, operator: "!" | kubernetes: key: mylabel, gloo portal: key: mylabel, operator: exists), the functionality remains the same.

Name Number Description
Equals 0 =
DoubleEquals 1 ==
NotEquals 2 !=
In 3 in
NotIn 4 notin
Exists 5 exists
DoesNotExist 6 !
GreaterThan 7 gt
LessThan 8 lt

State

The State of a Gloo Portal object

Name Number Description
Pending 0 Waiting to be processed.
Processing 1 Currently processing.
Invalid 2 Invalid parameters supplied, will not continue.
Failed 3 Failed during processing.
Succeeded 4 Finished processing successfully.