kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/expose/expose.go

var exposeResources

var exposeLong

var exposeExample

type ExposeServiceOptions

type ExposeServiceFlags

func NewExposeFlags(ioStreams genericiooptions.IOStreams) *ExposeServiceFlags {}

// NewCmdExposeService is a command to expose the service from user's input
func NewCmdExposeService(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command {}

func (flags *ExposeServiceFlags) AddFlags(cmd *cobra.Command) {}

func (flags *ExposeServiceFlags) ToOptions(cmd *cobra.Command, args []string) (*ExposeServiceOptions, error) {}

// Complete loads data from the command line environment
func (o *ExposeServiceOptions) Complete(f cmdutil.Factory) error {}

// RunExpose retrieves the Kubernetes Object from the API server and expose it to a
// Kubernetes Service
func (o *ExposeServiceOptions) RunExpose(cmd *cobra.Command, args []string) error {}

func (o *ExposeServiceOptions) createService() (*corev1.Service, error) {}

// parseLabels turns a string representation of a label set into a map[string]string
func parseLabels(labelSpec string) (map[string]string, error) {}

func makeProtocols(protocols map[string][]string) string {}

// parseProtocols turns a string representation of a protocols set into a map[string]string
func parseProtocols(protocols string) (map[string][]string, error) {}