Documentation ¶
Index ¶
- type DeployableResourcesProcessor
- func (p *DeployableResourcesProcessor) DeployableGeneralResources() []*resrc.GeneralResource
- func (p *DeployableResourcesProcessor) DeployableGeneralResourcesInfos() []*resrcinfo.DeployableGeneralResourceInfo
- func (p *DeployableResourcesProcessor) DeployableHookResources() []*resrc.HookResource
- func (p *DeployableResourcesProcessor) DeployableHookResourcesInfos() []*resrcinfo.DeployableHookResourceInfo
- func (p *DeployableResourcesProcessor) DeployablePrevReleaseGeneralResourcesInfos() []*resrcinfo.DeployablePrevReleaseGeneralResourceInfo
- func (p *DeployableResourcesProcessor) DeployableStandaloneCRDs() []*resrc.StandaloneCRD
- func (p *DeployableResourcesProcessor) DeployableStandaloneCRDsInfos() []*resrcinfo.DeployableStandaloneCRDInfo
- func (p *DeployableResourcesProcessor) Process(ctx context.Context) error
- func (p *DeployableResourcesProcessor) ReleasableGeneralResources() []*resrc.GeneralResource
- func (p *DeployableResourcesProcessor) ReleasableHookResources() []*resrc.HookResource
- type DeployableResourcesProcessorOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeployableResourcesProcessor ¶
type DeployableResourcesProcessor struct {
// contains filtered or unexported fields
}
func NewDeployableResourcesProcessor ¶
func NewDeployableResourcesProcessor( deployType common.DeployType, releaseName string, releaseNamespace string, standaloneCRDs []*resrc.StandaloneCRD, hookResources []*resrc.HookResource, generalResources []*resrc.GeneralResource, prevReleaseGeneralResources []*resrc.GeneralResource, opts DeployableResourcesProcessorOptions, ) *DeployableResourcesProcessor
func (*DeployableResourcesProcessor) DeployableGeneralResources ¶
func (p *DeployableResourcesProcessor) DeployableGeneralResources() []*resrc.GeneralResource
func (*DeployableResourcesProcessor) DeployableGeneralResourcesInfos ¶
func (p *DeployableResourcesProcessor) DeployableGeneralResourcesInfos() []*resrcinfo.DeployableGeneralResourceInfo
func (*DeployableResourcesProcessor) DeployableHookResources ¶
func (p *DeployableResourcesProcessor) DeployableHookResources() []*resrc.HookResource
func (*DeployableResourcesProcessor) DeployableHookResourcesInfos ¶
func (p *DeployableResourcesProcessor) DeployableHookResourcesInfos() []*resrcinfo.DeployableHookResourceInfo
func (*DeployableResourcesProcessor) DeployablePrevReleaseGeneralResourcesInfos ¶
func (p *DeployableResourcesProcessor) DeployablePrevReleaseGeneralResourcesInfos() []*resrcinfo.DeployablePrevReleaseGeneralResourceInfo
func (*DeployableResourcesProcessor) DeployableStandaloneCRDs ¶
func (p *DeployableResourcesProcessor) DeployableStandaloneCRDs() []*resrc.StandaloneCRD
func (*DeployableResourcesProcessor) DeployableStandaloneCRDsInfos ¶
func (p *DeployableResourcesProcessor) DeployableStandaloneCRDsInfos() []*resrcinfo.DeployableStandaloneCRDInfo
func (*DeployableResourcesProcessor) Process ¶
func (p *DeployableResourcesProcessor) Process(ctx context.Context) error
TODO(ilya-lesikov): optimize. Avoid excessive deep copies.
func (*DeployableResourcesProcessor) ReleasableGeneralResources ¶
func (p *DeployableResourcesProcessor) ReleasableGeneralResources() []*resrc.GeneralResource
func (*DeployableResourcesProcessor) ReleasableHookResources ¶
func (p *DeployableResourcesProcessor) ReleasableHookResources() []*resrc.HookResource
type DeployableResourcesProcessorOptions ¶
type DeployableResourcesProcessorOptions struct { NetworkParallelism int HookResourceTransformers []resrctransfrmr.ResourceTransformer GeneralResourceTransformers []resrctransfrmr.ResourceTransformer ReleasableHookResourcePatchers []resrcpatcher.ResourcePatcher ReleasableGeneralResourcePatchers []resrcpatcher.ResourcePatcher DeployableStandaloneCRDsPatchers []resrcpatcher.ResourcePatcher DeployableHookResourcePatchers []resrcpatcher.ResourcePatcher DeployableGeneralResourcePatchers []resrcpatcher.ResourcePatcher KubeClient kubeclnt.KubeClienter Mapper meta.ResettableRESTMapper DiscoveryClient discovery.CachedDiscoveryInterface AllowClusterAccess bool }
Click to show internal directories.
Click to hide internal directories.