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 ( // Common Operations BookInfoOperation = "bookinfo" HTTPBinOperation = "httpbin" ImageHubOperation = "imagehub" EmojiVotoOperation = "emojivoto" // Validate Operations SmiConformanceOperation = "smi_conformance" // Custom Operation CustomOperation = "custom" // Additional Properties ServiceName = "service_name" )
Variables ¶
View Source
var ( DefaultOpts = configprovider.Options{ ServerConfig: defaultServerConfig, MeshSpec: defaultMeshSpec, ProviderConfig: defaultProviderConfig, Operations: Operations, } )
View Source
var ( Operations = adapter.Operations{ BookInfoOperation: &adapter.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Description: "Istio Book Info Application", Versions: adapter.NoneVersion, Templates: []adapter.Template{ "https://raw.githubusercontent.com/istio/istio/master/samples/bookinfo/platform/kube/bookinfo.yaml", }, AdditionalProperties: map[string]string{ ServiceName: BookInfoOperation, }, }, HTTPBinOperation: &adapter.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Description: "HTTPBin Application", Versions: adapter.NoneVersion, Templates: []adapter.Template{ "https://raw.githubusercontent.com/istio/istio/master/samples/httpbin/httpbin.yaml", }, AdditionalProperties: map[string]string{ ServiceName: HTTPBinOperation, }, }, ImageHubOperation: &adapter.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Description: "Image Hub Application", Versions: adapter.NoneVersion, Templates: []adapter.Template{ "https://raw.githubusercontent.com/layer5io/image-hub/master/deployment.yaml", }, AdditionalProperties: map[string]string{ ServiceName: ImageHubOperation, }, }, EmojiVotoOperation: &adapter.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Description: "EmojiVoto Application", Versions: adapter.NoneVersion, Templates: []adapter.Template{ "https://raw.githubusercontent.com/BuoyantIO/emojivoto/main/kustomize/deployment/emoji.yml", "https://raw.githubusercontent.com/BuoyantIO/emojivoto/main/kustomize/deployment/vote-bot.yml", "https://raw.githubusercontent.com/BuoyantIO/emojivoto/main/kustomize/deployment/voting.yml", "https://raw.githubusercontent.com/BuoyantIO/emojivoto/main/kustomize/deployment/web.yml", }, AdditionalProperties: map[string]string{ ServiceName: EmojiVotoOperation, }, }, CustomOperation: &adapter.Operation{ Type: int32(meshes.OpCategory_CUSTOM), Description: "Custom YAML", Templates: adapter.NoneTemplate, }, SmiConformanceOperation: &adapter.Operation{ Type: int32(meshes.OpCategory_VALIDATE), Description: "SMI Conformance", }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.