kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/create/create_ingress.go

var regexHostPathSvc

var regexTLS

var ruleRegex

var ingressLong

var ingressExample

type CreateIngressOptions

// NewCreateIngressOptions creates the CreateIngressOptions to be used later
func NewCreateIngressOptions(ioStreams genericiooptions.IOStreams) *CreateIngressOptions {}

// NewCmdCreateIngress is a macro command to create a new ingress.
// This command is better known to users as `kubectl create ingress`.
func NewCmdCreateIngress(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command {}

// Complete completes all the options
func (o *CreateIngressOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error {}

// Validate validates the Ingress object to be created
func (o *CreateIngressOptions) Validate() error {}

// Run performs the execution of 'create ingress' sub command
func (o *CreateIngressOptions) Run() error {}

func (o *CreateIngressOptions) createIngress() *networkingv1.Ingress {}

func (o *CreateIngressOptions) buildAnnotations() map[string]string {}

// buildIngressSpec builds the .spec from the diverse arguments passed to kubectl
func (o *CreateIngressOptions) buildIngressSpec() networkingv1.IngressSpec {}

func (o *CreateIngressOptions) buildTLSRules() []networkingv1.IngressTLS {}

// buildIngressRules builds the .spec.rules for an ingress object.
func (o *CreateIngressOptions) buildIngressRules() []networkingv1.IngressRule {}

func buildHTTPIngressPath(pathsvc string) networkingv1.HTTPIngressPath {}

func buildIngressBackendSvc(service string) networkingv1.IngressBackend {}

func parseServiceBackendPort(port string) networkingv1.ServiceBackendPort {}

func getIndexHost(host string, rules []networkingv1.IngressRule) int {}

func getIndexSecret(secretname string, tls []networkingv1.IngressTLS) int {}