Documentation ¶
Index ¶
- func ConvertYAMLToObjects(scheme *runtime.Scheme, yamlData []byte) ([]client.Object, error)
- type Deployer
- func (d *Deployer) Deploy(ctx context.Context, gw *api.Gateway, cli client.Client) error
- func (d *Deployer) DeployObjs(ctx context.Context, objs []client.Object, cli client.Client) 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 ¶
This section is empty.
Functions ¶
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 ¶
Click to show internal directories.
Click to hide internal directories.