Documentation ¶
Index ¶
- Variables
- func MutuallyExclusiveStringFlags(value1, value2 string, rest ...string) bool
- func NewBindingCommand(clients *pkg.Clients) *cobra.Command
- func NewLoginCommand(clients *pkg.Clients) *cobra.Command
- func NewRootCommand(clients *pkg.Clients) *cobra.Command
- func NewSourceCommand(clients *pkg.Clients) *cobra.Command
- func NewVersionCommand() *cobra.Command
- type BindingOptions
- type FakeClientConfig
- type LoginOptions
- type SourceOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildDate string
View Source
var GitRevision string
View Source
var Version string
Functions ¶
func NewRootCommand ¶
Returns the root command of the CLI
func NewVersionCommand ¶
NewVersionCommand implements 'kn version' command
Types ¶
type BindingOptions ¶
type FakeClientConfig ¶
func (FakeClientConfig) ClientConfig ¶
func (f FakeClientConfig) ClientConfig() (*rest.Config, error)
func (FakeClientConfig) ConfigAccess ¶
func (f FakeClientConfig) ConfigAccess() clientcmd.ConfigAccess
func (FakeClientConfig) RawConfig ¶
func (f FakeClientConfig) RawConfig() (clientcmdapi.Config, error)
type LoginOptions ¶
type SourceOptions ¶
type SourceOptions struct { Namespace string Name string Address string SkipTLSVerify bool SecretRef string SinkURI string SinkAPIVersion string SinkKind string SinkName string CheckpointMaxAge time.Duration CheckpointPeriod time.Duration PayloadEncoding string }
func (*SourceOptions) AsSinkDestination ¶
func (so *SourceOptions) AsSinkDestination(namespace string) (*duckv1.Destination, error)
Click to show internal directories.
Click to hide internal directories.