Home

xds.core.v3.ResourceLocator

Example

Disclaimer: The example is meant to show what methods are available on the object and does not necessarily constitute working code.
local types = import 'types.libsonnet';

types.xds.core.v3.ResourceLocator
.withAuthority('string')
.withDirectives([ types.xds.core.v3.ResourceLocator.Directive ])
.withExactContext(types.xds.core.v3.ContextParams)
.withId('string')
.withResourceType('string')
.withScheme(types.xds.core.v3.ResourceLocator.Scheme.XDSTP)
._validate()

Nested Enums

Nested Messages

Fields

Name Type One-of group Required Constraints
authority string  
directives [] xds.core.v3.ResourceLocator.Directive  
exact_context xds.core.v3.ContextParams context_param_specifier  
id string  
resource_type string   {"String_":{"WellKnown":null,"min_len":1}}
scheme xds.core.v3.ResourceLocator.Scheme   {"Enum":{"defined_only":true}}