kubernetes: k8s.io/kubernetes/pkg/kubectl/cmd/expose Index | Files

package expose

import "k8s.io/kubernetes/pkg/kubectl/cmd/expose"

Index

Package Files

expose.go

func NewCmdExposeService Uses

func NewCmdExposeService(f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command

type ExposeServiceOptions Uses

type ExposeServiceOptions struct {
    FilenameOptions resource.FilenameOptions
    RecordFlags     *genericclioptions.RecordFlags
    PrintFlags      *genericclioptions.PrintFlags
    PrintObj        printers.ResourcePrinterFunc

    DryRun           bool
    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

    DynamicClient dynamic.Interface
    Builder       *resource.Builder

    Recorder genericclioptions.Recorder
    genericclioptions.IOStreams
}

func NewExposeServiceOptions Uses

func NewExposeServiceOptions(ioStreams genericclioptions.IOStreams) *ExposeServiceOptions

func (*ExposeServiceOptions) Complete Uses

func (o *ExposeServiceOptions) Complete(f cmdutil.Factory, cmd *cobra.Command) error

func (*ExposeServiceOptions) RunExpose Uses

func (o *ExposeServiceOptions) RunExpose(cmd *cobra.Command, args []string) error

Package expose imports 22 packages (graph) and is imported by 10 packages. Updated 2019-07-23. Refresh now. Tools for package owners.