v1alpha1

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBundleDeploymentGeneratingHandler

func RegisterBundleDeploymentGeneratingHandler(ctx context.Context, controller BundleDeploymentController, apply apply.Apply,
	condition condition.Cond, name string, handler BundleDeploymentGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterBundleDeploymentGeneratingHandler configures a BundleDeploymentController to execute a BundleDeploymentGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterBundleDeploymentStatusHandler

func RegisterBundleDeploymentStatusHandler(ctx context.Context, controller BundleDeploymentController, condition condition.Cond, name string, handler BundleDeploymentStatusHandler)

RegisterBundleDeploymentStatusHandler configures a BundleDeploymentController to execute a BundleDeploymentStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterBundleGeneratingHandler

func RegisterBundleGeneratingHandler(ctx context.Context, controller BundleController, apply apply.Apply,
	condition condition.Cond, name string, handler BundleGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterBundleGeneratingHandler configures a BundleController to execute a BundleGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterBundleStatusHandler

func RegisterBundleStatusHandler(ctx context.Context, controller BundleController, condition condition.Cond, name string, handler BundleStatusHandler)

RegisterBundleStatusHandler configures a BundleController to execute a BundleStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterGeneratingHandler

func RegisterClusterGeneratingHandler(ctx context.Context, controller ClusterController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterClusterGeneratingHandler configures a ClusterController to execute a ClusterGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterGroupGeneratingHandler

func RegisterClusterGroupGeneratingHandler(ctx context.Context, controller ClusterGroupController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterGroupGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterClusterGroupGeneratingHandler configures a ClusterGroupController to execute a ClusterGroupGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterGroupStatusHandler

func RegisterClusterGroupStatusHandler(ctx context.Context, controller ClusterGroupController, condition condition.Cond, name string, handler ClusterGroupStatusHandler)

RegisterClusterGroupStatusHandler configures a ClusterGroupController to execute a ClusterGroupStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterRegistrationGeneratingHandler added in v0.3.0

func RegisterClusterRegistrationGeneratingHandler(ctx context.Context, controller ClusterRegistrationController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterRegistrationGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterClusterRegistrationGeneratingHandler configures a ClusterRegistrationController to execute a ClusterRegistrationGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterRegistrationStatusHandler added in v0.3.0

func RegisterClusterRegistrationStatusHandler(ctx context.Context, controller ClusterRegistrationController, condition condition.Cond, name string, handler ClusterRegistrationStatusHandler)

RegisterClusterRegistrationStatusHandler configures a ClusterRegistrationController to execute a ClusterRegistrationStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterRegistrationTokenGeneratingHandler added in v0.3.0

func RegisterClusterRegistrationTokenGeneratingHandler(ctx context.Context, controller ClusterRegistrationTokenController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterRegistrationTokenGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterClusterRegistrationTokenGeneratingHandler configures a ClusterRegistrationTokenController to execute a ClusterRegistrationTokenGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterRegistrationTokenStatusHandler added in v0.3.0

func RegisterClusterRegistrationTokenStatusHandler(ctx context.Context, controller ClusterRegistrationTokenController, condition condition.Cond, name string, handler ClusterRegistrationTokenStatusHandler)

RegisterClusterRegistrationTokenStatusHandler configures a ClusterRegistrationTokenController to execute a ClusterRegistrationTokenStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterClusterStatusHandler

func RegisterClusterStatusHandler(ctx context.Context, controller ClusterController, condition condition.Cond, name string, handler ClusterStatusHandler)

RegisterClusterStatusHandler configures a ClusterController to execute a ClusterStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterGitRepoGeneratingHandler added in v0.3.0

func RegisterGitRepoGeneratingHandler(ctx context.Context, controller GitRepoController, apply apply.Apply,
	condition condition.Cond, name string, handler GitRepoGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterGitRepoGeneratingHandler configures a GitRepoController to execute a GitRepoGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterGitRepoStatusHandler added in v0.3.0

func RegisterGitRepoStatusHandler(ctx context.Context, controller GitRepoController, condition condition.Cond, name string, handler GitRepoStatusHandler)

RegisterGitRepoStatusHandler configures a GitRepoController to execute a GitRepoStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterImageScanGeneratingHandler added in v0.3.6

func RegisterImageScanGeneratingHandler(ctx context.Context, controller ImageScanController, apply apply.Apply,
	condition condition.Cond, name string, handler ImageScanGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterImageScanGeneratingHandler configures a ImageScanController to execute a ImageScanGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterImageScanStatusHandler added in v0.3.6

func RegisterImageScanStatusHandler(ctx context.Context, controller ImageScanController, condition condition.Cond, name string, handler ImageScanStatusHandler)

RegisterImageScanStatusHandler configures a ImageScanController to execute a ImageScanStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

Types

type BundleCache

type BundleCache interface {
	generic.CacheInterface[*v1alpha1.Bundle]
}

BundleCache interface for retrieving Bundle resources in memory.

type BundleClient

type BundleClient interface {
	generic.ClientInterface[*v1alpha1.Bundle, *v1alpha1.BundleList]
}

BundleClient interface for managing Bundle resources in Kubernetes.

type BundleController

type BundleController interface {
	generic.ControllerInterface[*v1alpha1.Bundle, *v1alpha1.BundleList]
}

BundleController interface for managing Bundle resources.

type BundleDeploymentCache

type BundleDeploymentCache interface {
	generic.CacheInterface[*v1alpha1.BundleDeployment]
}

BundleDeploymentCache interface for retrieving BundleDeployment resources in memory.

type BundleDeploymentClient

type BundleDeploymentClient interface {
	generic.ClientInterface[*v1alpha1.BundleDeployment, *v1alpha1.BundleDeploymentList]
}

BundleDeploymentClient interface for managing BundleDeployment resources in Kubernetes.

type BundleDeploymentController

type BundleDeploymentController interface {
	generic.ControllerInterface[*v1alpha1.BundleDeployment, *v1alpha1.BundleDeploymentList]
}

BundleDeploymentController interface for managing BundleDeployment resources.

type BundleDeploymentGeneratingHandler

type BundleDeploymentGeneratingHandler func(obj *v1alpha1.BundleDeployment, status v1alpha1.BundleDeploymentStatus) ([]runtime.Object, v1alpha1.BundleDeploymentStatus, error)

BundleDeploymentGeneratingHandler is the top-level handler that is executed for every BundleDeployment event. It extends BundleDeploymentStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type BundleDeploymentStatusHandler

type BundleDeploymentStatusHandler func(obj *v1alpha1.BundleDeployment, status v1alpha1.BundleDeploymentStatus) (v1alpha1.BundleDeploymentStatus, error)

BundleDeploymentStatusHandler is executed for every added or modified BundleDeployment. Should return the new status to be updated

type BundleGeneratingHandler

type BundleGeneratingHandler func(obj *v1alpha1.Bundle, status v1alpha1.BundleStatus) ([]runtime.Object, v1alpha1.BundleStatus, error)

BundleGeneratingHandler is the top-level handler that is executed for every Bundle event. It extends BundleStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type BundleNamespaceMappingCache added in v0.3.0

type BundleNamespaceMappingCache interface {
	generic.CacheInterface[*v1alpha1.BundleNamespaceMapping]
}

BundleNamespaceMappingCache interface for retrieving BundleNamespaceMapping resources in memory.

type BundleNamespaceMappingClient added in v0.3.0

type BundleNamespaceMappingClient interface {
	generic.ClientInterface[*v1alpha1.BundleNamespaceMapping, *v1alpha1.BundleNamespaceMappingList]
}

BundleNamespaceMappingClient interface for managing BundleNamespaceMapping resources in Kubernetes.

type BundleNamespaceMappingController added in v0.3.0

type BundleNamespaceMappingController interface {
	generic.ControllerInterface[*v1alpha1.BundleNamespaceMapping, *v1alpha1.BundleNamespaceMappingList]
}

BundleNamespaceMappingController interface for managing BundleNamespaceMapping resources.

type BundleStatusHandler

type BundleStatusHandler func(obj *v1alpha1.Bundle, status v1alpha1.BundleStatus) (v1alpha1.BundleStatus, error)

BundleStatusHandler is executed for every added or modified Bundle. Should return the new status to be updated

type ClusterCache

type ClusterCache interface {
	generic.CacheInterface[*v1alpha1.Cluster]
}

ClusterCache interface for retrieving Cluster resources in memory.

type ClusterClient

type ClusterClient interface {
	generic.ClientInterface[*v1alpha1.Cluster, *v1alpha1.ClusterList]
}

ClusterClient interface for managing Cluster resources in Kubernetes.

type ClusterController

type ClusterController interface {
	generic.ControllerInterface[*v1alpha1.Cluster, *v1alpha1.ClusterList]
}

ClusterController interface for managing Cluster resources.

type ClusterGeneratingHandler

type ClusterGeneratingHandler func(obj *v1alpha1.Cluster, status v1alpha1.ClusterStatus) ([]runtime.Object, v1alpha1.ClusterStatus, error)

ClusterGeneratingHandler is the top-level handler that is executed for every Cluster event. It extends ClusterStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type ClusterGroupCache

type ClusterGroupCache interface {
	generic.CacheInterface[*v1alpha1.ClusterGroup]
}

ClusterGroupCache interface for retrieving ClusterGroup resources in memory.

type ClusterGroupClient

type ClusterGroupClient interface {
	generic.ClientInterface[*v1alpha1.ClusterGroup, *v1alpha1.ClusterGroupList]
}

ClusterGroupClient interface for managing ClusterGroup resources in Kubernetes.

type ClusterGroupController

type ClusterGroupController interface {
	generic.ControllerInterface[*v1alpha1.ClusterGroup, *v1alpha1.ClusterGroupList]
}

ClusterGroupController interface for managing ClusterGroup resources.

type ClusterGroupGeneratingHandler

type ClusterGroupGeneratingHandler func(obj *v1alpha1.ClusterGroup, status v1alpha1.ClusterGroupStatus) ([]runtime.Object, v1alpha1.ClusterGroupStatus, error)

ClusterGroupGeneratingHandler is the top-level handler that is executed for every ClusterGroup event. It extends ClusterGroupStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type ClusterGroupStatusHandler

type ClusterGroupStatusHandler func(obj *v1alpha1.ClusterGroup, status v1alpha1.ClusterGroupStatus) (v1alpha1.ClusterGroupStatus, error)

ClusterGroupStatusHandler is executed for every added or modified ClusterGroup. Should return the new status to be updated

type ClusterRegistrationCache added in v0.3.0

type ClusterRegistrationCache interface {
	generic.CacheInterface[*v1alpha1.ClusterRegistration]
}

ClusterRegistrationCache interface for retrieving ClusterRegistration resources in memory.

type ClusterRegistrationClient added in v0.3.0

type ClusterRegistrationClient interface {
	generic.ClientInterface[*v1alpha1.ClusterRegistration, *v1alpha1.ClusterRegistrationList]
}

ClusterRegistrationClient interface for managing ClusterRegistration resources in Kubernetes.

type ClusterRegistrationController added in v0.3.0

type ClusterRegistrationController interface {
	generic.ControllerInterface[*v1alpha1.ClusterRegistration, *v1alpha1.ClusterRegistrationList]
}

ClusterRegistrationController interface for managing ClusterRegistration resources.

type ClusterRegistrationGeneratingHandler added in v0.3.0

type ClusterRegistrationGeneratingHandler func(obj *v1alpha1.ClusterRegistration, status v1alpha1.ClusterRegistrationStatus) ([]runtime.Object, v1alpha1.ClusterRegistrationStatus, error)

ClusterRegistrationGeneratingHandler is the top-level handler that is executed for every ClusterRegistration event. It extends ClusterRegistrationStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type ClusterRegistrationStatusHandler added in v0.3.0

type ClusterRegistrationStatusHandler func(obj *v1alpha1.ClusterRegistration, status v1alpha1.ClusterRegistrationStatus) (v1alpha1.ClusterRegistrationStatus, error)

ClusterRegistrationStatusHandler is executed for every added or modified ClusterRegistration. Should return the new status to be updated

type ClusterRegistrationTokenCache added in v0.3.0

type ClusterRegistrationTokenCache interface {
	generic.CacheInterface[*v1alpha1.ClusterRegistrationToken]
}

ClusterRegistrationTokenCache interface for retrieving ClusterRegistrationToken resources in memory.

type ClusterRegistrationTokenClient added in v0.3.0

type ClusterRegistrationTokenClient interface {
	generic.ClientInterface[*v1alpha1.ClusterRegistrationToken, *v1alpha1.ClusterRegistrationTokenList]
}

ClusterRegistrationTokenClient interface for managing ClusterRegistrationToken resources in Kubernetes.

type ClusterRegistrationTokenController added in v0.3.0

type ClusterRegistrationTokenController interface {
	generic.ControllerInterface[*v1alpha1.ClusterRegistrationToken, *v1alpha1.ClusterRegistrationTokenList]
}

ClusterRegistrationTokenController interface for managing ClusterRegistrationToken resources.

type ClusterRegistrationTokenGeneratingHandler added in v0.3.0

ClusterRegistrationTokenGeneratingHandler is the top-level handler that is executed for every ClusterRegistrationToken event. It extends ClusterRegistrationTokenStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type ClusterRegistrationTokenStatusHandler added in v0.3.0

ClusterRegistrationTokenStatusHandler is executed for every added or modified ClusterRegistrationToken. Should return the new status to be updated

type ClusterStatusHandler

type ClusterStatusHandler func(obj *v1alpha1.Cluster, status v1alpha1.ClusterStatus) (v1alpha1.ClusterStatus, error)

ClusterStatusHandler is executed for every added or modified Cluster. Should return the new status to be updated

type ContentCache

type ContentCache interface {
	generic.NonNamespacedCacheInterface[*v1alpha1.Content]
}

ContentCache interface for retrieving Content resources in memory.

type ContentClient

ContentClient interface for managing Content resources in Kubernetes.

type ContentController

ContentController interface for managing Content resources.

type GitRepoCache added in v0.3.0

type GitRepoCache interface {
	generic.CacheInterface[*v1alpha1.GitRepo]
}

GitRepoCache interface for retrieving GitRepo resources in memory.

type GitRepoClient added in v0.3.0

type GitRepoClient interface {
	generic.ClientInterface[*v1alpha1.GitRepo, *v1alpha1.GitRepoList]
}

GitRepoClient interface for managing GitRepo resources in Kubernetes.

type GitRepoController added in v0.3.0

type GitRepoController interface {
	generic.ControllerInterface[*v1alpha1.GitRepo, *v1alpha1.GitRepoList]
}

GitRepoController interface for managing GitRepo resources.

type GitRepoGeneratingHandler added in v0.3.0

type GitRepoGeneratingHandler func(obj *v1alpha1.GitRepo, status v1alpha1.GitRepoStatus) ([]runtime.Object, v1alpha1.GitRepoStatus, error)

GitRepoGeneratingHandler is the top-level handler that is executed for every GitRepo event. It extends GitRepoStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type GitRepoRestrictionCache added in v0.3.0

type GitRepoRestrictionCache interface {
	generic.CacheInterface[*v1alpha1.GitRepoRestriction]
}

GitRepoRestrictionCache interface for retrieving GitRepoRestriction resources in memory.

type GitRepoRestrictionClient added in v0.3.0

type GitRepoRestrictionClient interface {
	generic.ClientInterface[*v1alpha1.GitRepoRestriction, *v1alpha1.GitRepoRestrictionList]
}

GitRepoRestrictionClient interface for managing GitRepoRestriction resources in Kubernetes.

type GitRepoRestrictionController added in v0.3.0

type GitRepoRestrictionController interface {
	generic.ControllerInterface[*v1alpha1.GitRepoRestriction, *v1alpha1.GitRepoRestrictionList]
}

GitRepoRestrictionController interface for managing GitRepoRestriction resources.

type GitRepoStatusHandler added in v0.3.0

type GitRepoStatusHandler func(obj *v1alpha1.GitRepo, status v1alpha1.GitRepoStatus) (v1alpha1.GitRepoStatus, error)

GitRepoStatusHandler is executed for every added or modified GitRepo. Should return the new status to be updated

type ImageScanCache added in v0.3.6

type ImageScanCache interface {
	generic.CacheInterface[*v1alpha1.ImageScan]
}

ImageScanCache interface for retrieving ImageScan resources in memory.

type ImageScanClient added in v0.3.6

type ImageScanClient interface {
	generic.ClientInterface[*v1alpha1.ImageScan, *v1alpha1.ImageScanList]
}

ImageScanClient interface for managing ImageScan resources in Kubernetes.

type ImageScanController added in v0.3.6

type ImageScanController interface {
	generic.ControllerInterface[*v1alpha1.ImageScan, *v1alpha1.ImageScanList]
}

ImageScanController interface for managing ImageScan resources.

type ImageScanGeneratingHandler added in v0.3.6

type ImageScanGeneratingHandler func(obj *v1alpha1.ImageScan, status v1alpha1.ImageScanStatus) ([]runtime.Object, v1alpha1.ImageScanStatus, error)

ImageScanGeneratingHandler is the top-level handler that is executed for every ImageScan event. It extends ImageScanStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type ImageScanStatusHandler added in v0.3.6

type ImageScanStatusHandler func(obj *v1alpha1.ImageScan, status v1alpha1.ImageScanStatus) (v1alpha1.ImageScanStatus, error)

ImageScanStatusHandler is executed for every added or modified ImageScan. Should return the new status to be updated

type Interface

type Interface interface {
	Bundle() BundleController
	BundleDeployment() BundleDeploymentController
	BundleNamespaceMapping() BundleNamespaceMappingController
	Cluster() ClusterController
	ClusterGroup() ClusterGroupController
	ClusterRegistration() ClusterRegistrationController
	ClusterRegistrationToken() ClusterRegistrationTokenController
	Content() ContentController
	GitRepo() GitRepoController
	GitRepoRestriction() GitRepoRestrictionController
	ImageScan() ImageScanController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

Jump to

Keyboard shortcuts

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