Documentation ¶
Index ¶
- Constants
- func CreateCappRevision(ctx context.Context, k8sClient client.Client, logger logr.Logger, ...) error
- func DeleteCappRevision(ctx context.Context, k8sClient client.Client, logger logr.Logger, ...) error
- func GetCappRevisions(ctx context.Context, r client.Client, capp cappv1alpha1.Capp) ([]cappv1alpha1.CappRevision, error)
Constants ¶
View Source
const (
ClientListLimit = 100
)
Variables ¶
This section is empty.
Functions ¶
func CreateCappRevision ¶
func CreateCappRevision(ctx context.Context, k8sClient client.Client, logger logr.Logger, capp cappv1alpha1.Capp, revisionNumber int) error
CreateCappRevision initializes and creates a CappRevision.
func DeleteCappRevision ¶
func DeleteCappRevision(ctx context.Context, k8sClient client.Client, logger logr.Logger, cappRevision *cappv1alpha1.CappRevision) error
DeleteCappRevision deletes a specified CappRevision and returning an error on failure.
func GetCappRevisions ¶
func GetCappRevisions(ctx context.Context, r client.Client, capp cappv1alpha1.Capp) ([]cappv1alpha1.CappRevision, error)
GetCappRevisions retrieves a list of CappRevision resources filtered by labels matching a specific Capp, returning the list and any error encountered.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.