Cloud Foundry User-Provided-Service Parser From VCAP SERVICES Or Files

Transcription

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

BlitzkriegSoftware.PCF.CFEnvParserNamespaceThis is the parser library. This was written in .NET Core 2.0 but shouldbe portable to .NET CLR 4.5.x easily.ClassesClassDescriptionUpsEnvParser Cloud Foundry Helper LibraryParse User-Provided-Services(UPS) from VCAP SERVICES(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.com

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParser ClassCloud Foundry Helper Library Parse User-Provided-Services (UPS)from VCAP SERVICESInheritance HierarchySystemObject space: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#Copypublic sealed class UpsEnvParserThe UpsEnvParser type exposes the following RTopPropertiesNameDescriptionIsLocalIs configuration aquired locally (falsemeans from UPS)

LocalPathLocal path (folder) to UPS JSON filesUpsCountHow many UPS got loaded?UpsNames Return the list of UPS namesTopMethodsNameDescriptionEqualsDetermines whether thespecified object is equal to thecurrent object.(Inherited from Object.)GetHashCodeServes as the default hashfunction.(Inherited from Object.)GetTypeGets the Type of the currentinstance.(Inherited from Object.)ToStringReturns a string thatrepresents the current object.(Inherited from Object.)UpsExistsIs this UPS in the collection?UpsKeyExistsIs this UPS Key in thecollection?UpsKeyGetValue Get the value for a UPS for akey (or provided default)UpsKeysReturn all Keys for a UPS

UpsKeyValuesReturn the dictionary of key,values for a UPSTopFieldsNameDescriptionENV VAR Environment Variable:VCAP SERVICESTopSee AlsoReferenceBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.com

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParser ConstructorCTORNamespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public UpsEnvParser(string localPath)ParameterslocalPathType: SystemStringLocal path (folder) to UPS JSON filesSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.comCopy

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParser PropertiesThe UpsEnvParser type exposes the following members.PropertiesNameDescriptionIsLocalIs configuration aquired locally (falsemeans from UPS)LocalPathLocal path (folder) to UPS JSON filesUpsCountHow many UPS got loaded?UpsNames Return the list of UPS namesTopSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.com

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserIsLocal PropertyIs configuration aquired locally (false means from UPS)Namespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public bool IsLocal { get; }Property ValueType: BooleanSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.comCopy

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserLocalPathPropertyLocal path (folder) to UPS JSON filesNamespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public string LocalPath { get; set; }Property ValueType: StringSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.comCopy

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserUpsCountPropertyHow many UPS got loaded?Namespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public int UpsCount { get; }Property ValueType: Int32See AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.comCopy

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserUpsNamesPropertyReturn the list of UPS namesNamespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public List UpsNames { get; }Property ValueType: ListTSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.comCopy

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParser MethodsThe UpsEnvParser type exposes the following members.MethodsNameDescriptionEqualsDetermines whether thespecified object is equal to thecurrent object.(Inherited from Object.)GetHashCodeServes as the default hashfunction.(Inherited from Object.)GetTypeGets the Type of the currentinstance.(Inherited from Object.)ToStringReturns a string thatrepresents the current object.(Inherited from Object.)UpsExistsIs this UPS in the collection?UpsKeyExistsIs this UPS Key in thecollection?UpsKeyGetValue Get the value for a UPS for akey (or provided default)UpsKeysReturn all Keys for a UPS

UpsKeyValuesReturn the dictionary of key,values for a UPSTopSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.com

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserUpsExists MethodIs this UPS in the collection?Namespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public bool UpsExists(string upsName)ParametersupsNameType: SystemStringName of UPSReturn ValueType: BooleanTrue if soSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.comCopy

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserUpsKeyExistsMethodIs this UPS Key in the collection?Namespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public bool UpsKeyExists(string upsName,string key)ParametersupsNameType: SystemStringName of UPSkeyType: SystemStringKey to UPS valueReturn ValueType: BooleanTrue if soSee AlsoReferenceCopy

UpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.com

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserUpsKeyGetValueMethodGet the value for a UPS for a key (or provided default)Namespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public string UpsKeyGetValue(string upsName,string key,string defaultValue "")ParametersupsNameType: SystemStringName of UPSkeyType: SystemStringKey to UPS valuedefaultValue (Optional)Type: SystemStringDefault value (empty string)Return ValueType: StringValue or defaultValue (default: empty string)Copy

See AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.com

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserUpsKeys MethodReturn all Keys for a UPSNamespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public IEnumerable string UpsKeys(string upsName)ParametersupsNameType: SystemStringName of UPSReturn ValueType: IEnumerableStringList of keys for the UPSSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.comCopy

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserUpsKeyValuesMethodReturn the dictionary of key, values for a UPSNamespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#Copypublic IDictionary string, string UpsKeyValues(string upsName)ParametersupsNameType: SystemStringName of UPSReturn ValueType: IDictionaryString, StringReturn name, value dictionarySee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart Williams

Send comments on this topic to spookdejur@hotmail.com

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParser FieldsThe UpsEnvParser type exposes the following members.FieldsNameDescriptionENV VAR Environment Variable:VCAP SERVICESTopSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.com

Cloud Foundry User-Provided-Service Parser from VCAP SERVICESor files

UpsEnvParserENV VAR FieldEnvironment Variable: VCAP SERVICESNamespace: BlitzkriegSoftware.PCF.CFEnvParserAssembly: BlitzkriegSoftware.PCF.CFEnvParser (inBlitzkriegSoftware.PCF.CFEnvParser.dll) Version: 1.0.0SyntaxC#public const string ENV VAR "VCAP SERVICES"Field ValueType: StringSee AlsoReferenceUpsEnvParser ClassBlitzkriegSoftware.PCF.CFEnvParser Namespace(c) 2018 Blitzkrieg Software / Stuart WilliamsSend comments on this topic to spookdejur@hotmail.comCopy

Cloud Foundry User-Provided-Service Parser from VCAP_SERVICES or files. BlitzkriegSoftware.PCF.CFEnvParser Namespace This is the parser library. This was written in .NET Core 2.0 but should be portable to .NET CLR 4.5.x easily. Classes Class Description UpsEnvParser Cloud Foundry Helper Library