binding

package
v0.8.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClientManager

func NewClientManager(wc WebhookConfig, grp schema.GroupVersion, addToSchemaFunc func(s *runtime.Scheme) error) (cm webhook.ClientManager, err error)

Types

type Convention

func (*Convention) Apply

func (*Convention) WebhookClientConfig

func (o *Convention) WebhookClientConfig() webhook.ClientConfig

type Conventions

type Conventions []Convention

func (*Conventions) Apply

func (*Conventions) Filter

func (c *Conventions) Filter(collectedLabels map[string]labels.Set) (Conventions, error)

func (*Conventions) FilterAndSort

func (c *Conventions) FilterAndSort(collectedLabels map[string]labels.Set) (Conventions, error)

func (*Conventions) Sort

func (c *Conventions) Sort() Conventions

type RegistryConfig

type RegistryConfig struct {
	Keys       authn.Keychain
	Cache      cache.Cache
	Client     kubernetes.Interface
	CACertPath string
}

func (*RegistryConfig) ResolveImageMetadata

func (rc *RegistryConfig) ResolveImageMetadata(ctx context.Context, template *corev1.PodTemplateSpec) ([]webhookv1alpha1.ImageConfig, error)

type WebhookConfig

type WebhookConfig struct {
	AuthInfoResolver webhookutil.AuthenticationInfoResolver
	ServiceResolver  webhookutil.ServiceResolver
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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