Documentation
¶
Overview ¶
Package fluxrender implements the persistent Flux rendering plugin.
Index ¶
- type Config
- type HelmSettings
- type Service
- func (s *Service) Close() error
- func (s *Service) CloseRender(ctx context.Context, req *plugin.CloseRequest) (*plugin.CloseResponse, error)
- func (s *Service) Describe(ctx context.Context, req *plugin.DescribeRequest) (*plugin.DescribeResponse, error)
- func (s *Service) Expand(ctx context.Context, req *plugin.ExpandRequest) (*plugin.ExpandResponse, error)
- func (s *Service) OpenRender(ctx context.Context, req *plugin.OpenRequest) (*plugin.OpenResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// FluxKS defaults to enabled. The optional switch preserves the legacy host's
// explicit WithFluxKS setting without requiring it in neutral invocations.
FluxKS *bool `json:"fluxKS,omitempty"`
Helm bool `json:"helm"`
ResolveGit bool `json:"resolveGit"`
HelmSettings HelmSettings `json:"helmSettings"`
}
Config is trusted, engine-specific configuration supplied at OpenRender.
type HelmSettings ¶
type HelmSettings struct {
RegistryConfig string `json:"RegistryConfig"`
RepositoryConfig string `json:"RepositoryConfig"`
RepositoryCache string `json:"RepositoryCache"`
}
HelmSettings contains acquisition settings, independent of Helm's CLI types.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service retains one explicit run's acquisition caches. Calls are serialized so resetting a run or closing cannot remove repositories during a build.
func (*Service) Close ¶
Close releases shared repositories after active calls finish. It is idempotent.
func (*Service) CloseRender ¶
func (s *Service) CloseRender(ctx context.Context, req *plugin.CloseRequest) (*plugin.CloseResponse, error)
func (*Service) Describe ¶
func (s *Service) Describe(ctx context.Context, req *plugin.DescribeRequest) (*plugin.DescribeResponse, error)
func (*Service) Expand ¶
func (s *Service) Expand(ctx context.Context, req *plugin.ExpandRequest) (*plugin.ExpandResponse, error)
func (*Service) OpenRender ¶
func (s *Service) OpenRender(ctx context.Context, req *plugin.OpenRequest) (*plugin.OpenResponse, error)
Click to show internal directories.
Click to hide internal directories.