Documentation ¶
Index ¶
Constants ¶
View Source
const ( BookInfoOperation = "bookinfo" HTTPBinOperation = "httpbin" ImageHubOperation = "imagehub" EmojiVotoOperation = "emojivoto" SmiConformanceOperation = "smi_conformance" CustomOperation = "custom" ServiceName = "service_name" )
Variables ¶
View Source
var ( // DefaultOpts is an example of options to be injected into a config providers. DefaultOpts = configprovider.Options{ Viper: &defaultViperOptions, InMem: &configprovider.InMemOptions{}, } )
View Source
var ( Operations = adapters.Operations{ BookInfoOperation: &adapters.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Description: "Istio Book Info Application", Versions: adapters.NoneVersion, Templates: []adapters.Template{ "https://raw.githubusercontent.com/istio/istio/master/samples/bookinfo/platform/kube/bookinfo.yaml", }, AdditionalProperties: map[string]string{ ServiceName: BookInfoOperation, }, }, HTTPBinOperation: &adapters.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Description: "HTTPBin Application", Versions: adapters.NoneVersion, Templates: []adapters.Template{ "https://raw.githubusercontent.com/istio/istio/master/samples/httpbin/httpbin.yaml", }, AdditionalProperties: map[string]string{ ServiceName: HTTPBinOperation, }, }, ImageHubOperation: &adapters.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Description: "Image Hub Application", Versions: adapters.NoneVersion, Templates: []adapters.Template{ "https://raw.githubusercontent.com/layer5io/image-hub/master/deployment.yaml", }, AdditionalProperties: map[string]string{ ServiceName: ImageHubOperation, }, }, EmojiVotoOperation: &adapters.Operation{ Type: int32(meshes.OpCategory_SAMPLE_APPLICATION), Description: "EmojiVoto Application", Versions: adapters.NoneVersion, Templates: []adapters.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: &adapters.Operation{ Type: int32(meshes.OpCategory_CUSTOM), Description: "Custom YAML", Templates: adapters.NoneTemplate, }, SmiConformanceOperation: &adapters.Operation{ Type: int32(meshes.OpCategory_VALIDATE), Description: "SMI Conformance", Templates: []adapters.Template{ "https://raw.githubusercontent.com/layer5io/learn-layer5/master/smi-conformance/manifest.yml", }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.