コード例 #1
0
ファイル: __init__.py プロジェクト: cetanu/envoy_data_plane
class StreamTracesMessageIdentifier(betterproto.Message):
    # The node sending the access log messages over the stream.
    node: "___config_core_v3__.Node" = betterproto.message_field(1)
コード例 #2
0
ファイル: log.py プロジェクト: emakeev/api
class CloseResponse(betterproto.Message):
    header: headers.ResponseHeader = betterproto.message_field(1)
コード例 #3
0
ファイル: log.py プロジェクト: emakeev/api
class ExistsResponse(betterproto.Message):
    header: headers.ResponseHeader = betterproto.message_field(1)
    contains_index: bool = betterproto.bool_field(2)
コード例 #4
0
ファイル: log.py プロジェクト: emakeev/api
class EntriesResponse(betterproto.Message):
    header: headers.ResponseHeader = betterproto.message_field(1)
    index: int = betterproto.uint64_field(2)
    value: bytes = betterproto.bytes_field(3)
    timestamp: datetime = betterproto.message_field(4)
コード例 #5
0
ファイル: log.py プロジェクト: emakeev/api
class EventResponse(betterproto.Message):
    header: headers.ResponseHeader = betterproto.message_field(1)
    type: "EventResponseType" = betterproto.enum_field(2)
    index: int = betterproto.uint64_field(3)
    value: bytes = betterproto.bytes_field(4)
    timestamp: datetime = betterproto.message_field(5)
コード例 #6
0
class HttpFault(betterproto.Message):
    """[#next-free-field: 14]"""

    # If specified, the filter will inject delays based on the values in the
    # object.
    delay: "___fault_v2__.FaultDelay" = betterproto.message_field(1)
    # If specified, the filter will abort requests based on the values in the
    # object. At least *abort* or *delay* must be specified.
    abort: "FaultAbort" = betterproto.message_field(2)
    # Specifies the name of the (destination) upstream cluster that the filter
    # should match on. Fault injection will be restricted to requests bound to
    # the specific upstream cluster.
    upstream_cluster: str = betterproto.string_field(3)
    # Specifies a set of headers that the filter should match on. The fault
    # injection filter can be applied selectively to requests that match a set of
    # headers specified in the fault filter config. The chances of actual fault
    # injection further depend on the value of the :ref:`percentage
    # <envoy_api_field_config.filter.http.fault.v2.FaultAbort.percentage>` field.
    # The filter will check the request's headers against all the specified
    # headers in the filter config. A match will happen if all the headers in the
    # config are present in the request with the same values (or based on
    # presence if the *value* field is not in the config).
    headers: List["_____api_v2_route__.HeaderMatcher"] = betterproto.message_field(4)
    # Faults are injected for the specified list of downstream hosts. If this
    # setting is not set, faults are injected for all downstream nodes.
    # Downstream node name is taken from :ref:`the HTTP x-envoy-downstream-
    # service-node <config_http_conn_man_headers_downstream-service-node>` header
    # and compared against downstream_nodes list.
    downstream_nodes: List[str] = betterproto.string_field(5)
    # The maximum number of faults that can be active at a single time via the
    # configured fault filter. Note that because this setting can be overridden
    # at the route level, it's possible for the number of active faults to be
    # greater than this value (if injected via a different route). If not
    # specified, defaults to unlimited. This setting can be overridden via
    # `runtime <config_http_filters_fault_injection_runtime>` and any faults that
    # are not injected due to overflow will be indicated via the `faults_overflow
    # <config_http_filters_fault_injection_stats>` stat. .. attention::   Like
    # other :ref:`circuit breakers <arch_overview_circuit_break>` in Envoy, this
    # is a fuzzy   limit. It's possible for the number of active faults to rise
    # slightly above the configured   amount due to the implementation details.
    max_active_faults: Optional[int] = betterproto.message_field(
        6, wraps=betterproto.TYPE_UINT32
    )
    # The response rate limit to be applied to the response body of the stream.
    # When configured, the percentage can be overridden by the
    # :ref:`fault.http.rate_limit.response_percent
    # <config_http_filters_fault_injection_runtime>` runtime key. .. attention::
    # This is a per-stream limit versus a connection level limit. This means that
    # concurrent streams  will each get an independent limit.
    response_rate_limit: "___fault_v2__.FaultRateLimit" = betterproto.message_field(7)
    # The runtime key to override the :ref:`default
    # <config_http_filters_fault_injection_runtime>` runtime. The default is:
    # fault.http.delay.fixed_delay_percent
    delay_percent_runtime: str = betterproto.string_field(8)
    # The runtime key to override the :ref:`default
    # <config_http_filters_fault_injection_runtime>` runtime. The default is:
    # fault.http.abort.abort_percent
    abort_percent_runtime: str = betterproto.string_field(9)
    # The runtime key to override the :ref:`default
    # <config_http_filters_fault_injection_runtime>` runtime. The default is:
    # fault.http.delay.fixed_duration_ms
    delay_duration_runtime: str = betterproto.string_field(10)
    # The runtime key to override the :ref:`default
    # <config_http_filters_fault_injection_runtime>` runtime. The default is:
    # fault.http.abort.http_status
    abort_http_status_runtime: str = betterproto.string_field(11)
    # The runtime key to override the :ref:`default
    # <config_http_filters_fault_injection_runtime>` runtime. The default is:
    # fault.http.max_active_faults
    max_active_faults_runtime: str = betterproto.string_field(12)
    # The runtime key to override the :ref:`default
    # <config_http_filters_fault_injection_runtime>` runtime. The default is:
    # fault.http.rate_limit.response_percent
    response_rate_limit_percent_runtime: str = betterproto.string_field(13)
