func NewMustRunAs(options *securityv1.RunAsUserStrategyOptions) (RunAsUserSecurityContextConstraintsStrategy, error) {
	if options == nil {
		return nil, fmt.Errorf("MustRunAs requires run as user options")
	}
	if options.UID == nil {
		return nil, fmt.Errorf("MustRunAs requires a UID")
	}
	return &mustRunAs{
		opts: options,
	}, nil
}
// NewMustRunAs provides a strategy that requires the container to run as a specific UID.
NewMustRunAs provides a strategy that requires the container to run as a specific UID.
// NewMustRunAs provides a strategy that requires the container to run as a specific UID .
func NewMustRunAs(options *securityv1.RunAsUserStrategyOptions) (RunAsUserSecurityContextConstraintsStrategy, error) {
	if options == nil {
		return nil, fmt.Errorf("MustRunAs requires run as user options")
	}
	if options.UID == nil {
		return nil, fmt.Errorf("MustRunAs requires a UID")
	}
	return &mustRunAs{
		opts: options,
	}, nil
}
func NewMustRunAs ( options * securityv1 . RunAsUserStrategyOptions ) ( RunAsUserSecurityContextConstraintsStrategy , error ) { if options == nil { return nil , fmt . Errorf ( " " ) } if options . UID == nil { return nil , fmt . Errorf ( " " ) } return & mustRunAs { opts : options , } , nil }
NewMustRunAs provides a strategy that requires the container to run as a specific UID.
NewMustRunAs provides a strategy that requires the container to run as a specific UID .