@mochabug/adapt-web
Version:
The client library to execute automations, without effort, in a browser environment
61 lines • 3.39 kB
JavaScript
// Copyright 2023, mochabug AB
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
import { file_mochabugapis_adapt_plugins_v1_file } from "./file_pb.js";
/**
* Describes the file mochabugapis/adapt/plugins/v1/tls_service.proto.
*/
export const file_mochabugapis_adapt_plugins_v1_tls_service = /*@__PURE__*/ fileDesc("Ci9tb2NoYWJ1Z2FwaXMvYWRhcHQvcGx1Z2lucy92MS90bHNfc2VydmljZS5wcm90bxIdbW9jaGFidWdhcGlzLmFkYXB0LnBsdWdpbnMudjEinwEKDVRsc0RlZmluaXRpb24SSwoEbW9kZRgBIAEoDjIxLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLlRsc0RlZmluaXRpb24uTW9kZUIKukgHggEEEAEgACJBCgRNb2RlEhQKEE1PREVfVU5TUEVDSUZJRUQQABINCglNT0RFX01UTFMQARIUChBNT0RFX1NFUlZFUl9PTkxZEAIi+QEKCVRsc0NvbmZpZxI+CgljYV9idW5kbGUYASABKAsyIy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5GaWxlQga6SAPIAQESRQoLY2VydGlmaWNhdGUYAiABKAsyIy5tb2NoYWJ1Z2FwaXMuYWRhcHQucGx1Z2lucy52MS5GaWxlQga6SAPIAQFIAIgBARJFCgtwcml2YXRlX2tleRgDIAEoCzIjLm1vY2hhYnVnYXBpcy5hZGFwdC5wbHVnaW5zLnYxLkZpbGVCBrpIA8gBAUgBiAEBQg4KDF9jZXJ0aWZpY2F0ZUIOCgxfcHJpdmF0ZV9rZXliBnByb3RvMw", [file_buf_validate_validate, file_mochabugapis_adapt_plugins_v1_file]);
/**
* Describes the message mochabugapis.adapt.plugins.v1.TlsDefinition.
* Use `create(TlsDefinitionSchema)` to create a new message.
*/
export const TlsDefinitionSchema = /*@__PURE__*/ messageDesc(file_mochabugapis_adapt_plugins_v1_tls_service, 0);
/**
* Mode specifies which TLS configuration to use.
*
* @generated from enum mochabugapis.adapt.plugins.v1.TlsDefinition.Mode
*/
export var TlsDefinition_Mode;
(function (TlsDefinition_Mode) {
/**
* Default value. Invalid.
*
* @generated from enum value: MODE_UNSPECIFIED = 0;
*/
TlsDefinition_Mode[TlsDefinition_Mode["UNSPECIFIED"] = 0] = "UNSPECIFIED";
/**
* MTLS requires both the client and server to present valid certificates.
*
* @generated from enum value: MODE_MTLS = 1;
*/
TlsDefinition_Mode[TlsDefinition_Mode["MTLS"] = 1] = "MTLS";
/**
* SERVER_ONLY requires only the server to present a certificate, and the client performs validation.
*
* @generated from enum value: MODE_SERVER_ONLY = 2;
*/
TlsDefinition_Mode[TlsDefinition_Mode["SERVER_ONLY"] = 2] = "SERVER_ONLY";
})(TlsDefinition_Mode || (TlsDefinition_Mode = {}));
/**
* Describes the enum mochabugapis.adapt.plugins.v1.TlsDefinition.Mode.
*/
export const TlsDefinition_ModeSchema = /*@__PURE__*/ enumDesc(file_mochabugapis_adapt_plugins_v1_tls_service, 0, 0);
/**
* Describes the message mochabugapis.adapt.plugins.v1.TlsConfig.
* Use `create(TlsConfigSchema)` to create a new message.
*/
export const TlsConfigSchema = /*@__PURE__*/ messageDesc(file_mochabugapis_adapt_plugins_v1_tls_service, 1);
//# sourceMappingURL=tls_service_pb.js.map