{"modulePath":"github.com/2lambda123/openshift-origin","version":"v4.1.0+incompatible","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package expose\n\n## Functions\n\n```go\nfunc NewCmdExpose(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command\n```\nNewCmdExpose is a wrapper for the Kubernetes cli expose command\n\n## Types\n\n```go\ntype ExposeOptions struct {\n\tHostname       string\n\tPath           string\n\tWildcardPolicy string\n\n\tNamespace        string\n\tEnforceNamespace bool\n\tCoreClient       corev1client.CoreV1Interface\n\tBuilder          func() *resource.Builder\n\tArgs             []string\n\tGenerator        string\n\tFilenames        []string\n\tPort             string\n\tProtocol         string\n}\n```\n\n```go\nfunc NewExposeOptions() *ExposeOptions\n```\n\n```go\nfunc (o *ExposeOptions) Complete(cmd *cobra.Command, f kcmdutil.Factory, args []string) error\n```\n\n```go\nfunc (o *ExposeOptions) Validate(cmd *cobra.Command) error\n```\nValidate adds one layer of validation prior to calling the upstream expose command.\n\n","path":"github.com/2lambda123/openshift-origin/pkg/oc/cli/expose","name":"expose","synopsis":"","isRedistributable":true}
