Documentation ¶
Overview ¶
This is a sample config file which is to be added in every adapter according to their config attributes/values
Index ¶
Constants ¶
View Source
const ( // Install Operation Commands InstallBookInfoCommand = "install_book_info" InstallHTTPBinCommand = "install_http_bin" InstallImageHubCommand = "install_image_hub" // Validate Operation Commands ValidateSmiConformance = "validate_smi_conformance_test" // Custom Operation Commands CustomOpCommand = "custom" )
Variables ¶
View Source
var ( DefaultOpts = configprovider.Options{ ServerConfig: defaultServerConfig, MeshSpec: defaultMeshSpec, MeshInstance: defaultMeshInstance, ProviderConfig: defaultProviderConfig, Operations: Operations, } )
View Source
var ( Operations = adapter.Operations{ InstallBookInfoCommand: &adapter.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Properties: map[string]string{ adapter.OperationDescriptionKey: "Istio Book Info Application", adapter.OperationVersionKey: "", adapter.OperationTemplateNameKey: "templates/bookinfo.yaml", adapter.OperationServiceNameKey: "productpage", }, }, InstallHTTPBinCommand: &adapter.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Properties: map[string]string{ adapter.OperationDescriptionKey: "HTTPBin Application", adapter.OperationVersionKey: "", adapter.OperationTemplateNameKey: "templates/httpbin.yaml", adapter.OperationServiceNameKey: "httpbin", }, }, InstallImageHubCommand: &adapter.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Properties: map[string]string{ adapter.OperationDescriptionKey: "Image Hub Application", adapter.OperationVersionKey: "", adapter.OperationTemplateNameKey: "templates/imagehub.yaml", adapter.OperationServiceNameKey: "web", }, }, CustomOpCommand: &adapter.Operation{ Type: int32(meshes.OpCategory_CUSTOM), Properties: map[string]string{ adapter.OperationDescriptionKey: "Custom YAML", adapter.OperationVersionKey: "", adapter.OperationTemplateNameKey: "templates/custom.yaml", }, }, ValidateSmiConformance: &adapter.Operation{ Type: int32(meshes.OpCategory_VALIDATE), Properties: map[string]string{ adapter.OperationDescriptionKey: "SMI Conformance Test", }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.