Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // APIServicePathAnnotationKey the standard annotation to indicate the exposed URL should include an API path in addition to the domain name APIServicePathAnnotationKey = "api.service.kubernetes.io/path" // ExposeLabelKeys the labels used to indicate if a Service should be exposed ExposeLabelKeys = []string{"fabric8.io/expose", "jenkins-x.io/expose"} // ExposeAnnotationKey annotation on a Service to store its exposed URL ExposeAnnotationKey = "fabric8.io/exposeUrl" // ExposeHostNameAsAnnotationKey annotation to indicate the annotation name to expose the service host name ExposeHostNameAsAnnotationKey = "fabric8.io/exposeHostNameAs" // ExposePortAnnotationKey annotation to expose the service port ExposePortAnnotationKey = "fabric8.io/exposePort" )
Functions ¶
func IsExposedService ¶
IsExposedService returns true if this service should be exposed
func NewCmdStepExpose ¶
func NewCmdStepExpose(commonOpts *opts.CommonOptions) *cobra.Command
NewCmdStepExpose creates the command
Types ¶
type StepExposeOptions ¶
type StepExposeOptions struct { *opts.CommonOptions Dir string IngressTemplate string Namespace string LabelSelector string }
StepExposeOptions contains the command line flags
Click to show internal directories.
Click to hide internal directories.