Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2018 Changes in this version + func NewCmdBuildHook(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdBuildSecret(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdDeploymentHook(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdEnv(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdImage(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdImageLookup(fullName, parentName string, f kcmdutil.Factory, ...) *cobra.Command + func NewCmdProbe(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdResources(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdRouteBackends(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdSet(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdTriggers(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func NewCmdVolume(fullName string, f kcmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command + func UpdateBackendsForObject(obj runtime.Object, fn func(*Backends) error) (bool, error) + func UpdateTriggersForObject(obj runtime.Object, fn func(*TriggerDefinition) error) (bool, error) + type AddVolumeOptions struct + ClaimClass string + ClaimMode string + ClaimName string + ClaimSize string + ConfigMapName string + CreateClaim bool + DefaultMode string + MountPath string + Overwrite bool + Path string + ReadOnly bool + SecretName string + Source string + SubPath string + Type string + TypeChanged bool + func (a *AddVolumeOptions) Complete() error + func (a *AddVolumeOptions) Validate() error + type BackendInput struct + Name string + Percentage bool + Relative bool + Value int32 + func ParseBackendInput(s string) (*BackendInput, error) + func (input *BackendInput) Apply(ref, to *routev1.RouteTargetReference, backends []routev1.RouteTargetReference) + type BackendTransform struct + Adjust bool + Equal bool + Inputs []BackendInput + Zero bool + func (t BackendTransform) Apply(b *Backends) error + func (t BackendTransform) Empty() bool + func (t BackendTransform) Validate() error + type Backends struct + Backends []routev1.RouteTargetReference + func (b *Backends) Names() []string + type BackendsOptions struct + All bool + Builder func() *resource.Builder + Client dynamic.Interface + DryRun bool + ExplicitNamespace bool + Local bool + Mapper meta.RESTMapper + Namespace string + PrintFlags *genericclioptions.PrintFlags + PrintTable bool + Printer printers.ResourcePrinter + Resources []string + Selector string + Transform BackendTransform + func NewBackendsOptions(streams genericclioptions.IOStreams) *BackendsOptions + func (o *BackendsOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *BackendsOptions) Run() error + func (o *BackendsOptions) Validate() error + type BuildHookOptions struct + All bool + Builder func() *resource.Builder + Client dynamic.Interface + Command []string + DryRun bool + Entrypoint bool + ExplicitNamespace bool + Local bool + Mapper meta.RESTMapper + Namespace string + PostCommit bool + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + Remove bool + Resources []string + Script string + Selector string + func NewBuildHookOptions(streams genericclioptions.IOStreams) *BuildHookOptions + func (o *BuildHookOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *BuildHookOptions) Run() error + func (o *BuildHookOptions) Validate() error + type BuildSecretOptions struct + All bool + Builder func() *resource.Builder + Client dynamic.Interface + DryRun bool + ExplicitNamespace bool + Local bool + Mapper meta.RESTMapper + Namespace string + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + Pull bool + Push bool + Remove bool + Resources []string + SecretArg string + Selector string + Source bool + func NewBuildSecretOptions(streams genericclioptions.IOStreams) *BuildSecretOptions + func (o *BuildSecretOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *BuildSecretOptions) Run() error + func (o *BuildSecretOptions) Validate() error + type DeploymentHookOptions struct + All bool + Builder func() *resource.Builder + Client dynamic.Interface + Command []string + Container string + DryRun bool + Environment []string + ExplicitNamespace bool + FailurePolicy appsv1.LifecycleHookFailurePolicy + FailurePolicyStr string + Local bool + Mapper meta.RESTMapper + Mid bool + Namespace string + Post bool + Pre bool + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + Remove bool + Resources []string + Selector string + Volumes []string + func NewDeploymentHookOptions(streams genericclioptions.IOStreams) *DeploymentHookOptions + func (o *DeploymentHookOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *DeploymentHookOptions) Run() error + func (o *DeploymentHookOptions) Validate() error + type EnvOptions struct + All bool + Builder func() *resource.Builder + Client dynamic.Interface + ContainerSelector string + DryRun bool + Encoder runtime.Encoder + EnvArgs []string + EnvParams []string + ExplicitNamespace bool + From string + KubeClient kinternalclientset.Interface + List bool + Local bool + Mapper meta.RESTMapper + Namespace string + Overwrite bool + Prefix string + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + Resolve bool + ResourceVersion string + Resources []string + Selector string + UpdatePodSpecForObject polymorphichelpers.UpdatePodSpecForObjectFunc + func NewEnvOptions(streams genericclioptions.IOStreams) *EnvOptions + func (o *EnvOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *EnvOptions) RunEnv() error + type ImageChangeTrigger struct + Auto bool + From string + Names []string + Namespace string + type ImageLookupOptions struct + All bool + Args []string + Builder func() *resource.Builder + Client dynamic.Interface + DryRun bool + Enabled bool + ExplicitNamespace bool + List bool + Local bool + Mapper meta.RESTMapper + Namespace string + PrintFlags *genericclioptions.PrintFlags + PrintTable bool + Printer printers.ResourcePrinter + Selector string + func NewImageLookupOptions(streams genericclioptions.IOStreams) *ImageLookupOptions + func (o *ImageLookupOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *ImageLookupOptions) Run() error + func (o *ImageLookupOptions) Validate() error + type Patch struct + After []byte + Before []byte + Err error + Info *resource.Info + Patch []byte + func CalculatePatches(infos []*resource.Info, encoder runtime.Encoder, ...) []*Patch + func CalculatePatchesExternal(infos []*resource.Info, mutateFn func(*resource.Info) (bool, error)) []*Patch + type ProbeOptions struct + All bool + Builder func() *resource.Builder + Client dynamic.Interface + Command []string + ContainerSelector string + DryRun bool + Encoder runtime.Encoder + ExplicitNamespace bool + FailureThreshold *int + FlagSet func(string) bool + HTTPGet string + HTTPGetAction *kapi.HTTPGetAction + InitialDelaySeconds *int + Liveness bool + Local bool + Mapper meta.RESTMapper + Namespace string + OpenTCPSocket string + PeriodSeconds *int + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + Readiness bool + Remove bool + Resources []string + Selector string + SuccessThreshold *int + TimeoutSeconds *int + UpdatePodSpecForObject polymorphichelpers.UpdatePodSpecForObjectFunc + func NewProbeOptions(streams genericclioptions.IOStreams) *ProbeOptions + func (o *ProbeOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *ProbeOptions) Run() error + func (o *ProbeOptions) Validate() error + type TriggerDefinition struct + BitbucketWebHooks []buildv1.WebHookTrigger + ConfigChange bool + GenericWebHooks []buildv1.WebHookTrigger + GitHubWebHooks []buildv1.WebHookTrigger + GitLabWebHooks []buildv1.WebHookTrigger + ImageChange []ImageChangeTrigger + func NewAnnotationTriggers(obj runtime.Object) (*TriggerDefinition, error) + func NewBuildConfigTriggers(config *buildv1.BuildConfig) *TriggerDefinition + func NewDeploymentConfigTriggers(config *appsv1.DeploymentConfig) *TriggerDefinition + func (t *TriggerDefinition) Apply(obj runtime.Object) error + type TriggersOptions struct + All bool + Args []string + Auto bool + Builder func() *resource.Builder + Client dynamic.Interface + ContainerNames string + DryRun bool + ExplicitNamespace bool + FromBitbucket *bool + FromConfig bool + FromGitHub *bool + FromGitLab *bool + FromImage string + FromImageNamespace string + FromWebHook *bool + FromWebHookAllowEnv *bool + Local bool + Manual bool + Namespace string + PrintFlags *genericclioptions.PrintFlags + PrintTable bool + Printer printers.ResourcePrinter + Remove bool + RemoveAll bool + Reset bool + Selector string + func NewTriggersOptions(streams genericclioptions.IOStreams) *TriggersOptions + func (o *TriggersOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *TriggersOptions) Run() error + func (o *TriggersOptions) Validate() error + type VolumeOptions struct + Add bool + AddOpts *AddVolumeOptions + All bool + Args []string + Builder func() *resource.Builder + Client kcoreclient.CoreInterface + Confirm bool + Containers string + DefaultNamespace string + DryRun bool + Encoder runtime.Encoder + ExplicitNamespace bool + List bool + Local bool + Mapper meta.RESTMapper + Name string + PrintFlags *genericclioptions.PrintFlags + Printer printers.ResourcePrinter + Remove bool + Selector string + UpdatePodSpecForObject polymorphichelpers.UpdatePodSpecForObjectFunc + func NewVolumeOptions(streams genericclioptions.IOStreams) *VolumeOptions + func (o *VolumeOptions) Complete(f kcmdutil.Factory, cmd *cobra.Command, args []string) error + func (o *VolumeOptions) RunVolume() error + func (o *VolumeOptions) Validate() error