source

package
v0.36.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListHandlers

func ListHandlers(h hprinters.PrintHandler)

ListHandlers handles printing human-readable table for `kn vsphere source list` command's output

func NewSourceCommand

func NewSourceCommand(clients *pkg.Clients) *cobra.Command

func NewSourceCreateCommand

func NewSourceCreateCommand(clients *pkg.Clients, opts *Options) *cobra.Command

func NewSourceDeleteCommand

func NewSourceDeleteCommand(clients *pkg.Clients, opts *Options) *cobra.Command

func NewSourceListCommand

func NewSourceListCommand(clients *pkg.Clients, opts *Options) *cobra.Command

Types

type Options

type Options struct {
	command.GenericOptions

	VCAddress     string
	SkipTLSVerify bool
	SecretRef     string

	SinkURI            string
	SinkAPIVersion     string
	SinkKind           string
	SinkName           string
	ServiceAccountName string

	CheckpointMaxAge time.Duration
	CheckpointPeriod time.Duration

	PayloadEncoding string
}

func (*Options) AsSinkDestination

func (so *Options) AsSinkDestination(namespace string) (*duckv1.Destination, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL