Documentation ¶
Index ¶
- Constants
- func AddResourceVersionAnnotation(prr *api.PackageRevisionResources) error
- func GetResourceFileKubeObject(prr *api.PackageRevisionResources, file, kind, name string) (*fnsdk.KubeObject, error)
- func GetResourceVersionAnnotation(prr *api.PackageRevisionResources) (string, error)
- func PackageAlreadyExists(ctx context.Context, c client.Client, ...) (bool, error)
- func RemoveResourceVersionAnnotation(prr *api.PackageRevisionResources) error
Constants ¶
View Source
const (
ResourceVersionAnnotation = "internal.kpt.dev/resource-version"
)
Variables ¶
This section is empty.
Functions ¶
func AddResourceVersionAnnotation ¶
func AddResourceVersionAnnotation(prr *api.PackageRevisionResources) error
func GetResourceFileKubeObject ¶
func GetResourceFileKubeObject(prr *api.PackageRevisionResources, file, kind, name string) (*fnsdk.KubeObject, error)
func GetResourceVersionAnnotation ¶
func GetResourceVersionAnnotation(prr *api.PackageRevisionResources) (string, error)
func PackageAlreadyExists ¶
func RemoveResourceVersionAnnotation ¶
func RemoveResourceVersionAnnotation(prr *api.PackageRevisionResources) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.