{"modulePath":"github.com/2lambda123/openshift-origin","version":"v1.2.2","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package v1beta3\n\n## Constants\n\n```go\nconst GroupName = \"\"\n```\n\n## Variables\n\n```go\nvar SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: \"v1beta3\"}\n```\nSchemeGroupVersion is group version used to register these objects\n\n## Functions\n\n```go\nfunc AddToScheme(scheme *runtime.Scheme)\n```\n\n## Types\n\n```go\ntype Parameter struct {\n\t// Required: Parameter name must be set and it can be referenced in Template\n\t// Items using ${PARAMETER_NAME}\n\tName string `json:\"name\"`\n\n\t// Optional: The name that will show in UI instead of parameter 'Name'\n\tDisplayName string `json:\"displayName,omitempty\"`\n\n\t// Optional: Parameter can have description\n\tDescription string `json:\"description,omitempty\"`\n\n\t// Optional: Value holds the Parameter data. If specified, the generator\n\t// will be ignored. The value replaces all occurrences of the Parameter\n\t// ${Name} expression during the Template to Config transformation.\n\tValue string `json:\"value,omitempty\"`\n\n\t// Optional: Generate specifies the generator to be used to generate\n\t// random string from an input value specified by From field. The result\n\t// string is stored into Value field. If empty, no generator is being\n\t// used, leaving the result Value untouched.\n\tGenerate string `json:\"generate,omitempty\"`\n\n\t// Optional: From is an input value for the generator.\n\tFrom string `json:\"from,omitempty\"`\n\n\t// Optional: Indicates the parameter must have a value.  Defaults to false.\n\tRequired bool `json:\"required,omitempty\"`\n}\n```\nParameter defines a name/value variable that is to be processed during the Template to Config transformation.\n\n```go\ntype Template struct {\n\tunversioned.TypeMeta `json:\",inline\"`\n\tkapi.ObjectMeta      `json:\"metadata,omitempty\"`\n\n\t// Required: Objects is an array of objects to include in this template\n\tObjects []runtime.RawExtension `json:\"objects\"`\n\n\t// Optional: Parameters is an array of Parameters used during the\n\t// Template to Config transformation.\n\tParameters []Parameter `json:\"parameters,omitempty\"`\n\n\t// Optional: Labels is a set of labels that are applied to every\n\t// object during the Template to Config transformation\n\tLabels map[string]string `json:\"labels,omitempty\"`\n}\n```\nTemplate contains the inputs needed to produce a Config.\n\n```go\nfunc (obj *Template) GetObjectKind() unversioned.ObjectKind\n```\n\n```go\ntype TemplateList struct {\n\tunversioned.TypeMeta `json:\",inline\"`\n\tunversioned.ListMeta `json:\"metadata,omitempty\"`\n\tItems                []Template `json:\"items\"`\n}\n```\nTemplateList is a list of Template objects.\n\n```go\nfunc (obj *TemplateList) GetObjectKind() unversioned.ObjectKind\n```\n\n","path":"github.com/2lambda123/openshift-origin/pkg/template/api/v1beta3","name":"v1beta3","synopsis":"","isRedistributable":true}
