Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultWaitingTimeout = 60 * time.Second
)
View Source
const RemoveTimeout = 120 * time.Second
Variables ¶
This section is empty.
Functions ¶
func NewEventingClient ¶
func NewEventingClient(namespace string) (clienteventingv1beta1.KnEventingClient, error)
func NewServingClient ¶
func NewServingClient(namespace string) (clientservingv1.KnServingClient, error)
Types ¶
type Deployer ¶
type Deployer struct {
// Namespace with which to override that set on the default configuration (such as the ~/.kube/config).
// If left blank, deployment will commence to the configured namespace.
Namespace string
// Verbose logging enablement flag.
Verbose bool
}
func NewDeployer ¶
type Describer ¶
type Describer struct {
Verbose bool
// contains filtered or unexported fields
}
func NewDescriber ¶
func (*Describer) Describe ¶
func (d *Describer) Describe(ctx context.Context, name string) (description fn.Description, err error)
Describe by name. Note that the consuming API uses domain style notation, whereas Kubernetes restricts to label-syntax, which is thus escaped. Therefore as a knative (kube) implementation detal proper full names have to be escaped on the way in and unescaped on the way out. ex: www.example-site.com -> www-example--site-com
Click to show internal directories.
Click to hide internal directories.