コード例 #7
0
ファイル: log.py プロジェクト: emakeev/api
class RemoveRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
    index: int = betterproto.uint64_field(2)
    value: bytes = betterproto.bytes_field(3)
    timestamp: datetime = betterproto.message_field(4)
コード例 #8
0
class SetIdentityServerConfigRequest(betterproto.Message):
    config: "IdentityServerConfig" = betterproto.message_field(1)
コード例 #9
0
class GetIdentityServerConfigResponse(betterproto.Message):
    config: "IdentityServerConfig" = betterproto.message_field(1)
コード例 #10
0
class ListOidcClientsResponse(betterproto.Message):
    clients: List["OidcClient"] = betterproto.message_field(1)
コード例 #11
0
class UpdateOidcClientRequest(betterproto.Message):
    client: "OidcClient" = betterproto.message_field(1)
コード例 #12
0
class GetOidcClientResponse(betterproto.Message):
    client: "OidcClient" = betterproto.message_field(1)
コード例 #13
0
class User(betterproto.Message):
    """User represents an IDP user that has authenticated via OIDC"""

    email: str = betterproto.string_field(1)
    last_authenticated: datetime = betterproto.message_field(2)
コード例 #14
0
class GetIdpConnectorResponse(betterproto.Message):
    connector: "IdpConnector" = betterproto.message_field(1)
コード例 #15
0
ファイル: __init__.py プロジェクト: cetanu/envoy_data_plane
class Certificate(betterproto.Message):
    # Details of CA certificate.
    ca_cert: List["CertificateDetails"] = betterproto.message_field(1)
    # Details of Certificate Chain
    cert_chain: List["CertificateDetails"] = betterproto.message_field(2)
コード例 #16
0
class UpdateIdpConnectorRequest(betterproto.Message):
    connector: "IdpConnector" = betterproto.message_field(1)
コード例 #17
0
ファイル: __init__.py プロジェクト: cetanu/envoy_data_plane
class CertificateDetailsOcspDetails(betterproto.Message):
    # Indicates the time from which the OCSP response is valid.
    valid_from: datetime = betterproto.message_field(1)
    # Indicates the time at which the OCSP response expires.
    expiration: datetime = betterproto.message_field(2)
コード例 #18
0
class ListIdpConnectorsResponse(betterproto.Message):
    connectors: List["IdpConnector"] = betterproto.message_field(1)
コード例 #19
0
ファイル: log.py プロジェクト: emakeev/api
class LastEntryRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
コード例 #20
0
class Output(betterproto.Message):
    cpu: cpudt.Cpuout = betterproto.message_field(1, group="output")
    cam: raspcamdt.Raspcamout = betterproto.message_field(2, group="output")
    system: systemdt.Systemout = betterproto.message_field(3, group="output")
    generic: genericdt.Genericout = betterproto.message_field(4,
                                                              group="output")
コード例 #21
0
ファイル: log.py プロジェクト: emakeev/api
class RemoveResponse(betterproto.Message):
    header: headers.ResponseHeader = betterproto.message_field(1)
    status: "ResponseStatus" = betterproto.enum_field(2)
    index: int = betterproto.uint64_field(3)
    previous_value: bytes = betterproto.bytes_field(4)
コード例 #22
0
class Sensorout(betterproto.Message):
    outputs: List["Output"] = betterproto.message_field(2)
コード例 #23
0
ファイル: log.py プロジェクト: emakeev/api
class EventRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
    replay: bool = betterproto.bool_field(2)
    index: int = betterproto.uint64_field(3)
コード例 #24
0
ファイル: __init__.py プロジェクト: cetanu/envoy_data_plane
class RoutesConfigDumpStaticRouteConfig(betterproto.Message):
    # The route config.
    route_config: "betterproto_lib_google_protobuf.Any" = betterproto.message_field(
        1)
    # The timestamp when the Route was last updated.
    last_updated: datetime = betterproto.message_field(2)
コード例 #25
0
ファイル: log.py プロジェクト: emakeev/api
class CloseRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
    delete: bool = betterproto.bool_field(2)
コード例 #26
0
ファイル: __init__.py プロジェクト: cetanu/envoy_data_plane
class EndpointsConfigDumpStaticEndpointConfig(betterproto.Message):
    # The endpoint config.
    endpoint_config: "betterproto_lib_google_protobuf.Any" = betterproto.message_field(
        1)
    # [#not-implemented-hide:] The timestamp when the Endpoint was last updated.
    last_updated: datetime = betterproto.message_field(2)
