package expose
import "k8s.io/kubectl/pkg/cmd/expose"
Index ¶
- func NewCmdExposeService(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- type ExposeServiceOptions
Functions ¶
func NewCmdExposeService ¶
Types ¶
type ExposeServiceOptions ¶
type ExposeServiceOptions struct { FilenameOptions resource.FilenameOptions RecordFlags *genericclioptions.RecordFlags PrintFlags *genericclioptions.PrintFlags PrintObj printers.ResourcePrinterFunc DryRunStrategy cmdutil.DryRunStrategy DryRunVerifier *resource.DryRunVerifier EnforceNamespace bool Generators func(string) map[string]generate.Generator CanBeExposed polymorphichelpers.CanBeExposedFunc MapBasedSelectorForObject func(runtime.Object) (string, error) PortsForObject polymorphichelpers.PortsForObjectFunc ProtocolsForObject func(runtime.Object) (map[string]string, error) Namespace string Mapper meta.RESTMapper Builder *resource.Builder ClientForMapping func(mapping *meta.RESTMapping) (resource.RESTClient, error) Recorder genericclioptions.Recorder genericclioptions.IOStreams }
func NewExposeServiceOptions ¶
func NewExposeServiceOptions(ioStreams genericclioptions.IOStreams) *ExposeServiceOptions
func (*ExposeServiceOptions) Complete ¶
func (*ExposeServiceOptions) RunExpose ¶
func (o *ExposeServiceOptions) RunExpose(cmd *cobra.Command, args []string) error
Source Files ¶
expose.go
- Version
- v0.19.0-alpha.2
- Published
- Apr 22, 2020
- Platform
- js/wasm
- Imports
- 20 packages
- Last checked
- 2 minutes ago –
Tools for package owners.