1package devops 2 3// Copyright (c) Microsoft and contributors. All rights reserved. 4// 5// Licensed under the Apache License, Version 2.0 (the "License"); 6// you may not use this file except in compliance with the License. 7// You may obtain a copy of the License at 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// 14// See the License for the specific language governing permissions and 15// limitations under the License. 16// 17// Code generated by Microsoft (R) AutoRest Code Generator. 18// Changes may cause incorrect behavior and will be lost if the code is regenerated. 19 20// CodeRepositoryType enumerates the values for code repository type. 21type CodeRepositoryType string 22 23const ( 24 // GitHub ... 25 GitHub CodeRepositoryType = "gitHub" 26 // VstsGit ... 27 VstsGit CodeRepositoryType = "vstsGit" 28) 29 30// PossibleCodeRepositoryTypeValues returns an array of possible values for the CodeRepositoryType const type. 31func PossibleCodeRepositoryTypeValues() []CodeRepositoryType { 32 return []CodeRepositoryType{GitHub, VstsGit} 33} 34 35// InputDataType enumerates the values for input data type. 36type InputDataType string 37 38const ( 39 // InputDataTypeAuthorization ... 40 InputDataTypeAuthorization InputDataType = "Authorization" 41 // InputDataTypeBool ... 42 InputDataTypeBool InputDataType = "Bool" 43 // InputDataTypeInt ... 44 InputDataTypeInt InputDataType = "Int" 45 // InputDataTypeSecureString ... 46 InputDataTypeSecureString InputDataType = "SecureString" 47 // InputDataTypeString ... 48 InputDataTypeString InputDataType = "String" 49) 50 51// PossibleInputDataTypeValues returns an array of possible values for the InputDataType const type. 52func PossibleInputDataTypeValues() []InputDataType { 53 return []InputDataType{InputDataTypeAuthorization, InputDataTypeBool, InputDataTypeInt, InputDataTypeSecureString, InputDataTypeString} 54} 55