Documentation
¶
Index ¶
- Constants
- func ExecuteCommand(root *cobra.Command, args ...string) (string, error)
- func ExecuteCommandC(c *cobra.Command, args ...string) (*cobra.Command, string, error)
- func FakeClock() clockwork.FakeClock
- type Params
- func (p *Params) Clients(_ ...*rest.Config) (*cli.Clients, error)
- func (p *Params) KubeClient() (k8s.Interface, error)
- func (p *Params) KubeConfigPath() string
- func (p *Params) Namespace() string
- func (p *Params) SetKubeConfigPath(path string)
- func (p *Params) SetKubeContext(context string)
- func (p *Params) SetNamespace(ns string)
- func (p *Params) SetNoColour(_ bool)
- func (p *Params) Time() clockwork.Clock
Constants ¶
View Source
const ( TestYear = 1984 TestDay = 4 )
Variables ¶
This section is empty.
Functions ¶
func ExecuteCommand ¶ added in v0.6.3
ExecuteCommand executes the root command passing the args and returns the output as a string and error
func ExecuteCommandC ¶ added in v0.6.3
ExecuteCommandC executes the root command passing the args and returns the root command, output as a string and error if any
Types ¶
type Params ¶
type Params struct { Tekton versioned.Interface Kube k8s.Interface Clock clockwork.Clock Cls *cli.Clients // contains filtered or unexported fields }
func (*Params) KubeConfigPath ¶
func (*Params) SetKubeConfigPath ¶
func (*Params) SetKubeContext ¶
func (*Params) SetNamespace ¶
func (*Params) SetNoColour ¶
Click to show internal directories.
Click to hide internal directories.