deployer

package
v1.17.0-beta13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertYAMLToObjects

func ConvertYAMLToObjects(scheme *runtime.Scheme, yamlData []byte) ([]client.Object, error)

Types

type Deployer

type Deployer struct {
	// contains filtered or unexported fields
}

A Deployer is responsible for deploying proxies

func NewDeployer

func NewDeployer(scheme *runtime.Scheme, inputs *Inputs) (*Deployer, error)

NewDeployer creates a new gateway deployer

func (*Deployer) Deploy

func (d *Deployer) Deploy(ctx context.Context, gw *api.Gateway, cli client.Client) error

func (*Deployer) DeployObjs

func (d *Deployer) DeployObjs(ctx context.Context, objs []client.Object, cli client.Client) error

func (*Deployer) GetGvksToWatch

func (d *Deployer) GetGvksToWatch(ctx context.Context) ([]schema.GroupVersionKind, error)

GetGvksToWatch returns the list of GVKs that the deployer will watch for

func (*Deployer) GetObjsToDeploy

func (d *Deployer) GetObjsToDeploy(ctx context.Context, gw *api.Gateway) ([]client.Object, error)

func (*Deployer) Render

func (d *Deployer) Render(ctx context.Context, name, ns string, vals map[string]any) ([]client.Object, error)

type Inputs

type Inputs struct {
	ControllerName string
	Dev            bool
	Port           int
	IstioValues    bootstrap.IstioValues
}

Inputs is the set of options used to configure the gateway deployer deployment

Jump to

Keyboard shortcuts

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