Documentation ¶
Index ¶
- Variables
- func ComponentLogLevelsToString(vals map[string]string) (string, error)
- func ConvertYAMLToObjects(scheme *runtime.Scheme, yamlData []byte) ([]client.Object, error)
- type Deployer
- func (d *Deployer) DeployObjs(ctx context.Context, objs []client.Object) error
- func (d *Deployer) GetGvksToWatch(ctx context.Context) ([]schema.GroupVersionKind, error)
- func (d *Deployer) GetObjsToDeploy(ctx context.Context, gw *api.Gateway) ([]client.Object, error)
- func (d *Deployer) Render(ctx context.Context, name, ns string, vals map[string]any) ([]client.Object, error)
- type Inputs
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func ComponentLogLevelsToString ¶
ComponentLogLevelsToString converts the key-value pairs in the map into a string of the format: key1:value1,key2:value2,key3:value3, where the keys are sorted alphabetically. If an empty map is passed in, then an empty string is returned. Map keys and values may not be empty. No other validation is currently done on the keys/values.
Types ¶
type Deployer ¶
type Deployer struct {
// contains filtered or unexported fields
}
A Deployer is responsible for deploying proxies
func NewDeployer ¶
NewDeployer creates a new gateway deployer
func (*Deployer) DeployObjs ¶
func (*Deployer) GetGvksToWatch ¶
GetGvksToWatch returns the list of GVKs that the deployer will watch for
func (*Deployer) GetObjsToDeploy ¶
type Inputs ¶
type Inputs struct { ControllerName string Dev bool ControlPlane bootstrap.ControlPlane Extensions extensions.K8sGatewayExtensions }
Inputs is the set of options used to configure the gateway deployer deployment
Click to show internal directories.
Click to hide internal directories.