factory

package
v0.0.0-...-f1e7488 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IngressRulesNewFunc

func IngressRulesNewFunc(config interface{}, dependencies factory.Dependencies, out interface{}) error

IngressRulesNewFunc is the factory creation function for the Kubernetes ingresses.IngressRules implementation.

func IngressesNewFunc

func IngressesNewFunc(config interface{}, dependencies factory.Dependencies, out interface{}) error

IngressesNewFunc is the factory creation function for the Kubernetes ingresses.Ingresses implementation.

Types

type Dependencies

type Dependencies struct {
	// Logger is used to store log information.
	Logger ign.Logger `validate:"required"`

	// API is the Kubernetes clientset.
	API kubeapi.Interface `validate:"required"`
}

Dependencies is used to create a Kubernetes cluster component.

func (*Dependencies) Validate

func (d *Dependencies) Validate() error

Validate validates that the dependencies values are valid.

Jump to

Keyboard shortcuts

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