//go:build !no_runtime_type_checking package awsecr import ( "fmt" _jsii_ "github.com/aws/jsii-runtime-go/runtime" "github.com/aws/aws-cdk-go/awscdk/v2/awsevents" "github.com/aws/aws-cdk-go/awscdk/v2/awsiam" ) func (i *jsiiProxy_IRepository) validateAddToResourcePolicyParameters(statement awsiam.PolicyStatement) error { if statement == nil { return fmt.Errorf("parameter statement is required, but nil was provided") } return nil } func (i *jsiiProxy_IRepository) validateGrantParameters(grantee awsiam.IGrantable) error { if grantee == nil { return fmt.Errorf("parameter grantee is required, but nil was provided") } return nil } func (i *jsiiProxy_IRepository) validateGrantPullParameters(grantee awsiam.IGrantable) error { if grantee == nil { return fmt.Errorf("parameter grantee is required, but nil was provided") } return nil } func (i *jsiiProxy_IRepository) validateGrantPullPushParameters(grantee awsiam.IGrantable) error { if grantee == nil { return fmt.Errorf("parameter grantee is required, but nil was provided") } return nil } func (i *jsiiProxy_IRepository) validateGrantPushParameters(grantee awsiam.IGrantable) error { if grantee == nil { return fmt.Errorf("parameter grantee is required, but nil was provided") } return nil } func (i *jsiiProxy_IRepository) validateGrantReadParameters(grantee awsiam.IGrantable) error { if grantee == nil { return fmt.Errorf("parameter grantee is required, but nil was provided") } return nil } func (i *jsiiProxy_IRepository) validateOnCloudTrailEventParameters(id *string, options *awsevents.OnEventOptions) error { if id == nil { return fmt.Errorf("parameter id is required, but nil was provided") } if err := _jsii_.ValidateStruct(options, func() string { return "parameter options" }); err != nil { return err } return nil } func (i *jsiiProxy_IRepository) validateOnCloudTrailImagePushedParameters(id *string, options *OnCloudTrailImagePushedOptions) error { if id == nil { return fmt.Errorf("parameter id is required, but nil was provided") } if err := _jsii_.ValidateStruct(options, func() string { return "parameter options" }); err != nil { return err } return nil } func (i *jsiiProxy_IRepository) validateOnEventParameters(id *string, options *awsevents.OnEventOptions) error { if id == nil { return fmt.Errorf("parameter id is required, but nil was provided") } if err := _jsii_.ValidateStruct(options, func() string { return "parameter options" }); err != nil { return err } return nil } func (i *jsiiProxy_IRepository) validateOnImageScanCompletedParameters(id *string, options *OnImageScanCompletedOptions) error { if id == nil { return fmt.Errorf("parameter id is required, but nil was provided") } if err := _jsii_.ValidateStruct(options, func() string { return "parameter options" }); err != nil { return err } return nil }