Core

Proto: core.proto

Package: core.skv2.solo.io

Types:

ClusterObjectRef

Field Description
name (string)

name of the resource being referenced
namespace (string)

namespace of the resource being referenced
clusterName (string)

name of the cluster in which the resource exists

ObjectRef

Field Description
name (string)

name of the resource being referenced
namespace (string)

namespace of the resource being referenced

ObjectRefList

Field Description
refs (repeated ObjectRef)

ObjectSelector

Field Description
namespaces (repeated string)

Select Objects in these namespaces. If omitted, Gloo Mesh will only select Objects in the same namespace as the parent resource (e.g. VirtualGateway) that owns this selector. The reserved value “*” can be used to select objects in all namespaces watched by Gloo Mesh.
labels (repeated ObjectSelector.LabelsEntry)

Select objects whose labels match the ones specified here.
expressions (repeated ObjectSelector.Expression)

Expressions allow for more flexible object label matching, such as equality-based requirements, set-based requirements, or a combination of both. https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#equality-based-requirement

ObjectSelector.Expression

Field Description
key (string)

Kubernetes label key, must conform to Kubernetes syntax requirements https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set
operator (ObjectSelector.Expression.Operator)

The operator can only be in, notin, =, ==, !=, exists, ! (DoesNotExist), gt (GreaterThan), lt (LessThan).
values (repeated string)

ObjectSelector.LabelsEntry

Field Description
key (string)

value (string)

Status

Field Description
state (Status.State)

The current state of the resource
message (string)

A human readable message about the current state of the object
observedGeneration (int64)

The most recently observed generation of the resource. This value corresponds to the metadata.generation of a kubernetes resource
processingTime (google.protobuf.Timestamp)

The time at which this status was recorded
owner (google.protobuf.StringValue)

(optional) The owner of the status, this value can be used to identify the entity which wrote this status. This is useful in situations where a given resource may have multiple owners.

TargetRefWithSectionName

Field Description
group (string)

kind (string)

name (string)

namespace (google.protobuf.StringValue)

Optional, if unspecified, the local namespace of the policy is inferred.
sectionName (google.protobuf.StringValue)

Name of the section within the targeted resource to attach to. For Gateway resources, this refers to a Listener name. Optional, if unspecified, the entire object referenced is selected.

TypedClusterObjectRef

Field Description
apiGroup (google.protobuf.StringValue)

API group of the resource being referenced
kind (google.protobuf.StringValue)

Kind of the resource being referenced
name (string)

name of the resource being referenced
namespace (string)

namespace of the resource being referenced
clusterName (string)

name of the cluster in which the resource exists

TypedObjectRef

Field Description
apiGroup (google.protobuf.StringValue)

API group of the resource being referenced
kind (google.protobuf.StringValue)

Kind of the resource being referenced
name (string)

name of the resource being referenced
namespace (string)

namespace of the resource being referenced

ObjectSelector.Expression.Operator

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

Status.State

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.
ACCEPTED 4 Finished processing successfully.