resrcprocssr

package
v0.0.0-...-909a14f Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: Apache-2.0 Imports: 18 Imported by: 2

Documentation

Index

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

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
}

Jump to

Keyboard shortcuts

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