コード例 #27
0
ファイル: log.py プロジェクト: emakeev/api
class ExistsRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
    index: int = betterproto.uint64_field(2)
コード例 #28
0
ファイル: __init__.py プロジェクト: cetanu/envoy_data_plane
class CommandLineOptions(betterproto.Message):
    """[#next-free-field: 39]"""

    # See :option:`--base-id` for details.
    base_id: int = betterproto.uint64_field(1)
    # See :option:`--use-dynamic-base-id` for details.
    use_dynamic_base_id: bool = betterproto.bool_field(31)
    # See :option:`--base-id-path` for details.
    base_id_path: str = betterproto.string_field(32)
    # See :option:`--concurrency` for details.
    concurrency: int = betterproto.uint32_field(2)
    # See :option:`--config-path` for details.
    config_path: str = betterproto.string_field(3)
    # See :option:`--config-yaml` for details.
    config_yaml: str = betterproto.string_field(4)
    # See :option:`--allow-unknown-static-fields` for details.
    allow_unknown_static_fields: bool = betterproto.bool_field(5)
    # See :option:`--reject-unknown-dynamic-fields` for details.
    reject_unknown_dynamic_fields: bool = betterproto.bool_field(26)
    # See :option:`--ignore-unknown-dynamic-fields` for details.
    ignore_unknown_dynamic_fields: bool = betterproto.bool_field(30)
    # See :option:`--admin-address-path` for details.
    admin_address_path: str = betterproto.string_field(6)
    # See :option:`--local-address-ip-version` for details.
    local_address_ip_version: "CommandLineOptionsIpVersion" = betterproto.enum_field(
        7)
    # See :option:`--log-level` for details.
    log_level: str = betterproto.string_field(8)
    # See :option:`--component-log-level` for details.
    component_log_level: str = betterproto.string_field(9)
    # See :option:`--log-format` for details.
    log_format: str = betterproto.string_field(10)
    # See :option:`--log-format-escaped` for details.
    log_format_escaped: bool = betterproto.bool_field(27)
    # See :option:`--log-path` for details.
    log_path: str = betterproto.string_field(11)
    # See :option:`--service-cluster` for details.
    service_cluster: str = betterproto.string_field(13)
    # See :option:`--service-node` for details.
    service_node: str = betterproto.string_field(14)
    # See :option:`--service-zone` for details.
    service_zone: str = betterproto.string_field(15)
    # See :option:`--file-flush-interval-msec` for details.
    file_flush_interval: timedelta = betterproto.message_field(16)
    # See :option:`--drain-time-s` for details.
    drain_time: timedelta = betterproto.message_field(17)
    # See :option:`--drain-strategy` for details.
    drain_strategy: "CommandLineOptionsDrainStrategy" = betterproto.enum_field(
        33)
    # See :option:`--parent-shutdown-time-s` for details.
    parent_shutdown_time: timedelta = betterproto.message_field(18)
    # See :option:`--mode` for details.
    mode: "CommandLineOptionsMode" = betterproto.enum_field(19)
    # See :option:`--disable-hot-restart` for details.
    disable_hot_restart: bool = betterproto.bool_field(22)
    # See :option:`--enable-mutex-tracing` for details.
    enable_mutex_tracing: bool = betterproto.bool_field(23)
    # See :option:`--restart-epoch` for details.
    restart_epoch: int = betterproto.uint32_field(24)
    # See :option:`--cpuset-threads` for details.
    cpuset_threads: bool = betterproto.bool_field(25)
    # See :option:`--disable-extensions` for details.
    disabled_extensions: List[str] = betterproto.string_field(28)
    # See :option:`--enable-fine-grain-logging` for details.
    enable_fine_grain_logging: bool = betterproto.bool_field(34)
    # See :option:`--socket-path` for details.
    socket_path: str = betterproto.string_field(35)
    # See :option:`--socket-mode` for details.
    socket_mode: int = betterproto.uint32_field(36)
    # See :option:`--enable-core-dump` for details.
    enable_core_dump: bool = betterproto.bool_field(37)
    # See :option:`--stats-tag` for details.
    stats_tag: List[str] = betterproto.string_field(38)
コード例 #29
0
ファイル: log.py プロジェクト: emakeev/api
class SizeRequest(betterproto.Message):
    header: headers.RequestHeader = betterproto.message_field(1)
コード例 #30
0
ファイル: __init__.py プロジェクト: cetanu/envoy_data_plane
class StreamTracesMessage(betterproto.Message):
    # Identifier data effectively is a structured metadata. As a performance
    # optimization this will only be sent in the first message on the stream.
    identifier: "StreamTracesMessageIdentifier" = betterproto.message_field(1)
    # A list of Span entries
    spans: List["____opencensus_proto_trace_v1__.Span"] = betterproto.message_field(2)